diff --git a/public/css/style.css b/public/css/style.css index 01204cf..aa7b038 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -25,14 +25,14 @@ body { background-color: #E7E7E7; font-family: 'Poppins', sans-serif; font-weight: 200; - color: #B1B0B7; + color: #FAFAFA; text-align: center; } a:link, a:visited { font-weight: 700; - background-color: #92F2DC; - color: white; + background-color: #636b6f; + color: #FAFAFA; padding: 14px 25px; text-align: center; text-decoration: none; @@ -40,5 +40,7 @@ a:link, a:visited { } a:hover, a:active { - background-color: #9DFFB3; + background-color: #FF0448; + color: #FAFAFA; } + diff --git a/resources/views/contactUS.blade.php b/resources/views/contactUS.blade.php index 67168de..b3bb813 100644 --- a/resources/views/contactUS.blade.php +++ b/resources/views/contactUS.blade.php @@ -1,42 +1,44 @@ - - - -Laravel 5.4 Cloudways Contact US Form Example - - - -
-

Contactez-nous

-@if(Session::has('success')) -
- {{ Session::get('success') }} -
-@endif -@if(Session::has('error')) -
- {{ Session::get('error') }} -
-@endif -{!! Form::open(['route'=>'contactus.store']) !!} -
-{!! Form::label('Nom:') !!} -{!! Form::text('name', old('name'), ['class'=>'form-control', 'placeholder'=>'Enter Name']) !!} -{{ $errors->first('name') }} -
-
-{!! Form::label('Email:') !!} -{!! Form::text('email', old('email'), ['class'=>'form-control', 'placeholder'=>'Enter Email']) !!} -{{ $errors->first('email') }} -
-
-{!! Form::label('Message:') !!} -{!! Form::textarea('message', old('message'), ['class'=>'form-control', 'placeholder'=>'Enter Message']) !!} -{{ $errors->first('message') }} -
-
- -
-{!! Form::close() !!} -
- - +@extends('layout') +@section('title') + Contact +@endsection +@section('content') +
+
+
+ + @if(Session::has('success')) +
+ {{ Session::get('success') }} +
+ @endif + + {!! Form::open(['route'=>'contactus.store']) !!} + +
+ {{--{!! Form::label('Nom:') !!}--}} + {!! Form::text('name', old('name'), ['class'=>'form-control', 'placeholder'=>'Enter Name']) !!} + {{ $errors->first('name') }} +
+ +
+ {{--{!! Form::label('Email:') !!}--}} + {!! Form::text('email', old('email'), ['class'=>'form-control', 'placeholder'=>'Enter Email']) !!} + {{ $errors->first('email') }} +
+ +
+ {{--{!! Form::label('Message:') !!}--}} + {!! Form::textarea('message', old('message'), ['class'=>'form-control', 'placeholder'=>'Enter Message']) !!} + {{ $errors->first('message') }} +
+ +
+ +
+ + {!! Form::close() !!} + +
+ +@endsection diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 05dfca9..50eb227 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,23 +1,8 @@ -@extends('layouts.app') - -@section('content') -
-
-
-
-
Dashboard
- -
- @if (session('status')) - - @endif - - You are logged in! -
-
-
-
-
+@extends('layout') +@section('title') + Home @endsection +@section('content') + +
+ Contactez-nous! \ No newline at end of file diff --git a/resources/views/index.blade.php b/resources/views/layout.blade.php similarity index 55% rename from resources/views/index.blade.php rename to resources/views/layout.blade.php index 3a9b2ea..67a0cd8 100644 --- a/resources/views/index.blade.php +++ b/resources/views/layout.blade.php @@ -1,28 +1,25 @@ - - HOME - + @yield('title') - + -
- @include('header') + +
+ Défendez votre clan! +
+
+ Créer un nouveau groupe d'amis et commencer des maintenant à parier! +
- -

- -

- - @include('menu') - @yield('content') - diff --git a/resources/views/menu.blade.php b/resources/views/menu.blade.php deleted file mode 100644 index 3a52892..0000000 --- a/resources/views/menu.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -

-Contactez-nous! -

diff --git a/routes/web.php b/routes/web.php index e8ca31f..d853796 100755 --- a/routes/web.php +++ b/routes/web.php @@ -12,7 +12,7 @@ */ Route::get('/', function () { - return view('index'); + return view('home'); }); Route::get('contact-us', 'ContactUSController@contactUS');