Init project
This commit is contained in:
56
templates/base/footer.html.twig
Normal file
56
templates/base/footer.html.twig
Normal file
@@ -0,0 +1,56 @@
|
||||
<footer class="bg-amber-100">
|
||||
<div class="mx-auto max-w-7xl overflow-hidden px-6 py-20 sm:py-24 lg:px-8">
|
||||
<nav
|
||||
aria-label="Footer"
|
||||
class="-mb-6 flex flex-wrap justify-center gap-x-12 gap-y-3 text-sm/6"
|
||||
>
|
||||
<a
|
||||
href="{{ path('legalmentions') }}"
|
||||
class="text-gray-600 hover:text-gray-900"
|
||||
>
|
||||
Mentions légales
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('confidentialitypolicy') }}"
|
||||
class="text-gray-600 hover:text-gray-900"
|
||||
>
|
||||
Politique de confidentialité
|
||||
</a>
|
||||
</nav>
|
||||
<div class="mt-16 flex justify-center gap-x-10">
|
||||
<a href="#" class="text-gray-600 hover:text-gray-800">
|
||||
<span class="sr-only">Facebook</span>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
aria-hidden="true"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z"
|
||||
clip-rule="evenodd"
|
||||
fill-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="#" class="text-gray-600 hover:text-gray-800">
|
||||
<span class="sr-only">YouTube</span>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
aria-hidden="true"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
d="M19.812 5.418c.861.23 1.538.907 1.768 1.768C21.998 8.746 22 12 22 12s0 3.255-.418 4.814a2.504 2.504 0 0 1-1.768 1.768c-1.56.419-7.814.419-7.814.419s-6.255 0-7.814-.419a2.505 2.505 0 0 1-1.768-1.768C2 15.255 2 12 2 12s0-3.255.417-4.814a2.507 2.507 0 0 1 1.768-1.768C5.744 5 11.998 5 11.998 5s6.255 0 7.814.418ZM15.194 12 10 15V9l5.194 3Z"
|
||||
clip-rule="evenodd"
|
||||
fill-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
<p class="mt-10 text-center text-sm/6 text-gray-600" data-controller="year">
|
||||
© Arts-ticule, Tous droits réservés.
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
155
templates/base/header.html.twig
Normal file
155
templates/base/header.html.twig
Normal file
@@ -0,0 +1,155 @@
|
||||
<header class="bg-amber-100 relative z-50">
|
||||
<nav
|
||||
aria-label="Global"
|
||||
class="mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8"
|
||||
>
|
||||
<a href="{{ path('home') }}" class="-m-1.5 p-1.5">
|
||||
<span class="sr-only">Arts-ticule</span>
|
||||
<img src="images/logo.jpg" alt="" class="h-8 w-auto" />
|
||||
</a>
|
||||
<div class="flex lg:hidden">
|
||||
<button
|
||||
type="button"
|
||||
command="show-modal"
|
||||
commandfor="mobile-menu"
|
||||
class="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700"
|
||||
>
|
||||
<span class="sr-only">Ouvrir menu</span>
|
||||
<svg
|
||||
viewbox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.5"
|
||||
data-slot="icon"
|
||||
aria-hidden="true"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="hidden lg:flex lg:gap-x-12 items-center">
|
||||
<a
|
||||
href="{{ path('home') }}"
|
||||
class="text-sm/6 font-semibold text-gray-900"
|
||||
>
|
||||
Accueil
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('show') }}"
|
||||
class="text-sm/6 font-semibold text-gray-900"
|
||||
>
|
||||
Spectacles jeune public
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('project') }}"
|
||||
class="text-sm/6 font-semibold text-gray-900"
|
||||
>
|
||||
Projets artistiques
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('manualproject') }}"
|
||||
class="text-sm/6 font-semibold text-gray-900"
|
||||
>
|
||||
Projets manuels et créatifs
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('about') }}"
|
||||
class="text-sm/6 font-semibold text-gray-900"
|
||||
>
|
||||
Me connaître
|
||||
</a>
|
||||
<a
|
||||
href="tel:+33672701956"
|
||||
class="text-sm/6 font-semibold text-gray-900 bg-amber-300 rounded-2xl px-4 py-2 hover:bg-amber-400 transition-colors"
|
||||
>
|
||||
Me contacter
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
<el-dialog>
|
||||
<dialog id="mobile-menu" class="backdrop:bg-transparent lg:hidden">
|
||||
<div tabindex="0" class="fixed inset-0 focus:outline-none">
|
||||
<el-dialog-panel
|
||||
class="fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white p-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10"
|
||||
>
|
||||
<div class="flex items-center justify-between">
|
||||
<a href="{{ path('home') }}" class="-m-1.5 p-1.5">
|
||||
<span class="sr-only">Arts-ticule</span>
|
||||
<img src="/images/logo.jpg" alt="" class="h-8 w-auto" />
|
||||
</a>
|
||||
<button
|
||||
type="button"
|
||||
command="close"
|
||||
commandfor="mobile-menu"
|
||||
class="-m-2.5 rounded-md p-2.5 text-gray-700"
|
||||
>
|
||||
<span class="sr-only">Fermer menu</span>
|
||||
<svg
|
||||
viewbox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="1.5"
|
||||
data-slot="icon"
|
||||
aria-hidden="true"
|
||||
class="size-6"
|
||||
>
|
||||
<path
|
||||
d="M6 18 18 6M6 6l12 12"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="mt-6 flow-root">
|
||||
<div class="-my-6 divide-y divide-gray-500/10">
|
||||
<div class="space-y-2 py-6">
|
||||
<a
|
||||
href="{{ path('home') }}"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
|
||||
>
|
||||
Accueil
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('show') }}"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
|
||||
>
|
||||
Spectacles jeune public
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('project') }}"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
|
||||
>
|
||||
Projets artistiques
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('manualproject') }}"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
|
||||
>
|
||||
Projets manuels et créatifs
|
||||
</a>
|
||||
<a
|
||||
href="{{ path('about') }}"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
|
||||
>
|
||||
Me connaître
|
||||
</a>
|
||||
<a
|
||||
href="tel:+33672701956"
|
||||
class="-mx-3 block rounded-lg px-3 py-2 text-base/7 font-semibold text-gray-900 hover:bg-gray-50 bg-amber-300"
|
||||
>
|
||||
Me contacter
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog-panel>
|
||||
</div>
|
||||
</dialog>
|
||||
</el-dialog>
|
||||
</header>
|
||||
Reference in New Issue
Block a user