Skip to content

Commit

Permalink
Merge pull request #2325 from codeeu/dev
Browse files Browse the repository at this point in the history
Community Hub feedback implementation
  • Loading branch information
bernardhanna authored Nov 8, 2024
2 parents dcf9c89 + 5a99878 commit 410139d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/community.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@ class="codeweek-svg-button">
{{-- Display this section only if a country is selected and has specific content --}}
@php
$country = app('request')->input('country_iso');
$supportedCountries = ['GR', 'CY', 'MT', 'IT', 'BG', 'TR', 'UA','PL','IE','FR','LU','NL','BE','SK','CZ','NO','IS','FI','SE','PT','ES','LV','LT','HR','SI','DE','AT','CH','RO','MD'];
$supportedCountries = ['GR', 'CY', 'MT', 'IT', 'BG', 'TR', 'UA','PL','IE','FR','LU','NL','BE','SK','CZ','NO','IS','FI','SE','PT','ES','LV','LT','HR','SI','DE','AT','CH','RO','MD','DK'];
@endphp

@if(in_array($country, $supportedCountries))
<section class="community_type_section">
<div class="community_type">
<div class="text">
{{-- Dynamically construct the language keys based on country code --}}
<h2 class="subtitle">@lang("community.hub_{$country}")</h2>
<br/><h3>@lang("community.hub_level_{$country}")</h3>
<h2 class="subtitle">@lang("community.hub_level_{$country}")</h2>
<br/><h3><b>@lang("community.hub_{$country}")</b></h3>
<p>@lang("community.hub_desc_{$country}")</p>
</div>
<div class="image">
Expand Down

0 comments on commit 410139d

Please sign in to comment.