Merge branch 'develop' of https://voight001.lesidc.com/jeusselin into develop

This commit is contained in:
Sebastien Hattry 2021-02-22 11:13:26 +01:00
commit dd4e08eea9
98 changed files with 3890 additions and 1095 deletions

2
.gitignore vendored
View file

@ -1,6 +1,8 @@
/node_modules
/integration/node_modules
/public/hot
public/uploads/*
!public/uploads/.gitkeep
/public/storage
/storage/*.key
/vendor

View file

@ -0,0 +1,148 @@
<?php
namespace App\Http\Controllers\Bo;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use App\Models\Articles;
use App\Models\ArticlesCategories;
use Illuminate\Support\Facades\Cache;
class ArticlesController extends Controller
{
public function index()
{
$a = Articles::with('category')->get();
return view('bo.articles.index', compact('a'));
}
public function create()
{
$ac = ArticlesCategories::all();
return view('bo.articles.create', compact('ac'));
}
public function store(Request $request)
{
$request->validate([
'title' => 'required|max:100',
'picture' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:max-width=340,max-height=340',
'picture_r' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:max-width=780,max-height=508',
'content' => 'required',
]);
$title = $request->title;
$slug = Str::slug($title);
$picture = $request->picture;
$picture_r = $request->picture_r;
$content = $request->content;
$categoryId = $request->category;
$status = 0;
$imageName = Str::slug($title) .'-le-gaulois-' . date('d-m-Y') . '.' . $picture->extension();
$picture->move(public_path('uploads/images/articles/' . date('Y') . '/' . date('m')), $imageName);
$imageName_r = Str::slug($title) .'-le-gaulois-' . date('d-m-Y') . '_r.' . $picture_r->extension();
$picture_r->move(public_path('uploads/images/articles/' . date('Y') . '/' . date('m')), $imageName_r);
$a = new Articles();
$a->title = $title;
$a->slug = $slug;
$a->picture = 'uploads/images/articles/' . date('Y') . '/' . date('m') . '/' . $imageName;
$a->picture_r = 'uploads/images/articles/' . date('Y') . '/' . date('m') . '/' . $imageName_r;
$a->content = $content;
$a->category_id = $categoryId;
$a->status = $status;
$a->save();
return redirect()->route('bo.articles.index');
}
public function edit($id)
{
$a = Articles::findOrFail($id);
$ac = ArticlesCategories::all();
return view('bo.articles.edit')
->with('a', $a)
->with('ac', $ac)
;
}
public function update(Request $request, $id)
{
$request->validate([
'title' => 'required|max:100',
'content' => 'required',
]);
$title = $request->title;
$slug = Str::slug($title);
$picture = $request->picture;
$picture_r = $request->picture_r;
$content = $request->content;
$categoryId = $request->category;
$status = $request->status === null ? 0 : 1;
if ($picture !== NULL && $picture_r !== NULL){
$request->validate([
'picture' => 'image|mimes:jpeg,png,jpg|max:2048|dimensions:width=340,height=340',
'picture_r' => 'image|mimes:jpeg,png,jpg|max:2048|dimensions:width=780,height=508',
]);
}elseif ($picture !== NULL && $picture_r === NULL){
$request->validate([
'picture' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:width=340,height=340'
]);
}elseif ($picture === NULL && $picture_r !== NULL){
$request->validate([
'picture_r' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:width=780,height=508'
]);
}
$a = Articles::findOrFail($id);
if ($picture !== NULL){
if(file_exists(public_path() . '/' . $a->picture))
unlink(public_path() . '/' . $a->picture);
$imageName = Str::slug($title) .'.'.$picture->extension();
$picture->move(public_path('uploads/images/articles/' . date('Y') . '/' . date('m') . '/'), $imageName);
}
if ($picture_r !== NULL) {
if(file_exists(public_path() . '/' . $a->picture_r))
unlink(public_path() . '/' . $a->picture_r);
$imageName_r = Str::slug($title) . '_r.' . $picture_r->extension();
$picture_r->move(public_path('uploads/images/articles/' . date('Y') . '/' . date('m') . '/'), $imageName_r);
}
$a->title = $title;
$a->slug = $slug;
if ($picture !== null)
$a->picture = 'uploads/images/articles/' . date('Y') . '/' . date('m') . '/' . $imageName;
if ($picture_r !== null)
$a->picture_r = 'uploads/images/articles/' . date('Y') . '/' . date('m') . '/' . $imageName_r;
$a->content = $content;
$a->category_id = $categoryId;
$a->status = $status;
$a->save();
if ($a->category_id == 1 && $a->status === 1) {
$actus = Articles::where([['status', 1], ['category_id', 1]])->orderBy('updated_at', 'DESC')->limit(3)->get();
Cache::put('actusGlobal', $actus);
}
return redirect()->route('bo.articles.edit', $a->id)->with('success', 'Enregistré !');
}
public function destroy($id)
{
$a = Articles::findOrFail($id);
if (file_exists(public_path() . '/' . $a->picture))
unlink(public_path() . '/' . $a->picture);
if (file_exists(public_path() . '/' . $a->picture_r))
unlink(public_path() . '/' . $a->picture_r);
$a->delete();
return redirect()->route('bo.articles.index');
}
}

View file

@ -16,20 +16,27 @@ class BusinessSectorsController extends Controller
public function index()
{
$sector = BusinessSector::orderBy('order', 'ASC')->get();
return view('bo.business-sector.index', compact('sector'));
$psectors = BusinessSector::orderBy('order', 'ASC')->get();
return view('bo.business-sector.index', compact('sector','psectors'));
}
public function saveDatas(Request $request) {
$sector = $request->themes;
$sector = $request->sectors;
for ($i = 0; $i < count($sector); $i++) {
if (isset($sector[$i]["id"])) {
$s = BusinessSector::findOrFail($sector[$i]["id"]);
$s->name = $sector[$i]["name"];
$s->order = $sector[$i]["order"];
$s->parent_id = $sector[$i]["parent_id"];
$s->save();
} else {
$s = BusinessSector::updateOrCreate(['name' => $sector[$i]["name"]]);
}
else {
$s = BusinessSector::updateOrCreate([
'name' => $sector[$i]["name"],
'order' => $sector[$i]["order"],
'parent_id' => $sector[$i]["parent_id"],
]);
$sector[$i]["id"] = $s->id;
}
}

View file

@ -6,6 +6,7 @@ use App\Http\Controllers\Controller;
use App\Models\Employees;
use App\Models\BusinessSector;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class EmployeesController extends Controller
{
@ -16,7 +17,7 @@ class EmployeesController extends Controller
*/
public function index()
{
$employees = Employees::get();
$employees = Employees::orderBy('order', 'ASC')->get();
$sectors = BusinessSector::orderBy('order', 'ASC')->get();
return view('bo.employees.index',compact('employees','sectors'));
}
@ -28,7 +29,8 @@ class EmployeesController extends Controller
*/
public function create()
{
//
$s = BusinessSector::orderBy('order', 'ASC')->get();
return view('bo.employees.create', compact('s'));
}
/**
@ -39,7 +41,37 @@ class EmployeesController extends Controller
*/
public function store(Request $request)
{
//
$lastname = $request->lastname;
$firstname = $request->firstname;
$video = $request->video;
$photo = $request->photo;
$request->validate([
'lastname' => 'required|string|max:255',
'firstname' => 'required|string|max:255',
'job_title' => 'max:255',
'video' => 'max:255',
'photo' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:width=100,height=100',
]);
$imageName = Str::slug($firstname."-".$lastname) . '-jeusselin.' . $photo->extension();
$photo->move(public_path('uploads/images/profiles/' . date('Y') . '/' . date('m')), $imageName);
$e = new Employees();
$e->civility = $request->civility;
$e->lastname = $lastname;
$e->firstname = $firstname;
$e->job_title = $request->job_title;
$e->video = $video;
$e->photo = 'uploads/images/profiles/' . date('Y') . '/' . date('m') . '/' . $imageName;
$e->order = $this->getLastOrder();
$e->save();
//prise en charge de la liaison avec les secteurs
$associatedSectors = $request->associated_sectors;
$e->businessSectors()->sync($associatedSectors);
return redirect()->route('bo.employees.index');
}
/**
@ -61,7 +93,15 @@ class EmployeesController extends Controller
*/
public function edit($id)
{
//
$e = Employees::findOrFail($id);
$s = BusinessSector::orderBy('order', 'ASC')->get();
$seIds = [];
foreach ($e->businessSectors as $sector_employee) {
$seIds[] = $sector_employee->id;
}
return view('bo.employees.edit', compact('e','s'))->with('seIds', $seIds);
}
/**
@ -73,7 +113,48 @@ class EmployeesController extends Controller
*/
public function update(Request $request, $id)
{
//
$lastname = $request->lastname;
$firstname = $request->firstname;
$video = $request->video;
$photo = $request->file('photo');
$request->validate([
'lastname' => 'required|string|max:255',
'firstname' => 'required|string|max:255',
'job_title' => 'max:255',
'video' => 'max:255',
]);
if($photo !== NULL) {
$request->validate([
'photo' => 'image|mimes:jpeg,png,jpg|max:2048|dimensions:width=100,height=100',
]);
}
$e = Employees::findOrFail($id);
if($photo !== NULL) {
if(file_exists(public_path() . '/' . $e->photo))
unlink(public_path() . '/' . $e->photo);
$imageName = Str::slug($firstname."-".$lastname) . '-jeusselin.' . $photo->extension();
$photo->move(public_path('uploads/images/profiles/' . date('Y') . '/' . date('m')), $imageName);
}
$e->civility = $request->civility;
$e->lastname = $lastname;
$e->firstname = $firstname;
$e->job_title = $request->job_title;
$e->video = $video;
if($photo !== NULL) {
$e->photo = 'uploads/images/profiles/' . date('Y') . '/' . date('m') . '/' . $imageName;
}
$e->save();
//prise en charge de la liaison avec les secteurs
$associatedSectors = $request->associated_sectors;
$e->businessSectors()->sync($associatedSectors);
return redirect()->route('bo.employees.index');
}
/**
@ -84,6 +165,44 @@ class EmployeesController extends Controller
*/
public function destroy($id)
{
//
$e = Employees::findOrFail($id);
if(file_exists(public_path() . '/' . $e->photo))
unlink(public_path() . '/' . $e->photo);
//prise en charge de la liaison avec les secteurs
$e->delete();
return redirect()->route('bo.employees.index');
}
public function changeOrder($id, $action)
{
$current = Employees::findOrFail($id);
if ($action === 'up'){
$tmp = Employees::where('order', '<', $current->order)->orderBy('order', 'DESC')->first();
$newOrder = $tmp->order;
$tmp->order = $current->order;
$current->order = $newOrder;
}else{
$tmp = Employees::where('order', '>', $current->order)->orderBy('order', 'ASC')->first();
$newOrder = $tmp->order;
$tmp->order = $current->order;
$current->order = $newOrder;
}
$tmp->save();
$current->save();
return redirect()->route('bo.employees.index');
}
private function getLastOrder()
{
$order = Employees::select('order')->orderBy('order', 'DESC')->first();
if ($order === NULL)
return 1;
return $order->order + 1;
}
}

View file

@ -0,0 +1,219 @@
<?php
namespace App\Http\Controllers\Bo;
use App\Http\Controllers\Controller;
use App\Models\HomeSliders;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class HomeSlidersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$slides = HomeSliders::orderBy('order', 'ASC')->get();
return view('bo.home-sliders.index',compact('slides'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
return view('bo.home-sliders.create');
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$title = $request->title;
$picture = $request->picture;
$text = $request->text;
$linkLabel = $request->link_label;
$link = $request->link;
$newTab = $request->link_new_tab === null ? 0 : 1;
$status = 0;
$request->validate([
'title' => 'required|max:255',
'picture' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:max-width=300,max-height=300',
'link_label' => 'required|max:100',
'link' => 'required|max:255',
]);
$imageName = Str::slug($title) .'-jeusselin.'.$picture->extension();
$picture->move(public_path('uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/'), $imageName);
// $imageName_r = Str::slug($title) .'-jeusselin_r.'.$picture_r->extension();
// $picture_r->move(public_path('uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/'), $imageName_r);
$hsp = new HomeSliders();
$hsp->title = $title;
$hsp->picture = 'uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/' . $imageName;
//$hsp->picture_r = 'uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/' . $imageName_r;
$hsp->text = $text;
$hsp->link_label = $linkLabel;
$hsp->link = $link;
$hsp->link_new_tab = $newTab;
$hsp->status = $status;
$hsp->order = $this->getLastOrder();
$hsp->save();
return redirect()->route('bo.home-sliders.index');
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$h = HomeSliders::findOrFail($id);
return view('bo.home-sliders.edit', compact('h'));
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$title = $request->title;
$picture = $request->picture;
$picture_r = null; //$request->picture_r;
$text = $request->text;
$linkLabel = $request->link_label;
$link = $request->link;
$newTab = $request->link_new_tab === null ? 0 : 1;
$status = $request->status === null ? 0 : 1;
$request->validate([
'title' => 'required|max:255',
'link_label' => 'required|max:100',
'link' => 'required|max:255',
]);
if ($picture !== NULL && $picture_r !== NULL){
$request->validate([
'picture' => 'image|mimes:jpeg,png,jpg|max:2048|dimensions:max-width=300,max-height=300',
'picture_r' => 'image|mimes:jpeg,png,jpg|max:2048|dimensions:width=500,height=671',
]);
}elseif ($picture !== NULL && $picture_r === NULL){
$request->validate([
'picture' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:max-width=300,max-height=300'
]);
}elseif ($picture === NULL && $picture_r !== NULL){
$request->validate([
'picture_r' => 'required|image|mimes:jpeg,png,jpg|max:2048|dimensions:width=500,height=671'
]);
}
$hsp = HomeSliders::findOrFail($id);
if ($picture !== NULL){
if(file_exists(public_path() . '/' . $hsp->picture))
unlink(public_path() . '/' . $hsp->picture);
$imageName = Str::slug($title) .'-jeusselin.'.$picture->extension();
$picture->move(public_path('uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/'), $imageName);
}
if ($picture_r !== NULL) {
if(file_exists(public_path() . '/' . $hsp->picture_r))
unlink(public_path() . '/' . $hsp->picture_r);
$imageName_r = Str::slug($title) . '-jeusselin_r.' . $picture_r->extension();
$picture_r->move(public_path('uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/'), $imageName_r);
}
$hsp->title = $title;
if ($picture !== null)
$hsp->picture = 'uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/' . $imageName;
if ($picture_r !== null)
$hsp->picture_r = 'uploads/images/slider_accueil/' . date('Y') . '/' . date('m') . '/' . $imageName_r;
$hsp->text = $text;
$hsp->link_label = $linkLabel;
$hsp->link = $link;
$hsp->link_new_tab = $newTab;
$hsp->status = $status;
$hsp->save();
return redirect()->route('bo.home-sliders.edit', $hsp->id)->with('success', 'Enregistré !');
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
$h = HomeSliders::findOrFail($id);
if(file_exists(public_path() . '/' . $h->picture))
unlink(public_path() . '/' . $h->picture);
if(!is_null($h->picture_r)) {
if(file_exists(public_path() . '/' . $h->picture_r))
unlink(public_path() . '/' . $h->picture_r);
}
$h->delete();
return redirect()->route('bo.home-sliders.index');
}
public function changeOrder($id, $action)
{
$current = HomeSliders::findOrFail($id);
if ($action === 'up'){
$tmp = HomeSliders::where('order', '<', $current->order)->orderBy('order', 'DESC')->first();
$newOrder = $tmp->order;
$tmp->order = $current->order;
$current->order = $newOrder;
}else{
$tmp = HomeSliders::where('order', '>', $current->order)->orderBy('order', 'ASC')->first();
$newOrder = $tmp->order;
$tmp->order = $current->order;
$current->order = $newOrder;
}
$tmp->save();
$current->save();
return redirect()->route('bo.home-sliders.index');
}
private function getLastOrder()
{
$order = HomeSliders::select('order')->orderBy('order', 'DESC')->first();
if ($order === NULL)
return 1;
return $order->order + 1;
}
}

View file

@ -2,12 +2,17 @@
namespace App\Http\Controllers;
use App\Models\HomeSliders;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function index(Request $request)
{
return view('home');
$slides = HomeSliders::where([
['status', 1]
])->orderBy('order', 'ASC')->get();
return view('home', compact('slides'));
}
}

View file

@ -2,12 +2,25 @@
namespace App\Http\Controllers;
use App\Models\Articles;
use Illuminate\Http\Request;
class NewsController extends Controller
{
public function index(Request $request)
{
return view('front.news');
$articles = Articles::where([
['status', 1],
['category_id', 1]
])->orderBy('created_at', 'ASC')->get();
return view('front.news.index', compact('articles'));
}
public function show($slug)
{
$article = Articles::where('slug', $slug)->first();
return view('front.news.article', compact('article'));
}
}

View file

@ -2,12 +2,19 @@
namespace App\Http\Controllers;
use App\Models\BusinessSector;
use App\Models\Employees;
use Illuminate\Http\Request;
class OurTradeController extends Controller
{
public function index(Request $request)
{
return view('front.ourtrade');
$secteurs_simples = BusinessSector::orderBy('order', 'ASC')->where('parent_id', null)->doesnthave('children')->with('employees')->orderBy('order', 'ASC')->get();
$secteurs_complexes = BusinessSector::orderBy('order', 'ASC')->where('parent_id', null)->has('children')->with('employees','children.employees')->orderBy('order', 'ASC')->get();
//$secteurs->employees->sortBy('order');
return view('front.ourtrade', compact('secteurs_simples','secteurs_complexes'));
}
}

View file

@ -0,0 +1,13 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SearchController extends Controller
{
public function index(Request $request)
{
return view('front.search');
}
}

33
app/Models/Articles.php Normal file
View file

@ -0,0 +1,33 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Articles extends Model
{
public function category()
{
return $this->belongsTo(ArticlesCategories::class, 'category_id');
}
public function recipes()
{
return $this->belongsToMany(Recipes::class);
}
public function answers()
{
return $this->hasMany(SurveysAnswers::class);
}
public function surveysAnswersUsers()
{
return $this->hasManyThrough(
SurveysAnswers::class,
SurveysAnswersUsers::class,
'survey_answer_id',
'article_id'
);
}
}

View file

@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ArticlesCategories extends Model
{
public function articles()
{
return $this->hasMany(Articles::class, 'category_id');
}
}

View file

@ -17,10 +17,21 @@ class BusinessSector extends Model
protected $fillable = [
'name',
'order',
'parent_id',
];
public function employees()
{
return $this->belongsToMany(Employees::class, 'sectors_employees', 'business_sector_id', 'employee_id');
return $this->belongsToMany(Employees::class, 'sectors_employees', 'business_sector_id', 'employee_id')->orderBy('order', 'ASC');
}
public function parent()
{
return $this->hasOne(self::class,'id','parent_id');
}
public function children()
{
return $this->hasMany(self::class,'parent_id','id');
}
}

View file

@ -25,6 +25,6 @@ class Employees extends Model
public function businessSectors()
{
return $this->belongsToMany(BusinessSector::class, 'sectors_employees', 'business_sector_id', 'employee_id');
return $this->belongsToMany(BusinessSector::class, 'sectors_employees', 'employee_id', 'business_sector_id');
}
}

View file

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class HomeSliders extends Model
{
use HasFactory;
}

View file

@ -17,7 +17,10 @@ class CreateBusinessSectorsTable extends Migration
$table->id();
$table->string('name');
$table->smallInteger('order')->default(1);
$table->bigInteger('parent_id')->unsigned()->nullable();
$table->timestamps();
$table->foreign('parent_id')->references('id')->on('business_sectors')->onDelete('cascade');
});
}

View file

@ -18,9 +18,10 @@ class CreateEmployeesTable extends Migration
$table->integer('civility')->nullable();
$table->string('firstname');
$table->string('lastname');
$table->string('job_title');
$table->string('photo');
$table->string('video');
$table->string('job_title')->nullable();
$table->string('photo')->nullable();
$table->string('video')->nullable();
$table->smallInteger('order')->default(1);
$table->timestamps();
});
}

View file

@ -0,0 +1,44 @@
<?php
use App\Enums\Days;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
// @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
class CreateHomeSliderPicturesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('home_sliders', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->text('text');
$table->string('picture');
$table->string('picture_r')->nullable();
$table->string('link_label', 100);
$table->string('link');
$table->boolean('link_new_tab')->default(false);
$table->integer('order')->default(1);
$table->boolean('status')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('home_sliders');
}
}

View file

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
// @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
class CreateArticlesCategoriesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles_categories', function (Blueprint $table) {
$table->id();
$table->string('name', 100);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('articles_categories');
}
}

View file

@ -0,0 +1,44 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
// @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
class CreateArticlesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', function (Blueprint $table) {
$table->id();
$table->string('title', 255);
$table->string('slug', 255);
$table->string('picture');
$table->string('picture_r');
$table->text('content');
$table->boolean('status')->default(false);
$table->foreignId('category_id');
$table->foreign('category_id')->references('id')->on('articles_categories');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('articles');
}
}

View file

@ -0,0 +1,22 @@
<?php
namespace Database\Seeders;
use App\Models\ArticlesCategories;
use Illuminate\Database\Seeder;
class ArticlesCategoriesSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$ac = new ArticlesCategories();
$ac->id = 1;
$ac->name = 'Actus';
$ac->save();
}
}

View file

@ -2,7 +2,9 @@
namespace Database\Seeders;
use App\Models\Articles;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Artisan;
class DatabaseSeeder extends Seeder
{
@ -13,6 +15,9 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
\App\Models\User::factory(10)->create();
//\App\Models\User::factory(10)->create();
$this->call([
ArticlesCategoriesSeeder::class,
]);
}
}

512
package-lock.json generated
View file

