-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into 20240218-protect-search
- Loading branch information
Showing
17 changed files
with
160 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1 @@ | ||
<x-guest-layout> | ||
<div class="bg-violet-100 mb-8"> | ||
<div class="border-b border-violet-200"> | ||
@include('layouts.unlogged-navigation') | ||
</div> | ||
|
||
<div class="border-b border-violet-200"> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<ul class="text-xs"> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a href="{{ route('home.index') }}" class="text-violet-900 underline">Accueil</a> | ||
</li> | ||
<li class="inline">Tous les prénoms féminins</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<div class="grid name-index-grid gap-4"> | ||
|
||
<!-- left --> | ||
<div> | ||
@include('names.partials.sidebar') | ||
</div> | ||
|
||
<!-- right --> | ||
<div> | ||
|
||
<!-- list of letters --> | ||
<div class="grid grid-cols-12 gap-y-2 gap-2 mb-12"> | ||
@foreach ($letters as $letter) | ||
<a href="{{ $letter['url'] }}" class="flex flex-col rounded-lg px-2 py-1 border hover:bg-violet-100"> | ||
<div>{{ $letter['letter'] }}</div> | ||
<div class="text-xs text-gray-600">{{ $letter['count'] }}</div> | ||
</a> | ||
@endforeach | ||
</div> | ||
|
||
<!-- names --> | ||
<h2 class="mb-8 font-bold text-xl text-center">Tous les prénoms féminins</h2> | ||
<div class="grid grid-cols-3 gap-10 gap-y-1 mb-10" x-data="{ last_name: '{{ auth()->check() ? auth()->user()->last_name : "" }}' }"> | ||
@foreach ($names as $name) | ||
<x-name-items :name="$name" favorited="{{ $favorites->contains($name['id']) }}" /> | ||
@endforeach | ||
</div> | ||
|
||
<div class="flex justify-center"> | ||
{{ $namesPagination->onEachSide(2)->links('vendor.pagination.tailwind') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</x-guest-layout> | ||
@include('names.partials.index', ['title' => 'Tous les prénoms féminins']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1 @@ | ||
<x-guest-layout> | ||
<div class="bg-violet-100 mb-8"> | ||
<div class="border-b border-violet-200"> | ||
@include('layouts.unlogged-navigation') | ||
</div> | ||
|
||
<div class="border-b border-violet-200"> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<ul class="text-xs"> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a href="{{ route('home.index') }}" class="text-violet-900 underline">Accueil</a> | ||
</li> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a href="{{ route('name.index') }}" class="text-violet-900 underline">Tous les prénoms</a> | ||
</li> | ||
<li class="inline">Tous les prénoms féminins commençant par la lettre {{ $activeLetter }}</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<div class="grid name-index-grid gap-4"> | ||
|
||
<!-- left --> | ||
<div> | ||
@include('names.partials.sidebar') | ||
</div> | ||
|
||
<!-- right --> | ||
<div> | ||
|
||
<!-- list of letters --> | ||
<div class="grid grid-cols-12 gap-y-2 gap-2 mb-12"> | ||
@foreach ($letters as $letter) | ||
<a href="{{ $letter['url'] }}" class="flex flex-col rounded-lg px-2 py-1 border hover:bg-violet-100 {{ $activeLetter === $letter['letter'] ? 'bg-violet-100' : '' }}"> | ||
<div>{{ $letter['letter'] }}</div> | ||
<div class="text-xs text-gray-600">{{ $letter['count'] }}</div> | ||
</a> | ||
@endforeach | ||
</div> | ||
|
||
<!-- names --> | ||
<h2 class="mb-2 font-bold text-xl text-center">Tous les prénoms féminins commençant par la lettre {{ $activeLetter }}</h2> | ||
<p class="text-gray-600 mb-8 text-center">Les prénoms sont triés par popularité.</p> | ||
|
||
<div class="grid grid-cols-4 gap-10 gap-y-1 mb-10"> | ||
@foreach ($names as $name) | ||
<x-name-items :name="$name" favorited="{{ $favorites->contains($name['id']) }}" /> | ||
@endforeach | ||
</div> | ||
|
||
<div class="flex justify-center"> | ||
{{ $namesPagination->onEachSide(2)->links('vendor.pagination.tailwind') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</x-guest-layout> | ||
@include('names.partials.letter', ['title' => "Tous les prénoms féminins commençant par la lettre $activeLetter"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1 @@ | ||
<x-guest-layout> | ||
<div class="bg-violet-100 mb-8"> | ||
<div class="border-b border-violet-200"> | ||
@include('layouts.unlogged-navigation') | ||
</div> | ||
|
||
<div class="border-b border-violet-200"> | ||
<div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8 py-2"> | ||
<ul class="text-xs"> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a hx-boost="true" href="{{ route('home.index') }}" class="text-violet-900 underline">Accueil</a> | ||
</li> | ||
<li class="inline">Tous les prénoms</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<div class="grid name-index-grid gap-4"> | ||
|
||
<!-- left --> | ||
<div> | ||
@include('names.partials.sidebar') | ||
</div> | ||
|
||
<!-- right --> | ||
<div class="sm:px-0 px-2"> | ||
|
||
<!-- list of letters --> | ||
<div class="grid grid-cols-6 sm:grid-cols-12 gap-y-2 gap-2 mb-12"> | ||
@foreach ($letters as $letter) | ||
<a href="{{ $letter['url'] }}" class="flex flex-col rounded-lg px-2 py-1 border hover:bg-violet-100"> | ||
<div>{{ $letter['letter'] }}</div> | ||
<div class="text-xs text-gray-600">{{ $letter['count'] }}</div> | ||
</a> | ||
@endforeach | ||
</div> | ||
|
||
<!-- names --> | ||
<div class="grid grid-cols-2 sm:grid-cols-3 gap-10 gap-y-1 mb-10" x-data="{ last_name: '{{ auth()->check() ? auth()->user()->last_name : "" }}' }"> | ||
@foreach ($names as $name) | ||
<x-name-items :name="$name" favorited="{{ $favorites->contains($name['id']) }}" /> | ||
@endforeach | ||
</div> | ||
|
||
<div class="flex justify-center mb-10"> | ||
{{ $namesPagination->onEachSide(2)->links('vendor.pagination.tailwind') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</x-guest-layout> | ||
@include('names.partials.index', ['title' => 'Tous les prénoms', 'noTitle' => true]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1 @@ | ||
<x-guest-layout> | ||
<div class="bg-violet-100 mb-8"> | ||
<div class="border-b border-violet-200"> | ||
@include('layouts.unlogged-navigation') | ||
</div> | ||
|
||
<div class="border-b border-violet-200"> | ||
<div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8 py-2"> | ||
<ul class="text-xs"> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a hx-boost="true" href="{{ route('home.index') }}" class="text-violet-900 underline">Accueil</a> | ||
</li> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a hx-boost="true" href="{{ route('name.index') }}" class="text-violet-900 underline">Tous les prénoms</a> | ||
</li> | ||
<li class="inline">Tous les prénoms commençant par la lettre {{ $activeLetter }}</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<div class="grid name-index-grid gap-4"> | ||
|
||
<!-- left --> | ||
<div> | ||
@include('names.partials.sidebar') | ||
</div> | ||
|
||
<!-- right --> | ||
<div class="sm:px-0 px-2"> | ||
|
||
<!-- list of letters --> | ||
<div class="grid grid-cols-6 sm:grid-cols-12 gap-y-2 gap-2 mb-12"> | ||
@foreach ($letters as $letter) | ||
<a hx-boost="true" href="{{ $letter['url'] }}" class="flex flex-col rounded-lg px-2 py-1 border hover:bg-violet-100 {{ $activeLetter === $letter['letter'] ? 'bg-violet-100' : '' }}"> | ||
<div>{{ $letter['letter'] }}</div> | ||
<div class="text-xs text-gray-600">{{ $letter['count'] }}</div> | ||
</a> | ||
@endforeach | ||
</div> | ||
|
||
<!-- names --> | ||
<h2 class="mb-2 font-bold text-xl text-center">Tous les prénoms commençant par la lettre {{ $activeLetter }}</h2> | ||
<p class="text-gray-600 mb-8 text-center">Les prénoms sont triés par popularité.</p> | ||
|
||
<div class="grid grid-cols-2 sm:grid-cols-3 gap-10 gap-y-1 mb-10" x-data="{ last_name: '{{ auth()->check() ? auth()->user()->last_name : "" }}' }"> | ||
@foreach ($names as $name) | ||
<x-name-items :name="$name" favorited="{{ $favorites->contains($name['id']) }}" /> | ||
@endforeach | ||
</div> | ||
|
||
<div class="flex justify-center"> | ||
{{ $namesPagination->onEachSide(2)->links('vendor.pagination.tailwind') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</x-guest-layout> | ||
@include('names.partials.letter', ['title' => "Tous les prénoms commençant par la lettre $activeLetter"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1 @@ | ||
<x-guest-layout> | ||
<div class="bg-violet-100 mb-8"> | ||
<div class="border-b border-violet-200"> | ||
@include('layouts.unlogged-navigation') | ||
</div> | ||
|
||
<div class="border-b border-violet-200"> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<ul class="text-xs"> | ||
<li class="inline after:content-['>'] after:text-gray-500 after:text-xs"> | ||
<a href="{{ route('home.index') }}" class="text-violet-900 underline">Accueil</a> | ||
</li> | ||
<li class="inline">Tous les prénoms masculins</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8 py-2"> | ||
<div class="grid name-index-grid gap-4"> | ||
|
||
<!-- left --> | ||
<div> | ||
@include('names.partials.sidebar') | ||
</div> | ||
|
||
<!-- right --> | ||
<div> | ||
|
||
<!-- list of letters --> | ||
<div class="grid grid-cols-12 gap-y-2 gap-2 mb-12"> | ||
@foreach ($letters as $letter) | ||
<a href="{{ $letter['url'] }}" class="flex flex-col rounded-lg px-2 py-1 border hover:bg-violet-100"> | ||
<div>{{ $letter['letter'] }}</div> | ||
<div class="text-xs text-gray-600">{{ $letter['count'] }}</div> | ||
</a> | ||
@endforeach | ||
</div> | ||
|
||
<!-- names --> | ||
<h2 class="mb-8 font-bold text-xl text-center">Tous les prénoms masculins</h2> | ||
<div class="grid grid-cols-3 gap-10 gap-y-1 mb-10" x-data="{ last_name: '{{ auth()->check() ? auth()->user()->last_name : "" }}' }"> | ||
@foreach ($names as $name) | ||
<x-name-items :name="$name" favorited="{{ $favorites->contains($name['id']) }}" /> | ||
@endforeach | ||
</div> | ||
|
||
<div class="flex justify-center"> | ||
{{ $namesPagination->onEachSide(2)->links('vendor.pagination.tailwind') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</x-guest-layout> | ||
@include('names.partials.index', ['title' => 'Tous les prénoms masculins']) |
Oops, something went wrong.