Skip to content

Commit 264e07e

Browse files
authored
Merge pull request #3574 from codeeu/dev
push live and add to menu
2 parents ca08b53 + 9f88a3d commit 264e07e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

resources/lang/en/menu.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
'search_result' => 'Search results',
2727
'events' => 'Activities',
2828
'ambassadors' => 'Ambassadors',
29+
'grassroots_grants' => 'Grassroots Grants',
2930
'resources' => 'Resources',
3031
'game_and_competitions' => 'Games & Competitions',
3132
'schools' => 'Schools',

resources/views/layout/menu.blade.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,18 @@ class="absolute top-0 left-0 w-full h-full"
228228
</ul>
229229
</li>
230230

231-
{{-- commnity --}}
232-
<li class="main-menu-item menu-item">
233-
<a class="cookweek-link hover-underline !text-[#1C4DA1] !text-[16px]" href="{{route('community')}}">
231+
{{-- community --}}
232+
<li class="main-menu-item">
233+
<a
234+
class="cookweek-link hover-underline !text-[#1C4DA1] !text-[16px] cursor-pointer"
235+
onclick="document.body.clientWidth > 1280 && (window.location.href='{{ route('community') }}')"
236+
>
234237
@lang('community.titles.0')
238+
<img class="arrow-icon" src="/images/chevron-down-icon.svg" alt="">
235239
</a>
240+
<ul class="sub-menu">
241+
<li><a class="cookweek-link hover-underline" href="{{ route('grassroots-grants') }}">@lang('menu.grassroots_grants')</a></li>
242+
</ul>
236243
</li>
237244

238245
{{-- schools --}}

0 commit comments

Comments
 (0)