<?php
    if ($countryItem->country_name == $currentCountry) {
        $activeClass = " career__country-link_active";
    }
    else{
        $activeClass = "";
    }
?>

<a href="<?php echo e(route('career.view-country', ['country' => $countryItem->country_name])); ?>" class="career__country-link<?php echo e($activeClass); ?>">
    <?php echo e(Lang::get('castle.career.'.$countryItem->country_name)); ?>

</a>