Merge branch 'debrief_02' into develop
784
app/Enums/Country.php
Normal file
|
|
@ -0,0 +1,784 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Kwaadpepper\Enum\BaseEnum;
|
||||
|
||||
/**
|
||||
* Liste de Pays
|
||||
* @source https://datahub.io/core/country-list Data Hub country list
|
||||
* @method static self afghanistan()
|
||||
* @method static self alandIslands()
|
||||
* @method static self albania()
|
||||
* @method static self algeria()
|
||||
* @method static self americanSamoa()
|
||||
* @method static self andorra()
|
||||
* @method static self angola()
|
||||
* @method static self anguilla()
|
||||
* @method static self antarctica()
|
||||
* @method static self antiguaAndBarbuda()
|
||||
* @method static self argentina()
|
||||
* @method static self armenia()
|
||||
* @method static self aruba()
|
||||
* @method static self australia()
|
||||
* @method static self austria()
|
||||
* @method static self azerbaijan()
|
||||
* @method static self bahrain()
|
||||
* @method static self bahamas()
|
||||
* @method static self bangladesh()
|
||||
* @method static self barbados()
|
||||
* @method static self belarus()
|
||||
* @method static self belgium()
|
||||
* @method static self belize()
|
||||
* @method static self benin()
|
||||
* @method static self bermuda()
|
||||
* @method static self bhutan()
|
||||
* @method static self boliviaPlurinationalStateOf()
|
||||
* @method static self bonaireSintEustatiusAndSaba()
|
||||
* @method static self bosniaAndHerzegovina()
|
||||
* @method static self botswana()
|
||||
* @method static self bouvetIsland()
|
||||
* @method static self brazil()
|
||||
* @method static self britishIndianOceanTerritory()
|
||||
* @method static self bruneiDarussalam()
|
||||
* @method static self bulgaria()
|
||||
* @method static self burkinaFaso()
|
||||
* @method static self burundi()
|
||||
* @method static self cambodia()
|
||||
* @method static self cameroon()
|
||||
* @method static self canada()
|
||||
* @method static self capeVerde()
|
||||
* @method static self caymanIslands()
|
||||
* @method static self centralAfricanRepublic()
|
||||
* @method static self chad()
|
||||
* @method static self chile()
|
||||
* @method static self china()
|
||||
* @method static self christmasIsland()
|
||||
* @method static self cocosKeelingIslands()
|
||||
* @method static self colombia()
|
||||
* @method static self comoros()
|
||||
* @method static self congo()
|
||||
* @method static self congoTheDemocraticRepublicOfThe()
|
||||
* @method static self cookIslands()
|
||||
* @method static self costaRica()
|
||||
* @method static self coteDivoire()
|
||||
* @method static self croatia()
|
||||
* @method static self cuba()
|
||||
* @method static self curacao()
|
||||
* @method static self cyprus()
|
||||
* @method static self czechRepublic()
|
||||
* @method static self denmark()
|
||||
* @method static self djibouti()
|
||||
* @method static self dominica()
|
||||
* @method static self dominicanRepublic()
|
||||
* @method static self ecuador()
|
||||
* @method static self egypt()
|
||||
* @method static self elSalvador()
|
||||
* @method static self equatorialGuinea()
|
||||
* @method static self eritrea()
|
||||
* @method static self estonia()
|
||||
* @method static self ethiopia()
|
||||
* @method static self falklandIslandsMalvinas()
|
||||
* @method static self faroeIslands()
|
||||
* @method static self fiji()
|
||||
* @method static self finland()
|
||||
* @method static self france()
|
||||
* @method static self frenchGuiana()
|
||||
* @method static self frenchPolynesia()
|
||||
* @method static self frenchSouthernTerritories()
|
||||
* @method static self gabon()
|
||||
* @method static self gambia()
|
||||
* @method static self georgia()
|
||||
* @method static self germany()
|
||||
* @method static self ghana()
|
||||
* @method static self gibraltar()
|
||||
* @method static self greece()
|
||||
* @method static self greenland()
|
||||
* @method static self grenada()
|
||||
* @method static self guadeloupe()
|
||||
* @method static self guam()
|
||||
* @method static self guatemala()
|
||||
* @method static self guernsey()
|
||||
* @method static self guinea()
|
||||
* @method static self guineaBissau()
|
||||
* @method static self guyana()
|
||||
* @method static self haiti()
|
||||
* @method static self heardIslandAndMcdonaldIslands()
|
||||
* @method static self holySeeVaticanCityState()
|
||||
* @method static self honduras()
|
||||
* @method static self hongKong()
|
||||
* @method static self hungary()
|
||||
* @method static self iceland()
|
||||
* @method static self india()
|
||||
* @method static self indonesia()
|
||||
* @method static self iranIslamicRepublicOf()
|
||||
* @method static self iraq()
|
||||
* @method static self ireland()
|
||||
* @method static self isleOfMan()
|
||||
* @method static self israel()
|
||||
* @method static self italy()
|
||||
* @method static self jamaica()
|
||||
* @method static self japan()
|
||||
* @method static self jersey()
|
||||
* @method static self jordan()
|
||||
* @method static self kazakhstan()
|
||||
* @method static self kenya()
|
||||
* @method static self kiribati()
|
||||
* @method static self koreaDemocraticPeoplesRepublicOf()
|
||||
* @method static self koreaRepublicOf()
|
||||
* @method static self kuwait()
|
||||
* @method static self kyrgyzstan()
|
||||
* @method static self laoPeoplesDemocraticRepublic()
|
||||
* @method static self latvia()
|
||||
* @method static self lebanon()
|
||||
* @method static self lesotho()
|
||||
* @method static self liberia()
|
||||
* @method static self libya()
|
||||
* @method static self liechtenstein()
|
||||
* @method static self lithuania()
|
||||
* @method static self luxembourg()
|
||||
* @method static self macao()
|
||||
* @method static self macedoniaTheFormerYugoslavRepublicOf()
|
||||
* @method static self madagascar()
|
||||
* @method static self malawi()
|
||||
* @method static self malaysia()
|
||||
* @method static self maldives()
|
||||
* @method static self mali()
|
||||
* @method static self malta()
|
||||
* @method static self marshallIslands()
|
||||
* @method static self martinique()
|
||||
* @method static self mauritania()
|
||||
* @method static self mauritius()
|
||||
* @method static self mayotte()
|
||||
* @method static self mexico()
|
||||
* @method static self micronesiaFederatedStatesOf()
|
||||
* @method static self moldovaRepublicOf()
|
||||
* @method static self monaco()
|
||||
* @method static self mongolia()
|
||||
* @method static self montenegro()
|
||||
* @method static self montserrat()
|
||||
* @method static self morocco()
|
||||
* @method static self mozambique()
|
||||
* @method static self myanmar()
|
||||
* @method static self namibia()
|
||||
* @method static self nauru()
|
||||
* @method static self nepal()
|
||||
* @method static self netherlands()
|
||||
* @method static self newCaledonia()
|
||||
* @method static self newZealand()
|
||||
* @method static self nicaragua()
|
||||
* @method static self niger()
|
||||
* @method static self nigeria()
|
||||
* @method static self niue()
|
||||
* @method static self norfolkIsland()
|
||||
* @method static self northernMarianaIslands()
|
||||
* @method static self norway()
|
||||
* @method static self oman()
|
||||
* @method static self pakistan()
|
||||
* @method static self palau()
|
||||
* @method static self palestineStateOf()
|
||||
* @method static self panama()
|
||||
* @method static self papuaNewGuinea()
|
||||
* @method static self paraguay()
|
||||
* @method static self peru()
|
||||
* @method static self philippines()
|
||||
* @method static self pitcairn()
|
||||
* @method static self poland()
|
||||
* @method static self portugal()
|
||||
* @method static self puertoRico()
|
||||
* @method static self qatar()
|
||||
* @method static self reunion()
|
||||
* @method static self romania()
|
||||
* @method static self russianFederation()
|
||||
* @method static self rwanda()
|
||||
* @method static self saintBarthelemy()
|
||||
* @method static self saintHelenaAscensionAndTristanDaCunha()
|
||||
* @method static self saintKittsAndNevis()
|
||||
* @method static self saintLucia()
|
||||
* @method static self saintMartinFrenchPart()
|
||||
* @method static self saintPierreAndMiquelon()
|
||||
* @method static self saintVincentAndTheGrenadines()
|
||||
* @method static self samoa()
|
||||
* @method static self sanMarino()
|
||||
* @method static self saoTomeAndPrincipe()
|
||||
* @method static self saudiArabia()
|
||||
* @method static self senegal()
|
||||
* @method static self serbia()
|
||||
* @method static self seychelles()
|
||||
* @method static self sierraLeone()
|
||||
* @method static self singapore()
|
||||
* @method static self sintMaartenDutchPart()
|
||||
* @method static self slovakia()
|
||||
* @method static self slovenia()
|
||||
* @method static self solomonIslands()
|
||||
* @method static self somalia()
|
||||
* @method static self southAfrica()
|
||||
* @method static self southGeorgiaAndTheSouthSandwichIslands()
|
||||
* @method static self southSudan()
|
||||
* @method static self spain()
|
||||
* @method static self sriLanka()
|
||||
* @method static self sudan()
|
||||
* @method static self suriname()
|
||||
* @method static self svalbardAndJanMayen()
|
||||
* @method static self swaziland()
|
||||
* @method static self sweden()
|
||||
* @method static self switzerland()
|
||||
* @method static self syrianArabRepublic()
|
||||
* @method static self taiwanProvinceOfChina()
|
||||
* @method static self tajikistan()
|
||||
* @method static self tanzaniaUnitedRepublicOf()
|
||||
* @method static self thailand()
|
||||
* @method static self timorLeste()
|
||||
* @method static self togo()
|
||||
* @method static self tokelau()
|
||||
* @method static self tonga()
|
||||
* @method static self trinidadAndTobago()
|
||||
* @method static self tunisia()
|
||||
* @method static self turkey()
|
||||
* @method static self turkmenistan()
|
||||
* @method static self turksAndCaicosIslands()
|
||||
* @method static self tuvalu()
|
||||
* @method static self uganda()
|
||||
* @method static self ukraine()
|
||||
* @method static self unitedArabEmirates()
|
||||
* @method static self unitedKingdom()
|
||||
* @method static self unitedStates()
|
||||
* @method static self unitedStatesMinorOutlyingIslands()
|
||||
* @method static self uruguay()
|
||||
* @method static self uzbekistan()
|
||||
* @method static self vanuatu()
|
||||
* @method static self venezuelaBolivarianRepublicOf()
|
||||
* @method static self vietNam()
|
||||
* @method static self virginIslandsBritish()
|
||||
* @method static self virginIslandsUs()
|
||||
* @method static self wallisAndFutuna()
|
||||
* @method static self westernSahara()
|
||||
* @method static self yemen()
|
||||
* @method static self zambia()
|
||||
* @method static self zimbabwe()
|
||||
*
|
||||
* @package LDCCrmClient
|
||||
* @subpackage enums
|
||||
*/
|
||||
class Country extends BaseEnum
|
||||
{
|
||||
/**
|
||||
* Valeurs des possibilités de cet énumération (value)
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function values(): array
|
||||
{
|
||||
return [
|
||||
'afghanistan' => 1,
|
||||
'alandIslands' => 2,
|
||||
'albania' => 3,
|
||||
'algeria' => 4,
|
||||
'americanSamoa' => 5,
|
||||
'andorra' => 6,
|
||||
'angola' => 7,
|
||||
'anguilla' => 8,
|
||||
'antarctica' => 9,
|
||||
'antiguaAndBarbuda' => 10,
|
||||
'argentina' => 11,
|
||||
'armenia' => 12,
|
||||
'aruba' => 13,
|
||||
'australia' => 14,
|
||||
'austria' => 15,
|
||||
'azerbaijan' => 16,
|
||||
'bahrain' => 17,
|
||||
'bahamas' => 18,
|
||||
'bangladesh' => 19,
|
||||
'barbados' => 20,
|
||||
'belarus' => 21,
|
||||
'belgium' => 22,
|
||||
'belize' => 23,
|
||||
'benin' => 24,
|
||||
'bermuda' => 25,
|
||||
'bhutan' => 26,
|
||||
'boliviaPlurinationalStateOf' => 27,
|
||||
'bonaireSintEustatiusAndSaba' => 28,
|
||||
'bosniaAndHerzegovina' => 29,
|
||||
'botswana' => 30,
|
||||
'bouvetIsland' => 31,
|
||||
'brazil' => 32,
|
||||
'britishIndianOceanTerritory' => 33,
|
||||
'bruneiDarussalam' => 34,
|
||||
'bulgaria' => 35,
|
||||
'burkinaFaso' => 36,
|
||||
'burundi' => 37,
|
||||
'cambodia' => 38,
|
||||
'cameroon' => 39,
|
||||
'canada' => 40,
|
||||
'capeVerde' => 41,
|
||||
'caymanIslands' => 42,
|
||||
'centralAfricanRepublic' => 43,
|
||||
'chad' => 44,
|
||||
'chile' => 45,
|
||||
'china' => 46,
|
||||
'christmasIsland' => 47,
|
||||
'cocosKeelingIslands' => 48,
|
||||
'colombia' => 49,
|
||||
'comoros' => 50,
|
||||
'congo' => 51,
|
||||
'congoTheDemocraticRepublicOfThe' => 52,
|
||||
'cookIslands' => 53,
|
||||
'costaRica' => 54,
|
||||
'coteDivoire' => 55,
|
||||
'croatia' => 56,
|
||||
'cuba' => 57,
|
||||
'curacao' => 58,
|
||||
'cyprus' => 59,
|
||||
'czechRepublic' => 60,
|
||||
'denmark' => 61,
|
||||
'djibouti' => 62,
|
||||
'dominica' => 63,
|
||||
'dominicanRepublic' => 64,
|
||||
'ecuador' => 65,
|
||||
'egypt' => 66,
|
||||
'elSalvador' => 67,
|
||||
'equatorialGuinea' => 68,
|
||||
'eritrea' => 69,
|
||||
'estonia' => 70,
|
||||
'ethiopia' => 71,
|
||||
'falklandIslandsMalvinas' => 72,
|
||||
'faroeIslands' => 73,
|
||||
'fiji' => 74,
|
||||
'finland' => 75,
|
||||
'france' => 76,
|
||||
'frenchGuiana' => 77,
|
||||
'frenchPolynesia' => 78,
|
||||
'frenchSouthernTerritories' => 79,
|
||||
'gabon' => 80,
|
||||
'gambia' => 81,
|
||||
'georgia' => 82,
|
||||
'germany' => 83,
|
||||
'ghana' => 84,
|
||||
'gibraltar' => 85,
|
||||
'greece' => 86,
|
||||
'greenland' => 87,
|
||||
'grenada' => 88,
|
||||
'guadeloupe' => 89,
|
||||
'guam' => 90,
|
||||
'guatemala' => 91,
|
||||
'guernsey' => 92,
|
||||
'guinea' => 93,
|
||||
'guineaBissau' => 94,
|
||||
'guyana' => 95,
|
||||
'haiti' => 96,
|
||||
'heardIslandAndMcdonaldIslands' => 97,
|
||||
'holySeeVaticanCityState' => 98,
|
||||
'honduras' => 99,
|
||||
'hongKong' => 100,
|
||||
'hungary' => 101,
|
||||
'iceland' => 102,
|
||||
'india' => 103,
|
||||
'indonesia' => 104,
|
||||
'iranIslamicRepublicOf' => 105,
|
||||
'iraq' => 106,
|
||||
'ireland' => 107,
|
||||
'isleOfMan' => 108,
|
||||
'israel' => 109,
|
||||
'italy' => 110,
|
||||
'jamaica' => 111,
|
||||
'japan' => 112,
|
||||
'jersey' => 113,
|
||||
'jordan' => 114,
|
||||
'kazakhstan' => 115,
|
||||
'kenya' => 116,
|
||||
'kiribati' => 117,
|
||||
'koreaDemocraticPeoplesRepublicOf' => 118,
|
||||
'koreaRepublicOf' => 119,
|
||||
'kuwait' => 120,
|
||||
'kyrgyzstan' => 121,
|
||||
'laoPeoplesDemocraticRepublic' => 122,
|
||||
'latvia' => 123,
|
||||
'lebanon' => 124,
|
||||
'lesotho' => 125,
|
||||
'liberia' => 126,
|
||||
'libya' => 127,
|
||||
'liechtenstein' => 128,
|
||||
'lithuania' => 129,
|
||||
'luxembourg' => 130,
|
||||
'macao' => 131,
|
||||
'macedoniaTheFormerYugoslavRepublicOf' => 132,
|
||||
'madagascar' => 133,
|
||||
'malawi' => 134,
|
||||
'malaysia' => 135,
|
||||
'maldives' => 136,
|
||||
'mali' => 137,
|
||||
'malta' => 138,
|
||||
'marshallIslands' => 139,
|
||||
'martinique' => 140,
|
||||
'mauritania' => 141,
|
||||
'mauritius' => 142,
|
||||
'mayotte' => 143,
|
||||
'mexico' => 144,
|
||||
'micronesiaFederatedStatesOf' => 145,
|
||||
'moldovaRepublicOf' => 146,
|
||||
'monaco' => 147,
|
||||
'mongolia' => 148,
|
||||
'montenegro' => 149,
|
||||
'montserrat' => 150,
|
||||
'morocco' => 151,
|
||||
'mozambique' => 152,
|
||||
'myanmar' => 153,
|
||||
'namibia' => 154,
|
||||
'nauru' => 155,
|
||||
'nepal' => 156,
|
||||
'netherlands' => 157,
|
||||
'newCaledonia' => 158,
|
||||
'newZealand' => 159,
|
||||
'nicaragua' => 160,
|
||||
'niger' => 161,
|
||||
'nigeria' => 162,
|
||||
'niue' => 163,
|
||||
'norfolkIsland' => 164,
|
||||
'northernMarianaIslands' => 165,
|
||||
'norway' => 166,
|
||||
'oman' => 167,
|
||||
'pakistan' => 168,
|
||||
'palau' => 169,
|
||||
'palestineStateOf' => 170,
|
||||
'panama' => 171,
|
||||
'papuaNewGuinea' => 172,
|
||||
'paraguay' => 173,
|
||||
'peru' => 174,
|
||||
'philippines' => 175,
|
||||
'pitcairn' => 176,
|
||||
'poland' => 177,
|
||||
'portugal' => 178,
|
||||
'puertoRico' => 179,
|
||||
'qatar' => 180,
|
||||
'reunion' => 181,
|
||||
'romania' => 182,
|
||||
'russianFederation' => 183,
|
||||
'rwanda' => 184,
|
||||
'saintBarthelemy' => 185,
|
||||
'saintHelenaAscensionAndTristanDaCunha' => 186,
|
||||
'saintKittsAndNevis' => 187,
|
||||
'saintLucia' => 188,
|
||||
'saintMartinFrenchPart' => 189,
|
||||
'saintPierreAndMiquelon' => 190,
|
||||
'saintVincentAndTheGrenadines' => 191,
|
||||
'samoa' => 192,
|
||||
'sanMarino' => 193,
|
||||
'saoTomeAndPrincipe' => 194,
|
||||
'saudiArabia' => 195,
|
||||
'senegal' => 196,
|
||||
'serbia' => 197,
|
||||
'seychelles' => 198,
|
||||
'sierraLeone' => 199,
|
||||
'singapore' => 200,
|
||||
'sintMaartenDutchPart' => 201,
|
||||
'slovakia' => 202,
|
||||
'slovenia' => 203,
|
||||
'solomonIslands' => 204,
|
||||
'somalia' => 205,
|
||||
'southAfrica' => 206,
|
||||
'southGeorgiaAndTheSouthSandwichIslands' => 207,
|
||||
'southSudan' => 208,
|
||||
'spain' => 209,
|
||||
'sriLanka' => 210,
|
||||
'sudan' => 211,
|
||||
'suriname' => 212,
|
||||
'svalbardAndJanMayen' => 213,
|
||||
'swaziland' => 214,
|
||||
'sweden' => 215,
|
||||
'switzerland' => 216,
|
||||
'syrianArabRepublic' => 217,
|
||||
'taiwanProvinceOfChina' => 218,
|
||||
'tajikistan' => 219,
|
||||
'tanzaniaUnitedRepublicOf' => 220,
|
||||
'thailand' => 221,
|
||||
'timorLeste' => 222,
|
||||
'togo' => 223,
|
||||
'tokelau' => 224,
|
||||
'tonga' => 225,
|
||||
'trinidadAndTobago' => 226,
|
||||
'tunisia' => 227,
|
||||
'turkey' => 228,
|
||||
'turkmenistan' => 229,
|
||||
'turksAndCaicosIslands' => 230,
|
||||
'tuvalu' => 231,
|
||||
'uganda' => 232,
|
||||
'ukraine' => 233,
|
||||
'unitedArabEmirates' => 234,
|
||||
'unitedKingdom' => 235,
|
||||
'unitedStates' => 236,
|
||||
'unitedStatesMinorOutlyingIslands' => 237,
|
||||
'uruguay' => 238,
|
||||
'uzbekistan' => 239,
|
||||
'vanuatu' => 240,
|
||||
'venezuelaBolivarianRepublicOf' => 241,
|
||||
'vietNam' => 242,
|
||||
'virginIslandsBritish' => 243,
|
||||
'virginIslandsUs' => 244,
|
||||
'wallisAndFutuna' => 245,
|
||||
'westernSahara' => 246,
|
||||
'yemen' => 247,
|
||||
'zambia' => 248,
|
||||
'zimbabwe' => 249
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Libellés des possibilités de cet énumération (label)
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function labels(): array
|
||||
{
|
||||
return [
|
||||
'afghanistan' => 'Afghanistan',
|
||||
'alandIslands' => 'Åland Islands',
|
||||
'albania' => 'Albania',
|
||||
'algeria' => 'Algeria',
|
||||
'americanSamoa' => 'American Samoa',
|
||||
'andorra' => 'Andorra',
|
||||
'angola' => 'Angola',
|
||||
'anguilla' => 'Anguilla',
|
||||
'antarctica' => 'Antarctica',
|
||||
'antiguaAndBarbuda' => 'Antigua and Barbuda',
|
||||
'argentina' => 'Argentina',
|
||||
'armenia' => 'Armenia',
|
||||
'aruba' => 'Aruba',
|
||||
'australia' => 'Australia',
|
||||
'austria' => 'Austria',
|
||||
'azerbaijan' => 'Azerbaijan',
|
||||
'bahrain' => 'Bahrain',
|
||||
'bahamas' => 'Bahamas',
|
||||
'bangladesh' => 'Bangladesh',
|
||||
'barbados' => 'Barbados',
|
||||
'belarus' => 'Belarus',
|
||||
'belgium' => 'Belgium',
|
||||
'belize' => 'Belize',
|
||||
'benin' => 'Benin',
|
||||
'bermuda' => 'Bermuda',
|
||||
'bhutan' => 'Bhutan',
|
||||
'boliviaPlurinationalStateOf' => 'Bolivia, Plurinational State of',
|
||||
'bonaireSintEustatiusAndSaba' => 'Bonaire, Sint Eustatius and Saba',
|
||||
'bosniaAndHerzegovina' => 'Bosnia and Herzegovina',
|
||||
'botswana' => 'Botswana',
|
||||
'bouvetIsland' => 'Bouvet Island',
|
||||
'brazil' => 'Brazil',
|
||||
'britishIndianOceanTerritory' => 'British Indian Ocean Territory',
|
||||
'bruneiDarussalam' => 'Brunei Darussalam',
|
||||
'bulgaria' => 'Bulgaria',
|
||||
'burkinaFaso' => 'Burkina Faso',
|
||||
'burundi' => 'Burundi',
|
||||
'cambodia' => 'Cambodia',
|
||||
'cameroon' => 'Cameroon',
|
||||
'canada' => 'Canada',
|
||||
'capeVerde' => 'Cape Verde',
|
||||
'caymanIslands' => 'Cayman Islands',
|
||||
'centralAfricanRepublic' => 'Central African Republic',
|
||||
'chad' => 'Chad',
|
||||
'chile' => 'Chile',
|
||||
'china' => 'China',
|
||||
'christmasIsland' => 'Christmas Island',
|
||||
'cocosKeelingIslands' => 'Cocos (Keeling) Islands',
|
||||
'colombia' => 'Colombia',
|
||||
'comoros' => 'Comoros',
|
||||
'congo' => 'Congo',
|
||||
'congoTheDemocraticRepublicOfThe' => 'Congo, the Democratic Republic of the',
|
||||
'cookIslands' => 'Cook Islands',
|
||||
'costaRica' => 'Costa Rica',
|
||||
'coteDivoire' => 'Côte d\'Ivoire',
|
||||
'croatia' => 'Croatia',
|
||||
'cuba' => 'Cuba',
|
||||
'curacao' => 'Curaçao',
|
||||
'cyprus' => 'Cyprus',
|
||||
'czechRepublic' => 'Czech Republic',
|
||||
'denmark' => 'Denmark',
|
||||
'djibouti' => 'Djibouti',
|
||||
'dominica' => 'Dominica',
|
||||
'dominicanRepublic' => 'Dominican Republic',
|
||||
'ecuador' => 'Ecuador',
|
||||
'egypt' => 'Egypt',
|
||||
'elSalvador' => 'El Salvador',
|
||||
'equatorialGuinea' => 'Equatorial Guinea',
|
||||
'eritrea' => 'Eritrea',
|
||||
'estonia' => 'Estonia',
|
||||
'ethiopia' => 'Ethiopia',
|
||||
'falklandIslandsMalvinas' => 'Falkland Islands (Malvinas)',
|
||||
'faroeIslands' => 'Faroe Islands',
|
||||
'fiji' => 'Fiji',
|
||||
'finland' => 'Finland',
|
||||
'france' => 'France',
|
||||
'frenchGuiana' => 'French Guiana',
|
||||
'frenchPolynesia' => 'French Polynesia',
|
||||
'frenchSouthernTerritories' => 'French Southern Territories',
|
||||
'gabon' => 'Gabon',
|
||||
'gambia' => 'Gambia',
|
||||
'georgia' => 'Georgia',
|
||||
'germany' => 'Germany',
|
||||
'ghana' => 'Ghana',
|
||||
'gibraltar' => 'Gibraltar',
|
||||
'greece' => 'Greece',
|
||||
'greenland' => 'Greenland',
|
||||
'grenada' => 'Grenada',
|
||||
'guadeloupe' => 'Guadeloupe',
|
||||
'guam' => 'Guam',
|
||||
'guatemala' => 'Guatemala',
|
||||
'guernsey' => 'Guernsey',
|
||||
'guinea' => 'Guinea',
|
||||
'guineaBissau' => 'GuineaBissau',
|
||||
'guyana' => 'Guyana',
|
||||
'haiti' => 'Haiti',
|
||||
'heardIslandAndMcdonaldIslands' => 'Heard Island and McDonald Islands',
|
||||
'holySeeVaticanCityState' => 'Holy See (Vatican City State)',
|
||||
'honduras' => 'Honduras',
|
||||
'hongKong' => 'Hong Kong',
|
||||
'hungary' => 'Hungary',
|
||||
'iceland' => 'Iceland',
|
||||
'india' => 'India',
|
||||
'indonesia' => 'Indonesia',
|
||||
'iranIslamicRepublicOf' => 'Iran, Islamic Republic of',
|
||||
'iraq' => 'Iraq',
|
||||
'ireland' => 'Ireland',
|
||||
'isleOfMan' => 'Isle of Man',
|
||||
'israel' => 'Israel',
|
||||
'italy' => 'Italy',
|
||||
'jamaica' => 'Jamaica',
|
||||
'japan' => 'Japan',
|
||||
'jersey' => 'Jersey',
|
||||
'jordan' => 'Jordan',
|
||||
'kazakhstan' => 'Kazakhstan',
|
||||
'kenya' => 'Kenya',
|
||||
'kiribati' => 'Kiribati',
|
||||
'koreaDemocraticPeoplesRepublicOf' => 'Korea, Democratic People\'s Republic of',
|
||||
'koreaRepublicOf' => 'Korea, Republic of',
|
||||
'kuwait' => 'Kuwait',
|
||||
'kyrgyzstan' => 'Kyrgyzstan',
|
||||
'laoPeoplesDemocraticRepublic' => 'Lao People\'s Democratic Republic',
|
||||
'latvia' => 'Latvia',
|
||||
'lebanon' => 'Lebanon',
|
||||
'lesotho' => 'Lesotho',
|
||||
'liberia' => 'Liberia',
|
||||
'libya' => 'Libya',
|
||||
'liechtenstein' => 'Liechtenstein',
|
||||
'lithuania' => 'Lithuania',
|
||||
'luxembourg' => 'Luxembourg',
|
||||
'macao' => 'Macao',
|
||||
'macedoniaTheFormerYugoslavRepublicOf' => 'Macedonia, the Former Yugoslav Republic of',
|
||||
'madagascar' => 'Madagascar',
|
||||
'malawi' => 'Malawi',
|
||||
'malaysia' => 'Malaysia',
|
||||
'maldives' => 'Maldives',
|
||||
'mali' => 'Mali',
|
||||
'malta' => 'Malta',
|
||||
'marshallIslands' => 'Marshall Islands',
|
||||
'martinique' => 'Martinique',
|
||||
'mauritania' => 'Mauritania',
|
||||
'mauritius' => 'Mauritius',
|
||||
'mayotte' => 'Mayotte',
|
||||
'mexico' => 'Mexico',
|
||||
'micronesiaFederatedStatesOf' => 'Micronesia, Federated States of',
|
||||
'moldovaRepublicOf' => 'Moldova, Republic of',
|
||||
'monaco' => 'Monaco',
|
||||
'mongolia' => 'Mongolia',
|
||||
'montenegro' => 'Montenegro',
|
||||
'montserrat' => 'Montserrat',
|
||||
'morocco' => 'Morocco',
|
||||
'mozambique' => 'Mozambique',
|
||||
'myanmar' => 'Myanmar',
|
||||
'namibia' => 'Namibia',
|
||||
'nauru' => 'Nauru',
|
||||
'nepal' => 'Nepal',
|
||||
'netherlands' => 'Netherlands',
|
||||
'newCaledonia' => 'New Caledonia',
|
||||
'newZealand' => 'New Zealand',
|
||||
'nicaragua' => 'Nicaragua',
|
||||
'niger' => 'Niger',
|
||||
'nigeria' => 'Nigeria',
|
||||
'niue' => 'Niue',
|
||||
'norfolkIsland' => 'Norfolk Island',
|
||||
'northernMarianaIslands' => 'Northern Mariana Islands',
|
||||
'norway' => 'Norway',
|
||||
'oman' => 'Oman',
|
||||
'pakistan' => 'Pakistan',
|
||||
'palau' => 'Palau',
|
||||
'palestineStateOf' => 'Palestine, State of',
|
||||
'panama' => 'Panama',
|
||||
'papuaNewGuinea' => 'Papua New Guinea',
|
||||
'paraguay' => 'Paraguay',
|
||||
'peru' => 'Peru',
|
||||
'philippines' => 'Philippines',
|
||||
'pitcairn' => 'Pitcairn',
|
||||
'poland' => 'Poland',
|
||||
'portugal' => 'Portugal',
|
||||
'puertoRico' => 'Puerto Rico',
|
||||
'qatar' => 'Qatar',
|
||||
'reunion' => 'Réunion',
|
||||
'romania' => 'Romania',
|
||||
'russianFederation' => 'Russian Federation',
|
||||
'rwanda' => 'Rwanda',
|
||||
'saintBarthelemy' => 'Saint Barthélemy',
|
||||
'saintHelenaAscensionAndTristanDaCunha' => 'Saint Helena, Ascension and Tristan da Cunha',
|
||||
'saintKittsAndNevis' => 'Saint Kitts and Nevis',
|
||||
'saintLucia' => 'Saint Lucia',
|
||||
'saintMartinFrenchPart' => 'Saint Martin (French part)',
|
||||
'saintPierreAndMiquelon' => 'Saint Pierre and Miquelon',
|
||||
'saintVincentAndTheGrenadines' => 'Saint Vincent and the Grenadines',
|
||||
'samoa' => 'Samoa',
|
||||
'sanMarino' => 'San Marino',
|
||||
'saoTomeAndPrincipe' => 'Sao Tome and Principe',
|
||||
'saudiArabia' => 'Saudi Arabia',
|
||||
'senegal' => 'Senegal',
|
||||
'serbia' => 'Serbia',
|
||||
'seychelles' => 'Seychelles',
|
||||
'sierraLeone' => 'Sierra Leone',
|
||||
'singapore' => 'Singapore',
|
||||
'sintMaartenDutchPart' => 'Sint Maarten (Dutch part)',
|
||||
'slovakia' => 'Slovakia',
|
||||
'slovenia' => 'Slovenia',
|
||||
'solomonIslands' => 'Solomon Islands',
|
||||
'somalia' => 'Somalia',
|
||||
'southAfrica' => 'South Africa',
|
||||
'southGeorgiaAndTheSouthSandwichIslands' => 'South Georgia and the South Sandwich Islands',
|
||||
'southSudan' => 'South Sudan',
|
||||
'spain' => 'Spain',
|
||||
'sriLanka' => 'Sri Lanka',
|
||||
'sudan' => 'Sudan',
|
||||
'suriname' => 'Suriname',
|
||||
'svalbardAndJanMayen' => 'Svalbard and Jan Mayen',
|
||||
'swaziland' => 'Swaziland',
|
||||
'sweden' => 'Sweden',
|
||||
'switzerland' => 'Switzerland',
|
||||
'syrianArabRepublic' => 'Syrian Arab Republic',
|
||||
'taiwanProvinceOfChina' => 'Taiwan, Province of China',
|
||||
'tajikistan' => 'Tajikistan',
|
||||
'tanzaniaUnitedRepublicOf' => 'Tanzania, United Republic of',
|
||||
'thailand' => 'Thailand',
|
||||
'timorLeste' => 'TimorLeste',
|
||||
'togo' => 'Togo',
|
||||
'tokelau' => 'Tokelau',
|
||||
'tonga' => 'Tonga',
|
||||
'trinidadAndTobago' => 'Trinidad and Tobago',
|
||||
'tunisia' => 'Tunisia',
|
||||
'turkey' => 'Turkey',
|
||||
'turkmenistan' => 'Turkmenistan',
|
||||
'turksAndCaicosIslands' => 'Turks and Caicos Islands',
|
||||
'tuvalu' => 'Tuvalu',
|
||||
'uganda' => 'Uganda',
|
||||
'ukraine' => 'Ukraine',
|
||||
'unitedArabEmirates' => 'United Arab Emirates',
|
||||
'unitedKingdom' => 'United Kingdom',
|
||||
'unitedStates' => 'United States',
|
||||
'unitedStatesMinorOutlyingIslands' => 'United States Minor Outlying Islands',
|
||||
'uruguay' => 'Uruguay',
|
||||
'uzbekistan' => 'Uzbekistan',
|
||||
'vanuatu' => 'Vanuatu',
|
||||
'venezuelaBolivarianRepublicOf' => 'Venezuela, Bolivarian Republic of',
|
||||
'vietNam' => 'Viet Nam',
|
||||
'virginIslandsBritish' => 'Virgin Islands, British',
|
||||
'virginIslandsUs' => 'Virgin Islands, U.S.',
|
||||
'wallisAndFutuna' => 'Wallis and Futuna',
|
||||
'westernSahara' => 'Western Sahara',
|
||||
'yemen' => 'Yemen',
|
||||
'zambia' => 'Zambia',
|
||||
'zimbabwe' => 'Zimbabwe'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -6,8 +6,16 @@ use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
|||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||
use Illuminate\Routing\Controller as BaseController;
|
||||
use App\Enums\Country;
|
||||
|
||||
class Controller extends BaseController
|
||||
{
|
||||
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||
use AuthorizesRequests;
|
||||
use DispatchesJobs;
|
||||
use ValidatesRequests;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
view()->share('availableCountries', Country::toArray());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@
|
|||
"name": "laravel/laravel",
|
||||
"type": "project",
|
||||
"description": "The Laravel Framework.",
|
||||
"keywords": ["framework", "laravel"],
|
||||
"keywords": [
|
||||
"framework",
|
||||
"laravel"
|
||||
],
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.3|^8.0",
|
||||
|
|
|
|||
1427
composer.lock
generated
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class DropuniqueslugOnProducts extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->dropUnique('products_slug_unique');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
BIN
public/assets/images/loupe.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
76
public/css/preload-front.css
vendored
|
|
@ -4185,12 +4185,14 @@ img{
|
|||
width:-webkit-max-content;
|
||||
width:-moz-max-content;
|
||||
width:max-content;
|
||||
max-width:100%;
|
||||
}
|
||||
.product ul.more li p:first-of-type{
|
||||
font-size:18px;
|
||||
}
|
||||
.product ul.more li::before{
|
||||
top:30px;
|
||||
.product ul.more li p:first-of-type::before{
|
||||
top:50%;
|
||||
transform:translateY(-50%);
|
||||
}
|
||||
|
||||
.product .img-bloc{
|
||||
|
|
@ -4228,10 +4230,10 @@ ul.more li p:first-of-type{
|
|||
position:relative;
|
||||
font-size:26px;
|
||||
}
|
||||
ul.more li::before{
|
||||
ul.more li p:first-of-type::before{
|
||||
content:"";
|
||||
position:absolute;
|
||||
left:0;
|
||||
left:-2rem;
|
||||
top:20px;
|
||||
width:10px;
|
||||
height:10px;
|
||||
|
|
@ -4283,6 +4285,31 @@ ul.infos span{
|
|||
bottom:0;
|
||||
}
|
||||
|
||||
.contact-page{
|
||||
position:relative;
|
||||
align-items:center;
|
||||
}
|
||||
.contact-page #picto-localisation{
|
||||
left:50%;
|
||||
transform:translateX(-50%);
|
||||
top:0;
|
||||
margin-right:0;
|
||||
}
|
||||
.contact-page > p{
|
||||
width:100%;
|
||||
text-align:center;
|
||||
}
|
||||
@media screen and (min-width: 768px){
|
||||
.contact-page #picto-localisation{
|
||||
top:5%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1024px){
|
||||
.contact-page > p{
|
||||
width:unset;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 480px){
|
||||
ul.infos{
|
||||
flex-direction:row;
|
||||
|
|
@ -4308,10 +4335,6 @@ ul.infos span{
|
|||
main{
|
||||
padding-top:50px;
|
||||
}
|
||||
|
||||
.product ul.more li::before{
|
||||
top:10px;
|
||||
}
|
||||
}
|
||||
.container.news .sectiontitle{
|
||||
margin-bottom:25px;
|
||||
|
|
@ -4507,6 +4530,8 @@ h1,
|
|||
.page-subtitle,
|
||||
.header-title{
|
||||
margin-bottom:25px;
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
h1,
|
||||
|
|
@ -4558,7 +4583,6 @@ h1:not(.maintitle){
|
|||
}
|
||||
|
||||
.page-subtitle{
|
||||
display:block;
|
||||
position:relative;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
|
|
@ -4601,6 +4625,7 @@ h3.product-card__title{
|
|||
@media screen and (min-width: 1024px){
|
||||
.mascotte:before{
|
||||
display:block;
|
||||
font-size:48px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 800px){
|
||||
|
|
@ -4658,10 +4683,10 @@ h3:not(.item__title, .product-card__title){
|
|||
|
||||
.breadcrumb{
|
||||
--margin-breadcrumb:50px;
|
||||
position:absolute;
|
||||
position:relative;
|
||||
flex-wrap:wrap;
|
||||
margin-left:var(--margin-breadcrumb);
|
||||
top:20px;
|
||||
top:48px;
|
||||
align-items:center;
|
||||
max-width:25%;
|
||||
text-align:initial;
|
||||
|
|
@ -4684,7 +4709,6 @@ h3:not(.item__title, .product-card__title){
|
|||
|
||||
@media screen and (max-width: 799px){
|
||||
.breadcrumb{
|
||||
max-width:70%;
|
||||
top:-20px;
|
||||
right:0;
|
||||
justify-content:flex-end;
|
||||
|
|
@ -4961,11 +4985,23 @@ h3:not(.item__title, .product-card__title){
|
|||
.secondmenu .search-form{
|
||||
display:none;
|
||||
position:absolute;
|
||||
width:240px;
|
||||
right:0;
|
||||
top:40px;
|
||||
padding:15px 10px 10px;
|
||||
border:none;
|
||||
border-radius:5px;
|
||||
box-shadow:1px 1px 5px 2px #333;
|
||||
background-color:#fff;
|
||||
}
|
||||
.secondmenu .search-form.is-visible{
|
||||
display:initial;
|
||||
}
|
||||
.secondmenu .search-form .search-form__input{
|
||||
width:100%;
|
||||
border:none;
|
||||
border-bottom:1px solid #000;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 799px){
|
||||
.secondmenu{
|
||||
|
|
@ -5144,6 +5180,16 @@ textarea{
|
|||
margin-right:0;
|
||||
}
|
||||
|
||||
.country select{
|
||||
width:30%;
|
||||
border:none;
|
||||
border-bottom-color:currentcolor;
|
||||
border-bottom-style:none;
|
||||
border-bottom-width:medium;
|
||||
border-bottom:1px solid black;
|
||||
padding-bottom:1rem;
|
||||
}
|
||||
|
||||
fieldset{
|
||||
margin-top:45px;
|
||||
border:0 none;
|
||||
|
|
@ -5597,10 +5643,10 @@ input[type=text]{
|
|||
overflow:hidden;
|
||||
}
|
||||
.jumbotron img{
|
||||
transition:scale 0.3s ease-in-out;
|
||||
transition:transform 0.3s ease-in-out;
|
||||
}
|
||||
.jumbotron img.zoomed{
|
||||
scale:1.05;
|
||||
transform:scale(1.05);
|
||||
}
|
||||
.jumbotron .item__title{
|
||||
position:absolute;
|
||||
|
|
@ -6081,7 +6127,7 @@ input[type=text]{
|
|||
background-color:#0c1417;
|
||||
}
|
||||
#products > img{
|
||||
height:80%;
|
||||
max-height:80%;
|
||||
}
|
||||
#products .product-item{
|
||||
display:flex;
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 15 KiB |
2
public/js/preload-front.js
vendored
|
|
@ -354,7 +354,7 @@ docReady(function () {
|
|||
var imgZoom = document.querySelectorAll('.img-zoom');
|
||||
var index = 0;
|
||||
|
||||
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
|
||||
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
|
||||
document.getElementById("backtotop").style.display = "flex";
|
||||
|
||||
for (index = 0; index < imgZoom.length; index++) {
|
||||
|
|
|
|||
BIN
resources/assets/images/loupe.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
4
resources/js/frontend/custom.js
vendored
|
|
@ -15,8 +15,8 @@ docReady(function () {
|
|||
let imgZoom = document.querySelectorAll('.img-zoom');
|
||||
let index = 0;
|
||||
if (
|
||||
document.body.scrollTop > 100 ||
|
||||
document.documentElement.scrollTop > 100
|
||||
document.body.scrollTop > 50 ||
|
||||
document.documentElement.scrollTop > 50
|
||||
) {
|
||||
document.getElementById("backtotop").style.display = "flex";
|
||||
for (index = 0; index < imgZoom.length; index++) {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
"Gammes": "",
|
||||
"Poulet, Cordon bleu ou Wing's ?": "",
|
||||
"Découvrez tous nos produits à base de volaille.": "",
|
||||
"<span>les +<\/span>\r\n <span>Produit<\/span>": "",
|
||||
"<span>les +<\/span><span>Produit<\/span>": "<span>The +<\/span><span>Product<\/span>",
|
||||
"Cuisiner en famille": "",
|
||||
"Poulet rôti": "",
|
||||
"Grignottes de poulet": "",
|
||||
|
|
@ -67,5 +67,5 @@
|
|||
"Autoriser tous les cookies": "",
|
||||
"Interdire tous les cookies": "",
|
||||
"Une question ? Une idée ? Un conseil ?<br>Des informations sur nos produits ?": "",
|
||||
"N’hésitez-pas à nous contacter en renseignant le formulaire ci-dessous.<br>Nous traiterons votre demande avec la plus grande attention dans les meilleurs délais.": ""
|
||||
}
|
||||
"N’hésitez-pas à nous contacter en renseignant le formulaire ci-dessous.<br>Nous traiterons votre demande avec la plus grande attention dans les meilleurs délais.": "N’hésitez-pas à nous contacter en renseignant le formulaire ci-dessous.<br>Nous traiterons votre demande avec la plus grande attention dans les meilleurs délais."
|
||||
}
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
"Gammes": "",
|
||||
"Poulet, Cordon bleu ou Wing's ?": "",
|
||||
"Découvrez tous nos produits à base de volaille.": "",
|
||||
"<span>les +<\/span>\r\n <span>Produit<\/span>": "",
|
||||
"<span>les +</span><span>Produit</span>": "<span>les +</span><span>Produit</span>",
|
||||
"Résultats": "",
|
||||
"Cuisiner en famille": "",
|
||||
"Poulet rôti": "",
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
"Gammes": "",
|
||||
"Poulet, Cordon bleu ou Wing's ?": "",
|
||||
"Découvrez tous nos produits à base de volaille.": "",
|
||||
"<span>les +<\/span>\r\n <span>Produit<\/span>": "",
|
||||
"<span>les +</span><span>Produit</span>": "<span>les +</span><span>Produit</span>",
|
||||
"Cuisiner en famille": "",
|
||||
"Poulet rôti": "",
|
||||
"Grignottes de poulet": "",
|
||||
|
|
|
|||
|
|
@ -1,31 +1,31 @@
|
|||
<?php
|
||||
|
||||
return array (
|
||||
'analytics' =>
|
||||
array (
|
||||
'desc' => 'Les services de mesure d\'audience permettent de générer des statistiques de fréquentation utiles à l\'amélioration du site.',
|
||||
'title' => 'MESURES D\'AUDIENCE - Google Analytics',
|
||||
),
|
||||
'banner' =>
|
||||
array (
|
||||
'desc' => 'Ce site web stocke les cookies sur votre ordinateur. LDC utilise ces informations afin d’améliorer et de personnaliser votre expérience de navigation, ainsi que pour l\'analyse et les indicateurs concernant nos visiteurs à la fois sur ce site web et sur d\'autres supports.
|
||||
return array(
|
||||
'analytics' =>
|
||||
array(
|
||||
'desc' => 'Les services de mesure d\'audience permettent de générer des statistiques de fréquentation utiles à l\'amélioration du site.',
|
||||
'title' => 'MESURES D\'AUDIENCE - Google Analytics',
|
||||
),
|
||||
'banner' =>
|
||||
array(
|
||||
'desc' => 'Ce site web stocke les cookies sur votre ordinateur. LDC utilise ces informations afin d’améliorer et de personnaliser votre expérience de navigation, ainsi que pour l\'analyse et les indicateurs concernant nos visiteurs à la fois sur ce site web et sur d\'autres supports.
|
||||
<br>Vous pouvez cliquer sur « Accepter » si vous consentez à l\'utilisation de ces cookies.
|
||||
<br>Si vous refusez l\'utilisation des cookies, vos informations ne seront pas suivies lors de votre visite sur ce site. Un cookie sera utilisé dans votre navigateur afin de se souvenir de ne pas suivre vos préférences. Certaines fonctionnalités ne seront pas accessibles.
|
||||
<br>Vous pouvez changer d’avis et modifier votre consentement à tout moment en revenant sur ce site.
|
||||
<br>Pour en savoir plus sur les cookies que nous utilisons, consultez notre <a href=":PRIVROUTE">politique de confidentialité</a>.',
|
||||
'title' => 'Le respect de votre vie privée est notre priorité',
|
||||
),
|
||||
'contact' =>
|
||||
array (
|
||||
'acceptcgu' => 'J’accepte les conditions générales d’utilisation du site et autorise la Société Bretonne de Volaille à traiter mes données personnelles conformément à la Charte de confidentialité.',
|
||||
'disclaimer' => 'Les informations que vous nous communiquez sont collectées et traitées par la Société Bretonne de Volaille, responsable de traitement selon les finalités définies dans notre Charte de confidentialité. Ces informations sont destinées au personnel de la Société Bretonne de Volaille et peuvent être partagées avec ses sous-traitants.<br />
|
||||
'title' => 'Le respect de votre vie privée est notre priorité',
|
||||
),
|
||||
'contact' =>
|
||||
array(
|
||||
'acceptcgu' => 'J’accepte les conditions générales d’utilisation du site et autorise la Société Bretonne de Volaille à traiter mes données personnelles conformément à la Charte de confidentialité.',
|
||||
'disclaimer' => 'Les informations que vous nous communiquez sont collectées et traitées par la Société Bretonne de Volaille, responsable de traitement selon les finalités définies dans notre Charte de confidentialité. Ces informations sont destinées au personnel de la Société Bretonne de Volaille et peuvent être partagées avec ses sous-traitants.<br />
|
||||
A tout moment, vous pouvez retirer votre consentement. Pour toute information complémentaire concernant vos données personnelles et vos droits, merci de consulter notre <a href=":PRIVROUTE">Charte de confidentialité.</a>',
|
||||
),
|
||||
'manage' =>
|
||||
array (
|
||||
'explain' => 'Les fonctionnalités de ce site s’appuient sur des services proposés par des tiers.
|
||||
),
|
||||
'manage' =>
|
||||
array(
|
||||
'explain' => 'Les fonctionnalités de ce site s’appuient sur des services proposés par des tiers.
|
||||
<br>Si vous acceptez, ces tiers déposeront des cookies qui vous permettront de visualiser sur le site du contenu hébergé par ces tiers.
|
||||
<br>Via ces cookies, ces tiers collecteront et utiliseront vos données de navigation pour des finalités qui leur sont propres, conformément à leur politique de confidentialité (lien ci-dessous). Cette page vous permet de donner ou de retirer votre consentement, soit globalement soit service par service.',
|
||||
'title' => 'Panneau de gestion des cookies',
|
||||
),
|
||||
'title' => 'Panneau de gestion des cookies',
|
||||
),
|
||||
);
|
||||
|
|
|
|||
4
resources/sass/frontend/_carrousel.scss
vendored
|
|
@ -5,10 +5,10 @@
|
|||
overflow: hidden;
|
||||
|
||||
img {
|
||||
transition: scale 0.3s ease-in-out;
|
||||
transition: transform 0.3s ease-in-out;
|
||||
|
||||
&.zoomed {
|
||||
scale: 1.05;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
.item__title {
|
||||
|
|
|
|||
2
resources/sass/frontend/_custom.scss
vendored
|
|
@ -52,7 +52,7 @@
|
|||
background-color: $color-dark;
|
||||
}
|
||||
> img {
|
||||
height: 80%;
|
||||
max-height: 80%;
|
||||
}
|
||||
.product-item {
|
||||
display: flex;
|
||||
|
|
|
|||
9
resources/sass/frontend/_form.scss
vendored
|
|
@ -70,6 +70,15 @@ textarea {
|
|||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.country select {
|
||||
width: 30%;
|
||||
border: none;
|
||||
border-bottom-color: currentcolor;
|
||||
border-bottom-style: none;
|
||||
border-bottom-width: medium;
|
||||
border-bottom: 1px solid black;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
margin-top: 45px;
|
||||
|
|
|
|||
62
resources/sass/frontend/_globals.scss
vendored
|
|
@ -79,12 +79,15 @@ img {
|
|||
|
||||
.product ul.more li {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
|
||||
p:first-of-type {
|
||||
font-size: 18px;
|
||||
}
|
||||
&::before {
|
||||
top: 30px;
|
||||
|
||||
&::before {
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
.product .img-bloc {
|
||||
|
|
@ -122,16 +125,17 @@ ul.more {
|
|||
p:first-of-type {
|
||||
position: relative;
|
||||
font-size: 26px;
|
||||
}
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 20px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: $color-blue;
|
||||
border-radius: 50%;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -2rem;
|
||||
top: 20px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: $color-blue;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.label img {
|
||||
width: 100px;
|
||||
|
|
@ -179,6 +183,35 @@ ul.infos {
|
|||
bottom: 0;
|
||||
}
|
||||
}
|
||||
.contact-page {
|
||||
position: relative;
|
||||
align-items: center;
|
||||
|
||||
#picto-localisation {
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
& > p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
#picto-localisation {
|
||||
top: 5%;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1024px) {
|
||||
& > p {
|
||||
width: unset;
|
||||
// text-align: initial;
|
||||
}
|
||||
// #picto-localisation {
|
||||
// margin-right: 30px;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 480px) {
|
||||
ul.infos {
|
||||
|
|
@ -207,7 +240,4 @@ ul.infos {
|
|||
main {
|
||||
padding-top: 50px;
|
||||
}
|
||||
.product ul.more li::before {
|
||||
top: 10px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
resources/sass/frontend/_links.scss
vendored
|
|
@ -24,10 +24,10 @@
|
|||
|
||||
.breadcrumb {
|
||||
--margin-breadcrumb: 50px;
|
||||
position: absolute;
|
||||
position: relative;
|
||||
flex-wrap: wrap;
|
||||
margin-left: var(--margin-breadcrumb);
|
||||
top: 20px;
|
||||
top: 48px;
|
||||
align-items: center;
|
||||
max-width: 25%;
|
||||
text-align: initial;
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
@media screen and (max-width: 799px) {
|
||||
.breadcrumb {
|
||||
max-width: 70%;
|
||||
//max-width: 70%;
|
||||
top: -20px;
|
||||
right: 0;
|
||||
justify-content: flex-end;
|
||||
|
|
|
|||
13
resources/sass/frontend/_menu.scss
vendored
|
|
@ -186,10 +186,23 @@
|
|||
.search-form {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 240px;
|
||||
right: 0;
|
||||
top: 40px;
|
||||
padding: 15px 10px 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 1px 5px 2px #333;
|
||||
background-color: #fff;
|
||||
|
||||
&.is-visible {
|
||||
display: initial;
|
||||
}
|
||||
.search-form__input {
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
5
resources/sass/frontend/_texts.scss
vendored
|
|
@ -6,6 +6,8 @@ h1,
|
|||
.page-subtitle,
|
||||
.header-title {
|
||||
margin-bottom: 25px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
h1,
|
||||
|
|
@ -55,7 +57,7 @@ h1:not(.maintitle) {
|
|||
}
|
||||
|
||||
.page-subtitle {
|
||||
display: block;
|
||||
//display: block;
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
@ -98,6 +100,7 @@ h3.product-card__title {
|
|||
@media screen and (min-width: 1024px) {
|
||||
.mascotte:before {
|
||||
display: block;
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 800px) {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
@section('content')
|
||||
|
||||
<section class="jumbotron">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Qui sommes-nous')}} ?</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/a-propos.jpg') }}" alt="A propos de nous">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Doux, La référence française de la volaille')}}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/a-propos.jpg') }}" alt="Une famille avec deux enfants sont dans leur cuisine en train de préparer le repas avec des produits Doux">
|
||||
<div class="banner">
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1919.76 59.99">
|
||||
<defs>
|
||||
|
|
@ -30,7 +30,8 @@
|
|||
<section class="container">
|
||||
<div class="wrapper">
|
||||
<div class="header-title align-center p-rel">
|
||||
<h1 class="align-center animate__animated fadeInUp animate__slow"><i class="mascotte"></i>{{ $encart_marqueHeader->title}}</h1>
|
||||
<div class="animate__animated fadeInDown animate__slow"><i class="mascotte"></i></div>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ $encart_marqueHeader->title}}</h1>
|
||||
</div>
|
||||
<h2 class="align-center">{{ $encart_marqueHeader->subtitle}}</h2>
|
||||
<span class="align-center">{!! $encart_marqueHeader->text !!}</span>
|
||||
|
|
|
|||
|
|
@ -26,16 +26,13 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<div class="container has-bckg--grey is-flex horizontal-center">
|
||||
<svg id="picto-localisation" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 34">
|
||||
<path class="cls-1" d="M13,34H12L0,16V9A17.57,17.57,0,0,1,9,0h7a17.86,17.86,0,0,1,9,9v7Zm-.32-15.79c3.8-.16,5.87-2.45,5.88-6s-2.46-5.7-6-6C9.31,6,6,9.41,6.39,12.6,6.86,16.09,8.82,18.3,12.68,18.21Z" />
|
||||
<path class="cls-2" d="M0,16,12,34H0Z" />
|
||||
<path class="cls-2" d="M13,34,25,16V34Z" />
|
||||
<path class="cls-2" d="M25,9a17.86,17.86,0,0,0-9-9h9Z" />
|
||||
<path class="cls-2" d="M9,0A17.57,17.57,0,0,0,0,9V0Z" />
|
||||
<path class="cls-2" d="M12.67,18.2c-3.85.1-5.81-2.11-6.28-5.6C6,9.41,9.31,6,12.56,6.25c3.54.31,6,2.4,6,6S16.48,18.05,12.67,18.2Z" />
|
||||
<div class="container contact-page has-bckg--grey is-flex horizontal-center">
|
||||
<svg id="picto-localisation" class="p-abs" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 171 236"><defs>
|
||||
<style>.cls-1{fill-rule:evenodd;}</style>
|
||||
</defs><path class="cls-1" d="M85,236C60,197,0,131,0,85A84.93,84.93,0,0,1,85,0c48,0,86,38,86,85C171,131,111,197,85,236ZM85,43c24,0,43,19,43,42a42.68,42.68,0,0,1-43,43c-23,0-42-19-42-43A42.25,42.25,0,0,1,85,43Z"/>
|
||||
</svg>
|
||||
<p> <strong>{{ __('Adresse') }}</strong><br /><br />
|
||||
<p>
|
||||
<strong>{{ __('Adresse') }}</strong><br /><br />
|
||||
DOUX FARMOR<br />
|
||||
450 Route de Rosporden<br />
|
||||
Le Grand Guelen<br />
|
||||
|
|
@ -48,7 +45,9 @@
|
|||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'home') }}" class="link">{{ __('Accueil') }}</a>
|
||||
</div>
|
||||
<h2 class="sectiontitle align-center animate__animated fadeInUp animate__slow">{!! __('Une question ? Une idée ? Un conseil ?<br>Des informations sur nos produits ?') !!}</h2>
|
||||
<div class="header-title sectiontitle align-center p-rel">
|
||||
<h2 class="punchline-module__title align-center animate__animated fadeInUp animate__slow">{!! __('Une question ? Une idée ? Un conseil ?<br>Des informations sur nos produits ?') !!}</h2>
|
||||
</div>
|
||||
<p class="align-center">{!! __('N’hésitez-pas à nous contacter en renseignant le formulaire ci-dessous.<br>Nous traiterons votre demande avec la plus grande attention dans les meilleurs délais.') !!}</p>
|
||||
{{-- IF MAIL IS SENT --}}
|
||||
@if(!is_null($status))
|
||||
|
|
@ -64,7 +63,7 @@
|
|||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
|
||||
<form action="{{route($routeprefixer . 'contact.submit')}}" method="post" class="form contact__form" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@if ($errors->any())
|
||||
|
|
@ -118,6 +117,14 @@
|
|||
<input type="mail" name="email" id="email" value="{{ old('email') }}" autocomplete="email" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="country">
|
||||
<select id="country" class="changeLength" name="country" required>
|
||||
<option value="" @if(!old('country')) selected @endif>{{ __('Sélectionnez un pays') }}</option>
|
||||
@foreach($availableCountries as $country)
|
||||
<option value="{{ $country->value }}" @if(old('country') == $country->value) selected @endif>{{ __($country->label) }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{ __('Préciser votre demande') }} :</legend>
|
||||
|
|
@ -171,13 +178,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<input type="file" name="file" id="file" @if ('topic'=="Réclamation" ) required @endif>
|
||||
<label for="file">
|
||||
@if ('topic'=="Réclamation" )
|
||||
{{ __("Photo de l'emballage") }}
|
||||
@else
|
||||
{{ __('Insérer une pièce jointe') }}
|
||||
@endif
|
||||
</label>
|
||||
<label for="file" id="lblFile"></label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<p class="is-small">{!! __('rgpd.contact.disclaimer', ['PRIVROUTE' => route($routeprefixer . 'policy')]) !!}</P>
|
||||
|
|
@ -202,6 +203,8 @@ function showReclaFields() {
|
|||
for(let elem of collection) {
|
||||
elem.style.display = 'flex';
|
||||
}
|
||||
document.getElementById('lblFile').innerHTML = 'Photo de l\'emballage*';
|
||||
document.getElementById('file').required = true;
|
||||
}
|
||||
|
||||
function hideReclaFields() {
|
||||
|
|
@ -210,6 +213,8 @@ function hideReclaFields() {
|
|||
for(let elem of collection) {
|
||||
elem.style.display = 'none';
|
||||
}
|
||||
document.getElementById('lblFile').innerHTML = 'Insérer une pièce jointe';
|
||||
document.getElementById('file').required = false;
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
<div class="blue">
|
||||
<section class="jumbotron">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Food service') }}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/entete_food.jpg') }}" alt="Cuisine de chef">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Doux Food Services') }}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/entete_food.jpg') }}" alt="Chef en cuisine qui est en train de montrer à son commis comment cuisiner les légumes">
|
||||
<div class="banner">
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1919.76 59.99">
|
||||
<defs>
|
||||
|
|
@ -30,7 +30,9 @@
|
|||
<section class="container">
|
||||
<div class="wrapper">
|
||||
<div class="header-title align-center p-rel">
|
||||
<h1 class="align-center animate__animated fadeInUp animate__slow blue-line"><i class="mascotte"></i>{{ $encart_food->title}}</h1>
|
||||
<div class="animate__animated fadeInDown animate__slow"><i class="mascotte"></i></div>
|
||||
<h1 class="animate__animated fadeInUp animate__slow blue-line">{{ $encart_food->title}}</h1>
|
||||
|
||||
</div>
|
||||
<h2 class="align-center">{{ $encart_food->subtitle}}</h2>
|
||||
<div class="is-flex">
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
@section('content')
|
||||
|
||||
<section class="jumbotron">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Nos gammes produits') }}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/entete_gammes.jpg') }}" alt="Nos gammes de produits">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Tous les produits Doux') }}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/entete_gammes.jpg') }}" alt="Montage avec des Fingers Doux sur un plateau en bois et des drumsticks goût poivre sur une planche apéro en bois. ">
|
||||
<div class="banner">
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1919.76 59.99">
|
||||
<defs>
|
||||
|
|
|
|||
|
|
@ -28,11 +28,12 @@
|
|||
|
||||
<section class="container">
|
||||
<div class="wrapper">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'gammes.index') }}" class="link">{{ __('Gammes') }}</a>
|
||||
</div>
|
||||
<div class="header-title align-center p-rel">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'gammes.index') }}" class="link">{{ __('Gammes') }}</a>
|
||||
</div>
|
||||
<h1 class="align-center animate__animated fadeInUp animate__slow"><i class="mascotte"></i>{{ $gamme->title }}</h1>
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ $gamme->title }}</h1>
|
||||
</div>
|
||||
<p class="align-center">{{ $gamme->text }}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,9 +38,9 @@
|
|||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="page-subtitle header-title align-center has-label">
|
||||
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<div class="animate__animated fadeInUp animate__slow">
|
||||
<i class="mascotte"></i><span>{{ $encart_home->title}}</span>
|
||||
<span>{{ $encart_home->title}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="align-center smrt-mb-200">
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
<h3 class="h2 align-center">{{ $post_home->title}}</h3>
|
||||
<p class="align-justify">{!! clean(nl2br($post_home->text)) !!}</p>
|
||||
<p class="align-center">
|
||||
<a href="{{ route($routeprefixer . 'news') }}" title="" class="cta">En savoir plus</a>
|
||||
<a href="{{ route($routeprefixer . 'news') }}" title="" class="cta">{{ __('En savoir plus')}}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@
|
|||
|
||||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'home') }}" class="link">{{ __('Accueil')}}</a>
|
||||
</div>
|
||||
<div class="header-title align-center p-rel">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'home') }}" class="link">{{ __('Accueil')}}</a>
|
||||
</div>
|
||||
|
||||
<h1 class="animate__animated fadeInUp animate__slow"><i class="mascotte"></i>{{ $mentions_legales->title }}</h1>
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ $mentions_legales->title }}</h1>
|
||||
</div>
|
||||
{!! $mentions_legales->text !!}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
@section('content')
|
||||
|
||||
<div class="jumbotron">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">+ d'info ?</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/news.jpg') }}" alt="Actualités du site">
|
||||
<p class="maintitle ttu animate__animated fadeIn animate__slow">{{ __('Les actualités Doux')}}</p>
|
||||
<img class="img-zoom" src="{{ asset('assets/images/news.jpg') }}" alt="Aiguillettes de poulet enrobées d'une chapelure cornflakes Doux sur une planche apéro en bois">
|
||||
<div class="banner">
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1919.76 59.99">
|
||||
<defs>
|
||||
|
|
@ -29,7 +29,8 @@
|
|||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="header-title align-center p-rel">
|
||||
<h1 class="align-center animate__animated fadeInDown animate__slow"><i class="mascotte"></i>Nos conseils ...</h1>
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ __('Nos conseils ...')}}</h1>
|
||||
</div>
|
||||
<div class="is-flex desk-mt50">
|
||||
<div class="w100 has-chicken-path animate__animated fadeInLeft animate__slow">
|
||||
|
|
@ -60,8 +61,7 @@
|
|||
<div class="is-flex">
|
||||
<div class="w50 bckg-illustration p-rel">
|
||||
<p class="font-size-medium bold">
|
||||
<span class="color-red">les questions</span>
|
||||
<br><span class="color-blue">utiles</span>
|
||||
{!! __('<span class="color-red">les questions</span><br><span class="color-blue">utiles</span>') !!}
|
||||
</p>
|
||||
</div>
|
||||
<div class="w50 align-center reduice-img">
|
||||
|
|
@ -100,21 +100,23 @@
|
|||
|
||||
<div class="wrapper align-center">
|
||||
<div class="header-title sectiontitle align-center p-rel">
|
||||
<h2 class="align-center punchline-module__title animate__animated fadeInUp animate__slow">Nos nouveautés</h2>
|
||||
<h2 class="align-center punchline-module__title animate__animated fadeInUp animate__slow">{{ __('Nos nouveautés')}}</h2>
|
||||
</div>
|
||||
<p class="h2">Nous travaillons toujours pour améliorer nos recettes et proposer des produits de meilleure qualité</p>
|
||||
<p class="h2">{{ __('Nous travaillons toujours pour améliorer nos recettes et proposer des produits de meilleure qualité')}}</p>
|
||||
|
||||
@if (isset($products_home))
|
||||
<div id="carrousel2">
|
||||
@foreach ($products_home as $product)
|
||||
<div class="item is-flex">
|
||||
<div class="item__image"><img src="{{ asset('assets/images/big-doux.jpg') }}" alt="photo"></div>
|
||||
</div>
|
||||
<div class="item is-flex">
|
||||
<div class="item__image"><img src="{{ asset('assets/images/big-doux.jpg') }}" alt="photo"></div>
|
||||
</div>
|
||||
<div class="item is-flex">
|
||||
<div class="item__image"><img src="{{ asset('assets/images/big-doux.jpg') }}" alt="photo"></div>
|
||||
<div class="item__image">
|
||||
<a href="{{ route($routeprefixer . 'product.show', ['gammeSlug' => $product->gamme->slug , 'productSlug' => $product->slug]) }}">
|
||||
<img src="{{ asset($product->picture) }}" alt="{{ $product->alt_text_picture}}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@
|
|||
|
||||
<div class="container">
|
||||
<div class="wrapper">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'home') }}" class="link">{{ __('Accueil')}}</a>
|
||||
</div>
|
||||
<div class="header-title align-center p-rel">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'home') }}" class="link">{{ __('Accueil')}}</a>
|
||||
</div>
|
||||
|
||||
<h1 class="animate__animated fadeInUp animate__slow"><i class="mascotte"></i>{{ $privacy_policy->title }}</h1>
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ $privacy_policy->title }}</h1>
|
||||
</div>
|
||||
{!! $privacy_policy->text !!}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@
|
|||
|
||||
<section class="container product">
|
||||
<div class="wrapper">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'gammes.index') }}" class="link">{{ __('Gammes') }}</a> - <a href="{{ route($routeprefixer . 'gammes.show', ['gammeSlug' => $gamme->slug]) }}" class="link">{{ $gamme->title}}</a>
|
||||
</div>
|
||||
<div class="header-title align-center p-rel">
|
||||
<div class="breadcrumb is-flex">
|
||||
<a href="{{ route($routeprefixer . 'gammes.index') }}" class="link">{{ __('Gammes') }}</a> - <a href="{{ route($routeprefixer . 'gammes.show', ['gammeSlug' => $gamme->slug]) }}" class="link">{{ $gamme->title}}</a>
|
||||
</div>
|
||||
|
||||
<h1 class="animate__animated fadeInUp animate__slow"><i class="mascotte"></i>{{ $product->name}}</h1>
|
||||
<i class="animate__animated fadeInDown animate__slow mascotte"></i>
|
||||
<h1 class="animate__animated fadeInUp animate__slow">{{ $product->name}}</h1>
|
||||
</div>
|
||||
<div class="is-flex mt-5">
|
||||
<div class="w50 align-center">
|
||||
|
|
@ -61,19 +61,20 @@
|
|||
@endphp
|
||||
@if (isset($plusproduit))
|
||||
<span class="best p-rel animate__animated fadeInRight animate__slow">
|
||||
{!! __('<span>les +</span>
|
||||
<span>Produit</span>') !!}
|
||||
{!! __('<span>les +</span><span>Produit</span>') !!}
|
||||
</span>
|
||||
<ul class="more is-flex flex-col">
|
||||
@foreach ($plusproduit as $plus)
|
||||
<li class="is-flex animate__animated fadeInRight animate__slow">
|
||||
<p>{{ $plus->name }}</p>
|
||||
@if ($plus->url != '')
|
||||
<span class="label">
|
||||
<img src="{{$plus->url}}" alt="{{$plus->name}}">
|
||||
</span>
|
||||
@endif
|
||||
</li>
|
||||
@if (isset($plus->name))
|
||||
<li class="is-flex animate__animated fadeInRight animate__slow">
|
||||
<p>{{ $plus->name }}</p>
|
||||
@if ($plus->url != '')
|
||||
<span class="label">
|
||||
<img src="{{$plus->url}}" alt="{{$plus->name}}">
|
||||
</span>
|
||||
@endif
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
<footer>
|
||||
<div class="footer-widgets is-flex p-rel">
|
||||
<div class="footer-widgets__content wrapper is-flex p-abs @if (Route::current()->getName() == 'food') white-color @endif">
|
||||
<svg id="picto-localisation" class="p-abs" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 34">
|
||||
<path class="cls-1" d="M13,34H12L0,16V9A17.57,17.57,0,0,1,9,0h7a17.86,17.86,0,0,1,9,9v7Zm-.32-15.79c3.8-.16,5.87-2.45,5.88-6s-2.46-5.7-6-6C9.31,6,6,9.41,6.39,12.6,6.86,16.09,8.82,18.3,12.68,18.21Z" />
|
||||
<path class="cls-2" d="M0,16,12,34H0Z" />
|
||||
<path class="cls-2" d="M13,34,25,16V34Z" />
|
||||
<path class="cls-2" d="M25,9a17.86,17.86,0,0,0-9-9h9Z" />
|
||||
<path class="cls-2" d="M9,0A17.57,17.57,0,0,0,0,9V0Z" />
|
||||
<path class="cls-2" d="M12.67,18.2c-3.85.1-5.81-2.11-6.28-5.6C6,9.41,9.31,6,12.56,6.25c3.54.31,6,2.4,6,6S16.48,18.05,12.67,18.2Z" />
|
||||
<svg id="picto-localisation" class="p-abs" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 171 236"><defs>
|
||||
<style>.cls-1{fill-rule:evenodd;}</style>
|
||||
</defs><path class="cls-1" d="M85,236C60,197,0,131,0,85A84.93,84.93,0,0,1,85,0c48,0,86,38,86,85C171,131,111,197,85,236ZM85,43c24,0,43,19,43,42a42.68,42.68,0,0,1-43,43c-23,0-42-19-42-43A42.25,42.25,0,0,1,85,43Z"/>
|
||||
</svg>
|
||||
<p>
|
||||
DOUX FARMOR<br />
|
||||
|
|
|
|||
|
|
@ -116,20 +116,21 @@
|
|||
<li class="@if(App::getLocale() == 'en') current @endif"><a href="{{ $currentUrlEN }}">en</a></li>
|
||||
<li class="@if(App::getLocale() == 'es') current @endif"><a href="{{ $currentUrlES }}">es</a></li>
|
||||
</ul>
|
||||
<form class="form search-form" method="GET" action="{{ route($routeprefixer . 'search') }}">
|
||||
<input class="search-form__input" type="search"
|
||||
placeholder="{{ __("Recherchez un produit") }}"
|
||||
id="search_filter" name="filter"
|
||||
value="{{ $filter ?? ''}}">
|
||||
</form>
|
||||
<div class="search-bloc search-form">
|
||||
<form class="form" method="GET" action="{{ route($routeprefixer . 'search') }}">
|
||||
<label for="filter">{{ __("Recherchez un produit") }}</label>
|
||||
<input class="search-form__input" type="search" id="search_filter" name="filter" value="{{ $filter ?? ''}}">
|
||||
</form>
|
||||
</div>
|
||||
<button id="search">
|
||||
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28">
|
||||
{{-- <svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28">
|
||||
<path class="cls-1" d="M13.06,0h7a17.46,17.46,0,0,1,8,8v7c-5.38,8.15-9,9.37-18.37,5.94l-6.52,7c-2.49.5-3.48-.5-3-3l7-6.52C3.7,9,4.92,5.38,13.06,0ZM16.6,3.74a7.41,7.41,0,0,0-7.54,7.41,7.49,7.49,0,0,0,7.67,7.79,7.4,7.4,0,0,0,7.52-7.43A7.31,7.31,0,0,0,16.6,3.74Z" />
|
||||
<path class="cls-2" d="M13.06,0C4.92,5.38,3.7,9,7.12,18.37l-7,6.52V0Z" />
|
||||
<path class="cls-2" d="M3.11,27.87l6.52-7C19,24.3,22.62,23.08,28,14.93V27.87Z" />
|
||||
<path class="cls-2" d="M28,8a17.46,17.46,0,0,0-8-8h8Z" />
|
||||
<path class="cls-2" d="M16.6,3.74a7.31,7.31,0,0,1,7.65,7.77,7.4,7.4,0,0,1-7.52,7.43,7.49,7.49,0,0,1-7.67-7.79A7.41,7.41,0,0,1,16.6,3.74Z" />
|
||||
</svg>
|
||||
</svg> --}}
|
||||
<img src="{{ asset('assets/images/loupe.png') }}" alt="Loupe de recherche">
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -140,7 +141,7 @@
|
|||
var loupe = document.querySelector("button#search");
|
||||
|
||||
loupe.addEventListener("click", function () {
|
||||
document.querySelector("form.search-form").classList.toggle('is-visible');
|
||||
document.querySelector("div.search-form").classList.toggle('is-visible');
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
|
|
|||