Skip to content
Snippets Groups Projects
Commit 0d045a4a authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

Merge branch '60-creer-oage-de-cibtact' into 'master'

Resolve "Créer page de contact"

Closes #60

See merge request !62
parents 70b350e6 735eb140
Branches
No related tags found
1 merge request!62Resolve "Créer page de contact"
Pipeline #1069 passed
<?php
return [
'desc' => 'Vous avez un projet en tête ou souhaitez discuter de vos besoins en design graphique ? N\'hésitez pas à me contacter ! Que ce soit pour une collaboration, une demande de devis ou simplement pour échanger des idées créatives, je suis là pour vous aider.',
];
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{{ __('footer.contact.desc') }} {{ __('footer.contact.desc') }}
</div> </div>
</div> </div>
<x-public.button size="medium" tag="a" href="#"> <x-public.button size="medium" tag="a" href="{{ route('contact') }}">
<div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div> <div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div>
</x-public.button> </x-public.button>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<a href="{{ route('prestations') }}" class="text-xl font-bold">{{ __('navbar.services') }}</a> <a href="{{ route('prestations') }}" class="text-xl font-bold">{{ __('navbar.services') }}</a>
<a href="{{ route('portfolio') }}" class="text-xl font-bold">{{ __('navbar.portfolio') }}</a> <a href="{{ route('portfolio') }}" class="text-xl font-bold">{{ __('navbar.portfolio') }}</a>
<a href="{{ route('evenements') }}" class="text-xl font-bold">{{ __('navbar.events') }}</a> <a href="{{ route('evenements') }}" class="text-xl font-bold">{{ __('navbar.events') }}</a>
<a href="#" class="text-xl font-bold">{{ __('navbar.contact_me') }}</a> <a href="{{ route('contact') }}" class="text-xl font-bold">{{ __('navbar.contact_me') }}</a>
<x-public.button tag="a" href="https://dalnarabyrann.sumupstore.com/"> <x-public.button tag="a" href="https://dalnarabyrann.sumupstore.com/">
{{ __('navbar.shop') }} {{ __('navbar.shop') }}
</x-public.button> </x-public.button>
...@@ -41,7 +41,7 @@ class="fixed z-50 inset-0 bg-white bg-opacity-90 flex-col items-center justify-c ...@@ -41,7 +41,7 @@ class="fixed z-50 inset-0 bg-white bg-opacity-90 flex-col items-center justify-c
<a href="{{ route('prestations') }}" class="text-2xl font-bold">{{ __('navbar.services') }}</a> <a href="{{ route('prestations') }}" class="text-2xl font-bold">{{ __('navbar.services') }}</a>
<a href="{{ route('portfolio') }}" class="text-2xl font-bold">{{ __('navbar.portfolio') }}</a> <a href="{{ route('portfolio') }}" class="text-2xl font-bold">{{ __('navbar.portfolio') }}</a>
<a href="{{ route('evenements') }}" class="text-2xl font-bold">{{ __('navbar.events') }}</a> <a href="{{ route('evenements') }}" class="text-2xl font-bold">{{ __('navbar.events') }}</a>
<a href="#" class="text-2xl font-bold">{{ __('navbar.contact_me') }}</a> <a href="{{ route('contact') }}" class="text-2xl font-bold">{{ __('navbar.contact_me') }}</a>
<x-public.button tag="a" href="https://dalnarabyrann.sumupstore.com/" class="text-xl"> <x-public.button tag="a" href="https://dalnarabyrann.sumupstore.com/" class="text-xl">
{{ __('navbar.shop') }} {{ __('navbar.shop') }}
</x-public.button> </x-public.button>
......
@extends('layouts.public', ['title' => __('navbar.contact_me')])
@section('content')
<x-public.navbar class="container mx-auto px-4"/>
<div class="container mx-auto px-4 py-24 flex flex-col gap-16">
<x-public.generic-page-header title="{{ __('navbar.contact_me') }}" :description="__('contact.desc')"/>
<div>
<div class="text-center text-2xl">
Contactez moi sur l'un de mes réseaux
</div>
<div class="flex align-center justify-center gap-4 mt-4">
@foreach(\App\Models\SocialMediaLink::all() as $socialMediaLink)
<x-public.button tag="a" :href="$socialMediaLink->url" class="flex items-center gap-2"
size="medium">
<div>
{{ $socialMediaLink->name }}
</div>
<div>
<x-font-awesome :icon="$socialMediaLink->icon_name" type="brands" class="w-6 h-6"/>
</div>
</x-public.button>
@endforeach
</div>
</div>
</div>
<x-public.footer/>
@endsection
\ No newline at end of file
...@@ -25,7 +25,8 @@ class="absolute hidden 2xl:block left-[-96px] top-[-26px] origin-top-left rotate ...@@ -25,7 +25,8 @@ class="absolute hidden 2xl:block left-[-96px] top-[-26px] origin-top-left rotate
{{ __('home.hero.second_row') }} {{ __('home.hero.second_row') }}
</span> </span>
</h1> </h1>
<x-public.button size="large" tag="a" href="#" class="flex items-center gap-8"> <x-public.button size="large" tag="a" href="{{ route('contact') }}"
class="flex items-center gap-8">
<img class="w-10 h-10" src="{{Vite::asset("resources/images/public/waving-hand.avif")}}" <img class="w-10 h-10" src="{{Vite::asset("resources/images/public/waving-hand.avif")}}"
alt="{{ __('home.img_alt.waving_hand') }}" loading="eager"/> alt="{{ __('home.img_alt.waving_hand') }}" loading="eager"/>
<div class="flex flex-col justify-center items-start"> <div class="flex flex-col justify-center items-start">
......
...@@ -45,7 +45,7 @@ class="w-full relative aspect-square"/> ...@@ -45,7 +45,7 @@ class="w-full relative aspect-square"/>
{{ __('generic.custom_needs_desc') }} {{ __('generic.custom_needs_desc') }}
</div> </div>
</div> </div>
<x-public.button size="medium" tag="a" href="#"> <x-public.button size="medium" tag="a" href="{{ route('contact') }}">
<div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div> <div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div>
</x-public.button> </x-public.button>
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
{{ __('generic.custom_needs_desc') }} {{ __('generic.custom_needs_desc') }}
</div> </div>
</div> </div>
<x-public.button size="medium" tag="a" href="#"> <x-public.button size="medium" tag="a" href="{{ route('contact') }}">
<div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div> <div class="text-xl font-bold">{{ __('navbar.contact_me') }}</div>
</x-public.button> </x-public.button>
</div> </div>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
Route::get('/prestations/{slug}', [PublicPrestationController::class, 'index'])->name('prestations.show'); Route::get('/prestations/{slug}', [PublicPrestationController::class, 'index'])->name('prestations.show');
Route::get('/mentions-legales', LegalMentionsController::class)->name('legal-mentions'); Route::get('/mentions-legales', LegalMentionsController::class)->name('legal-mentions');
Route::get('/conditions-generales-de-vente', TermsController::class)->name('terms'); Route::get('/conditions-generales-de-vente', TermsController::class)->name('terms');
Route::view('/contact', 'public.contact')->name('contact');
Route::view('/maintenance', 'public.maintenance')->name('maintenance'); Route::view('/maintenance', 'public.maintenance')->name('maintenance');
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment