Skip to content

Commit

Permalink
Merge pull request #460 from DissNik/2.0
Browse files Browse the repository at this point in the history
chore: switch locale with get parameter
  • Loading branch information
DissNik authored Apr 30, 2024
2 parents b00ca24 + 55f632e commit c55e7b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/home-en.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class="font-semibold text-white hover:text-pink"
</a>
<div class="h-4 w-[1px] bg-white/25"></div>

<a href="{{ route('locale', ['local' => 'ru']) }}" class="flex items-center gap-x-2 text-white hover:text-pink">
<a href="{{ route('locale', ['local' => 'ru']) }}" class="flex items-center gap-x-2 text-white hover:text-pink" rel="nofollow">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 md:h-6 md:w-6 fill-pink" fill="currentColor" viewBox="0 0 24 24">
<path d="M6.502 6.422h-.301l-.562 2.812h1.425l-.562-2.812Zm11.375 5.625a7.35 7.35 0 0 0 1.154 2.037c.447-.561.898-1.222 1.201-2.037h-2.355Z" />
<path
Expand Down
2 changes: 1 addition & 1 deletion resources/views/home-ru.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class="font-semibold text-white hover:text-pink"
</svg>
</a>
<div class="h-4 w-[1px] bg-white/25"></div>
<a href="{{ route('locale', ['local' => 'en']) }}" class="flex items-center gap-x-2 text-white hover:text-pink">
<a href="{{ route('locale', ['local' => 'en']) }}" class="flex items-center gap-x-2 text-white hover:text-pink" rel="nofollow">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 md:h-6 md:w-6 fill-pink" fill="currentColor" viewBox="0 0 24 24">
<path d="M6.502 6.422h-.301l-.562 2.812h1.425l-.562-2.812Zm11.375 5.625a7.35 7.35 0 0 0 1.154 2.037c.447-.561.898-1.222 1.201-2.037h-2.355Z" />
<path
Expand Down

0 comments on commit c55e7b2

Please sign in to comment.