@ -1007,6 +1007,16 @@
"to-fast-properties": "^2.0.0"
}
},
"@ckeditor/ckeditor5-build-classic": {
"version": "24.0.0",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-build-classic/-/ckeditor5-build-classic-24.0.0.tgz",
"integrity": "sha512-659ZAYbuQbPj3ElqrTSV7aqPtW4vt30Th0PiheFei7adIgmu1bFTHgcM3hqm7XGRzGmBRV6C07xSwUptxn3cvQ=="
},
"@ckeditor/ckeditor5-vue2": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@ckeditor/ckeditor5-vue2/-/ckeditor5-vue2-1.0.5.tgz",
"integrity": "sha512-snsNB/2oWfKw0drGJAmMGpTatmt//L1rQsOwkBw+1uKUuOJPKN3xwyUZVWT906VguIMXm4E9OHzquZ3bdkijiA=="
},
"@discoveryjs/json-ext": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz",
@ -1016,8 +1026,7 @@
"@fortawesome/fontawesome-free": {
"version": "5.15.2",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.2.tgz",
"integrity": "sha512-7l/AX41m609L/EXI9EKH3Vs3v0iA8tKlIOGtw+kgcoanI7p+e4I4GYLqW3UXWiTnjSFymKSmTTPKYrivzbxxqA==",
"dev": true
"integrity": "sha512-7l/AX41m609L/EXI9EKH3Vs3v0iA8tKlIOGtw+kgcoanI7p+e4I4GYLqW3UXWiTnjSFymKSmTTPKYrivzbxxqA=="
},
"@nodelib/fs.scandir": {
"version": "2.1.4",
@ -1045,6 +1054,12 @@
"fastq": "^1.6.0"
}
},
"@types/anymatch": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.1.tgz",
"integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA==",
"dev": true
},
"@types/autoprefixer": {
"version": "9.7.2",
"resolved": "https://registry.npmjs.org/@types/autoprefixer/-/autoprefixer-9.7.2.tgz",
@ -1439,12 +1454,82 @@
"@types/node": "*"
}
},
"@types/source-list-map": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz",
"integrity": "sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==",
"dev": true
},
"@types/svgo": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/@types/svgo/-/svgo-1.3.3.tgz",
"integrity": "sha512-eDLVUvvTn+mol3NpP211DTH9JzSS6YKssRIhHNmXk5BiCl+gc4s+xQQjRFTSsGBohmka5qBsHX6qhL4x88Wkvg==",
"dev": true
},
"@types/tapable": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.6.tgz",
"integrity": "sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA==",
"dev": true
},
"@types/uglify-js": {
"version": "3.12.0",
"resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.12.0.tgz",
"integrity": "sha512-sYAF+CF9XZ5cvEBkI7RtrG9g2GtMBkviTnBxYYyq+8BWvO4QtXfwwR6a2LFwCi4evMKZfpv6U43ViYvv17Wz3Q==",
"dev": true,
"requires": {
"source-map": "^0.6.1"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
}
}
},
"@types/webpack": {
"version": "4.41.26",
"resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.26.tgz",
"integrity": "sha512-7ZyTfxjCRwexh+EJFwRUM+CDB2XvgHl4vfuqf1ZKrgGvcS5BrNvPQqJh3tsZ0P6h6Aa1qClVHaJZszLPzpqHeA==",
"dev": true,
"requires": {
"@types/anymatch": "*",
"@types/node": "*",
"@types/tapable": "*",
"@types/uglify-js": "*",
"@types/webpack-sources": "*",
"source-map": "^0.6.0"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
}
}
},
"@types/webpack-sources": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz",
"integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==",
"dev": true,
"requires": {
"@types/node": "*",
"@types/source-list-map": "*",
"source-map": "^0.7.3"
},
"dependencies": {
"source-map": {
"version": "0.7.3",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
"integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==",
"dev": true
}
}
},
"@vue/component-compiler-utils": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-3.2.0.tgz",
@ -1786,39 +1871,12 @@
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
"dev": true
},
"ansi-cyan": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-cyan/-/ansi-cyan-0.1.1.tgz",
"integrity": "sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM=",
"dev": true,
"requires": {
"ansi-wrap": "0.1.0"
}
},
"ansi-gray": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz",
"integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=",
"dev": true,
"requires": {
"ansi-wrap": "0.1.0"
}
},
"ansi-html": {
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",
"integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=",
"dev": true
},
"ansi-red": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz",
"integrity": "sha1-jGOPnRCAgAo1PJwoyKgcpHBdlGw=",
"dev": true,
"requires": {
"ansi-wrap": "0.1.0"
}
},
"ansi-regex": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
@ -1834,12 +1892,6 @@
"color-convert": "^1.9.0"
}
},
"ansi-wrap": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz",
"integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=",
"dev": true
},
"anymatch": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
@ -1912,6 +1964,12 @@
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
"dev": true
},
"array-uniq": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
"integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=",
"dev": true
},
"array-unique": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
@ -1998,71 +2056,6 @@
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
"dev": true
},
"autoprefixer": {
"version": "9.8.6",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz",
"integrity": "sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==",
"dev": true,
"requires": {
"browserslist": "^4.12.0",
"caniuse-lite": "^1.0.30001109",
"colorette": "^1.2.1",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
"postcss": "^7.0.32",
"postcss-value-parser": "^4.1.0"
},
"dependencies": {
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
},
"dependencies": {
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
"requires": {
"has-flag": "^3.0.0"
}
}
}
},
"postcss": {
"version": "7.0.35",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",
"integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",
"dev": true,
"requires": {
"chalk": "^2.4.2",
"source-map": "^0.6.1",
"supports-color": "^6.1.0"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
"supports-color": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
"integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
"dev": true,
"requires": {
"has-flag": "^3.0.0"
}
}
}
},
"available-typed-arrays": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.2.tgz",
@ -2819,6 +2812,78 @@
"integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
"dev": true
},
"clean-webpack-plugin": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/clean-webpack-plugin/-/clean-webpack-plugin-3.0.0.tgz",
"integrity": "sha512-MciirUH5r+cYLGCOL5JX/ZLzOZbVr1ot3Fw+KcvbhUb6PM+yycqd9ZhIlcigQ5gl+XhppNmw3bEFuaaMNyLj3A==",
"dev": true,
"requires": {
"@types/webpack": "^4.4.31",
"del": "^4.1.1"
},
"dependencies": {
"array-union": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
"integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
"dev": true,
"requires": {
"array-uniq": "^1.0.1"
}
},
"del": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz",
"integrity": "sha512-QwGuEUouP2kVwQenAsOof5Fv8K9t3D8Ca8NxcXKrIpEHjTXK5J2nXLdP+ALI1cgv8wj7KuwBhTwBkOZSJKM5XQ==",
"dev": true,
"requires": {
"@types/glob": "^7.1.1",
"globby": "^6.1.0",
"is-path-cwd": "^2.0.0",
"is-path-in-cwd": "^2.0.0",
"p-map": "^2.0.0",
"pify": "^4.0.1",
"rimraf": "^2.6.3"
}
},
"globby": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz",
"integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=",
"dev": true,
"requires": {
"array-union": "^1.0.1",
"glob": "^7.0.3",
"object-assign": "^4.0.1",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0"
},
"dependencies": {
"pify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
"dev": true
}
}
},
"p-map": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz",
"integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==",
"dev": true
},
"rimraf": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
"integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
"dev": true,
"requires": {
"glob": "^7.1.3"
}
}
}
},
"cli-table3": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.0.tgz",
@ -2925,12 +2990,6 @@
"simple-swizzle": "^0.2.2"
}
},
"color-support": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
"integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",
"dev": true
},
"colorette": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz",
@ -3787,22 +3846,6 @@
}
}
},
"del": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz",
"integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==",
"dev": true,
"requires": {
"globby": "^10.0.1",
"graceful-fs": "^4.2.2",
"is-glob": "^4.0.1",
"is-path-cwd": "^2.2.0",
"is-path-inside": "^3.0.1",
"p-map": "^3.0.0",
"rimraf": "^3.0.0",
"slash": "^3.0.0"
}
},
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
@ -3906,7 +3949,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/dom7/-/dom7-3.0.0.tgz",
"integrity": "sha512-oNlcUdHsC4zb7Msx7JN3K0Nro1dzJ48knvBOnDPKJ2GV9wl1i5vydJZUSyOfrkKFDZEud/jBsTk92S/VGSAe/g==",
"dev": true,
"requires": {
"ssr-window": "^3.0.0-alpha.1"
}
@ -4476,18 +4518,6 @@
}
}
},
"fancy-log": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz",
"integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==",
"dev": true,
"requires": {
"ansi-gray": "^0.1.1",
"color-support": "^1.1.3",
"parse-node-version": "^1.0.0",
"time-stamp": "^1.0.0"
}
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@ -4926,23 +4956,6 @@
"function-bind": "^1.1.1"
}
},
"has-ansi": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
},
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"dev": true
}
}
},
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
@ -5737,6 +5750,26 @@
"integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==",
"dev": true
},
"is-path-in-cwd": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz",
"integrity": "sha512-rNocXHgipO+rvnP6dk3zI20RpOtrAM/kzbB258Uw5BWr3TpXi861yzjo16Dn4hUox07iw5AyeMLHWsujkjzvRQ==",
"dev": true,
"requires": {
"is-path-inside": "^2.1.0"
},
"dependencies": {
"is-path-inside": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-2.1.0.tgz",
"integrity": "sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg==",
"dev": true,
"requires": {
"path-is-inside": "^1.0.2"
}
}
}
},
"is-path-inside": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz",
@ -5869,7 +5902,8 @@
"jquery": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.1.tgz",
"integrity": "sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg=="
"integrity": "sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg==",
"dev": true
},
"js-tokens": {
"version": "4.0.0",
@ -6621,12 +6655,6 @@
"boolbase": "~1.0.0"
}
},
"num2fraction": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz",
"integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=",
"dev": true
},
"object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@ -6862,15 +6890,6 @@
"p-limit": "^2.2.0"
}
},
"p-map": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz",
"integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==",
"dev": true,
"requires": {
"aggregate-error": "^3.0.0"
}
},
"p-pipe": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz",
@ -6958,12 +6977,6 @@
"json-parse-better-errors": "^1.0.1"
}
},
"parse-node-version": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz",
"integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==",
"dev": true
},
"parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
@ -7010,6 +7023,12 @@
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"dev": true
},
"path-is-inside": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
"integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",
"dev": true
},
"path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@ -7053,6 +7072,27 @@
"integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
"dev": true
},
"pify": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
"dev": true
},
"pinkie": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
"integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
"dev": true
},
"pinkie-promise": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
"integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
"dev": true,
"requires": {
"pinkie": "^2.0.0"
}
},
"pkg-dir": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
@ -7065,7 +7105,8 @@
"popper.js": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ=="
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==",
"dev": true
},
"portfinder": {
"version": "1.0.28",
@ -9617,109 +9658,6 @@
"queue-microtask": "^1.2.2"
}
},
"run-sequence": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/run-sequence/-/run-sequence-2.2.1.tgz",
"integrity": "sha512-qkzZnQWMZjcKbh3CNly2srtrkaO/2H/SI5f2eliMCapdRD3UhMrwjfOAZJAnZ2H8Ju4aBzFZkBGXUqFs9V0yxw==",
"dev": true,
"requires": {
"chalk": "^1.1.3",
"fancy-log": "^1.3.2",
"plugin-error": "^0.1.2"
},
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"dev": true
},
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
},
"arr-diff": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-1.1.0.tgz",
"integrity": "sha1-aHwydYFjWI/vfeezb6vklesaOZo=",
"dev": true,
"requires": {
"arr-flatten": "^1.0.1",
"array-slice": "^0.2.3"
}
},
"arr-union": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/arr-union/-/arr-union-2.1.0.tgz",
"integrity": "sha1-IPnqtexw9cfSFbEHexw5Fh0pLH0=",
"dev": true
},
"array-slice": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
"integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=",
"dev": true
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
"ansi-styles": "^2.2.1",
"escape-string-regexp": "^1.0.2",
"has-ansi": "^2.0.0",
"strip-ansi": "^3.0.0",
"supports-color": "^2.0.0"
}
},
"extend-shallow": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-1.1.4.tgz",
"integrity": "sha1-Gda/lN/AnXa6cR85uHLSH/TdkHE=",
"dev": true,
"requires": {
"kind-of": "^1.1.0"
}
},
"kind-of": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz",
"integrity": "sha1-FAo9LUGjbS78+pN3tiwk+ElaXEQ=",
"dev": true
},
"plugin-error": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-0.1.2.tgz",
"integrity": "sha1-O5uzM1zPAPQl4HQ34ZJ2ln2kes4=",
"dev": true,
"requires": {
"ansi-cyan": "^0.1.1",
"ansi-red": "^0.1.1",
"arr-diff": "^1.0.1",
"arr-union": "^2.0.1",
"extend-shallow": "^1.1.2"
}
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
}
}
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@ -10301,8 +10239,7 @@
"ssr-window": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-3.0.0.tgz",
"integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA==",
"dev": true
"integrity": "sha512-q+8UfWDg9Itrg0yWK7oe5p/XRCJpJF9OBtXfOPgSJl+u3Xd5KI328RUEvUqSMVM9CiQUEf1QdBzJMkYGErj9QA=="
},
"stable": {
"version": "0.1.8",
@ -10568,7 +10505,6 @@
"version": "6.4.12",
"resolved": "https://registry.npmjs.org/swiper/-/swiper-6.4.12.tgz",
"integrity": "sha512-tmDKtmvser4yfVQzOkKw9zGPP/ERaVTmIgx6qCj9gqOsNz7RI8msmuonIm3eMl8PykauamAR/UGki8QS2WGVXg==",
"dev": true,
"requires": {
"dom7": "^3.0.0",
"ssr-window": "^3.0.0"
@ -10653,12 +10589,6 @@
"integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==",
"dev": true
},
"time-stamp": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz",
"integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=",
"dev": true
},
"timers-browserify": {
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz",
@ -11048,6 +10978,14 @@
"vue-style-loader": "^4.1.0"
}
},
"vue-select-image": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/vue-select-image/-/vue-select-image-1.9.0.tgz",
"integrity": "sha512-oXIfpzawtTRwMGbaXLvG/4ktUgrpt6LZgcwK7WmXfodhuEKTZOKlpPxACFNAYJfqBlAQwloMdw/RJgpFY8XUKQ==",
"requires": {
"vue": "^2.5.17"
}
},
"vue-style-loader": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz",

View file

@ -12,17 +12,11 @@
"devDependencies": {
"axios": "^0.21",
"bootstrap": "^4.0.0",
"jquery": "^3.5",
"clean-webpack-plugin": "^3.0.0",
"jquery": "^3.5.1",
"laravel-mix": "^6.0.6",
"lodash": "^4.17.19",
"popper.js": "^1.12",
"@fortawesome/fontawesome-free": "^5.15.1",
"autoprefixer": "^9.7.6",
"cssnano": "^4.1.10",
"del": "^5.1.0",
"run-sequence": "^2.2.1",
"swiper": "^6.3.4",
"postcss": "^8.1.14",
"popper.js": "^1.16.1",
"resolve-url-loader": "^3.1.2",
"sass": "^1.20.1",
"sass-loader": "^8.0.0",
@ -31,10 +25,12 @@
"vue-template-compiler": "^2.6.10"
},
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^24.0.0",
"@ckeditor/ckeditor5-vue2": "^1.0.5",
"@fortawesome/fontawesome-free": "^5.15.1",
"swiper": "^6.3.4",
"chart.js": "^2.9.4",
"jquery": "^3.5.1",
"popper.js": "^1.16.1",
"v-clipboard": "^2.2.3",
"vue": "^2.6.12"
"vue-select-image": "^1.9.0"
}
}

378
public/css/style.css vendored
View file

@ -569,6 +569,7 @@ textarea {
:root {
--container: calc(100% - 40px);
--header-height: 130px;
--footer-height: 110px;
}
html, body {
@ -615,8 +616,8 @@ a:hover {
}
.container {
padding-left: calc(50% - var(--container) / 2);
padding-right: calc(50% - var(--container) / 2);
padding-left: 10px;
padding-right: 10px;
}
.post-title {
@ -668,6 +669,11 @@ header.bandeau {
:root {
--container: 600px;
}
.container {
padding-left: calc(50% - var(--container) / 2);
padding-right: calc(50% - var(--container) / 2);
}
}
@media only screen and (min-width: 1024px) {
:root {
@ -771,7 +777,6 @@ header .logo a {
background-size: cover;
background-repeat: no-repeat;
background-position-y: center;
transition: background-image 0.5s;
}
header nav {
position: absolute;
@ -813,6 +818,8 @@ header .right-menu {
display: none;
}
header .right-menu-mobile {
position: relative;
top: -10px;
flex-direction: column;
height: 100%;
justify-content: space-evenly;
@ -820,7 +827,6 @@ header .right-menu-mobile {
}
header .right-menu-mobile .mobile-disconnect {
margin-left: 10px;
display: none;
}
header .right-menu-mobile .mobile-disconnect.login {
display: block;
@ -902,9 +908,6 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
top: calc(-100% - 20px);
width: 500px;
}
header .right-menu .connect-contain p {
display: none;
}
header .right-menu .connect-contain .connect {
text-align: right;
}
@ -927,7 +930,6 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
content: "Espace client";
}
header .right-menu .connect-contain .disconnect {
display: none;
width: 40px;
height: 30px;
text-align: right;
@ -986,11 +988,19 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
header.sticky-bar .right-menu .search {
display: none;
}
header.sticky-bar .right-menu .connect-contain {
top: calc(-100% - 27px);
}
header.sticky-bar .right-menu .connect {
top: 0;
transform: translateY(-15%);
transform: translateY(0);
}
}
.main {
grid-template-rows: var(--header-height) auto;
min-height: calc(100vh - var(--footer-height));
}
.hero {
margin: 0;
padding: 0 10px;
@ -1068,11 +1078,17 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
}
.video .player-bloc {
display: none;
min-height: 250px;
}
.video .video-diapo {
justify-content: center;
flex-wrap: wrap;
max-width: 650px;
justify-items: inherit;
width: 100%;
}
.video .video-diapo .player-bloc {
margin: 10px 0;
display: block;
height: 170px;
width: 90%;
}
.video .player-bloc, .video .screenplay {
position: relative;
@ -1095,6 +1111,7 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
color: black;
}
.video .screenplay {
display: none;
margin: 10px;
}
.video .screenplay .icon-play {
@ -1183,13 +1200,13 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
background-repeat: no-repeat;
}
.chiffres .infos .info:nth-child(1) .post-chapter::before {
background-image: url(/images/logo-collecte.png?137309834328516b8851d74e4d79b167);
background-image: url(/images/logo-collecte.svg?7fd8af735e835db688a73d39951459c7);
}
.chiffres .infos .info:nth-child(2) .post-chapter::before {
background-image: url(/images/logo-site.png?3261cc7992bf7614f47067b54def3a79);
background-image: url(/images/logo-site.svg?37cce4e542256778b0014a92abd8ba71);
}
.chiffres .infos .info:nth-child(3) .post-chapter::before {
background-image: url(/images/logo-employes.png?ba395c689cec118507b62fd2f5ce8e54);
background-image: url(/images/logo-employes.svg?749055febf10aad3a9e48af24868fa0f);
}
.chiffres .info img {
width: 100%;
@ -1202,10 +1219,28 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
}
@media only screen and (min-width: 420px) {
.video iframe {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: calc(100% * (16/9));
max-height: 100%;
}
.video .player-bloc {
display: block;
max-width: 600px;
margin: 10px;
width: 90%;
margin: 20px;
}
.video .screenplay {
display: block;
}
.video .video-diapo {
grid-template-columns: 1fr 1fr;
}
.video .video-diapo .player-bloc {
display: none;
}
}
@media only screen and (min-width: 768px) {
@ -1229,6 +1264,10 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
margin: 0;
}
.video .video-diapo {
grid-template-columns: 1fr 1fr 1fr;
}
.chiffres .infos {
flex-direction: row;
}
@ -1280,13 +1319,21 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
.video .content-video {
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
align-items: center;
}
.video .content-video > div {
flex: 1;
width: 50%;
}
.video .player-bloc {
height: 30vh;
}
.video .video-diapo {
justify-content: flex-end;
grid-gap: 20px;
margin: 20px 0;
}
.video .screenplay {
width: 100%;
margin: 0;
}
.edito {
@ -1304,6 +1351,10 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
}
}
@media only screen and (min-width: 1440px) {
.video .player-bloc {
height: 42vh;
}
.edito {
padding-left: 250px;
padding-right: 250px;
@ -1314,6 +1365,10 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea
flex: 2;
}
.video .player-bloc {
height: 58vh;
}
.edito {
padding-left: 500px;
padding-right: 500px;
@ -1906,7 +1961,7 @@ svg {
max-width: 400px;
grid-template-rows: 200px 3.5rem auto;
grid-template-areas: "img" "title" "txt";
align-items: center;
align-items: flex-start;
overflow: hidden;
}
.engag--bloc:nth-child(1) {
@ -1949,7 +2004,7 @@ svg {
.engag--bloc {
grid-template-rows: 140px 3.5rem auto;
max-width: 300px;
height: 300px;
height: 340px;
}
}
@media only screen and (min-width: 1440px) {
@ -2000,9 +2055,6 @@ svg {
-webkit-box-orient: vertical;
}
.actus--first {
display: none;
}
.actus--first .first--img {
padding-bottom: 20px;
text-align: center;
@ -2047,6 +2099,11 @@ svg {
.actus--footer {
justify-content: space-between;
padding: 0 40px 30px;
}
.actus--footer > div {
padding-top: 20px;
border-top: 2px solid #ffffff;
}
.actus--footer .prev, .actus--footer .next {
position: relative;
@ -2065,7 +2122,7 @@ svg {
right: 0;
}
.actus--footer .pagination {
width: 50%;
width: 100%;
justify-content: center;
}
.actus--footer .pagination a {
@ -2151,8 +2208,9 @@ svg {
padding: 0.2rem 0.5rem;
}
}
.collect--main,
.collect--row {
.collect--main, .collect--row,
.contact--main, .contact--row,
.popup-choice, .choice--bloc {
flex-direction: column;
}
@ -2248,6 +2306,40 @@ svg {
text-align: center;
}
.popup-choice, .choice--bloc {
align-items: center;
}
.popup-choice {
position: absolute;
left: 50%;
top: calc(var(--header-height) + 40px);
transform: translateX(-50%);
width: 80%;
max-width: 450px;
margin: 0;
padding: 10px;
background-color: #ffffff;
z-index: 10;
text-align: center;
}
.popup-choice.hidden {
display: none;
}
.popup-choice .choice--row {
width: 100%;
justify-content: center;
flex-wrap: wrap;
}
.popup-choice .choice--bloc {
flex: 1;
min-width: 150px;
margin: 20px 20px 0;
}
.popup-choice .choice--bloc svg {
width: 30vw;
}
@media only screen and (min-width: 420px) {
.site--bloc {
grid-template-columns: 40% 60%;
@ -2259,6 +2351,18 @@ svg {
.site--bloc .bloc--btn {
margin-top: 0;
}
.popup-choice {
min-width: 385px;
}
.popup-choice .choice--bloc {
margin: 20px 0 0;
}
.popup-choice .choice--bloc svg {
width: 80px;
}
}
@media only screen and (min-width: 768px) {
.site--bloc {
@ -2276,32 +2380,242 @@ svg {
}
}
@media only screen and (min-width: 1024px) {
.collect--row {
.collect--row, .contact--row {
flex-direction: row;
flex-wrap: wrap;
}
.collect--row > div {
.collect--row > div, .contact--row > div {
width: 49%;
}
.collect--row > div:nth-child(odd) {
.collect--row > div:nth-child(odd),
.contact--row > div:nth-child(odd) {
margin-right: 10px;
}
.collect--row > div:nth-child(even) {
.collect--row > div:nth-child(even),
.contact--row > div:nth-child(even) {
margin-left: 10px;
}
.site--bloc {
margin: 10px 0;
}
.popup-choice {
min-width: 450px;
}
}
.search--main,
.search--row,
.search--col,
.mobile-form,
.search {
flex-direction: column;
}
.clamp {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.mobile-form {
background-color: #ffffff;
margin: 20px auto;
padding: 20px;
width: 90%;
display: none;
}
.mobile-form .post-subtitle {
text-align: center;
}
.mobile-form .second-btn {
border: none;
width: -webkit-min-content;
width: -moz-min-content;
width: min-content;
margin: 10px auto 0;
}
.search--chrono {
grid-template-areas: "title" "img" "txt" "btn";
grid-gap: 10px;
margin: 10px 0 20px;
}
.search--chrono > .post-title {
grid-area: title;
}
.search--chrono > div:nth-child(2) {
grid-area: txt;
}
.search--chrono > div:nth-child(3) {
grid-area: img;
}
.search--chrono > div:nth-child(4) {
grid-area: btn;
}
.search--chrono .post-title {
height: 2.8rem;
-webkit-line-clamp: 3;
}
.search--chrono .post-title, .search--chrono .chrono--img, .search--chrono .chrono--txt, .search--chrono div:last-child {
text-align: center;
}
.search--chrono img {
width: 60%;
max-width: 180px;
}
.search--chrono .chrono--txt {
height: 5rem;
-webkit-line-clamp: 4;
}
.search--footer {
justify-content: space-between;
padding: 0 10px 20px;
}
.search--footer > div {
padding-top: 20px;
border-top: 2px solid #ffffff;
}
.search--footer .prev, .search--footer .next {
position: relative;
width: 5%;
}
.search--footer .prev a, .search--footer .next a {
position: absolute;
font-size: 4rem;
bottom: 0;
transform: translateY(-50%);
}
.search--footer .prev a {
left: 0;
}
.search--footer .next a {
right: 0;
}
.search--footer .pagination {
width: 100%;
justify-content: center;
}
.search--footer .pagination a {
font-size: 2rem;
line-height: 2rem;
transition: background-color 0.5s;
border-radius: 50%;
padding: 0.2rem 0.5rem;
margin: 0 20px;
}
.search--footer .pagination a:hover {
background-color: #f9b00b;
color: black;
}
@media only screen and (min-width: 420px) {
.mobile-form {
width: 70%;
}
}
@media only screen and (min-width: 768px) {
.mobile-form {
width: 50%;
}
.search--chrono {
grid-template-columns: 1fr 3fr;
grid-template-areas: "img title" "img txt" "img btn";
grid-gap: 0;
margin: 10px 0 20px;
}
.search--chrono .post-title, .search--chrono .chrono--img, .search--chrono .chrono--txt {
text-align: left;
}
.search--chrono div:last-child {
text-align: right;
}
.search--chrono .post-title {
-webkit-line-clamp: 2;
margin-left: 10px;
margin-bottom: 0px;
}
.search--chrono .chrono--txt {
margin-left: 10px;
}
.search--chrono img {
width: 100%;
}
.search--chrono .chrono--txt {
height: 5rem;
}
}
@media only screen and (min-width: 1024px) {
.mobile-form {
display: none;
}
.search--row, .search {
flex-direction: row;
}
.search--row > div {
flex: 1;
}
.search--row > div:nth-child(1) {
margin-right: 20px;
}
.search--row > div:nth-child(2) {
margin-left: 20px;
}
.search--chrono .post-title {
-webkit-line-clamp: 2;
height: 2.6rem;
}
.search--footer .prev, .search--footer .next {
flex: 1;
position: relative;
}
.search--footer .prev a::after, .search--footer .next a::before {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
font-size: 1rem;
}
.search--footer .prev a::after {
content: " Résultats précédents";
left: calc(100% + 10px);
}
.search--footer .next a::before {
content: "Résultats précédents ";
right: calc(100% + 10px);
}
.search--footer .prev a, .search--footer .next a {
font-size: 1.5rem;
transform: translateY(0);
}
.search--footer .pagination a {
font-size: 1rem;
line-height: 1rem;
padding: 0.2rem 0.5rem;
}
}
@media only screen and (min-width: 1440px) {
.search--chrono .post-title {
height: 2.7rem;
}
}
footer {
background-color: white;
padding: 20px 10px;
display: flex;
align-items: center;
height: var(--footer-height);
}
footer .logo-footer {
margin-right: 20px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 272.03 155.63"><defs><style>.cls-1{fill:#1d1d1b;}.cls-2{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><path class="cls-1" d="M70.38,107.45A20,20,0,0,1,88.3,118.53a19.74,19.74,0,0,1,2.16,9,20.09,20.09,0,1,1-40.17,0,19.74,19.74,0,0,1,2.16-9,20,20,0,0,1,17.93-11.08m0-8a28.14,28.14,0,1,0,25.07,15.48A28.07,28.07,0,0,0,70.38,99.45Z"/><path class="cls-1" d="M152.34,107.45a20,20,0,0,1,17.93,11.08,19.74,19.74,0,0,1,2.16,9,20.09,20.09,0,0,1-40.18,0,20.16,20.16,0,0,1,20.09-20.09m0-8a28.14,28.14,0,1,0,25.08,15.48,28.06,28.06,0,0,0-25.08-15.48Z"/><circle class="cls-2" cx="236.89" cy="116.04" r="31.14"/><path class="cls-2" d="M205.75,36.74H176.32V4H91.24l-68,32.74V116H34.08a39.91,39.91,0,0,1,2.29-5.62,38.06,38.06,0,0,1,68,0,40.41,40.41,0,0,1,2.29,5.62h9.38a38.75,38.75,0,0,1,2.29-5.62A38.08,38.08,0,0,1,188.63,116h17.12Z"/><polyline class="cls-2" points="4 43.65 4 20.65 54 20.65"/><line class="cls-2" x1="188.63" y1="116.04" x2="236.89" y2="116.04"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264.27 153.34"><defs><style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><path class="cls-1" d="M201.17,90.17c-29.17,0-49.08,8.15-59.11,33.76C158.92,139.49,176.43,149,201.17,149s42.25-9.51,59.1-25.07C250.24,98.32,230.33,90.17,201.17,90.17Z"/><path class="cls-1" d="M234,36.81a32.81,32.81,0,1,0-65.61,0V69.38H234Z"/><path class="cls-1" d="M68.1,60.81a28,28,0,1,0-28-28A28,28,0,0,0,68.1,60.81Z"/><path class="cls-1" d="M132.2,124.27a68.83,68.83,0,0,0-128.2,0,94.48,94.48,0,0,0,128.2,0Z"/></svg>

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 195.39 153.34"><defs><style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><line class="cls-1" x1="191.39" y1="149.34" x2="4" y2="149.34"/><line class="cls-1" x1="128.06" y1="14.32" x2="142.94" y2="4"/><polygon class="cls-1" points="157.95 34.41 128.06 14.32 98.17 34.41 98.17 106.83 117.72 113.4 117.7 113.4 117.7 122.55 138.43 122.55 138.43 113.4 138.41 113.4 157.95 106.83 157.95 34.41"/><line class="cls-1" x1="98.18" y1="106.83" x2="98.18" y2="144.99"/><line class="cls-1" x1="157.95" y1="106.83" x2="157.95" y2="144.99"/><line class="cls-1" x1="46.5" y1="14.32" x2="61.37" y2="4"/><polygon class="cls-1" points="76.39 34.41 46.5 14.32 16.61 34.41 16.61 106.83 36.15 113.4 36.13 113.4 36.13 122.55 56.86 122.55 56.86 113.4 56.85 113.4 76.39 106.83 76.39 34.41"/><line class="cls-1" x1="16.61" y1="106.83" x2="16.61" y2="144.99"/><line class="cls-1" x1="76.39" y1="106.83" x2="76.39" y2="144.99"/><polyline class="cls-1" points="181.62 149.34 181.62 25.87 149.09 4"/><line class="cls-1" x1="64.21" y1="4" x2="149.09" y2="4"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

348
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,80 @@
/*!
* Bootstrap v4.6.0 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/*!
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/
/*!
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

67
public/js/main.js vendored
View file

@ -6372,6 +6372,7 @@ __webpack_require__(/*! @fortawesome/fontawesome-free/js/all */ "./node_modules/
__webpack_require__(/*! ./bootstrap */ "./resources/js/bootstrap.js");
$(document).ready(function () {
// HEADER
// GESTION RESPONSIVE DU MENU
$('.toggle-menu').click(function () {
$(this).toggleClass('active');
@ -6381,7 +6382,53 @@ $(document).ready(function () {
$('nav ul li').click(function () {
$(this).toggleClass('active');
}); // AFFICHAGE DU DETAIL DE LA CHRONOLOGIE
}); // Section VIDEO
$('.screenplay').click(function (e) {
e.preventDefault();
$(this).siblings().removeClass('active');
$(this).toggleClass('active'); // $('.popup-detail').addClass('active');
if ($(this)[0].classList[1]) {
switch ($(this)[0].classList[1]) {
case "marolles":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307128");
break;
case "cherre":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306947");
break;
case "monce":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307183");
break;
case "nogent-le-bernard":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306862");
break;
case "mamers":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307063");
break;
case "thoigne-les-mees":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306899");
break;
default:
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306998");
break;
}
} // $('.player-bloc.wide iframe').attr(src,"")
// switch (key) {
// case value:
// break;
// default:
// break;
// }
}); // PAGE "QUI SOMMES NOUS"
// AFFICHAGE DU DETAIL DE LA CHRONOLOGIE
$('.frise .event').click(function () {
$('body .bg-opacity').addClass('active');
@ -6397,7 +6444,14 @@ $(document).ready(function () {
$('body .bg-opacity').removeClass('active');
$('.popup-detail').removeClass('active');
$('.detail--video .video-player').removeClass('active');
}); // MENU TOUJOURS PRESENT
}); // PAGE "NOUS CONTACTER"
// ON CACHE LA POPUP D'INFO
$('.choice--btn').click(function () {
$('body .bg-opacity').removeClass('active');
$('.popup-choice').addClass('hidden');
}); // FOOTER
// MENU TOUJOURS PRESENT
$(window).on('scroll', function () {
if ($(window).scrollTop()) {
@ -6407,7 +6461,8 @@ $(document).ready(function () {
$('header').removeClass('sticky-bar');
$('.pageup').removeClass('see');
}
}); // SLIDER
}); // HOME PAGE
// SLIDER
//initialize swiper when document ready
var mySwiper = new (swiper_swiper_bundle__WEBPACK_IMPORTED_MODULE_0___default())('.swiper-container', {
@ -6415,9 +6470,9 @@ $(document).ready(function () {
parallax: true,
effect: 'slide',
slidesPerView: 1,
// autoplay: {
// delay: 1000,
// },
autoplay: {
delay: 1000
},
loop: true,
pagination: {
el: '.swiper-pagination',

View file

@ -0,0 +1,69 @@
/*!
* Bootstrap v4.6.0 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/*!
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

1
public/uploads/.gitkeep Normal file
View file

@ -0,0 +1 @@
gitkeep

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
resources/images/cherre.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 272.03 155.63"><defs><style>.cls-1{fill:#1d1d1b;}.cls-2{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><path class="cls-1" d="M70.38,107.45A20,20,0,0,1,88.3,118.53a19.74,19.74,0,0,1,2.16,9,20.09,20.09,0,1,1-40.17,0,19.74,19.74,0,0,1,2.16-9,20,20,0,0,1,17.93-11.08m0-8a28.14,28.14,0,1,0,25.07,15.48A28.07,28.07,0,0,0,70.38,99.45Z"/><path class="cls-1" d="M152.34,107.45a20,20,0,0,1,17.93,11.08,19.74,19.74,0,0,1,2.16,9,20.09,20.09,0,0,1-40.18,0,20.16,20.16,0,0,1,20.09-20.09m0-8a28.14,28.14,0,1,0,25.08,15.48,28.06,28.06,0,0,0-25.08-15.48Z"/><circle class="cls-2" cx="236.89" cy="116.04" r="31.14"/><path class="cls-2" d="M205.75,36.74H176.32V4H91.24l-68,32.74V116H34.08a39.91,39.91,0,0,1,2.29-5.62,38.06,38.06,0,0,1,68,0,40.41,40.41,0,0,1,2.29,5.62h9.38a38.75,38.75,0,0,1,2.29-5.62A38.08,38.08,0,0,1,188.63,116h17.12Z"/><polyline class="cls-2" points="4 43.65 4 20.65 54 20.65"/><line class="cls-2" x1="188.63" y1="116.04" x2="236.89" y2="116.04"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264.27 153.34"><defs><style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><path class="cls-1" d="M201.17,90.17c-29.17,0-49.08,8.15-59.11,33.76C158.92,139.49,176.43,149,201.17,149s42.25-9.51,59.1-25.07C250.24,98.32,230.33,90.17,201.17,90.17Z"/><path class="cls-1" d="M234,36.81a32.81,32.81,0,1,0-65.61,0V69.38H234Z"/><path class="cls-1" d="M68.1,60.81a28,28,0,1,0-28-28A28,28,0,0,0,68.1,60.81Z"/><path class="cls-1" d="M132.2,124.27a68.83,68.83,0,0,0-128.2,0,94.48,94.48,0,0,0,128.2,0Z"/></svg>

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1 @@
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 195.39 153.34"><defs><style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style></defs><line class="cls-1" x1="191.39" y1="149.34" x2="4" y2="149.34"/><line class="cls-1" x1="128.06" y1="14.32" x2="142.94" y2="4"/><polygon class="cls-1" points="157.95 34.41 128.06 14.32 98.17 34.41 98.17 106.83 117.72 113.4 117.7 113.4 117.7 122.55 138.43 122.55 138.43 113.4 138.41 113.4 157.95 106.83 157.95 34.41"/><line class="cls-1" x1="98.18" y1="106.83" x2="98.18" y2="144.99"/><line class="cls-1" x1="157.95" y1="106.83" x2="157.95" y2="144.99"/><line class="cls-1" x1="46.5" y1="14.32" x2="61.37" y2="4"/><polygon class="cls-1" points="76.39 34.41 46.5 14.32 16.61 34.41 16.61 106.83 36.15 113.4 36.13 113.4 36.13 122.55 56.86 122.55 56.86 113.4 56.85 113.4 76.39 106.83 76.39 34.41"/><line class="cls-1" x1="16.61" y1="106.83" x2="16.61" y2="144.99"/><line class="cls-1" x1="76.39" y1="106.83" x2="76.39" y2="144.99"/><polyline class="cls-1" points="181.62 149.34 181.62 25.87 149.09 4"/><line class="cls-1" x1="64.21" y1="4" x2="149.09" y2="4"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

6
resources/js/app.js vendored
View file

@ -8,6 +8,11 @@
import Vue from 'vue';
require('@fortawesome/fontawesome-free/js/all');
require('./bootstrap');
require('vue-select-image/dist/vue-select-image.css');
import CKEditor from '@ckeditor/ckeditor5-vue2';
import VueSelectImage from 'vue-select-image';
Vue.use( CKEditor );
Vue.use( VueSelectImage )
//window.Vue = require('vue');
@ -25,6 +30,7 @@ require('./bootstrap');
Vue.component('example-component', require('./components/ExampleComponent.vue').default);
Vue.component('business-sector', require('./components/bo/BusinessSectors.vue').default);
Vue.component('employees', require('./components/bo/Employees.vue').default);
Vue.component('custom-ckeditor', require('./components/bo/CKEditorComponent.vue').default);
/**
* Next, we will create a fresh Vue application instance and attach it to

View file

@ -28,14 +28,20 @@
<table class="table table-bordered text-center">
<thead>
<tr>
<th class="w-75" scope="col">Nom du secteur <span class="required-asterisk">*</span></th>
<th class="w-25" scope="col"></th>
<th class="w-50" scope="col">Nom du secteur <span class="required-asterisk">*</span></th>
<th class="w-25" scope="col">Parent</th>
<th class="w-25" scope="col">Ordre</th>
<th class="w-25" scope="col"></th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in datas" v-bind:key="item.id">
<td><input class="form-control form-control-sm" v-model="item.name" type="text" required></td>
<td>
<select v-model="item.parent_id" class="custom-select custom-select-sm">
<option v-for="sector in psectors" :key="sector.id" :value="sector.id" :selected="sector.id == item.sector_id">{{sector.name}}</option>
</select>
</td>
<td>
<a @click="moveUp(index)" v-if="item.order !== 1" class="btn-link text-decoration-none" href="#"><i name="up_arrow" class="icon-size far fa-arrow-alt-circle-up fa-2x"></i></a>
<a @click="moveDown(index)" v-if="item.order !== datas.length" class="btn-link text-decoration-none" href="#"><i name="down_arrow" class="icon-size far fa-arrow-alt-circle-down fa-2x"></i></a>
@ -65,14 +71,17 @@
mounted() {
console.log('BusinessSector Component mounted.');
this.datas = JSON.parse(this.dbdatas);
this.psectors = JSON.parse(this.dbpsectors);
},
props: [
'name',
'dbdatas',
'dbpsectors',
],
data() {
return {
datas: [],
psectors: [],
response: null,
processing: false
}
@ -82,7 +91,11 @@
},
methods: {
newItem() {
this.datas.push({id: null, name: '', order: this.datas.length+1});
this.datas.push({
id: null, name: '',
order: this.datas.length+1,
parent_id: null
});
},
moveUp(index) {
let movingUp = this.datas[index];
@ -143,7 +156,7 @@
this.processing = true;
this.response = "En cours de sauvegarde..."
axios.post('/bo/ajax/save-business-sector', {
themes: this.datas,
sectors: this.datas,
}).then(
(response) => {
this.datas = response.data;

View file

@ -0,0 +1,31 @@
<template>
<div>
<ckeditor :editor="editor" v-model="dbtext"></ckeditor>
<input type="hidden" :name="name" :value="dbtext">
</div>
</template>
<script>
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
export default {
mounted() {
console.log('CKEditorComponent Component mounted.');
},
props: [
'name',
'dbtext',
],
data() {
return {
editor: ClassicEditor
}
},
watch: {
},
methods: {
}
}
</script>

162
resources/js/main.js vendored
View file

@ -3,63 +3,117 @@ import Swiper from 'swiper/swiper-bundle';
require('./bootstrap');
$(document).ready(function() {
// GESTION RESPONSIVE DU MENU
$('.toggle-menu').click(function(){
$(this).toggleClass('active');
$('nav').toggleClass('active')
$('body').toggleClass('mobile-nav-active');
})
// HEADER
// GESTION RESPONSIVE DU MENU
$('.toggle-menu').click(function(){
$(this).toggleClass('active');
$('nav').toggleClass('active')
$('body').toggleClass('mobile-nav-active');
})
// BORDER VISIBLE SUR LE MENU AFFICHE
$('nav ul li').click(function() {
$(this).toggleClass('active');
})
// BORDER VISIBLE SUR LE MENU AFFICHE
$('nav ul li').click(function() {
$(this).toggleClass('active');
})
// AFFICHAGE DU DETAIL DE LA CHRONOLOGIE
$('.frise .event').click(function() {
$('body .bg-opacity').addClass('active');
$('.popup-detail').addClass('active');
})
// AFFICHAGE DE LA VIDEO
$('.work .detail--video > div:not(:last-child)').click(function() {
$('body .bg-opacity').addClass('active');
$('.detail--video .video-player').addClass('active');
})
// ON CACHE LA POP-UP
$('#close-cross').click(function() {
$('body .bg-opacity').removeClass('active');
$('.popup-detail').removeClass('active');
$('.detail--video .video-player').removeClass('active');
})
// Section VIDEO
$('.screenplay').click(function(e) {
e.preventDefault();
$(this).siblings().removeClass('active')
$(this).toggleClass('active');
// $('.popup-detail').addClass('active');
if ($(this)[0].classList[1]) {
switch ($(this)[0].classList[1]) {
case "marolles":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307128")
break;
case "cherre":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306947")
break;
case "monce":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307183")
break;
case "nogent-le-bernard":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306862")
break;
case "mamers":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510307063")
break;
case "thoigne-les-mees":
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306899")
break;
// MENU TOUJOURS PRESENT
$(window).on('scroll',function() {
if($(window).scrollTop()) {
$('header').addClass('sticky-bar')
$('.pageup').addClass('see')
}
else {
$('header').removeClass('sticky-bar')
$('.pageup').removeClass('see')
}
})
default:
$('.player-bloc.wide iframe').attr("src", "https://player.vimeo.com/video/510306998")
break;
}
}
// $('.player-bloc.wide iframe').attr(src,"")
// switch (key) {
// case value:
// SLIDER
//initialize swiper when document ready
const mySwiper = new Swiper ('.swiper-container', {
speed: 2000,
parallax: true,
effect: 'slide',
slidesPerView: 1,
// autoplay: {
// delay: 1000,
// },
loop: true,
pagination: {
el: '.swiper-pagination',
type: 'bullets',
clickable: true,
},
});
// break;
// default:
// break;
// }
})
// PAGE "QUI SOMMES NOUS"
// AFFICHAGE DU DETAIL DE LA CHRONOLOGIE
$('.frise .event').click(function() {
$('body .bg-opacity').addClass('active');
$('.popup-detail').addClass('active');
})
// AFFICHAGE DE LA VIDEO
$('.work .detail--video > div:not(:last-child)').click(function() {
$('body .bg-opacity').addClass('active');
$('.detail--video .video-player').addClass('active');
})
// ON CACHE LA POP-UP
$('#close-cross').click(function() {
$('body .bg-opacity').removeClass('active');
$('.popup-detail').removeClass('active');
$('.detail--video .video-player').removeClass('active');
})
// PAGE "NOUS CONTACTER"
// ON CACHE LA POPUP D'INFO
$('.choice--btn').click(function() {
$('body .bg-opacity').removeClass('active');
$('.popup-choice').addClass('hidden');
})
// FOOTER
// MENU TOUJOURS PRESENT
$(window).on('scroll',function() {
if($(window).scrollTop()) {
$('header').addClass('sticky-bar')
$('.pageup').addClass('see')
}
else {
$('header').removeClass('sticky-bar')
$('.pageup').removeClass('see')
}
})
// HOME PAGE
// SLIDER
//initialize swiper when document ready
const mySwiper = new Swiper ('.swiper-container', {
speed: 2000,
parallax: true,
effect: 'slide',
slidesPerView: 1,
autoplay: {
delay: 1000,
},
loop: true,
pagination: {
el: '.swiper-pagination',
type: 'bullets',
clickable: true,
},
});
});

View file

@ -11,11 +11,11 @@
.clamp{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
}
.actus--first{
//todo : à implémenter
display: none;
//display: none;
.first--img {
padding-bottom: 20px;
@ -47,14 +47,19 @@
-webkit-line-clamp: 4;
p{
}
}
& div:last-child{text-align: right;}
}
.actus--footer{
justify-content: space-between;
padding: 0 40px 30px;
& > div{
padding-top: 20px;
border-top: 2px solid $blanc;
}
.prev, .next{
position: relative;
width: 5%;
@ -70,7 +75,7 @@
}
.next a{right: 0;}
.pagination{
width: 50%;
width: 100%;
justify-content: center;
a{
@ -86,7 +91,7 @@
color: black;
}
}
}
}
}
@media only screen and (min-width:420px) {
@ -212,7 +217,7 @@
// ********* *
// ***** *
// ** *
// ** *
// ** *
// ********** *
// * *
// ********* *
@ -224,4 +229,4 @@
// ************
@media only screen and (min-width: 1920px) {
}
}

View file

@ -1,5 +1,6 @@
.collect--main,
.collect--row{
.collect--main, .collect--row,
.contact--main, .contact--row,
.popup-choice, .choice--bloc{
flex-direction: column;
}
.site--bloc{
@ -90,6 +91,37 @@
}
}
// contact page
.popup-choice, .choice--bloc{
align-items: center;
}
.popup-choice{
position: absolute;
left: 50%; top: calc(var(--header-height) + 40px);
transform: translateX(-50%);
width: 80%;
max-width: 450px;
margin: 0;
padding: 10px;
background-color: $blanc;
z-index: 10;
text-align: center;
&.hidden{display: none;}
.choice--row{
width: 100%;
justify-content: center;
flex-wrap: wrap;
}
.choice--bloc{
flex: 1;
min-width: 150px;
margin: 20px 20px 0;
svg{width: 30vw;}
}
}
@media only screen and (min-width:420px) {
.site--bloc{
grid-template-columns: 40% 60%;
@ -102,6 +134,11 @@
.bloc--services{margin-top: 0;}
.bloc--btn{margin-top: 0;}
}
// contact page
.popup-choice{min-width: 385px;}
.popup-choice .choice--bloc{margin: 20px 0 0;}
.popup-choice .choice--bloc svg{width: 80px;}
}
// *************************
@ -147,14 +184,21 @@
// ****
@media only screen and (min-width:1024px) {
.collect--row{flex-direction: row; flex-wrap: wrap;}
.collect--row > div{width: 49%;}
.collect--row > div:nth-child(odd){margin-right: 10px;}
.collect--row > div:nth-child(even){margin-left: 10px;}
.site--bloc{
margin: 10px 0;
.collect--row, .contact--row
{flex-direction: row; flex-wrap: wrap;}
.collect--row > div, .contact--row > div
{width: 49%;}
.collect--row > div:nth-child(odd),
.contact--row > div:nth-child(odd)
{margin-right: 10px;}
.collect--row > div:nth-child(even),
.contact--row > div:nth-child(even)
{margin-left: 10px;}
.site--bloc{margin: 10px 0;}
// contact page
.popup-choice{min-width: 450px;}
}
}
// ********

View file

@ -4,6 +4,7 @@
--container: calc(100% - 40px);
// --container-max: 1000px;
--header-height: 130px;
--footer-height: 110px;
}
html, body {font-size: var(--base-font-size);}
body {
@ -32,8 +33,8 @@ a{
.grid {display: grid;}
.container {
padding-left: calc(50% - var(--container) / 2);
padding-right: calc(50% - var(--container) / 2);
padding-left: 10px;
padding-right: 10px;
}
.post-title{
@ -143,6 +144,12 @@ header.bandeau{
--container: 600px;
// --header-height: 64px;
}
.container {
padding-left: calc(50% - var(--container) / 2);
padding-right: calc(50% - var(--container) / 2);
}
}
// ****

View file

@ -3,6 +3,7 @@ footer{
padding: 20px 10px;
display: flex;
align-items: center;
height: var(--footer-height);
.logo-footer{
margin-right: 20px;

View file

@ -45,7 +45,7 @@ header {
width: 20px;
height: 3px;
background-color: $first_btn_color;
transition: all .8s;
transition: all .8s;
}
&::before{top: -9px;}
&::after{top: 9px;}
@ -72,7 +72,7 @@ header {
background-size: cover;
background-repeat: no-repeat;
background-position-y: center;
transition: background-image .5s;
// transition: background-image .5s;
}
}
nav{
@ -116,6 +116,8 @@ header {
display: none;
}
.right-menu-mobile{
position: relative;
top: -10px;
flex-direction: column;
height: 100%;
justify-content: space-evenly;
@ -123,7 +125,7 @@ header {
.mobile-disconnect{
margin-left: 10px;
display: none;
//display: none;
}
// .mobile-connect, .mobile-disconnect{display: none;}
// .mobile-connect.active{display: block;}
@ -224,10 +226,11 @@ header {
right: 0;
top: calc(-100% - 20px);
width: 500px;
p{display: none;}
//p{display: none;}
.connect{
text-align: right;
// transform: translateY(-15%);
a{
background-image: url("../images/connect.svg");
@ -246,7 +249,7 @@ header {
a::after{content: "Espace client";}
}
.disconnect{
display: none;
//display: none;
width: 40px;
height: 30px;
text-align: right;
@ -298,7 +301,8 @@ header {
background-size: unset;
}
.right-menu .search{display: none;}
.right-menu .connect{top: 0; transform: translateY(-15%);}
.right-menu .connect-contain{top: calc(-100% - 27px);}
.right-menu .connect{top: 0; transform: translateY(0);}
}
}
@ -330,7 +334,7 @@ header {
// ********* *
// ***** *
// ** *
// ** *
// ** *
// ********** *
// * *
// ********* *
@ -343,4 +347,4 @@ header {
@media only screen and (min-width: 1920px) {
header {
}
}
}

View file

@ -2,6 +2,10 @@
// --padding: 20px;
// }
.main{
grid-template-rows: var(--header-height) auto;
min-height: calc(100vh - var(--footer-height));
}
.hero{
margin: 0;
padding: 0 10px;
@ -63,12 +67,21 @@
.content-video{align-items: center;}
.content-video img{width: 100%;}
.player-bloc{display: none;}
.video-diapo{
justify-content: center;
flex-wrap: wrap;
max-width: 650px;
.player-bloc{
display: none;
min-height: 250px;
}
.video-diapo{
justify-items: inherit;
width: 100%;
.player-bloc{
margin: 10px 0;
display: block;
height: 170px;
width: 90%;
}
}
.player-bloc, .screenplay{
position: relative;
@ -89,6 +102,7 @@
&:hover{color: black;}
}
.screenplay{
display: none;
margin: 10px;
& .icon-play{
@ -162,29 +176,42 @@
content:"";
position: absolute;
left: 0; top: 0;
// width: 55px; height: 32px;
width: 37px; height: 21px;
background-size: contain;
background-repeat: no-repeat;
}
}
.infos .info:nth-child(1) .post-chapter::before {background-image: url("../images/logo-collecte.png");}
.infos .info:nth-child(2) .post-chapter::before {background-image: url("../images/logo-site.png");}
.infos .info:nth-child(3) .post-chapter::before {background-image: url("../images/logo-employes.png");}
.infos .info:nth-child(1) .post-chapter::before {background-image: url("../images/logo-collecte.svg");}
.infos .info:nth-child(2) .post-chapter::before {background-image: url("../images/logo-site.svg");}
.infos .info:nth-child(3) .post-chapter::before {background-image: url("../images/logo-employes.svg");}
.info img{width: 100%;}
.info > div {text-align: center;}
.info:first-child div{display: none;}
}
@media only screen and (min-width:420px) {
.video{
.player-bloc{
display: block;
max-width: 600px;
margin: 10px;
.video{
iframe{
position: absolute;
left: 50%; top: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: calc(100% * (16/9));
max-height: 100%;
}
.player-bloc{
display: block;
width: 90%;
margin: 20px;
}
.screenplay{display: block;}
.video-diapo {
grid-template-columns: 1fr 1fr;
.player-bloc{display: none;}
}
}
}
}
// *************************
// ** **
@ -201,13 +228,8 @@
@media only screen and (min-width:768px) {
.hero{
.swiper-container{
padding-bottom: 40px;
.swiper-slide{
flex-direction: row;
}
}
.swiper-container{padding-bottom: 40px;}
.swiper-container .swiper-slide{flex-direction: row;}
.img-slide {
padding: 0 20px 0 0;
text-align: left;
@ -219,11 +241,10 @@
.second-btn{margin: 0;}
}
}
.video .video-diapo {grid-template-columns: 1fr 1fr 1fr;}
.chiffres{
.infos{
flex-direction: row;
}
.infos{flex-direction: row;}
.info{margin: 20px 20px 0;}
.info:first-child div{display: flex; opacity: 0;}
}
@ -278,11 +299,20 @@
.content-video{
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
align-items: center;
& > div{flex: 1;}
& > div{width: 50%;}
}
// .player-bloc{height: 25vh;}
.player-bloc{height: 30vh;}
.video-diapo{
grid-gap: 20px;
margin: 20px 0;
}
.screenplay{
width: 100%;
margin: 0;
}
.video-diapo{justify-content: flex-end;}
}
.edito{
// grid-template-columns: 2fr 3fr;
@ -318,6 +348,8 @@
// * *
// *****************
@media only screen and (min-width: 1440px) {
// .video .player-bloc{height: 36vh;}
.video .player-bloc{height: 42vh;}
.edito{
padding-left: 250px;
padding-right: 250px;
@ -341,11 +373,9 @@
// * ***
// ************
@media only screen and (min-width: 1920px) {
.hero{
.txt-slide{
flex: 2;
}
}
.hero .txt-slide{ flex: 2;}
// .video .player-bloc{height: 48vh;}
.video .player-bloc{height: 58vh;}
.edito{
padding-left: 500px;
padding-right: 500px;

View file

@ -67,7 +67,7 @@ svg{
"img"
"title"
"txt";
align-items: center;
align-items: flex-start;
overflow: hidden;
&:nth-child(1){grid-area: e01;}
&:nth-child(2){grid-area: e02;}
@ -132,7 +132,7 @@ svg{
.engag--bloc{
grid-template-rows: 140px 3.5rem auto;
max-width: 300px;
height: 300px;
height: 340px;
}
}

250
resources/sass/search.scss vendored Normal file
View file

@ -0,0 +1,250 @@
.search--main,
.search--row,
.search--col,
.mobile-form,
.search
{flex-direction: column;}
.clamp{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.mobile-form{
background-color: $blanc;
margin: 20px auto;
padding: 20px;
width: 90%;
display: none;
.post-subtitle{text-align: center;}
.second-btn{
border: none;
width: min-content;
margin: 10px auto 0;
}
}
.search--chrono{
// grid-template-rows: min-content auto auto;
grid-template-areas:
"title"
"img"
"txt"
"btn";
grid-gap: 10px;
margin: 10px 0 20px;
& > .post-title{grid-area: title;}
& > div:nth-child(2){grid-area: txt;}
& > div:nth-child(3){grid-area: img;}
& > div:nth-child(4){grid-area: btn;}
.post-title{
height: 2.8rem;
-webkit-line-clamp: 3;
}
.post-title, .chrono--img, .chrono--txt, div:last-child
{text-align: center;}
img{
width: 60%;
max-width: 180px;
}
.chrono--txt{
height: 5rem;
-webkit-line-clamp: 4;
}
}
.search--footer{
justify-content: space-between;
padding: 0 10px 20px;
& > div{
padding-top: 20px;
border-top: 2px solid $blanc;
}
.prev, .next{
position: relative;
width: 5%;
}
.prev a, .next a{
position: absolute;
font-size: 4rem;
bottom: 0;
transform: translateY(-50%);
}
.prev a{
left: 0;
}
.next a{right: 0;}
.pagination{
width: 100%;
justify-content: center;
a{
font-size: 2rem;
line-height: 2rem;
transition: background-color .5s;
border-radius: 50%;
padding: 0.2rem .5rem;
margin: 0 20px;
&:hover{
background-color: $second_btn_color;
color: black;
}
}
}
}
@media only screen and (min-width:420px) {
.mobile-form{
width: 70%;
}
}
// *************************
// ** **
// *************************
// ** **
// ** **
// ** **
// ** **
// ** **
// ** **
// ** **
// *******
@media only screen and (min-width:768px) {
.mobile-form{
width: 50%;
}
.search--chrono{
grid-template-columns: 1fr 3fr;
grid-template-areas:
"img title"
"img txt"
"img btn";
grid-gap: 0;
margin: 10px 0 20px;
.post-title, .chrono--img, .chrono--txt
{text-align: left;}
div:last-child{text-align: right;}
.post-title{
-webkit-line-clamp: 2;
margin-left: 10px;
margin-bottom: 0px;
}
.chrono--txt{margin-left: 10px;}
img{width: 100%;}
.chrono--txt{height: 5rem;}
}
}
// ****
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// ****
@media only screen and (min-width:1024px) {
.mobile-form{display: none;}
.search--row, .search{
flex-direction: row;
}
.search--row{
& > div{flex: 1;}
& > div:nth-child(1){margin-right: 20px;}
& > div:nth-child(2){margin-left: 20px;}
}
.search--chrono .post-title {
-webkit-line-clamp: 2;
height: 2.6rem;
}
.search--footer{
.prev, .next{
flex: 1;
position: relative;
}
.prev a::after, .next a::before{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: max-content;
font-size: 1rem;
}
.prev a::after{
content: " Résultats précédents";
left: calc(100% + 10px);
}
.next a::before{
content: "Résultats précédents ";
right: calc(100% + 10px);
}
.prev a, .next a{
font-size: 1.5rem;
transform: translateY(0);
}
.pagination{
a{
font-size: 1rem;
line-height: 1rem;
padding: 0.2rem .5rem;
}
}
}
}
// ********
// * ***** *
// * * * *
// *** * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * *
// * **************
// * *
// *****************
@media only screen and (min-width: 1440px) {
.search--chrono .post-title {
height: 2.7rem;
}
}
// ************
// * ****
// ********* *
// ***** *
// ** *
// ** *
// ********** *
// * *
// ********* *
// ***** *
// ** *
// ** *
// ********** *
// * ***
// ************
@media only screen and (min-width: 1920px) {
}

View file

@ -14,4 +14,5 @@
@import './rse';
@import './actus';
@import './collect';
@import './search';
@import './footer';

View file

@ -7,88 +7,18 @@
<main class="form-signin">
<form method="POST" action="{{ route('login') }}">
@csrf
<img class="mb-4" src="{{ asset('images/logo-lgl-3f.svg') }}" alt="__Jeusselin__">
{{--<img class="mb-4" src="{{ asset('images/logo-lgl-3f.svg') }}" alt="__Jeusselin__">--}}
<input type="email" id="inputEmail" class="form-control" placeholder="Adresse email" name="email" value="{{ old('email') }}" required autofocus>
<input type="password" id="inputPassword" class="form-control" placeholder="Mot de passe" name="password" required>
<div class="checkbox mb-3">
{{--<div class="checkbox mb-3">
<label>
<input type="checkbox" value="remember"> Se souvenir de moi
</label>
</div>
</div>--}}
<button class="w-100 btn btn-lg btn-primary" type="submit">Connexion</button>
<p class="mt-5 mb-3 text-muted">&copy; __Jeusselin__ {{ date('Y') }}</p>
{{--<p class="mt-5 mb-3 text-muted">&copy; __Jeusselin__ {{ date('Y') }}</p>--}}
</form>
</main>
</div>
</section>
@endsection
{{-- <div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Login') }}</div>
<div class="card-body">
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="form-group row">
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
<div class="form-group row">
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
</div>
<div class="form-group row">
<div class="col-md-6 offset-md-4">
<div class="form-check">
<input class="form-check-input" type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
<label class="form-check-label" for="remember">
{{ __('Remember Me') }}
</label>
</div>
</div>
</div>
<div class="form-group row mb-0">
<div class="col-md-8 offset-md-4">
<button type="submit" class="btn btn-primary">
{{ __('Login') }}
</button>
@if (Route::has('password.request'))
<a class="btn btn-link" href="{{ route('password.request') }}">
{{ __('Forgot Your Password?') }}
</a>
@endif
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div> --}}

View file

@ -0,0 +1,62 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Ajout d'un article
<a href="{{route('bo.articles.index')}}" class="btn btn-sm btn-primary float-right">Retour</a>
</div>
<div class="card-body">
<form action="{{route('bo.articles.store')}}" method="POST" enctype="multipart/form-data">
@csrf
<div class="row">
<div class="col-md-8 offset-md-2">
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form-group">
<input type="text" class="form-control" name="title" placeholder="Titre *" value="{{ old('title') }}" required>
</div>
<div class="form-group">
<label>Visuel * de type JPEG/PNG - 2Mo max. - Max : 340 x 340px</label></br>
<input type="file" name="picture" accept="image/png, image/jpeg" required>
</div>
<div class="form-group">
<label>Visuel * de type JPEG/PNG - 2Mo max. - Max: 780 x 508px</label></br>
<input type="file" name="picture_r" accept="image/png, image/jpeg" required>
</div>
<div class="form-group">
<label class="col-form-label">Contenu *</label>
<custom-ckeditor name="content" dbtext="{{ old('content') }}"></custom-ckeditor>
</div>
<div class="form-group row">
<label class="col-form-label col-md-3">Catégorie *</label>
<select class="custom-select col-md-9" id="category" name="category">
@foreach ($ac as $article_category)
<option value="{{$article_category->id}}" @if (old('category') == $article_category->id)selected @endif>{{$article_category->name}}</option>
@endforeach
</select>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Ajouter">
</div>
</div>
</div>
</form>
</div>
</div>
@endsection
@section('scripts')
<script>
</script>
@endsection

View file

@ -0,0 +1,93 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Modification d'un article
<a href="{{route('bo.articles.index')}}" class="btn btn-sm btn-primary float-right ml-2">Retour</a>
<form action="{{route('bo.articles.destroy', $a->id)}}" method="POST" class="d-inline">
@method('DELETE')
@csrf
<input type="submit" class="btn btn-sm btn-danger float-right" value="Supprimer"
onclick="return confirm('Êtes-vous sûr(e) ?')">
</form>
</div>
<div class="card-body">
<form action="{{route('bo.articles.update', $a->id)}}" method="POST" enctype="multipart/form-data">
@method('PUT')
@csrf
<div class="row">
<div class="col-md-8 offset-md-2">
@if (session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form-group">
<input type="text" class="form-control" name="title" placeholder="Titre *" value="{{$a->title}}" required>
</div>
<div class="form-group">
<label>Visuel * de type JPEG/PNG - 2Mo max. - 340 x 340px</label>
<input type="file" name="picture" accept="image/png, image/jpeg">
</br>
</br>
<img src="{{ asset($a->picture) }}" style="max-height: 200px;">
</div>
<div class="form-group">
<label>Visuel * de type JPEG/PNG - 2Mo max. - 780 x 508px</label>
<input type="file" name="picture_r" accept="image/png, image/jpeg">
</br>
</br>
<img src="{{ asset($a->picture_r) }}" style="max-height: 200px;">
</div>
<div class="form-group">
<label class="col-form-label">Contenu *</label>
<custom-ckeditor name="content" dbtext="{{ $a->content }}"></custom-ckeditor>
</div>
<div class="form-group row">
<label class="col-form-label col-md-3">Catégorie *</label>
<select class="custom-select col-md-9" id="category" name="category">
@foreach ($ac as $article_category)
@if ($article_category->id === $a->category_id)
<option value="{{$article_category->id}}" selected>{{$article_category->name}}</option>
@else
<option value="{{$article_category->id}}">{{$article_category->name}}</option>
@endif
@endforeach
</select>
</div>
<div class="form-group">
<label>
@if ($a->status === 1)
<input type="checkbox" name="status" value="1" checked>
@else
<input type="checkbox" name="status" value="1">
@endif
Publié ?
</label>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Modifier">
</div>
</div>
</div>
</form>
</div>
</div>
@endsection
@section('scripts')
<script>
</script>
@endsection

View file

@ -0,0 +1,39 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Liste des articles
<a href="{{route('bo.articles.create')}}" class="btn btn-sm btn-primary float-right">Ajouter</a>
</div>
<div class="card-body">
<table class="table text-center">
<thead class="thead-dark">
<tr>
<th scope="col">Titre</th>
<th scope="col">Catégorie</th>
<th scope="col">Publié ?</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach($a as $article)
<tr>
<th>{{$article->title}}</th>
<td>{{$article->category->name}}</td>
<td>
@if ($article->status === 0)
<i class="fas fa-times cross-red"></i>
@else
<i class="fas fa-check check-green"></i>
@endif
</td>
<td><a href="{{route('bo.articles.edit', $article->id)}}" class="btn btn-sm btn-primary">Éditer</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@endsection

View file

@ -1,5 +1,5 @@
@extends('layouts.bo')
@section('content')
<business-sector dbdatas='@json($sector)'/>
<business-sector dbdatas='@json($sector)' dbpsectors='@json($psectors)'/>
@endsection

View file

@ -1,45 +1,5 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Employés
<a href="{{route('bo.employees.create')}}" class="btn btn-sm btn-primary float-right">Ajouter</a>
</div>
<div class="card-body">
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">Titre</th>
<th scope="col">Prénom</th>
<th scope="col">Nom</th>
<th scope="col">Fonction</th>
<th scope="col">Photo</th>
<th scope="col">Video</th>
</tr>
</thead>
<tbody>
@foreach($employees as $employee)
<tr>
$table->integer('civility')->nullable();
$table->string('firstname');
$table->string('lastname');
$table->string('job_title');
$table->string('photo');
$table->string('video');
<th>{{$employee->civility}}</th>
<th>{{$employee->firstname}}</th>
<td>{{$employee->lastname}}</td>
<td>{{$employee->job_title}}</td>
<td>{{$employee->photo}}</td>
<td>{{$employee->video}}</td>
<td><a href="{{route('bo.employees.edit', ['employee' => $employee->id])}}" class="btn btn-sm btn-primary">Éditer</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<employees dbdatas='@json($employees)' dbsectors='@json($sectors)'/>
@endsection

View file

@ -0,0 +1,70 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Employés
<a href="{{route('bo.employees.index')}}" class="btn btn-sm btn-primary float-right">Retour</a>
</div>
<div class="card-body">
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="{{route('bo.employees.store')}}" method="POST" enctype="multipart/form-data">
@csrf
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<div class="row">
<div class="col-md-3">
<select name="civility" class="custom-select">
<option value="1" @if (old('civility') == 1)selected @endif>Mr</option>
<option value="2" @if (old('civility') == 2)selected @endif>Mme</option>
<option value="3" @if (old('civility') == 3)selected @endif>Mlle</option>
</select>
</div>
<div class="col-md-4">
<input type="text" class="form-control" name="firstname" value="{{ old('firstname') }}" placeholder="Prénom *" required>
</div>
<div class="col-md-5">
<input type="text" class="form-control" name="lastname" value="{{ old('lastname') }}" placeholder="Nom *" required>
</div>
</div>
</div>
<div class="form-group">
<input type="text" name="job_title" class="form-control" placeholder="Fonction" value="{{ old('job_title') }}">
</div>
<div class="form-group">
<label>Photo * de type JPEG/PNG - 2Mo max. - 100 x 100px</label>
<input type="file" name="photo" accept="image/png, image/jpeg" required>
</div>
<div class="form-group">
<input type="text" name="video" class="form-control" placeholder="Lien vidéo" value="{{ old('video') }}">
</div>
<div class="form-group row">
<label class="col-md-4 col-form-label">Secteur(s) :</label>
<div class="form-group col-md-8">
@foreach ($s as $sector)
<label>
<input type="checkbox" name="associated_sectors[]" value="{{$sector->id}}">
{{$sector->name}}
</label></br>
@endforeach
</div>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Ajouter">
</div>
</div>
</div>
</form>
</div>
</div>
@endsection

View file

@ -0,0 +1,84 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Employé
<a href="{{route('bo.employees.index')}}" class="btn btn-sm btn-primary float-right ml-2">Retour</a>
<form action="{{route('bo.employees.destroy', ['employee' => $e->id])}}" method="POST" class="d-inline">
@method('DELETE')
@csrf
<input type="submit" class="btn btn-sm btn-danger float-right" value="Supprimer"
onclick="return confirm('Êtes-vous sûr(e) ?')">
</form>
</div>
<div class="card-body">
<form action="{{route('bo.employees.update', ['employee' => $e->id])}}" method="POST" enctype="multipart/form-data">
@method('PUT')
@csrf
<div class="row">
<div class="col-md-8 offset-md-2">
@if (session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="form-group">
<div class="row">
<div class="col-md-3">
<select name="civility" class="custom-select">
<option value="1" @if ($e->civility == 1)selected @endif>Mr</option>
<option value="2" @if ($e->civility == 2)selected @endif>Mme</option>
<option value="3" @if ($e->civility == 3)selected @endif>Mlle</option>
</select>
</div>
<div class="col-md-4">
<input type="text" class="form-control" name="firstname" value="{{ $e->firstname }}" placeholder="Prénom *" required>
</div>
<div class="col-md-5">
<input type="text" class="form-control" name="lastname" value="{{ $e->lastname }}" placeholder="Nom *" required>
</div>
</div>
</div>
<div class="form-group">
<input type="text" name="job_title" class="form-control" placeholder="Fonction" value="{{ $e->job_title }}">
</div>
<div class="form-group">
<label>Photo * de type JPEG/PNG - 2Mo max. - 100 x 100px</label>
<input type="file" name="photo" accept="image/png, image/jpeg">
<br><br>
<img src="{{ asset($e->photo) }}" style="max-height: 200px;">
</div>
<div class="form-group">
<input type="text" name="video" class="form-control" placeholder="Lien vidéo" value="{{ $e->video }}">
</div>
<div class="form-group row">
<label class="col-md-4 col-form-label">Secteur(s) :</label>
<div class="form-group col-md-8">
@foreach ($s as $sector)
<label>
<input type="checkbox" name="associated_sectors[]" value="{{$sector->id}}" @if (in_array($sector->id, $seIds))checked @endif>
{{$sector->name}}
</label></br>
@endforeach
</div>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Modifier">
</div>
</div>
</div>
</form>
</div>
</div>
@endsection

View file

@ -1,5 +1,60 @@
@extends('layouts.bo')
@section('content')
<employees dbdatas='@json($employees)' dbsectors='@json($sectors)'/>
<div class="card">
<div class="card-header">
Employés
<a href="{{route('bo.employees.create')}}" class="btn btn-sm btn-primary float-right">Ajouter</a>
</div>
<div class="card-body">
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">Titre</th>
<th scope="col">Prénom</th>
<th scope="col">Nom</th>
<th scope="col">Fonction</th>
<th scope="col">Photo</th>
<th scope="col">Video</th>
<th scope="col">Secteur</th>
<th scope="col">Ordre</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach($employees as $employee)
<tr>
<th>{{$employee->civility}}</th>
<th>{{$employee->firstname}}</th>
<td>{{$employee->lastname}}</td>
<td>{{$employee->job_title}}</td>
<td><img src="{{ asset($employee->photo) }}" style="max-height: 20px;"></td>
<td>{{$employee->video}}</td>
<td>list secteur</td>
<td>
@if ($loop->first)
<a href="{{route('bo.employees.change-order', ['id' => $employee->id, 'action' => 'down'])}}" class="btn-link text-decoration-none">
<i name="down_arrow" class="icon-size far fa-arrow-alt-circle-down"></i>
</a>
@elseif($loop->last)
<a href="{{route('bo.employees.change-order', ['id' => $employee->id, 'action' => 'up'])}}" class="btn-link text-decoration-none">
<i name="up_arrow" class="icon-size far fa-arrow-alt-circle-up"></i>
</a>
@else
<a href="{{route('bo.employees.change-order', ['id' => $employee->id, 'action' => 'up'])}}" class="btn-link text-decoration-none">
<i name="up_arrow" class="icon-size far fa-arrow-alt-circle-up"></i>
</a>
<a href="{{route('bo.employees.change-order', ['id' => $employee->id, 'action' => 'down'])}}" class="btn-link text-decoration-none">
<i name="down_arrow" class="icon-size far fa-arrow-alt-circle-down"></i>
</a>
@endif
</td>
<td><a href="{{route('bo.employees.edit', ['employee' => $employee->id])}}" class="btn btn-sm btn-primary">Éditer</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@endsection

View file

@ -0,0 +1,63 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Slides de l'acceuil
<a href="{{route('bo.home-sliders.index')}}" class="btn btn-sm btn-primary float-right">Retour</a>
</div>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="{{route('bo.home-sliders.store')}}" method="POST" enctype="multipart/form-data">
@csrf
<ul class="list-group list-group-flush">
<li class="list-group-item"><em>Champs généraux</em></li>
<div class="card-body">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<input type="text" name="title" class="form-control" placeholder="Titre" value="{{ old('title') }}">
</div>
<div class="form-group">
<custom-ckeditor name="text" dbtext="{{ old('text') }}"></custom-ckeditor>
</div>
<div class="form-group">
<label>Photo * de type JPEG/PNG - 2Mo max. - Max : 300 x 300 px</label>
<input type="file" name="picture" accept="image/png, image/jpeg" required>
</div>
</div>
</div>
</div>
<li class="list-group-item"><em>Options de liens</em></li>
<div class="card-body">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<input type="text" class="form-control" name="link_label" placeholder="Nom du lien *" value="{{ old('link_label') }}" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="link" placeholder="Lien *" value="{{ old('link') }}" required>
</div>
<div class="form-group text-center">
<input class="form-check-input" type="checkbox" id="new_tab_cb" name="link_new_tab" @if (old('link_new_tab') !== null)checked @endif>
<label class="form-check-label" for="new_tab_cb">Ouvrir dans un nouvel onglet</label>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Ajouter">
</div>
</div>
</div>
</div>
</form>
</div>
@endsection

View file

@ -0,0 +1,102 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Slides de l'acceuil - edition
<a href="{{route('bo.home-sliders.index')}}" class="btn btn-sm btn-primary float-right ml-2">Retour</a>
<form action="{{route('bo.home-sliders.destroy', $h->id)}}" method="POST" class="d-inline">
@method('DELETE')
@csrf
<input type="submit" class="btn btn-sm btn-danger float-right" value="Supprimer"
onclick="return confirm('Êtes-vous sûr(e) ?')">
</form>
</div>
@if (session('success'))
<div class="alert alert-success">
{{ session('success') }}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="{{route('bo.home-sliders.update', $h->id)}}" method="POST" enctype="multipart/form-data">
@method('PUT')
@csrf
<ul class="list-group list-group-flush">
<li class="list-group-item"><em>Champs généraux</em></li>
<div class="card-body">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<input type="text" name="title" class="form-control" placeholder="Titre" value="{{ $h->title }}">
</div>
<div class="form-group">
<custom-ckeditor name="text" dbtext="{{ $h->text }}"></custom-ckeditor>
</div>
<div class="form-group">
<label>Photo * de type JPEG/PNG - 2Mo max. - Max : 300 x 300 px</label>
<input type="file" name="picture" accept="image/png, image/jpeg">
</br>
</br>
<img src="{{ asset($h->picture) }}" style="max-height: 200px;">
</div>
</div>
</div>
</div>
<li class="list-group-item"><em>Options de liens</em></li>
<div class="card-body">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<input type="text" class="form-control" name="link_label" placeholder="Nom du lien *" value="{{ $h->link_label }}" required>
</div>
<div class="form-group">
<input type="text" class="form-control" name="link" placeholder="Lien *" value="{{ $h->link }}" required>
</div>
<div class="form-group text-center">
<label>
@if ($h->link_new_tab === 1)
<input type="checkbox" name="link_new_tab" checked>
@else
<input type="checkbox" name="link_new_tab">
@endif
Ouvrir dans un nouvel onglet
</label>
</div>
</div>
</div>
</div>
<li class="list-group-item"><em>Paramètres de publication</em></li>
<div class="card-body">
<div class="row">
<div class="col-md-6 offset-md-3">
<div class="form-group">
<label>
@if ($h->status === 1)
<input type="checkbox" name="status" value="1" checked>
@else
<input type="checkbox" name="status" value="1">
@endif
Publié ?
</label>
</div>
<div class="form-group text-center">
<input type="submit" class="btn btn-secondary" value="Modifier">
</div>
</div>
</div>
</div>
</form>
</div>
@endsection

View file

@ -0,0 +1,62 @@
@extends('layouts.bo')
@section('content')
<div class="card">
<div class="card-header">
Slides de l'acceuil
<a href="{{route('bo.home-sliders.create')}}" class="btn btn-sm btn-primary float-right">Ajouter</a>
</div>
<div class="card-body">
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">Titre</th>
<th scope="col">Texte</th>
<th scope="col">Image</th>
<th scope="col">Lien</th>
<th scope="col">Publié ?</th>
<th scope="col">Ordre</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach($slides as $slide)
<tr>
<td>{{$slide->title}}</td>
<td>{!! $slide->text !!}</td>
<td><img src="{{ asset($slide->picture) }}" height="50px"></td>
<td><a href="{{$slide->link}}" target="_slide">{{ $slide->link_label }}</a></td>
<td>
@if ($slide->status === 0)
<i class="fas fa-times cross-red"></i>
@else
<i class="fas fa-check check-green"></i>
@endif
</td>
<td>
@if ($loop->first)
<a href="{{route('bo.home-sliders.change-order', ['id' => $slide->id, 'action' => 'down'])}}" class="btn-link text-decoration-none">
<i name="down_arrow" class="icon-size far fa-arrow-alt-circle-down fa-2x"></i>
</a>
@elseif($loop->last)
<a href="{{route('bo.home-sliders.change-order', ['id' => $slide->id, 'action' => 'up'])}}" class="btn-link text-decoration-none">
<i name="up_arrow" class="icon-size far fa-arrow-alt-circle-up fa-2x"></i>
</a>
@else
<a href="{{route('bo.home-sliders.change-order', ['id' => $slide->id, 'action' => 'up'])}}" class="btn-link text-decoration-none">
<i name="up_arrow" class="icon-size far fa-arrow-alt-circle-up fa-2x"></i>
</a>
<a href="{{route('bo.home-sliders.change-order', ['id' => $slide->id, 'action' => 'down'])}}" class="btn-link text-decoration-none">
<i name="down_arrow" class="icon-size far fa-arrow-alt-circle-down fa-2x"></i>
</a>
@endif
</td>
<td><a href="{{route('bo.home-sliders.edit', ['home_slider' => $slide->id])}}" class="btn btn-sm btn-primary">Éditer</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
@endsection

View file

@ -654,10 +654,10 @@
</section>
</div>
<section id="collect--map" class="main-container">
<div id="collect--map" class="main-container">
<div class="map">
<iframe class="reveal fadeInUp animate__animated" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d560.8260995084321!2d0.17805348738844884!3d48.03778645624559!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47e28888e5efeedd%3A0x24010f0860a14105!2sDph%20Le%20Mans!5e0!3m2!1sfr!2sfr!4v1590834369279!5m2!1sfr!2sfr" width="100%" height="450" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
</div>
</section>
</div>
@endsection

View file

@ -1,5 +1,450 @@
@extends('layouts.app')
@section('content')
<img src="{{ asset('images/home/under-construction.png') }}">
<div class="main-container main contact">
<div class="bg-opacity active"></div>
<div class="header-bloc"></div>
<section class="contact--main container flex">
<h1 class="post-title">Contactez-nous</h1>
<div class="popup-choice flex">
<p class="paragraph-title">Vous êtes...</p>
<div class="choice--row flex">
<div class="choice--bloc flex">
<svg id="choice_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99.78 111.5">
<defs>
<style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style>
</defs>
<path class="cls-1" d="M49.89,44.12A20.06,20.06,0,1,0,29.83,24.06,20.06,20.06,0,0,0,49.89,44.12Z"/>
<path class="cls-1" d="M95.78,89.56A49.27,49.27,0,0,0,4,89.56a67.66,67.66,0,0,0,91.78,0Z"/>
<path class="cls-1" d="M67.66,14.76S39.5,22.7,12,4.52"/>
<polyline class="cls-1" points="28.5 50.84 49.89 71.33 49.89 106.33"/>
<polyline class="cls-1" points="71.28 50.84 49.89 71.33 49.89 106.33"/>
</svg>
<div class="choice--btn flex">
<a href="#" class="second-btn">Un agriculteur</a>
</div>
</div>
<div class="choice--bloc flex">
<svg id="choice_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 99.78 111.5">
<defs>
<style>.cls-1{fill:none;stroke:#1d1d1b;stroke-linecap:round;stroke-linejoin:round;stroke-width:8px;}</style>
</defs>
<path class="cls-1" d="M49.89,44.12A20.06,20.06,0,1,0,29.83,24.06,20.06,20.06,0,0,0,49.89,44.12Z"/>
<path class="cls-1" d="M95.78,89.56A49.27,49.27,0,0,0,4,89.56a67.66,67.66,0,0,0,91.78,0Z"/>
</svg>
<div class="choice--btn flex">
<a href="#" class="second-btn">Un particulier</a>
</div>
</div>
</div>
</div>
<div class="contact--row flex">
<div class="site--bloc grid">
<div class="bloc--title">
<h2 class="paragraph-title">Mamers</h2>
<p>Téléphone : 02.43.33.35.45</p>
</div>
<div class="bloc--img">
<img src="./assets/images/cherre.jpg" alt="Site de Mamers">
</div>
<div class="bloc--business">
<strong>Commerciaux</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
<p>Frédéric Joly<br>06.07.77.64.84</p>
</div>
<div class="bloc--services">
<strong>Services disponibles</strong><br>
<div class="icones flex">
<a href="#">
<svg id="serv_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84.55 111.3">
<path class="cls-serv_01-1" d="M63.93,38.73A19.65,19.65,0,1,1,44.28,19.07,19.65,19.65,0,0,1,63.93,38.73Z"/>
<path class="cls-serv_01-1" d="M9.36,40.77C9.36,20.46,25,4,44.38,4s35,16.46,35,36.77a37.57,37.57,0,0,1-10.26,26"/>
<path class="cls-serv_01-2" d="M72.85,68a4.69,4.69,0,1,0-4.69,4.69A4.69,4.69,0,0,0,72.85,68Z"/>
<path class="cls-serv_01-2" d="M11.38,39.64c0-4.47-1.65-8.1-3.69-8.1S4,35.17,4,39.64s1.65,8.1,3.69,8.1S11.38,44.11,11.38,39.64Z"/>
<path class="cls-serv_01-1" d="M80.55,107.3C76.23,90.88,61.63,78.8,44.28,78.8S12.33,90.88,8,107.3Z"/>
</svg>
</a>
<a href="#">
<svg id="serv_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.81 107">
<path class="cls-serv_02-1" d="M23.48,69.67a22.71,22.71,0,0,1,21.4,15.2A22.65,22.65,0,0,1,86,81.2V65L28.81,50.25H4V80.77A22.68,22.68,0,0,1,23.48,69.67Z"/>
<path class="cls-serv_02-2" d="M23.48,85.67a6.68,6.68,0,1,1-5.95,3.68,6.65,6.65,0,0,1,5.95-3.68m0-8a14.69,14.69,0,1,0,13.09,8.08,14.64,14.64,0,0,0-13.09-8.08Z"/>
<path class="cls-serv_02-2" d="M66.27,85.67a6.64,6.64,0,0,1,6,3.68,6.56,6.56,0,0,1,.72,3,6.67,6.67,0,0,1-13.33,0,6.56,6.56,0,0,1,.72-3,6.62,6.62,0,0,1,5.94-3.68m0-8a14.71,14.71,0,1,0,13.09,8.08,14.65,14.65,0,0,0-13.09-8.08Z"/>
<polygon class="cls-serv_02-3" points="86 67.73 28.81 67.73 28.81 4 56.31 4 86 50.25 86 67.73"/>
<polyline class="cls-serv_02-3" points="150.81 85.75 102.56 85.75 102.56 4"/>
<rect class="cls-serv_02-3" x="116.31" y="52.25" width="34.5" height="19.75"/>
<rect class="cls-serv_02-3" x="116.31" y="18.68" width="34.5" height="19.75"/>
</svg>
</a>
<a href="#">
<svg id="serv_03" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.04 107">
<polyline class="cls-serv_03-1" points="18.19 24 110.04 24 89.71 62.13 27.04 62.13"/>
<path class="cls-serv_03-3" d="M38.16,85.43A10.79,10.79,0,1,0,48.94,96.22,10.81,10.81,0,0,0,38.16,85.43Z"/>
<path class="cls-serv_03-3" d="M86.28,91.37a10.77,10.77,0,1,0,1.16,4.85A10.76,10.76,0,0,0,86.28,91.37Z"/>
<path class="cls-serv_03-2" d="M14,9a5,5,0,1,0-5,5A5,5,0,0,0,14,9Z"/>
<polyline class="cls-serv_03-1" points="85.04 76.55 28.98 76.55 14.22 10.61"/>
</svg>
</a>
<a href="#">
<svg id="serv_04" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.97 110.35">
<line class="cls-serv_04-1" x1="135.97" y1="106.35" x2="4" y2="106.35"/>
<line class="cls-serv_04-1" x1="91.37" y1="11.27" x2="101.84" y2="4"/>
<polygon class="cls-serv_04-1" points="112.42 25.42 91.37 11.27 70.32 25.42 70.32 76.42 84.08 81.04 84.07 81.04 84.07 87.49 98.67 87.49 98.67 81.04 98.66 81.04 112.42 76.42 112.42 25.42"/>
<line class="cls-serv_04-1" x1="70.32" y1="76.42" x2="70.32" y2="103.29"/>
<line class="cls-serv_04-1" x1="112.42" y1="76.42" x2="112.42" y2="103.29"/>
<line class="cls-serv_04-1" x1="33.93" y1="11.27" x2="44.4" y2="4"/>
<polygon class="cls-serv_04-1" points="54.98 25.42 33.93 11.27 12.88 25.42 12.88 76.42 26.64 81.04 26.63 81.04 26.63 87.49 41.23 87.49 41.23 81.04 41.22 81.04 54.98 76.42 54.98 25.42"/>
<line class="cls-serv_04-1" x1="12.88" y1="76.42" x2="12.88" y2="103.29"/>
<line class="cls-serv_04-1" x1="54.98" y1="76.42" x2="54.98" y2="103.29"/>
<polyline class="cls-serv_04-1" points="129.09 106.35 129.09 19.4 106.18 4"/>
<line class="cls-serv_04-1" x1="46.4" y1="4" x2="106.18" y2="4"/>
</svg>
</a>
<a href="#">
<svg id="serv_05" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 197.67 114.65">
<path class="cls-serv_05-1" d="M57.82,22.18s30.65-5.6,48.33-1.48,26.14,8.19,26.14,8.19"/>
<path class="cls-serv_05-1" d="M45.3,73.33s42.69,33.58,47.75,36c8.5,4,12-3.5,12-3.5"/>
<path class="cls-serv_05-1" d="M95.05,95.54l16,13.9s10.75,5.1,11.25-5.65"/>
<path class="cls-serv_05-1" d="M101.55,82.79s19.5,18.86,24.75,20.3,11.73-.5,9.61-10.15"/>
<path class="cls-serv_05-1" d="M112.05,70.54s22.85,23.8,29.5,25c9.7,1.75,16.5-6.75,2.75-20.5s-30.67-32.28-39.25-34c-10-2-28.7.53-34-4.75-8.19-8.15,1-17.18,20.5-17.09"/>
<path class="cls-serv_05-1" d="M43.53,76.49a5.83,5.83,0,0,1-7,4.31L8.47,74A5.85,5.85,0,0,1,4.16,67L18.28,8.47a5.85,5.85,0,0,1,7-4.31l28,6.76a5.84,5.84,0,0,1,4.3,7Z"/>
<path class="cls-serv_05-2" d="M35.06,65.79A5.63,5.63,0,1,1,30.91,59,5.63,5.63,0,0,1,35.06,65.79Z"/>
<path class="cls-serv_05-1" d="M193.23,66.05a5.83,5.83,0,0,1-3.16,7.62L163.45,84.73a5.84,5.84,0,0,1-7.63-3.16L132.74,26a5.83,5.83,0,0,1,3.15-7.63l26.62-11a5.84,5.84,0,0,1,7.63,3.15Z"/>
<path class="cls-serv_05-2" d="M180.07,62.39a5.63,5.63,0,1,1-7.35-3A5.63,5.63,0,0,1,180.07,62.39Z"/>
</svg>
</a>
</div>
</div>
<div class="bloc--btn flex">
<a href="#collect--map" class="second-btn">Voir sur la carte</a>
</div>
</div>
<div class="site--bloc grid">
<div class="bloc--title">
<h2 class="paragraph-title">Marolles</h2>
<p>Téléphone : 02.43.33.35.45</p>
</div>
<div class="bloc--img">
<img src="./assets/images/cherre.jpg" alt="Site de Mamers">
</div>
<div class="bloc--business">
<strong>Responsable commercial</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
<strong>Responsable Appro</strong>
<p>Frédéric Joly<br>06.07.77.64.84</p>
</div>
<div class="bloc--services">
<strong>Services disponibles</strong><br>
<div class="icones flex">
<a href="#">
<svg id="serv_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84.55 111.3">
<path class="cls-serv_01-1" d="M63.93,38.73A19.65,19.65,0,1,1,44.28,19.07,19.65,19.65,0,0,1,63.93,38.73Z"/>
<path class="cls-serv_01-1" d="M9.36,40.77C9.36,20.46,25,4,44.38,4s35,16.46,35,36.77a37.57,37.57,0,0,1-10.26,26"/>
<path class="cls-serv_01-2" d="M72.85,68a4.69,4.69,0,1,0-4.69,4.69A4.69,4.69,0,0,0,72.85,68Z"/>
<path class="cls-serv_01-2" d="M11.38,39.64c0-4.47-1.65-8.1-3.69-8.1S4,35.17,4,39.64s1.65,8.1,3.69,8.1S11.38,44.11,11.38,39.64Z"/>
<path class="cls-serv_01-1" d="M80.55,107.3C76.23,90.88,61.63,78.8,44.28,78.8S12.33,90.88,8,107.3Z"/>
</svg>
</a>
<a href="#">
<svg id="serv_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.81 107">
<path class="cls-serv_02-1" d="M23.48,69.67a22.71,22.71,0,0,1,21.4,15.2A22.65,22.65,0,0,1,86,81.2V65L28.81,50.25H4V80.77A22.68,22.68,0,0,1,23.48,69.67Z"/>
<path class="cls-serv_02-2" d="M23.48,85.67a6.68,6.68,0,1,1-5.95,3.68,6.65,6.65,0,0,1,5.95-3.68m0-8a14.69,14.69,0,1,0,13.09,8.08,14.64,14.64,0,0,0-13.09-8.08Z"/>
<path class="cls-serv_02-2" d="M66.27,85.67a6.64,6.64,0,0,1,6,3.68,6.56,6.56,0,0,1,.72,3,6.67,6.67,0,0,1-13.33,0,6.56,6.56,0,0,1,.72-3,6.62,6.62,0,0,1,5.94-3.68m0-8a14.71,14.71,0,1,0,13.09,8.08,14.65,14.65,0,0,0-13.09-8.08Z"/>
<polygon class="cls-serv_02-3" points="86 67.73 28.81 67.73 28.81 4 56.31 4 86 50.25 86 67.73"/>
<polyline class="cls-serv_02-3" points="150.81 85.75 102.56 85.75 102.56 4"/>
<rect class="cls-serv_02-3" x="116.31" y="52.25" width="34.5" height="19.75"/>
<rect class="cls-serv_02-3" x="116.31" y="18.68" width="34.5" height="19.75"/>
</svg>
</a>
<a href="#">
<svg id="serv_03" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.04 107">
<polyline class="cls-serv_03-1" points="18.19 24 110.04 24 89.71 62.13 27.04 62.13"/>
<path class="cls-serv_03-3" d="M38.16,85.43A10.79,10.79,0,1,0,48.94,96.22,10.81,10.81,0,0,0,38.16,85.43Z"/>
<path class="cls-serv_03-3" d="M86.28,91.37a10.77,10.77,0,1,0,1.16,4.85A10.76,10.76,0,0,0,86.28,91.37Z"/>
<path class="cls-serv_03-2" d="M14,9a5,5,0,1,0-5,5A5,5,0,0,0,14,9Z"/>
<polyline class="cls-serv_03-1" points="85.04 76.55 28.98 76.55 14.22 10.61"/>
</svg>
</a>
<a href="#">
<svg id="serv_04" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.97 110.35">
<line class="cls-serv_04-1" x1="135.97" y1="106.35" x2="4" y2="106.35"/>
<line class="cls-serv_04-1" x1="91.37" y1="11.27" x2="101.84" y2="4"/>
<polygon class="cls-serv_04-1" points="112.42 25.42 91.37 11.27 70.32 25.42 70.32 76.42 84.08 81.04 84.07 81.04 84.07 87.49 98.67 87.49 98.67 81.04 98.66 81.04 112.42 76.42 112.42 25.42"/>
<line class="cls-serv_04-1" x1="70.32" y1="76.42" x2="70.32" y2="103.29"/>
<line class="cls-serv_04-1" x1="112.42" y1="76.42" x2="112.42" y2="103.29"/>
<line class="cls-serv_04-1" x1="33.93" y1="11.27" x2="44.4" y2="4"/>
<polygon class="cls-serv_04-1" points="54.98 25.42 33.93 11.27 12.88 25.42 12.88 76.42 26.64 81.04 26.63 81.04 26.63 87.49 41.23 87.49 41.23 81.04 41.22 81.04 54.98 76.42 54.98 25.42"/>
<line class="cls-serv_04-1" x1="12.88" y1="76.42" x2="12.88" y2="103.29"/>
<line class="cls-serv_04-1" x1="54.98" y1="76.42" x2="54.98" y2="103.29"/>
<polyline class="cls-serv_04-1" points="129.09 106.35 129.09 19.4 106.18 4"/>
<line class="cls-serv_04-1" x1="46.4" y1="4" x2="106.18" y2="4"/>
</svg>
</a>
<a href="#">
<svg id="serv_05" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 197.67 114.65">
<path class="cls-serv_05-1" d="M57.82,22.18s30.65-5.6,48.33-1.48,26.14,8.19,26.14,8.19"/>
<path class="cls-serv_05-1" d="M45.3,73.33s42.69,33.58,47.75,36c8.5,4,12-3.5,12-3.5"/>
<path class="cls-serv_05-1" d="M95.05,95.54l16,13.9s10.75,5.1,11.25-5.65"/>
<path class="cls-serv_05-1" d="M101.55,82.79s19.5,18.86,24.75,20.3,11.73-.5,9.61-10.15"/>
<path class="cls-serv_05-1" d="M112.05,70.54s22.85,23.8,29.5,25c9.7,1.75,16.5-6.75,2.75-20.5s-30.67-32.28-39.25-34c-10-2-28.7.53-34-4.75-8.19-8.15,1-17.18,20.5-17.09"/>
<path class="cls-serv_05-1" d="M43.53,76.49a5.83,5.83,0,0,1-7,4.31L8.47,74A5.85,5.85,0,0,1,4.16,67L18.28,8.47a5.85,5.85,0,0,1,7-4.31l28,6.76a5.84,5.84,0,0,1,4.3,7Z"/>
<path class="cls-serv_05-2" d="M35.06,65.79A5.63,5.63,0,1,1,30.91,59,5.63,5.63,0,0,1,35.06,65.79Z"/>
<path class="cls-serv_05-1" d="M193.23,66.05a5.83,5.83,0,0,1-3.16,7.62L163.45,84.73a5.84,5.84,0,0,1-7.63-3.16L132.74,26a5.83,5.83,0,0,1,3.15-7.63l26.62-11a5.84,5.84,0,0,1,7.63,3.15Z"/>
<path class="cls-serv_05-2" d="M180.07,62.39a5.63,5.63,0,1,1-7.35-3A5.63,5.63,0,0,1,180.07,62.39Z"/>
</svg>
</a>
</div>
</div>
<div class="bloc--btn flex">
<a href="#collect--map" class="second-btn">Voir sur la carte</a>
</div>
</div>
<div class="site--bloc grid">
<div class="bloc--title">
<h2 class="paragraph-title">Cherré</h2>
<p>Téléphone : 02.43.33.35.45</p>
<p>Mobile : 06.07.08.09.10</p>
</div>
<div class="bloc--img">
<img src="./assets/images/cherre.jpg" alt="Site de Mamers">
</div>
<div class="bloc--business">
<strong>Commerciaux</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
<p>Frédéric Joly<br>06.07.77.64.84</p>
</div>
<div class="bloc--services">
<strong>Services disponibles</strong>
<div class="icones flex">
<a href="#">
<svg id="serv_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84.55 111.3">
<path class="cls-serv_01-1" d="M63.93,38.73A19.65,19.65,0,1,1,44.28,19.07,19.65,19.65,0,0,1,63.93,38.73Z"/>
<path class="cls-serv_01-1" d="M9.36,40.77C9.36,20.46,25,4,44.38,4s35,16.46,35,36.77a37.57,37.57,0,0,1-10.26,26"/>
<path class="cls-serv_01-2" d="M72.85,68a4.69,4.69,0,1,0-4.69,4.69A4.69,4.69,0,0,0,72.85,68Z"/>
<path class="cls-serv_01-2" d="M11.38,39.64c0-4.47-1.65-8.1-3.69-8.1S4,35.17,4,39.64s1.65,8.1,3.69,8.1S11.38,44.11,11.38,39.64Z"/>
<path class="cls-serv_01-1" d="M80.55,107.3C76.23,90.88,61.63,78.8,44.28,78.8S12.33,90.88,8,107.3Z"/>
</svg>
</a>
<a href="#">
<svg id="serv_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.81 107">
<path class="cls-serv_02-1" d="M23.48,69.67a22.71,22.71,0,0,1,21.4,15.2A22.65,22.65,0,0,1,86,81.2V65L28.81,50.25H4V80.77A22.68,22.68,0,0,1,23.48,69.67Z"/>
<path class="cls-serv_02-2" d="M23.48,85.67a6.68,6.68,0,1,1-5.95,3.68,6.65,6.65,0,0,1,5.95-3.68m0-8a14.69,14.69,0,1,0,13.09,8.08,14.64,14.64,0,0,0-13.09-8.08Z"/>
<path class="cls-serv_02-2" d="M66.27,85.67a6.64,6.64,0,0,1,6,3.68,6.56,6.56,0,0,1,.72,3,6.67,6.67,0,0,1-13.33,0,6.56,6.56,0,0,1,.72-3,6.62,6.62,0,0,1,5.94-3.68m0-8a14.71,14.71,0,1,0,13.09,8.08,14.65,14.65,0,0,0-13.09-8.08Z"/>
<polygon class="cls-serv_02-3" points="86 67.73 28.81 67.73 28.81 4 56.31 4 86 50.25 86 67.73"/>
<polyline class="cls-serv_02-3" points="150.81 85.75 102.56 85.75 102.56 4"/>
<rect class="cls-serv_02-3" x="116.31" y="52.25" width="34.5" height="19.75"/>
<rect class="cls-serv_02-3" x="116.31" y="18.68" width="34.5" height="19.75"/>
</svg>
</a>
<a href="#">
<svg id="serv_03" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.04 107">
<polyline class="cls-serv_03-1" points="18.19 24 110.04 24 89.71 62.13 27.04 62.13"/>
<path class="cls-serv_03-3" d="M38.16,85.43A10.79,10.79,0,1,0,48.94,96.22,10.81,10.81,0,0,0,38.16,85.43Z"/>
<path class="cls-serv_03-3" d="M86.28,91.37a10.77,10.77,0,1,0,1.16,4.85A10.76,10.76,0,0,0,86.28,91.37Z"/>
<path class="cls-serv_03-2" d="M14,9a5,5,0,1,0-5,5A5,5,0,0,0,14,9Z"/>
<polyline class="cls-serv_03-1" points="85.04 76.55 28.98 76.55 14.22 10.61"/>
</svg>
</a>
<a href="#">
<svg id="serv_04" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.97 110.35">
<line class="cls-serv_04-1" x1="135.97" y1="106.35" x2="4" y2="106.35"/>
<line class="cls-serv_04-1" x1="91.37" y1="11.27" x2="101.84" y2="4"/>
<polygon class="cls-serv_04-1" points="112.42 25.42 91.37 11.27 70.32 25.42 70.32 76.42 84.08 81.04 84.07 81.04 84.07 87.49 98.67 87.49 98.67 81.04 98.66 81.04 112.42 76.42 112.42 25.42"/>
<line class="cls-serv_04-1" x1="70.32" y1="76.42" x2="70.32" y2="103.29"/>
<line class="cls-serv_04-1" x1="112.42" y1="76.42" x2="112.42" y2="103.29"/>
<line class="cls-serv_04-1" x1="33.93" y1="11.27" x2="44.4" y2="4"/>
<polygon class="cls-serv_04-1" points="54.98 25.42 33.93 11.27 12.88 25.42 12.88 76.42 26.64 81.04 26.63 81.04 26.63 87.49 41.23 87.49 41.23 81.04 41.22 81.04 54.98 76.42 54.98 25.42"/>
<line class="cls-serv_04-1" x1="12.88" y1="76.42" x2="12.88" y2="103.29"/>
<line class="cls-serv_04-1" x1="54.98" y1="76.42" x2="54.98" y2="103.29"/>
<polyline class="cls-serv_04-1" points="129.09 106.35 129.09 19.4 106.18 4"/>
<line class="cls-serv_04-1" x1="46.4" y1="4" x2="106.18" y2="4"/>
</svg>
</a>
<a href="#">
<svg id="serv_05" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 197.67 114.65">
<path class="cls-serv_05-1" d="M57.82,22.18s30.65-5.6,48.33-1.48,26.14,8.19,26.14,8.19"/>
<path class="cls-serv_05-1" d="M45.3,73.33s42.69,33.58,47.75,36c8.5,4,12-3.5,12-3.5"/>
<path class="cls-serv_05-1" d="M95.05,95.54l16,13.9s10.75,5.1,11.25-5.65"/>
<path class="cls-serv_05-1" d="M101.55,82.79s19.5,18.86,24.75,20.3,11.73-.5,9.61-10.15"/>
<path class="cls-serv_05-1" d="M112.05,70.54s22.85,23.8,29.5,25c9.7,1.75,16.5-6.75,2.75-20.5s-30.67-32.28-39.25-34c-10-2-28.7.53-34-4.75-8.19-8.15,1-17.18,20.5-17.09"/>
<path class="cls-serv_05-1" d="M43.53,76.49a5.83,5.83,0,0,1-7,4.31L8.47,74A5.85,5.85,0,0,1,4.16,67L18.28,8.47a5.85,5.85,0,0,1,7-4.31l28,6.76a5.84,5.84,0,0,1,4.3,7Z"/>
<path class="cls-serv_05-2" d="M35.06,65.79A5.63,5.63,0,1,1,30.91,59,5.63,5.63,0,0,1,35.06,65.79Z"/>
<path class="cls-serv_05-1" d="M193.23,66.05a5.83,5.83,0,0,1-3.16,7.62L163.45,84.73a5.84,5.84,0,0,1-7.63-3.16L132.74,26a5.83,5.83,0,0,1,3.15-7.63l26.62-11a5.84,5.84,0,0,1,7.63,3.15Z"/>
<path class="cls-serv_05-2" d="M180.07,62.39a5.63,5.63,0,1,1-7.35-3A5.63,5.63,0,0,1,180.07,62.39Z"/>
</svg>
</a>
</div>
</div>
<div class="bloc--btn flex">
<a href="#collect--map" class="second-btn">Voir sur la carte</a>
</div>
</div>
<div class="site--bloc grid">
<div class="bloc--title">
<h2 class="paragraph-title">Moncé en Saosnois</h2>
<p>Téléphone : 02.43.33.35.45</p>
</div>
<div class="bloc--img">
<img src="./assets/images/cherre.jpg" alt="Site de Mamers">
</div>
<div class="bloc--business">
<strong>Commerciaux</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
<strong>Magasin Appro</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
</div>
<div class="bloc--services">
<strong>Services disponibles</strong><br>
<div class="icones flex">
<a href="#">
<svg id="serv_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84.55 111.3">
<path class="cls-serv_01-1" d="M63.93,38.73A19.65,19.65,0,1,1,44.28,19.07,19.65,19.65,0,0,1,63.93,38.73Z"/>
<path class="cls-serv_01-1" d="M9.36,40.77C9.36,20.46,25,4,44.38,4s35,16.46,35,36.77a37.57,37.57,0,0,1-10.26,26"/>
<path class="cls-serv_01-2" d="M72.85,68a4.69,4.69,0,1,0-4.69,4.69A4.69,4.69,0,0,0,72.85,68Z"/>
<path class="cls-serv_01-2" d="M11.38,39.64c0-4.47-1.65-8.1-3.69-8.1S4,35.17,4,39.64s1.65,8.1,3.69,8.1S11.38,44.11,11.38,39.64Z"/>
<path class="cls-serv_01-1" d="M80.55,107.3C76.23,90.88,61.63,78.8,44.28,78.8S12.33,90.88,8,107.3Z"/>
</svg>
</a>
<a href="#">
<svg id="serv_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.81 107">
<path class="cls-serv_02-1" d="M23.48,69.67a22.71,22.71,0,0,1,21.4,15.2A22.65,22.65,0,0,1,86,81.2V65L28.81,50.25H4V80.77A22.68,22.68,0,0,1,23.48,69.67Z"/>
<path class="cls-serv_02-2" d="M23.48,85.67a6.68,6.68,0,1,1-5.95,3.68,6.65,6.65,0,0,1,5.95-3.68m0-8a14.69,14.69,0,1,0,13.09,8.08,14.64,14.64,0,0,0-13.09-8.08Z"/>
<path class="cls-serv_02-2" d="M66.27,85.67a6.64,6.64,0,0,1,6,3.68,6.56,6.56,0,0,1,.72,3,6.67,6.67,0,0,1-13.33,0,6.56,6.56,0,0,1,.72-3,6.62,6.62,0,0,1,5.94-3.68m0-8a14.71,14.71,0,1,0,13.09,8.08,14.65,14.65,0,0,0-13.09-8.08Z"/>
<polygon class="cls-serv_02-3" points="86 67.73 28.81 67.73 28.81 4 56.31 4 86 50.25 86 67.73"/>
<polyline class="cls-serv_02-3" points="150.81 85.75 102.56 85.75 102.56 4"/>
<rect class="cls-serv_02-3" x="116.31" y="52.25" width="34.5" height="19.75"/>
<rect class="cls-serv_02-3" x="116.31" y="18.68" width="34.5" height="19.75"/>
</svg>
</a>
<a href="#">
<svg id="serv_03" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.04 107">
<polyline class="cls-serv_03-1" points="18.19 24 110.04 24 89.71 62.13 27.04 62.13"/>
<path class="cls-serv_03-3" d="M38.16,85.43A10.79,10.79,0,1,0,48.94,96.22,10.81,10.81,0,0,0,38.16,85.43Z"/>
<path class="cls-serv_03-3" d="M86.28,91.37a10.77,10.77,0,1,0,1.16,4.85A10.76,10.76,0,0,0,86.28,91.37Z"/>
<path class="cls-serv_03-2" d="M14,9a5,5,0,1,0-5,5A5,5,0,0,0,14,9Z"/>
<polyline class="cls-serv_03-1" points="85.04 76.55 28.98 76.55 14.22 10.61"/>
</svg>
</a>
<a href="#">
<svg id="serv_04" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.97 110.35">
<line class="cls-serv_04-1" x1="135.97" y1="106.35" x2="4" y2="106.35"/>
<line class="cls-serv_04-1" x1="91.37" y1="11.27" x2="101.84" y2="4"/>
<polygon class="cls-serv_04-1" points="112.42 25.42 91.37 11.27 70.32 25.42 70.32 76.42 84.08 81.04 84.07 81.04 84.07 87.49 98.67 87.49 98.67 81.04 98.66 81.04 112.42 76.42 112.42 25.42"/>
<line class="cls-serv_04-1" x1="70.32" y1="76.42" x2="70.32" y2="103.29"/>
<line class="cls-serv_04-1" x1="112.42" y1="76.42" x2="112.42" y2="103.29"/>
<line class="cls-serv_04-1" x1="33.93" y1="11.27" x2="44.4" y2="4"/>
<polygon class="cls-serv_04-1" points="54.98 25.42 33.93 11.27 12.88 25.42 12.88 76.42 26.64 81.04 26.63 81.04 26.63 87.49 41.23 87.49 41.23 81.04 41.22 81.04 54.98 76.42 54.98 25.42"/>
<line class="cls-serv_04-1" x1="12.88" y1="76.42" x2="12.88" y2="103.29"/>
<line class="cls-serv_04-1" x1="54.98" y1="76.42" x2="54.98" y2="103.29"/>
<polyline class="cls-serv_04-1" points="129.09 106.35 129.09 19.4 106.18 4"/>
<line class="cls-serv_04-1" x1="46.4" y1="4" x2="106.18" y2="4"/>
</svg>
</a>
<a href="#">
<svg id="serv_05" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 197.67 114.65">
<path class="cls-serv_05-1" d="M57.82,22.18s30.65-5.6,48.33-1.48,26.14,8.19,26.14,8.19"/>
<path class="cls-serv_05-1" d="M45.3,73.33s42.69,33.58,47.75,36c8.5,4,12-3.5,12-3.5"/>
<path class="cls-serv_05-1" d="M95.05,95.54l16,13.9s10.75,5.1,11.25-5.65"/>
<path class="cls-serv_05-1" d="M101.55,82.79s19.5,18.86,24.75,20.3,11.73-.5,9.61-10.15"/>
<path class="cls-serv_05-1" d="M112.05,70.54s22.85,23.8,29.5,25c9.7,1.75,16.5-6.75,2.75-20.5s-30.67-32.28-39.25-34c-10-2-28.7.53-34-4.75-8.19-8.15,1-17.18,20.5-17.09"/>
<path class="cls-serv_05-1" d="M43.53,76.49a5.83,5.83,0,0,1-7,4.31L8.47,74A5.85,5.85,0,0,1,4.16,67L18.28,8.47a5.85,5.85,0,0,1,7-4.31l28,6.76a5.84,5.84,0,0,1,4.3,7Z"/>
<path class="cls-serv_05-2" d="M35.06,65.79A5.63,5.63,0,1,1,30.91,59,5.63,5.63,0,0,1,35.06,65.79Z"/>
<path class="cls-serv_05-1" d="M193.23,66.05a5.83,5.83,0,0,1-3.16,7.62L163.45,84.73a5.84,5.84,0,0,1-7.63-3.16L132.74,26a5.83,5.83,0,0,1,3.15-7.63l26.62-11a5.84,5.84,0,0,1,7.63,3.15Z"/>
<path class="cls-serv_05-2" d="M180.07,62.39a5.63,5.63,0,1,1-7.35-3A5.63,5.63,0,0,1,180.07,62.39Z"/>
</svg>
</a>
</div>
</div>
<div class="bloc--btn flex">
<a href="#collect--map" class="second-btn">Voir sur la carte</a>
</div>
</div>
<div class="site--bloc grid">
<div class="bloc--title">
<h2 class="paragraph-title">Nogent le Bernard</h2>
<p>Téléphone : 02.43.33.35.45</p>
</div>
<div class="bloc--img">
<img src="./assets/images/cherre.jpg" alt="Site de Mamers">
</div>
<div class="bloc--business">
<strong>Commerciaux</strong>
<p>Benjamin Jarrier<br>06.49.86.83.24</p>
<p>Frédéric Joly<br>06.07.77.64.84</p>
</div>
<div class="bloc--services">
<strong>Services disponibles</strong><br>
<div class="icones flex">
<a href="#">
<svg id="serv_01" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 84.55 111.3">
<path class="cls-serv_01-1" d="M63.93,38.73A19.65,19.65,0,1,1,44.28,19.07,19.65,19.65,0,0,1,63.93,38.73Z"/>
<path class="cls-serv_01-1" d="M9.36,40.77C9.36,20.46,25,4,44.38,4s35,16.46,35,36.77a37.57,37.57,0,0,1-10.26,26"/>
<path class="cls-serv_01-2" d="M72.85,68a4.69,4.69,0,1,0-4.69,4.69A4.69,4.69,0,0,0,72.85,68Z"/>
<path class="cls-serv_01-2" d="M11.38,39.64c0-4.47-1.65-8.1-3.69-8.1S4,35.17,4,39.64s1.65,8.1,3.69,8.1S11.38,44.11,11.38,39.64Z"/>
<path class="cls-serv_01-1" d="M80.55,107.3C76.23,90.88,61.63,78.8,44.28,78.8S12.33,90.88,8,107.3Z"/>
</svg>
</a>
<a href="#">
<svg id="serv_02" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.81 107">
<path class="cls-serv_02-1" d="M23.48,69.67a22.71,22.71,0,0,1,21.4,15.2A22.65,22.65,0,0,1,86,81.2V65L28.81,50.25H4V80.77A22.68,22.68,0,0,1,23.48,69.67Z"/>
<path class="cls-serv_02-2" d="M23.48,85.67a6.68,6.68,0,1,1-5.95,3.68,6.65,6.65,0,0,1,5.95-3.68m0-8a14.69,14.69,0,1,0,13.09,8.08,14.64,14.64,0,0,0-13.09-8.08Z"/>
<path class="cls-serv_02-2" d="M66.27,85.67a6.64,6.64,0,0,1,6,3.68,6.56,6.56,0,0,1,.72,3,6.67,6.67,0,0,1-13.33,0,6.56,6.56,0,0,1,.72-3,6.62,6.62,0,0,1,5.94-3.68m0-8a14.71,14.71,0,1,0,13.09,8.08,14.65,14.65,0,0,0-13.09-8.08Z"/>
<polygon class="cls-serv_02-3" points="86 67.73 28.81 67.73 28.81 4 56.31 4 86 50.25 86 67.73"/>
<polyline class="cls-serv_02-3" points="150.81 85.75 102.56 85.75 102.56 4"/>
<rect class="cls-serv_02-3" x="116.31" y="52.25" width="34.5" height="19.75"/>
<rect class="cls-serv_02-3" x="116.31" y="18.68" width="34.5" height="19.75"/>
</svg>
</a>
<a href="#">
<svg id="serv_03" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 114.04 107">
<polyline class="cls-serv_03-1" points="18.19 24 110.04 24 89.71 62.13 27.04 62.13"/>
<path class="cls-serv_03-3" d="M38.16,85.43A10.79,10.79,0,1,0,48.94,96.22,10.81,10.81,0,0,0,38.16,85.43Z"/>
<path class="cls-serv_03-3" d="M86.28,91.37a10.77,10.77,0,1,0,1.16,4.85A10.76,10.76,0,0,0,86.28,91.37Z"/>
<path class="cls-serv_03-2" d="M14,9a5,5,0,1,0-5,5A5,5,0,0,0,14,9Z"/>
<polyline class="cls-serv_03-1" points="85.04 76.55 28.98 76.55 14.22 10.61"/>
</svg>
</a>
<a href="#">
<svg id="serv_04" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 139.97 110.35">
<line class="cls-serv_04-1" x1="135.97" y1="106.35" x2="4" y2="106.35"/>
<line class="cls-serv_04-1" x1="91.37" y1="11.27" x2="101.84" y2="4"/>
<polygon class="cls-serv_04-1" points="112.42 25.42 91.37 11.27 70.32 25.42 70.32 76.42 84.08 81.04 84.07 81.04 84.07 87.49 98.67 87.49 98.67 81.04 98.66 81.04 112.42 76.42 112.42 25.42"/>
<line class="cls-serv_04-1" x1="70.32" y1="76.42" x2="70.32" y2="103.29"/>
<line class="cls-serv_04-1" x1="112.42" y1="76.42" x2="112.42" y2="103.29"/>
<line class="cls-serv_04-1" x1="33.93" y1="11.27" x2="44.4" y2="4"/>
<polygon class="cls-serv_04-1" points="54.98 25.42 33.93 11.27 12.88 25.42 12.88 76.42 26.64 81.04 26.63 81.04 26.63 87.49 41.23 87.49 41.23 81.04 41.22 81.04 54.98 76.42 54.98 25.42"/>
<line class="cls-serv_04-1" x1="12.88" y1="76.42" x2="12.88" y2="103.29"/>
<line class="cls-serv_04-1" x1="54.98" y1="76.42" x2="54.98" y2="103.29"/>
<polyline class="cls-serv_04-1" points="129.09 106.35 129.09 19.4 106.18 4"/>
<line class="cls-serv_04-1" x1="46.4" y1="4" x2="106.18" y2="4"/>
</svg>
</a>
<a href="#">
<svg id="serv_05" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 197.67 114.65">
<path class="cls-serv_05-1" d="M57.82,22.18s30.65-5.6,48.33-1.48,26.14,8.19,26.14,8.19"/>
<path class="cls-serv_05-1" d="M45.3,73.33s42.69,33.58,47.75,36c8.5,4,12-3.5,12-3.5"/>
<path class="cls-serv_05-1" d="M95.05,95.54l16,13.9s10.75,5.1,11.25-5.65"/>
<path class="cls-serv_05-1" d="M101.55,82.79s19.5,18.86,24.75,20.3,11.73-.5,9.61-10.15"/>
<path class="cls-serv_05-1" d="M112.05,70.54s22.85,23.8,29.5,25c9.7,1.75,16.5-6.75,2.75-20.5s-30.67-32.28-39.25-34c-10-2-28.7.53-34-4.75-8.19-8.15,1-17.18,20.5-17.09"/>
<path class="cls-serv_05-1" d="M43.53,76.49a5.83,5.83,0,0,1-7,4.31L8.47,74A5.85,5.85,0,0,1,4.16,67L18.28,8.47a5.85,5.85,0,0,1,7-4.31l28,6.76a5.84,5.84,0,0,1,4.3,7Z"/>
<path class="cls-serv_05-2" d="M35.06,65.79A5.63,5.63,0,1,1,30.91,59,5.63,5.63,0,0,1,35.06,65.79Z"/>
<path class="cls-serv_05-1" d="M193.23,66.05a5.83,5.83,0,0,1-3.16,7.62L163.45,84.73a5.84,5.84,0,0,1-7.63-3.16L132.74,26a5.83,5.83,0,0,1,3.15-7.63l26.62-11a5.84,5.84,0,0,1,7.63,3.15Z"/>
<path class="cls-serv_05-2" d="M180.07,62.39a5.63,5.63,0,1,1-7.35-3A5.63,5.63,0,0,1,180.07,62.39Z"/>
</svg>
</a>
</div>
</div>
<div class="bloc--btn flex">
<a href="#collect--map" class="second-btn">Voir sur la carte</a>
</div>
</div>
</div>
</section>
</div>
@endsection

View file

@ -1,76 +0,0 @@
@extends('layouts.app')
@section('content')
<div class="main-container actus">
<div class="header-bloc"></div>
<section class="actus--main container flex">
<h1 class="post-title">Nos actualités</h1>
<div class="actus--row flex">
<div class="actus--col flex">
<div class="actus--first flex">
<div class="first--img">
<img src="{{ asset('images/plats-cuisines.jpg') }}" alt="">
</div>
<div class="first--txt grid">
<h2 class="post-subtitle clamp">De délicieux plats préparés disponibles en Clik&Collect</h2>
<div class="post--txt">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nesciunt temporibus cupiditate et culpa aliquid sapiente odit similique sed animi, voluptatibus sint laboriosam officiis dicta blanditiis, dolorem minus. Corporis dolorem voluptas eos neque eum est repellat consectetur ea! Quod, rem impedit.</p>
</div>
<div class="first--btn flex"><a href="#" class="second-btn">Accéder à la boutique</a></div>
</div>
</div>
<div class="actus--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div><a href="#" class="second-btn">Lire l'article</a></div>
</div>
<!-- todo : à supprimer lorsque la partie boutique sera implémentée -->
<div class="actus--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Unde accusamus beatae, ea error necessitatibus sequi quas ab fugit nisi ad, molestias aliquam ratione earum aut cupiditate, quaerat cum! Cumque ex suscipit molestias eius magnam beatae autem magni molestiae temporibus. Exercitationem eum iure quasi nam numquam iusto fuga dolor illum nobis, alias impedit enim. Ullam, natus a. Cumque voluptatibus magni at magnam, vero sapiente cum consequatur nisi alias suscipit eum earum. Accusamus autem repellendus sequi officia eaque sapiente, accusantium vitae in!</h1>
<div class="chrono--txt clamp">
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Consequuntur iste quae repellat dignissimos voluptas, voluptatum aperiam! Molestiae quae quidem nam cupiditate libero sit, architecto cumque, hic animi explicabo ratione est expedita esse adipisci fuga blanditiis minus corporis asperiores consequatur voluptate atque facilis rerum id illo! Accusamus dolorem architecto odio tempora odit maiores nostrum exercitationem non quam expedita natus minima debitis, voluptas delectus aut eaque velit maxime quis rerum est incidunt animi iusto iste perferendis. Quasi corporis molestiae sint libero harum voluptatem veritatis delectus porro vel eos ad tenetur repellat, velit dolore fugit dolores rerum eum ipsa nam? Omnis error non nulla nostrum quo quos iusto deleniti! Ab error itaque atque eius, corrupti repellendus illum vitae facere earum natus nam eum, minus repudiandae fugit. Voluptatibus ipsa officia sed atque, veniam fuga vero iure tempora dicta provident libero, et qui fugiat, dolores est optio. Delectus culpa veniam quidem saepe dolorum doloremque est a itaque aut excepturi earum veritatis blanditiis quas nihil ea, eveniet ducimus id quam, sit adipisci tenetur? Possimus quo dolorum a vitae tempora mollitia consequuntur assumenda cupiditate autem excepturi distinctio magnam animi accusamus hic delectus alias pariatur, asperiores omnis velit quam, nobis necessitatibus itaque est! Earum asperiores dicta error excepturi maxime, assumenda fugiat ratione atque labore saepe minima hic ipsum! Ullam odit quaerat molestias totam nostrum non ea! Tempore commodi asperiores fugit molestias deserunt est magnam quod quia illum, reprehenderit sit excepturi at! Laudantium eius reiciendis aliquid non nihil molestias adipisci magnam autem in at iusto ea iste asperiores esse neque, eos ipsa ratione animi, quo repudiandae? Adipisci, nulla. Deleniti sed eum labore odit, quod libero earum ad corrupti eaque eveniet dolor inventore ea voluptatum accusamus vel. Rerum tenetur aperiam, in tempore ratione sed. Ipsa architecto sint, optio, dolor a facere tempora corporis aperiam fuga tempore ipsam, expedita obcaecati quas? Ratione minima dolores praesentium sint! Enim vero odit delectus ipsum architecto beatae quas assumenda corporis numquam recusandae voluptatum omnis ducimus dolore nobis sint, quos tenetur ut neque voluptates odio eos magnam nam? Consectetur facilis voluptate molestias aliquid ea deserunt autem vero expedita nemo iusto, praesentium architecto veniam delectus. Culpa, minus labore quas exercitationem natus, amet quis voluptatum odio ipsum ipsam enim. Dolorem, eum ut. Tenetur natus labore magnam provident nihil ut pariatur, odit perferendis quo, sapiente optio saepe aliquid maxime. Nulla aperiam eveniet consequatur possimus quaerat sunt, nihil velit sed eaque nesciunt impedit natus recusandae illo officia expedita in doloribus facilis doloremque aspernatur corporis voluptatibus. Recusandae qui voluptatibus eius, quasi modi deserunt consequatur assumenda excepturi mollitia tempore labore, repellat ad sint aut. Perferendis omnis labore nobis repellat eveniet excepturi accusantium officiis reiciendis molestias repellendus quo, maiores quae odit veniam iusto dolor magni assumenda totam! Officia dicta libero quam, fugiat praesentium illum neque aut provident? Voluptatum eius facere facilis alias, vero sapiente quos accusamus maxime ipsa. Tenetur, praesentium? Perferendis corporis possimus ipsam libero ducimus amet laboriosam, assumenda culpa sapiente ipsa repudiandae enim, praesentium ut fuga optio. Iusto molestias rem corporis maxime asperiores sapiente eveniet, consequuntur, laboriosam ex delectus impedit quod modi!</p>
</div>
<div><a href="#" class="second-btn">Lire l'article</a></div>
</div>
<!-- fin todo -->
</div>
<div class="actus--col flex">
<div class="actus--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae reprehenderit debitis perferendis.</h1>
<div class="chrono--txt clamp">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Earum, rerum expedita. Quae repellat error totam accusamus et officiis consequuntur nemo non quidem. Adipisci, nam voluptas sapiente eaque labore architecto illum hic commodi quasi veniam beatae fuga, quis a! Porro, illum expedita eligendi aspernatur saepe commodi eum fugiat reiciendis provident. Quae molestiae eaque ut recusandae adipisci esse magnam fugit at, fuga in iure asperiores dolorum sapiente, aliquam minus tempore fugiat repudiandae autem facilis, est pariatur cupiditate. Corporis dolor error placeat mollitia! Error, enim. Ipsam esse obcaecati pariatur hic exercitationem consectetur soluta officiis perferendis unde numquam facere doloremque laudantium vitae, ea atque illo beatae distinctio dolores accusamus ut modi, accusantium vero eos officia. Neque, rem ullam autem deserunt harum quod veniam fuga. Distinctio, tempore. Laboriosam alias ducimus vel facilis ratione officia autem fuga, error quis corporis molestias ex voluptas! Accusantium, dolores iste?</p>
</div>
<div><a href="#" class="second-btn">Lire l'article</a></div>
</div>
<div class="actus--chrono grid">
<h1 class="post-title clamp">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Possimus necessitatibus culpa expedita neque harum.</h1>
<div class="chrono--txt clamp">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque hic sed doloremque omnis culpa? Illo magni iste, sunt dolor minus quisquam blanditiis optio non, quasi inventore nesciunt culpa provident a!</p>
</div>
<div><a href="#" class="second-btn">Lire l'article</a></div>
</div>
</div>
</div>
</section>
<section class="actus--footer container flex">
<div class="prev">
<a href="#"><</span></a>
</div>
<div class="pagination flex">
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</div>
<div class="next">
<a href="#">></a>
</div>
</section>
</div>
@endsection

View file

@ -0,0 +1,13 @@
@extends('layouts.app')
@section('content')
<section class="hero grid">
<div class="head-bloc"></div>
<div class="hero-bloc">
Cette page n'a pas été intégrée graphiquement.<br/>
{{ $article->title }}
<img src="{{ asset($article->picture)}}" alt="">
{!! $article->content !!}
<div>
</section>
@endsection

View file

@ -0,0 +1,69 @@
@extends('layouts.app')
@section('content')
<div class="main-container main actus grid">
<div class="header-bloc"></div>
<div class="container">
<section class="actus--main flex">
<h1 class="post-title">Nos actualités</h1>
@foreach($articles as $article)
@if ($loop->first)
<div class="actus--row flex">
<div class="actus--col flex">
@endif
@if (!is_null($article->picture))
<div class="actus--first flex">
<div class="first--img">
<img src="{{ asset($article->picture)}}" alt="">
</div>
<div class="first--txt grid">
<h2 class="post-subtitle clamp">{{ $article->title }}</h2>
<div class="post--txt">
{!! $article->content !!}
</div>
<div class="first--btn flex"><a href="{{ route('news.show', ['slug' => $article->slug]) }}" class="second-btn">Lire l'article</a></div>
</div>
</div>
@else
<div class="actus--chrono grid">
<h1 class="post-title clamp">{{ $article->title }}</h1>
<div class="chrono--txt clamp">
{!! $article->content !!}
</div>
<div><a href="{{ route('news.show', ['slug' => $article->slug]) }}" class="second-btn">Lire l'article</a></div>
</div>
@endif
@if (($loop->iteration-1) % 2)
</div>
<div class="actus--col flex">
@elseif (($loop->iteration-1) % 4)
</div>
</div>
<div class="actus--row flex">
<div class="actus--col flex">
@elseif($loop->last)
</div>
</div>
@endif
@endforeach
</section>
<section class="actus--footer flex">
<div class="prev">
<a href="#"><</span></a>
</div>
<div class="pagination flex">
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</div>
<div class="next">
<a href="#">></a>
</div>
</section>
</div>
</div>
@endsection

View file

@ -38,367 +38,55 @@
</div>
</div>
</section>
<section class="work--main container flex">
<div class="milaceanous grid">
@foreach($secteurs_simples as $secteur)
<div class="milaceanous--bloc">
<h2 class="post-chapter">Direction</h2>
<h2 class="post-chapter">{{$secteur->name}}</h2>
@foreach($secteur->employees as $employee)
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<img src="{{ asset($employee->photo) }}" alt="">
<div class="bloc--txt flex">
<p>Gaël Le Conte</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Responsable Qualité RSE</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Magasin LISA</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Secteur Comptabilité</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Franck Valot</p>
<p class="function">Responsable Administratif et Financier</p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignon</p>
<p class="function">Comptabilité Fournisseurs</p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Secteur Céréales</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Arnaud Plut</p>
<p class="function">Responsable Céréales & Collecte</p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Charline Lechat</p>
<p class="function">Assistante céréales<br>Exécution durabilité 2BSvs</p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Lydie Chapin</p>
<p class="function">Assistante céréales et appros</p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Secteur Appros</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Thierry Foulard</p>
<p class="function">Responsable Appros</p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Claire Tacheau</p>
<p class="function">Assistante Commerciale</p>
</div>
</div>
</div>
<div class="milaceanous--bloc">
<h2 class="post-chapter">Secteur Maintenance</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Frédéric Bachelier</p>
<p class="function"></p>
<p>{{$employee->firstname}} {{$employee->lastname}}</p>
<p class="function">{{$employee->job_title}}</p>
</div>
</div>
@endforeach
</div>
@endforeach
</div>
<div class="business flex">
@foreach($secteurs_complexes as $secteur)
<div class="flex">
<div class="milaceanous--bloc flex">
<h2 class="post-chapter">Secteur Commercial</h2>
<h2 class="post-chapter"><h2 class="post-chapter">{{$secteur->name}}</h2></h2>
@foreach($secteur->employees as $employee)
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<img src="{{ asset($employee->photo) }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function">Responsable Commercial</p>
<p>{{$employee->firstname}} {{$employee->lastname}}</p>
<p class="function">{{$employee->job_title}}</p>
</div>
</div>
</div>
<div class="sub-business flex">
<div class="geo--bloc flex">
<h3 class="paragraph-title">Marolles Les Brault</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magdzdzdalie Cheidzdnon</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magaliedzzd Cheignon</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignondzdz</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Mamers</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignon zdzd</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Chdzeignon</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Cherré</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalidzedzde Cheignon</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignonszzdzezdzdzd</p>
<p class="function"></p>
@endforeach
<div class="sub-business flex">
@foreach($secteur->children as $subsecteur)
<div class="geo--bloc flex">
<h3 class="paragraph-title">{{$subsecteur->name}}</h3>
@foreach($subsecteur->employees as $employee)
<div class="bloc--img flex">
<img src="{{ asset($employee->photo) }}" alt="">
<div class="bloc--txt flex">
<p>{{$employee->firstname}} {{$employee->lastname}}</p>
<p class="function">{{$employee->job_title}}</p>
</div>
</div>
@endforeach
</div>
@endforeach
</div>
</div>
</div>
<div class="silo flex">
<h2 class="post-chapter">Secteur Silos</h2>
<div class="silo--blocs flex">
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Marolles Les Brault</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignon</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Mamers</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignon</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Moncé</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Parmentier</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Pignon-Durenad</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie-Anne Cheignon</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Nogent Le Bernard</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Doricel</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Les Mées</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy Picard</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Cheré</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Henry Parmentier</p>
<p class="function"></p>
</div>
</div>
</div>
<div class="geo--bloc flex">
<h3 class="paragraph-title">Silo Thoigné</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jérémy-Loudabi Parmentier</p>
<p class="function"></p>
</div>
</div>
</div>
</div>
</div>
<div class="logistique flex">
<div class="milaceanous--bloc">
<h2 class="post-chapter">Secteur Logistique</h2>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Hubert Jeusselin</p>
<p class="function">Responsable Transports</p>
</div>
</div>
</div>
<div class="sub-logistique flex">
<div class="logistique--bloc flex">
<h3 class="paragraph-title">Chauffeurs</h3>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magdzdzdalie Cheidzdnon</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magaliedzzd Cheignon</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignondzdz</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignondzdz</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Cheignondzdz</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Jean-Hubert De La Tourette</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Pascal Cheignondzdz</p>
<p class="function"></p>
</div>
</div>
<div class="bloc--img flex">
<img src="{{ asset('images/work-perso-01.jpg') }}" alt="">
<div class="bloc--txt flex">
<p>Magalie Deroin</p>
<p class="function"></p>
</div>
</div>
</div>
</div>
</div>
@endforeach
</section>
</div>
@endsection

View file

@ -0,0 +1,110 @@
@extends('layouts.app')
@section('content')
<div class="main-container main search">
<div class="header-bloc"></div>
<div class="container">
<section class="search--main flex">
<h1 class="post-title">Résultats de recherche pour "colza"</h1>
<!-- <h1 class="post-title"></h1> -->
<div class="mobile-form flex">
<h2 class="post-subtitle">Rechercher sur le site</h2>
<form action="./search.php" method="post" class="search flex">
<input type="text" name="txt_search" id="txt_search" placeholder="Rechercher" required>
<input type="hidden" name="token" value="777799999defrsz">
<button type="submit" class="second-btn">OK</button>
</form>
</div>
<div class="search--row flex">
<div class="search--col flex">
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ratione iste debitis, maxime laborum non ipsum ipsa repellat sed voluptatibus quia doloremque quam beatae harum! Recusandae ducimus sunt reprehenderit magnam vero nisi nostrum cumque commodi laborum itaque quis, a eligendi tempore dignissimos dolore sapiente placeat, fugiat beatae iusto impedit voluptate culpa?</h1>
<div class="chrono--txt clamp">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Eligendi ut incidunt quisquam ad illo officiis dolores, nesciunt, culpa hic laborum dolore itaque. Nemo esse non adipisci ea cum, veniam numquam, aut optio ad incidunt iure atque similique, vero ipsam odio omnis. Quam blanditiis modi quidem nemo quibusdam. Animi voluptate quidem minus eaque temporibus commodi molestiae odit possimus! Esse ex placeat eaque iste obcaecati qui, sunt corporis nulla. Doloribus, facilis nemo aperiam accusamus maiores ratione debitis id labore provident, alias in quos voluptatibus aliquid ad nisi veniam laborum repellendus ex. Iure ut dolorum eum nemo exercitationem accusamus asperiores voluptates quasi saepe.</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
</div>
<div class="search--col flex">
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
<div class="search--chrono grid">
<h1 class="post-title clamp">Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio unde quae consectetur eius!</h1>
<div class="chrono--txt clamp">
<p>In hac habitasse platea dictumst. Quisque suscipit porta nisl. Cras at lorem faucibus, venenatis massa non, egestas libero. Etiam tincidunt 140 caractères maximum !</p>
</div>
<div class="chrono--img">
<img src="./assets/images/serach-img.jpg" alt="">
</div>
<div><a href="#" class="second-btn">Lire la suite</a></div>
</div>
</div>
</div>
</section>
<section class="search--footer flex">
<div class="prev">
<a href="#"><</span></a>
</div>
<div class="pagination flex">
<a href="#">1</a>
<a href="#">2</a>
<a href="#">3</a>
</div>
<div class="next">
<a href="#">></a>
</div>
</section>
</div>
</div>
@endsection

View file

@ -9,10 +9,32 @@
<h1 class="post-title">Notre lien c’est le grain !</h1>
<p>Jeusselin vous conseille et vous accompagne dans vos achats et ventes de vos céréales et oleo protéagineux. Jeusselin, une équipe technique cultures à l’écoute de tous nos partenaires. Notre expertise, notre implantation locale et nos savoir-faire vous permettent de rester informés en temps réel des cours du marché pour la meilleure valorisation possible de vos produits.</p>
<div>
<a href="#" class="second-btn">En savoir plus sur notre entreprise</a>
<a href="{{ route('aboutus') }}" class="second-btn">En savoir plus sur notre entreprise</a>
</div>
</div>
<div class="slider-container">
<div class="swiper-container">
<div class="swiper-wrapper">
@foreach($slides as $slide)
<div class="swiper-slide flex">
<div class="img-slide">
<img src="{{ asset($slide->picture) }}" alt="">
</div>
<div class="txt-slide flex">
<h2 class="post-subtitle">{{ $slide->title }}</h2>
<p>{!! $slide->text !!}</p>
<div>
<!-- todo : en attente du site de la boutique -->
<!-- <a href="{{ $slide->link }}" {{ $slide->link_new_tab == 1 ? 'target="_slide_jeusselin"' : ''}} class="second-btn">{{ $slide->link_label }}</a> -->
</div>
</div>
</div>
@endforeach
</div>
<div class="swiper-pagination"></div>
</div>
</div>
{{--<div class="slider-container">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide flex">
@ -23,7 +45,8 @@
<h2 class="post-subtitle">De délicieux plats préparés disponibles en Clik&Collect</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc maximus, nulla ut commodo sagittis, sapien dui mattis dui.</p>
<div>
<a href="#" class="second-btn">Accéder à la boutique</a>
<!-- todo : en attente du site de la boutique -->
<!-- <a href="#" class="second-btn">Accéder à la boutique</a> -->
</div>
</div>
</div>
@ -35,7 +58,8 @@
<h2 class="post-subtitle">De merveilleux plats préparés disponibles en Clik&Collect</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc maximus, nulla ut commodo sagittis, sapien dui mattis dui.</p>
<div>
<a href="#" class="second-btn">Accéder à la boutique</a>
<!-- todo : en attente du site de la boutique -->
<!-- <a href="#" class="second-btn">Accéder à la boutique</a> -->
</div>
</div>
</div>
@ -47,14 +71,15 @@
<h2 class="post-subtitle">De superbes plats préparés disponibles en Clik&Collect</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc maximus, nulla ut commodo sagittis, sapien dui mattis dui.</p>
<div>
<a href="#" class="second-btn">Accéder à la boutique</a>
<!-- todo : en attente du site de la boutique -->
<!-- <a href="#" class="second-btn">Accéder à la boutique</a> -->
</div>
</div>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</div>--}}
</div>
</section>
@ -67,37 +92,56 @@
</div>
</div>
<div class="content-video flex">
<div class="player-bloc">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-marolles.jpg') }}" alt="">
</div>
<div class="video-diapo flex">
<a href="#" class="screenplay">
<div class="player-bloc wide">
<!-- <img src="./assets/images/play.png" class="icon-play" alt="">
<img src="./assets/images/silo-marolles.jpg" alt=""> -->
<iframe frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306998"></iframe>
</div>
<div class="video-diapo grid">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay marolles">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-marolles-petite.jpg') }}" alt="">
<p>Marolles</p>
</a>
<a href="#" class="screenplay">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay cherre">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-cherre.jpg') }}" alt="">
<p>Cherré</p>
</a>
<a href="#" class="screenplay">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay monce">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-monce.jpg') }}" alt="">
<p>Moncé</p>
</a>
<a href="#" class="screenplay">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay nogent-le-bernard">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-nogent-le-bernard.jpg') }}" alt="">
<p>Nogent-le-Bernard</p>
</a>
<a href="#" class="screenplay">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay mamers">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-mamers.jpg') }}" alt="">
<p>Mamers</p>
</a>
<a href="#" class="screenplay">
<div class="player-bloc">
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="fullscreen;geolocation" src="https://player.vimeo.com/video/510306947"></iframe>
</div>
<a href="#" class="screenplay thoigne-les-mees">
<img src="{{ asset('images/play.png') }}" class="icon-play" alt="">
<img src="{{ asset('images/silo-thoigne-les-mees.jpg') }}" alt="">
<p>Thoigné / Les Mèes</p>
@ -145,12 +189,12 @@
<div class="info">
<h3 class="post-chapter">8 sites de collecte</h3>
<img src="{{ asset('images/huits-sites-collecte.jpg') }}" alt="8 sites de collecte">
<div><a href="#" class="second-btn">Trouvez votre point de collecte</a></div>
<div><a href="{{ route('collectionsite') }}" class="second-btn">Trouvez votre point de collecte</a></div>
</div>
<div class="info">
<h3 class="post-chapter">40 salarié(e)s</h3>
<img src="{{ asset('images/quarante-salaries.jpg') }}" alt="40 salarié(e)s">
<div><a href="#" class="second-btn">Rencontrez l'équipe Jeusselin</a></div>
<div><a href="{{ route('ourtrade') }}" class="second-btn">Rencontrez l'équipe Jeusselin</a></div>
</div>
</div>
</section>

View file

@ -1,4 +1,4 @@
<header class="grid bandeau">
<header class="grid">
<div class="toggle-menu flex"><span></span></div>
<div class="logo flex">
<a href="{{ route('home') }}"></a>
@ -8,53 +8,50 @@
<li><a href="{{ route('aboutus') }}">Qui sommes nous&nbsp;?</a></li>
<li><a href="{{ route('ourtrade') }}">Nos métiers</a></li>
<li><a href="{{ route('csr') }}">RSE</a></li>
<li><a href="{{ route('news') }}">Actualités</a></li>
<li><a href="{{ route('news.index') }}">Actualités</a></li>
<li><a href="{{ route('contactus') }}">Nous contacter</a></li>
</ul>
</nav>
<div class="right-menu">
<div class="connect-contain flex">
<p class="login">Bienvenue Charles-Henry</p>
<div class="connect login"><a href="{{ route('bo.dashboard') }}" class="first-btn">&nbsp;</a></div>
<div class="disconnect login">
<a href="#">
<!-- <svg version="1.1" id="svg-disconnect" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<g>
<path d="M257,0C116.39,0,0,114.39,0,255s116.39,257,257,257s255-116.39,255-257S397.61,0,257,0z M383.22,338.79
c11.7,11.7,11.7,30.73,0,42.44c-11.61,11.6-30.64,11.79-42.44,0L257,297.42l-85.79,83.82c-11.7,11.7-30.73,11.7-42.44,0
c-11.7-11.7-11.7-30.73,0-42.44l83.8-83.8l-83.8-83.8c-11.7-11.71-11.7-30.74,0-42.44c11.71-11.7,30.74-11.7,42.44,0L257,212.58
l83.78-83.82c11.68-11.68,30.71-11.72,42.44,0c11.7,11.7,11.7,30.73,0,42.44l-83.8,83.8L383.22,338.79z"/>
</g>
</g>
</svg> -->
<img src="{{ asset('images/stop.png') }}" alt="Déconnexion">
</a>
@if (Auth::guard('web')->check())
<p class="active">Bienvenue {{ Auth::user()->firstname }}</p>
@endif
<div class="connect"><a href="{{ route('bo.dashboard') }}" class="first-btn">&nbsp;</a></div>
@if (Auth::guard('web')->check())
<div class="disconnect active">
<form id="logout-form" action="{{route('logout')}}" method="POST">
@csrf
<input type="image" src="{{ asset('images/stop.png') }}" alt="Déconnexion" style="max-height: 30px;" />
</form>
</div>
@endif
</div>
<form action="" method="post" class="search flex">
<form action="{{ route('searchresults') }}" method="post" class="search flex">
@csrf
<input type="text" name="txt_search" id="txt_search" placeholder="Rechercher" required>
<button type="submit" class="second-btn">OK</button>
</form>
</div>
<div class="right-menu-mobile flex">
<div class="connect-contain flex">
<a href="#" class="mobile-connect picto-item login" aria-label="Espace client">
<svg version="1.1" id="svg-connect" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="510px" height="510px" viewBox="0 0 510 510" style="enable-background:new 0 0 510 510;" xml:space="preserve">
<g>
<g id="account-circle">
<path d="M255,0C114.75,0,0,114.75,0,255s114.75,255,255,255s255-114.75,255-255S395.25,0,255,0z M255,76.5
c43.35,0,76.5,33.15,76.5,76.5s-33.15,76.5-76.5,76.5c-43.35,0-76.5-33.15-76.5-76.5S211.65,76.5,255,76.5z M255,438.6
c-63.75,0-119.85-33.149-153-81.6c0-51,102-79.05,153-79.05S408,306,408,357C374.85,405.45,318.75,438.6,255,438.6z"/>
</g>
<a href="{{ route('bo.dashboard') }}" class="mobile-connect active">
<svg version="1.1" id="svg-connect" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="510px" height="510px" viewBox="0 0 510 510" style="enable-background:new 0 0 510 510;" xml:space="preserve">
<g>
<g id="account-circle">
<path d="M255,0C114.75,0,0,114.75,0,255s114.75,255,255,255s255-114.75,255-255S395.25,0,255,0z M255,76.5
c43.35,0,76.5,33.15,76.5,76.5s-33.15,76.5-76.5,76.5c-43.35,0-76.5-33.15-76.5-76.5S211.65,76.5,255,76.5z M255,438.6
c-63.75,0-119.85-33.149-153-81.6c0-51,102-79.05,153-79.05S408,306,408,357C374.85,405.45,318.75,438.6,255,438.6z"/>
</g>
</svg>
</a>
<a href="#" class="mobile-disconnect login">
<img src="{{ asset('images/stop.png') }}" alt="Déconnexion">
</a>
</div>
<p class="login">Bienvenue Charles-Henry</p>
</g>
</svg>
</a>
@if (Auth::guard('web')->check())
<form id="logout-form-mobile" action="{{route('logout')}}" method="POST">
@csrf
<input type="image" src="{{ asset('images/stop.png') }}" alt="Déconnexion" style="max-height: 30px;" />
</form>
@endif
<a href="#" class="mobile-search">
<svg version="1.1" id="svg-search" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="590.556px" height="590.556px" viewBox="0 0 590.556 590.556" style="enable-background:new 0 0 590.556 590.556;" xml:space="preserve">
<g>

View file

@ -28,7 +28,6 @@
@include('layouts.app-footer')
</div>
@yield('scripts')
<script src="{{ asset('js/main.js') }}"></script>
</body>
<script type="text/javascript" src="{{ asset('js/main.js') }}"></script>
</html>

View file

@ -9,14 +9,6 @@
<title>{{ config('app.name', 'Jeusselin') }} Back Office</title>
<!-- Scripts -->
{{-- TODO : Ajouter jQuery dans app.js
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>--}}
{{-- TODO : Ajouter CKEditor dans app.js --}}
<script src="https://cdn.ckeditor.com/ckeditor5/23.0.0/classic/ckeditor.js"></script>
{{-- TODO : Voir l'inclusion de Font Awesome, pour le moment c'est fait avec mon compte FA
<script src="https://kit.fontawesome.com/2327d60f96.js" crossorigin="anonymous"></script> --}}
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
@ -83,14 +75,14 @@
<a class="dropdown-item" href="{{route('bo.employees.index')}}">Employés</a>
</div>
</li>
<a class="nav-link" href="{{route('bo.home-sliders.index')}}">Slider de l'accueil</a>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button">Drop</a>
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button">Articles</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="#_">Item 1</a>
<a class="dropdown-item" href="#_">Item 2</a>
<a class="dropdown-item" href="{{route('bo.articles.index')}}">Tous les Articles</a>
<a class="dropdown-item" href="{{route('bo.articles.create')}}">Ajouter</a>
</div>
</li>
<a class="nav-link" href="#_">Ressource 2</a>
<a class="nav-link" href="{{route('home')}}" target="_blank">Aller sur le front</a>
</nav>
</div>

View file

@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Bo\DashboardController;
use App\Http\Controllers\Bo\BusinessSectorsController;
//use App\Http\Controllers\Bo\UsersController;
//use App\Http\Controllers\Bo\HomeSlidersController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\AboutUsController;
@ -16,6 +16,7 @@ use App\Http\Controllers\ContactUsController;
use App\Http\Controllers\LegalNoticeController;
use App\Http\Controllers\PrivacyPolicyController;
use App\Http\Controllers\CollectionSiteController;
use App\Http\Controllers\SearchController;
/*
|--------------------------------------------------------------------------
@ -44,8 +45,13 @@ Route::namespace('App\Http\Controllers\Bo')
Route::resources([
'users' => UsersController::class,
'employees' => EmployeesController::class,
//'business-sector' => BusinessSectorsController::class,
'home-sliders' => HomeSlidersController::class,
'articles' => ArticlesController::class,
]);
// ordres
Route::get('/home-sliders/change-order/{id}/{action}', [App\Http\Controllers\Bo\HomeSlidersController::class,'changeOrder'])->name('home-sliders.change-order');
Route::get('/employees/change-order/{id}/{action}', [App\Http\Controllers\Bo\EmployeesController::class,'changeOrder'])->name('employees.change-order');
Route::get('/business-sector', [BusinessSectorsController::class, 'index'])->name('business-sector.index');
Route::prefix('ajax')
->name('ajx.')
@ -69,10 +75,16 @@ Route::get('/', [HomeController::class, 'index'])->name('home');
Route::get('/qui-sommes-nous', [AboutUsController::class, 'index'])->name('aboutus');
Route::get('/nos-metiers', [OurTradeController::class, 'index'])->name('ourtrade');
Route::get('/rse', [CSRController::class, 'index'])->name('csr');
Route::get('/actualites', [NewsController::class, 'index'])->name('news');
Route::prefix('/actualites')
->name('news.')
->group(function(){
Route::get('/', [NewsController::class, 'index'])->name('index');
Route::get('/{slug}', [NewsController::class, 'show'])->name('show');
});
Route::get('/nous-contacter', [ContactUsController::class, 'index'])->name('contactus');
Route::get('/mentions-legales', [LegalNoticeController::class, 'index'])->name('legalnotice');
Route::get('/politique-de-confidentialite', [PrivacyPolicyController::class, 'index'])->name('privacypolicy');
Route::get('/sites-de-collecte', [CollectionSiteController::class, 'index'])->name('collectionsite');
Route::post('/recherche', [SearchController::class, 'index'])->name('searchresults');
Auth::routes();