Merge branch 'develop' into trunk
|
|
@ -31,10 +31,10 @@ enum CookingModeEnum: int
|
|||
* @return array
|
||||
*/
|
||||
private const STICKERS = [
|
||||
self::withoutCooking->name => 'build/assets/images/cook/logo-stove.svg',
|
||||
self::oven->name => 'build/assets/images/cook/logo-stove.svg',
|
||||
self::stove->name => 'build/assets/images/cook/logo-stove.svg',
|
||||
self::stewpan->name => 'build/assets/images/cook/logo-stove.svg',
|
||||
self::withoutCooking->name => 'resources/assets/images/cook/logo-stove.svg',
|
||||
self::oven->name => 'resources/assets/images/cook/logo-stove.svg',
|
||||
self::stove->name => 'resources/assets/images/cook/logo-stove.svg',
|
||||
self::stewpan->name => 'resources/assets/images/cook/logo-stove.svg',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@ class SecureHeaders
|
|||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"script-src 'self' {$jsDev} " . \implode(' ', [
|
||||
'https: blob:',
|
||||
'https://unpkg.com',
|
||||
'https://www.googletagmanager.com',
|
||||
'https://cdnjs.cloudflare.com',
|
||||
"$scheme://www.google-analytics.com",
|
||||
]) . ';'
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class StoreCertificationRequest extends FormRequest
|
|||
];
|
||||
return \array_merge(
|
||||
$rules,
|
||||
$this->pictureRules('sticker', true, 150, 150, 150, 150),
|
||||
$this->pictureRules('sticker', 150, 150, 150, 150, true),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,8 +80,8 @@ class StoreProductRequest extends FormRequest
|
|||
];
|
||||
return \array_merge(
|
||||
$rules,
|
||||
$this->pictureRules('picture', true, 650, 610, 650, 610),
|
||||
$this->pictureRules('sticker', true, 360, 300, 360, 300),
|
||||
$this->pictureRules('picture', 650, 610, 650, 610, true),
|
||||
$this->pictureRules('sticker', 360, 300, 360, 300, true),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -58,9 +58,9 @@ class UpdateRangeRequest extends FormRequest
|
|||
];
|
||||
return \array_merge(
|
||||
$rules,
|
||||
$this->pictureRules('banner', true, 1600, 312, 1600, 312),
|
||||
$this->pictureRules('picture', true, 650, 415, 650, 415),
|
||||
$this->pictureRules('sticker', true, 340, 270, 340, 270),
|
||||
$this->pictureRules('banner', 1600, 312, 1600, 312, true),
|
||||
$this->pictureRules('picture', 650, 415, 650, 415, true),
|
||||
$this->pictureRules('sticker', 340, 270, 340, 270, true),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,8 +122,8 @@ class StoreRecipeRequest extends FormRequest
|
|||
|
||||
return \array_merge(
|
||||
$rules,
|
||||
$this->pictureRules('picture', true, 650, 488, 650, 488),
|
||||
$this->pictureRules('sticker', true, 428, 273, 428, 273),
|
||||
$this->pictureRules('picture', 650, 488, 650, 488, true),
|
||||
$this->pictureRules('sticker', 428, 273, 428, 273, true),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
resources/assets/favicon/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
resources/assets/favicon/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
resources/assets/favicon/apple-touch-icon-bo.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
resources/assets/favicon/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
9
resources/assets/favicon/browserconfig.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<TileColor>#da532c</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
BIN
resources/assets/favicon/favicon-16x16-bo.png
Normal file
|
After Width: | Height: | Size: 669 B |
BIN
resources/assets/favicon/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
resources/assets/favicon/favicon-32x32-bo.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
resources/assets/favicon/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
resources/assets/favicon/favicon-bo-16x16.png
Normal file
|
After Width: | Height: | Size: 691 B |
BIN
resources/assets/favicon/favicon-bo-32x32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
resources/assets/favicon/favicon-bo.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
resources/assets/favicon/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
resources/assets/favicon/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
187
resources/assets/favicon/safari-pinned-tab.svg
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="621.000000pt" height="621.000000pt" viewBox="0 0 621.000000 621.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,621.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M375 6180 c-126 -3 -238 -9 -247 -14 -10 -4 -33 -29 -52 -55 l-35
|
||||
-47 -3 -2149 c-2 -1183 -1 -2517 2 -2966 5 -799 5 -817 25 -839 11 -13 40 -36
|
||||
64 -52 l45 -28 2940 0 2940 0 43 21 c29 14 52 35 68 63 l25 43 0 2919 c-1
|
||||
1605 -5 2939 -9 2963 -11 55 -37 89 -87 115 -21 11 -40 24 -42 28 -4 9 -5301
|
||||
7 -5677 -2z m5447 -366 c11 -7 9 -5386 -2 -5404 -8 -13 -318 -15 -2672 -18
|
||||
-1465 -2 -2681 1 -2703 5 l-40 9 0 2704 0 2705 2435 5 c2310 5 2966 4 2982 -6z"/>
|
||||
<path d="M4185 5150 c3 -5 13 -10 21 -10 8 0 13 -4 10 -8 -3 -5 3 -8 12 -8 9
|
||||
1 18 -3 20 -9 4 -13 -54 -25 -65 -14 -13 13 -61 -13 -67 -36 -3 -10 0 -23 7
|
||||
-28 7 -5 2 -6 -12 -2 -16 5 -21 4 -17 -4 4 -6 2 -11 -3 -11 -6 0 -11 -7 -11
|
||||
-15 0 -21 16 -19 41 6 20 20 39 22 42 4 1 -12 -84 -78 -91 -70 -13 12 -34 -41
|
||||
-62 -158 -16 -68 -30 -127 -30 -130 0 -2 9 -7 20 -10 23 -6 37 -34 23 -48 -15
|
||||
-15 -43 1 -44 25 0 20 -1 20 -9 1 -11 -26 -12 -48 -2 -41 4 2 6 -24 4 -59 -2
|
||||
-36 -1 -72 2 -81 5 -14 10 -13 31 10 13 14 28 33 33 42 12 22 35 8 29 -17 -3
|
||||
-12 -1 -17 5 -13 6 4 9 1 6 -7 -3 -8 -17 -14 -31 -14 -14 1 -25 -2 -24 -5 4
|
||||
-20 -17 -50 -36 -50 -21 0 -22 -3 -18 -81 2 -62 0 -80 -9 -74 -6 4 -10 18 -7
|
||||
31 2 13 1 24 -3 24 -3 0 -6 9 -6 21 1 15 -9 24 -34 34 -19 7 -69 27 -110 45
|
||||
-269 113 -518 162 -830 163 -338 1 -598 -52 -840 -173 -498 -249 -802 -698
|
||||
-891 -1315 -31 -217 -31 -594 0 -780 12 -71 23 -143 24 -160 1 -16 6 -36 10
|
||||
-43 5 -7 10 -22 13 -35 7 -40 13 -61 38 -137 14 -41 30 -83 36 -92 5 -10 10
|
||||
-23 10 -30 0 -6 23 -57 51 -112 249 -492 658 -780 1224 -862 150 -22 457 -30
|
||||
545 -15 36 6 115 20 175 30 121 21 233 47 249 60 6 4 31 13 56 20 82 24 225
|
||||
89 347 159 73 42 82 50 87 82 8 48 6 431 -2 452 -6 15 -12 12 -42 -19 -85 -88
|
||||
-335 -229 -512 -288 -205 -68 -285 -79 -558 -80 -199 0 -261 3 -330 18 -248
|
||||
53 -451 162 -602 326 -80 87 -124 151 -179 262 -22 46 -45 92 -50 102 -5 10
|
||||
-7 22 -4 27 3 4 2 10 -2 12 -16 7 -55 148 -80 288 -21 117 -27 187 -30 365 -3
|
||||
125 0 259 6 310 16 136 51 319 62 326 5 3 7 13 4 21 -4 9 -2 19 4 22 6 4 8 13
|
||||
5 20 -3 8 -1 17 5 21 6 3 11 12 11 20 0 8 5 26 12 42 6 15 12 30 13 33 8 31
|
||||
83 173 122 231 59 86 216 242 297 294 133 85 274 136 457 166 116 18 160 21
|
||||
329 16 293 -7 461 -50 737 -186 57 -28 107 -51 113 -51 5 0 10 -8 10 -17 0
|
||||
-15 2 -16 10 -3 6 10 10 11 10 3 0 -7 18 -22 40 -33 22 -11 40 -25 40 -31 0
|
||||
-6 5 -7 10 -4 6 4 10 -9 10 -33 0 -22 3 -54 6 -71 l7 -31 -47 0 c-34 0 -51 -5
|
||||
-63 -20 -19 -22 -43 -26 -60 -9 -6 6 -37 16 -69 24 -33 7 -87 20 -121 28 -35
|
||||
8 -63 11 -63 7 0 -29 -76 -13 -82 16 -2 12 -20 21 -58 30 -50 12 -56 11 -70
|
||||
-5 -21 -26 -60 -33 -67 -14 -3 9 -1 24 5 34 9 14 8 18 -6 18 -9 1 -34 4 -54 7
|
||||
-31 5 -38 3 -38 -10 0 -23 -35 -20 -59 5 -17 19 -29 20 -123 18 -114 -3 -138
|
||||
-7 -116 -20 10 -7 10 -9 1 -9 -7 0 -14 -10 -14 -22 -1 -19 -3 -17 -9 7 -6 25
|
||||
-8 26 -9 7 0 -13 -5 -21 -10 -18 -5 4 -12 0 -15 -6 -3 -7 -2 1 1 17 6 27 5 29
|
||||
-11 16 -14 -12 -16 -12 -10 3 3 9 1 16 -5 16 -6 0 -11 -5 -11 -11 0 -5 -4 -8
|
||||
-9 -5 -5 3 -12 -1 -15 -10 -8 -21 -8 -26 2 -21 4 3 7 -8 7 -24 0 -39 -11 -37
|
||||
-19 4 -6 29 -8 30 -18 13 -8 -15 -8 -21 0 -24 7 -2 12 -22 12 -43 0 -24 4 -38
|
||||
10 -34 6 3 10 -1 10 -9 0 -9 4 -16 9 -16 5 0 17 -7 25 -16 15 -14 16 -13 18
|
||||
13 0 15 1 33 1 40 0 6 6 9 14 6 10 -4 11 -9 4 -16 -16 -16 -14 -62 3 -76 18
|
||||
-15 56 -22 56 -11 0 5 -4 11 -9 14 -10 7 -3 44 12 64 17 22 38 -5 27 -34 -14
|
||||
-37 -22 -92 -11 -75 6 9 11 10 15 2 10 -15 22 -14 40 5 9 8 16 11 16 5 0 -5
|
||||
-5 -13 -10 -16 -8 -5 -7 -11 1 -21 6 -7 15 -11 20 -9 4 3 16 1 26 -4 38 -20
|
||||
105 -41 114 -36 5 4 9 14 9 24 0 9 6 26 14 37 14 17 16 18 31 3 15 -15 15 -18
|
||||
-9 -36 -18 -14 -23 -26 -19 -42 7 -26 48 -29 62 -3 10 16 10 16 11 0 0 -10 5
|
||||
-18 11 -18 8 0 8 -4 0 -14 -10 -12 3 -22 71 -56 46 -23 90 -48 98 -55 8 -6 41
|
||||
-26 73 -44 31 -18 57 -35 57 -37 0 -3 -6 -2 -12 1 -7 4 -4 -1 6 -9 14 -11 22
|
||||
-13 27 -5 3 6 9 0 13 -15 6 -26 19 -31 64 -27 12 1 22 -3 22 -9 0 -5 7 -10 15
|
||||
-10 8 0 15 5 15 10 0 16 40 11 47 -6 3 -9 -5 -26 -20 -42 -31 -32 -24 -62 9
|
||||
-37 25 19 31 19 44 -4 11 -22 2 -84 -11 -75 -5 3 -9 0 -9 -6 0 -7 -6 -10 -14
|
||||
-7 -9 4 -16 -4 -21 -21 -3 -15 -8 -34 -11 -43 -5 -19 63 -95 83 -91 8 2 12 -1
|
||||
9 -7 -11 -17 12 -51 29 -45 8 4 15 1 15 -6 0 -6 5 -8 10 -5 6 4 8 10 5 15 -3
|
||||
4 4 10 15 13 11 3 20 14 20 24 0 25 8 33 26 26 8 -3 14 -16 14 -28 0 -13 5
|
||||
-27 10 -30 6 -3 10 1 10 10 0 30 29 -10 32 -44 3 -35 23 -48 37 -24 8 15 11
|
||||
15 26 3 14 -12 18 -12 25 0 5 8 6 18 4 22 -9 15 7 48 23 48 10 0 14 -6 10 -20
|
||||
-3 -11 -3 -20 -1 -20 7 0 49 25 54 32 3 4 12 3 20 -2 10 -7 11 -10 3 -10 -8 0
|
||||
-13 -13 -13 -34 0 -29 3 -33 23 -29 13 3 24 11 24 18 0 8 -4 12 -8 10 -4 -3
|
||||
-9 1 -12 9 -15 37 70 58 108 26 14 -11 19 -12 22 -2 3 8 30 12 88 12 101 0
|
||||
115 10 115 80 0 46 -13 99 -28 110 -8 6 -13 14 -100 170 -35 63 -77 131 -92
|
||||
151 -35 44 -28 57 14 26 17 -13 39 -26 49 -30 9 -3 17 -11 17 -17 0 -5 6 -10
|
||||
13 -10 7 0 31 -13 53 -29 70 -52 127 -45 105 12 -7 18 -6 30 5 45 9 13 11 23
|
||||
4 27 -5 3 -10 -1 -10 -9 0 -10 -6 -13 -17 -9 -30 10 -53 35 -53 56 0 20 1 19
|
||||
26 -4 l27 -24 -7 29 -7 29 53 -7 c169 -20 267 -19 254 2 -2 4 10 8 26 9 40 3
|
||||
129 46 106 51 -10 2 -18 8 -18 13 0 6 -7 6 -19 -1 -24 -13 -41 -13 -41 -1 0 6
|
||||
8 9 18 9 34 -2 106 31 102 46 -1 5 4 13 12 17 9 6 6 9 -10 9 -15 0 -22 5 -19
|
||||
13 2 6 16 11 31 9 20 -2 29 3 38 24 11 23 10 28 -7 40 -15 11 -16 14 -3 14 24
|
||||
0 31 51 8 57 -21 6 -16 33 6 33 9 0 14 11 14 29 0 24 -5 29 -30 33 -16 3 -30
|
||||
1 -30 -3 0 -3 -11 -9 -25 -11 -19 -4 -25 -1 -25 12 0 12 10 19 30 22 17 3 30
|
||||
1 30 -4 0 -4 7 -8 16 -8 8 0 12 5 9 10 -3 6 -2 10 4 10 5 0 9 9 8 20 -1 11 -4
|
||||
20 -8 20 -4 0 -5 9 -2 19 4 17 -2 21 -41 26 -25 4 -46 12 -46 17 0 6 -7 8 -15
|
||||
4 -8 -3 -15 0 -15 5 0 6 8 9 18 6 32 -9 37 -9 68 -8 28 1 31 4 28 27 -3 30
|
||||
-21 46 -44 39 -43 -12 -85 -9 -85 5 0 11 11 14 46 13 44 -2 45 -2 45 27 0 16
|
||||
-3 27 -8 24 -4 -3 -8 0 -8 6 0 8 -10 9 -29 5 -34 -7 -101 17 -101 37 0 10 2
|
||||
10 9 -1 5 -7 14 -10 20 -7 6 4 11 2 11 -4 0 -7 7 -10 15 -6 8 3 15 1 15 -4 0
|
||||
-13 11 -12 30 0 13 9 13 11 0 20 -10 6 -11 10 -3 10 7 0 -12 25 -43 56 -30 31
|
||||
-58 53 -62 50 -3 -4 0 -11 8 -16 11 -7 12 -10 2 -10 -7 0 0 -11 15 -25 28 -24
|
||||
28 -24 5 -25 -13 0 -21 4 -17 10 6 10 -51 44 -63 36 -4 -3 -14 -1 -21 4 -18
|
||||
10 -5 31 14 23 11 -4 13 -1 9 11 -5 13 -2 15 12 10 14 -5 16 -4 8 5 -6 6 -34
|
||||
14 -62 18 -45 5 -52 3 -52 -11 0 -9 11 -28 24 -41 19 -19 21 -26 11 -35 -9 -8
|
||||
-19 -1 -41 27 -18 24 -24 38 -16 41 23 7 12 22 -18 22 -23 0 -28 4 -23 16 4
|
||||
11 8 12 13 4 8 -13 20 46 20 98 0 42 -36 118 -90 190 -21 29 -25 31 -32 15 -4
|
||||
-11 -6 -4 -4 17 3 22 -2 43 -11 55 -15 19 -15 19 -9 1 5 -16 4 -17 -9 -6 -8 7
|
||||
-15 8 -15 2 0 -12 -34 -22 -48 -13 -6 4 3 13 20 20 20 9 26 16 18 21 -9 6 -9
|
||||
9 0 12 7 2 2 14 -14 31 -14 15 -23 27 -20 27 3 0 -2 7 -11 16 -9 9 -14 23 -11
|
||||
30 3 8 1 14 -4 14 -7 0 -19 23 -25 50 -1 3 -6 16 -12 30 -6 14 -16 44 -22 68
|
||||
-8 27 -16 40 -23 36 -7 -4 -8 -3 -4 5 4 6 1 18 -8 26 -11 11 -16 12 -19 2 -3
|
||||
-6 -4 2 -2 19 2 17 -1 37 -7 45 -7 11 -8 9 -3 -6 5 -16 2 -16 -18 5 -13 14
|
||||
-21 29 -19 34 3 5 0 6 -6 2 -6 -3 -25 2 -44 13 -35 20 -134 29 -123 11z m105
|
||||
-45 c0 -5 -5 -3 -10 5 -5 8 -10 20 -10 25 0 6 5 3 10 -5 5 -8 10 -19 10 -25z
|
||||
m-15 -65 c-4 -13 -12 -19 -21 -16 -7 3 -16 1 -19 -4 -7 -11 -55 -14 -55 -4 0
|
||||
3 5 14 10 25 11 20 50 27 50 9 0 -5 7 -10 15 -10 8 0 15 8 15 17 0 9 3 14 6
|
||||
10 3 -3 3 -15 -1 -27z m95 -10 c0 -19 -48 -60 -70 -60 -28 0 -26 33 3 53 25
|
||||
18 67 22 67 7z m87 -94 c0 -8 -6 -12 -12 -10 -6 3 -12 11 -12 18 0 8 6 12 12
|
||||
10 6 -3 12 -11 12 -18z m-48 6 c9 7 5 0 -8 -15 -26 -29 -51 -36 -51 -14 0 20
|
||||
22 39 34 27 6 -6 15 -5 25 2z m-14 -52 c-3 -5 0 -10 8 -10 8 0 20 -7 27 -15
|
||||
10 -12 10 -15 0 -15 -17 0 -61 36 -53 44 10 10 25 7 18 -4z m79 -56 c17 -7 10
|
||||
-34 -9 -34 -17 0 -28 17 -20 30 7 12 8 12 29 4z m-155 -43 c12 -24 -6 -79 -29
|
||||
-86 -10 -3 -18 -11 -16 -18 1 -7 1 -9 -1 -4 -3 4 -10 7 -16 7 -16 0 -47 31
|
||||
-47 47 0 7 16 29 35 48 35 36 58 38 74 6z m75 0 c4 -5 0 -12 -6 -14 -7 -3 -3
|
||||
-6 10 -6 12 -1 22 4 22 11 0 9 3 9 11 1 17 -17 1 -52 -28 -59 -29 -8 -44 9
|
||||
-38 41 2 11 4 23 4 28 1 10 19 9 25 -2z m116 -58 c0 -23 -17 -49 -26 -41 -9
|
||||
10 4 58 16 58 6 0 10 -8 10 -17z m-360 -13 c23 -23 24 -29 10 -64 -7 -19 -17
|
||||
-26 -35 -26 -14 0 -25 5 -25 11 0 5 -5 7 -12 3 -7 -5 -9 -2 -5 8 4 11 -2 18
|
||||
-18 22 -22 6 -41 33 -30 44 8 9 35 -20 29 -32 -3 -6 6 4 21 22 31 37 38 39 65
|
||||
12z m293 -46 c8 -9 -14 -54 -24 -48 -5 3 -9 0 -9 -7 0 -10 -3 -10 -11 -2 -8 8
|
||||
-6 18 6 37 17 26 27 31 38 20z m80 -40 c11 -11 -5 -34 -24 -34 -18 0 -26 20
|
||||
-12 33 8 9 28 9 36 1z m94 -66 c-3 -8 -6 -5 -6 6 -1 11 2 17 5 13 3 -3 4 -12
|
||||
1 -19z m-427 -16 c0 -10 -14 -31 -30 -47 -26 -25 -32 -27 -40 -15 -13 20 -12
|
||||
33 3 52 23 30 67 36 67 10z m106 -34 c4 13 14 22 26 22 17 0 19 -4 13 -27 -13
|
||||
-57 -115 -188 -128 -166 -2 4 -8 32 -12 61 -6 43 -3 61 11 88 10 19 22 34 26
|
||||
34 4 0 -1 -15 -12 -32 -32 -54 -22 -57 12 -5 31 48 32 48 44 25 l14 -23 6 23z
|
||||
m96 -163 c3 3 3 -6 0 -20 -2 -14 -13 -30 -23 -36 -11 -5 -19 -15 -19 -22 0 -7
|
||||
-20 -33 -45 -57 -53 -52 -65 -46 -65 31 0 37 5 52 26 73 29 29 49 34 40 11 -8
|
||||
-23 8 -18 34 10 16 17 27 22 35 15 7 -5 14 -7 17 -5z m-357 -191 c-18 -43 -35
|
||||
-36 -36 14 l-1 37 -8 -30 c-7 -26 -8 -24 -7 16 0 33 4 46 13 42 6 -2 16 1 20
|
||||
8 5 9 12 3 21 -19 11 -27 11 -38 -2 -68z m701 10 c13 -3 24 -10 24 -16 0 -5
|
||||
-5 -6 -10 -3 -6 4 -18 1 -26 -6 -12 -10 -18 -9 -32 4 -13 14 -14 17 -2 17 13
|
||||
0 13 2 0 11 -12 9 -12 10 3 5 11 -3 30 -9 43 -12z m164 -51 c0 -19 -20 -26
|
||||
-35 -13 -21 18 -18 25 10 25 14 0 25 -5 25 -12z m-657 -18 c-3 -9 -8 -14 -10
|
||||
-11 -3 3 -2 9 2 15 9 16 15 13 8 -4z m25 -42 c-8 -10 -6 -13 5 -13 10 0 17
|
||||
-11 19 -27 2 -16 6 -26 9 -23 4 3 16 -4 28 -14 21 -19 21 -19 42 0 22 19 22
|
||||
19 10 -1 -7 -11 -27 -45 -45 -75 -18 -30 -38 -54 -45 -52 -16 3 -41 -23 -41
|
||||
-43 0 -9 -4 -14 -9 -10 -5 3 -12 1 -16 -5 -3 -5 -12 -10 -20 -10 -22 0 -8 198
|
||||
16 229 11 13 19 31 19 40 0 25 22 44 31 29 4 -7 3 -18 -3 -25z m-188 -38 c0
|
||||
-19 -4 -36 -9 -40 -15 -8 -19 6 -14 47 6 46 23 40 23 -7z m69 -102 c-3 -96
|
||||
-13 -144 -33 -155 -9 -5 -16 -15 -16 -22 0 -8 -7 -19 -15 -26 -13 -11 -15 0
|
||||
-15 93 0 133 7 169 30 162 9 -3 23 1 30 10 7 8 14 15 17 15 2 0 3 -35 2 -77z
|
||||
m-142 -35 c-2 -13 -4 -5 -4 17 -1 22 1 32 4 23 2 -10 2 -28 0 -40z m-777 -166
|
||||
c27 -21 20 -42 -14 -42 -26 0 -51 18 -59 43 -9 24 43 23 73 -1z m1827 12 c-3
|
||||
-3 -12 -4 -19 -1 -8 3 -5 6 6 6 11 1 17 -2 13 -5z m-2127 -27 c0 -24 -19 -42
|
||||
-31 -30 -8 8 -8 16 1 32 11 22 30 20 30 -2z m1757 8 c0 -9 -9 -15 -21 -15 -21
|
||||
1 -21 1 -2 15 24 18 23 18 23 0z m-1317 -44 c8 -16 6 -21 -11 -26 -24 -8 -55
|
||||
16 -45 34 11 18 44 13 56 -8z m-151 -25 c5 -3 14 -19 19 -36 9 -25 8 -31 -8
|
||||
-40 -30 -16 -47 -12 -69 16 -25 32 -26 38 -6 58 14 14 43 15 64 2z m929 -49
|
||||
c33 -18 42 -44 18 -53 -19 -7 -105 56 -106 78 0 19 15 14 88 -25z m941 22 c-7
|
||||
-4 -21 -3 -31 2 -25 14 -23 16 13 11 21 -3 27 -7 18 -13z m-1284 1 c3 -6 -1
|
||||
-7 -9 -4 -18 7 -21 14 -7 14 6 0 13 -4 16 -10z m-354 -25 c19 -1 43 -6 53 -12
|
||||
15 -9 15 -11 -4 -28 -30 -28 -75 -28 -102 0 -30 32 -33 58 -5 49 12 -4 38 -8
|
||||
58 -9z m508 -1 c2 -2 -8 -4 -24 -4 -21 0 -25 -3 -17 -13 9 -10 -1 -12 -54 -6
|
||||
-79 8 -95 19 -28 19 35 0 45 3 34 10 -10 7 1 8 35 4 28 -4 52 -8 54 -10z
|
||||
m1056 -23 c0 -23 -23 -24 -35 -1 -10 19 -9 21 12 18 13 -2 23 -9 23 -17z
|
||||
m-1945 -32 c-12 -41 -24 -53 -14 -14 7 32 13 45 19 45 2 0 0 -14 -5 -31z m566
|
||||
13 c28 -19 24 -48 -14 -111 -1 -2 -13 2 -27 9 -20 11 -27 11 -40 0 -21 -18
|
||||
-31 -5 -11 15 9 9 16 24 16 33 0 42 46 75 76 54z m322 -39 c12 -3 22 -11 22
|
||||
-18 0 -17 -53 -72 -57 -59 -2 6 -17 9 -33 6 -24 -3 -32 1 -41 22 -9 19 -20 26
|
||||
-43 28 -17 0 -37 2 -45 2 -22 2 -25 24 -4 30 20 5 165 -2 201 -11z m-818 -13
|
||||
c0 -5 -2 -10 -4 -10 -3 0 -8 5 -11 10 -3 6 -1 10 4 10 6 0 11 -4 11 -10z
|
||||
m1832 -14 c7 4 8 2 4 -5 -4 -6 -12 -9 -17 -6 -5 4 -9 -4 -9 -16 0 -12 -3 -20
|
||||
-6 -16 -4 3 -3 19 1 34 4 15 10 22 12 15 3 -6 10 -9 15 -6z m-1615 -30 c-8
|
||||
-19 -37 -21 -37 -3 0 7 5 18 12 25 15 15 33 -1 25 -22z m76 -77 c-5 -19 -33
|
||||
-27 -33 -9 0 6 5 10 10 10 6 0 10 10 10 23 0 16 3 18 9 8 5 -7 6 -22 4 -32z
|
||||
m102 -39 c-3 -5 -14 -10 -23 -10 -15 0 -15 2 -2 10 20 13 33 13 25 0z m312
|
||||
-85 c0 -8 -4 -12 -9 -9 -5 3 -6 10 -3 15 9 13 12 11 12 -6z m503 -166 c0 -6
|
||||
-4 -7 -10 -4 -5 3 -10 11 -10 16 0 6 5 7 10 4 6 -3 10 -11 10 -16z m-433 -61
|
||||
c-3 -8 -6 -5 -6 6 -1 11 2 17 5 13 3 -3 4 -12 1 -19z m3 -28 c0 -5 -2 -10 -4
|
||||
-10 -3 0 -8 5 -11 10 -3 6 -1 10 4 10 6 0 11 -4 11 -10z m-42 -18 c2 -7 -2
|
||||
-10 -12 -6 -9 3 -16 11 -16 16 0 13 23 5 28 -10z m139 -14 c-3 -8 -6 -5 -6 6
|
||||
-1 11 2 17 5 13 3 -3 4 -12 1 -19z m-47 -91 c0 -5 -4 -5 -10 -2 -5 3 -10 14
|
||||
-10 23 0 15 2 15 10 2 5 -8 10 -19 10 -23z m281 6 c13 -16 12 -17 -3 -4 -10 7
|
||||
-18 15 -18 17 0 8 8 3 21 -13z m196 -15 c-3 -8 -6 -5 -6 6 -1 11 2 17 5 13 3
|
||||
-3 4 -12 1 -19z m50 -14 c-3 -3 -12 -4 -19 -1 -8 3 -5 6 6 6 11 1 17 -2 13 -5z
|
||||
m-122 -24 c3 -5 1 -10 -4 -10 -6 0 -11 5 -11 10 0 6 2 10 4 10 3 0 8 -4 11
|
||||
-10z m-245 -36 c0 -8 -4 -12 -10 -9 -5 3 -10 13 -10 21 0 8 5 12 10 9 6 -3 10
|
||||
-13 10 -21z"/>
|
||||
<path d="M2911 3704 c0 -11 3 -14 6 -6 3 7 2 16 -1 19 -3 4 -6 -2 -5 -13z"/>
|
||||
<path d="M3630 3139 c0 -5 5 -7 10 -4 6 3 10 8 10 11 0 2 -4 4 -10 4 -5 0 -10
|
||||
-5 -10 -11z"/>
|
||||
<path d="M3580 3129 c0 -5 5 -7 10 -4 6 3 10 8 10 11 0 2 -4 4 -10 4 -5 0 -10
|
||||
-5 -10 -11z"/>
|
||||
<path d="M4023 2723 c-1 -33 1 -35 9 -17 6 14 7 28 1 38 -7 12 -9 7 -10 -21z"/>
|
||||
<path d="M4280 2693 c0 -5 5 -15 10 -23 8 -12 10 -11 10 8 0 12 -4 22 -10 22
|
||||
-5 0 -10 -3 -10 -7z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
19
resources/assets/favicon/site.webmanifest
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<title>{{ config('app.name') }} - @yield('title')</title>
|
||||
<title>@yield('title') - {{ config('app.name') }}</title>
|
||||
<meta name="description" content="@yield('description')">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
|
@ -23,11 +23,12 @@
|
|||
|
||||
<!-- Favicon -->
|
||||
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="">
|
||||
<link rel="manifest" href="">
|
||||
<link rel="mask-icon" href="" color="#5bbad5">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon-bo.png') }}">
|
||||
<link rel="icon" href="{{ asset('favicon-bo.ico') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-bo-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-bo-16x16.png') }}">
|
||||
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
|
||||
<link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
|
|
|
|||
|
|
@ -39,13 +39,13 @@
|
|||
{{ __('59189 Steenbecque') }}<br>
|
||||
</address>
|
||||
|
||||
<a href="tel:0328436055" title="renseigner le titre du lien" class="fw-bold">{{ __('03 28 43 60 55') }}</a>
|
||||
<a href="tel:0328436055" title="{{ __('Contact téléphonique') }}" class="fw-bold">{{ __('03 28 43 60 55') }}</a>
|
||||
|
||||
<div class="socials d-md-flex align-items-center my-2">
|
||||
<p class="small grey">{{ __('Suivez-nous sur les réseaux sociaux') }}</p>
|
||||
<ul class="socials-list ms-3 pe-3">
|
||||
<li class="social-item">
|
||||
<a href="https://www.facebook.com/people/Lionor/100063507206404/" title="renseigner le titre du lien">
|
||||
<a href="https://www.facebook.com/people/Lionor/100063507206404/" title="{{ __('Page Facebook de lionor') }}">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Facebook.svg') }}" alt="Le F de Facebook surmonté dune crète de poulet">
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -54,10 +54,10 @@
|
|||
|
||||
<ul class="small">
|
||||
<li>
|
||||
<a href="{{ route('contact.show') }}" title="renseigner le titre du lien">{{ __('Nous contacter') }}</a>
|
||||
<a href="{{ route('contact.show') }}" title="{{ __('Page de contact') }}">{{ __('Nous contacter') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('contact.show') }}" title="renseigner le titre du lien">{{ __('Service consommateurs') }}</a>
|
||||
<a href="{{ route('contact.show') }}" title="{{ __('Page de contact service consommateurs') }}">{{ __('Service consommateurs') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,26 +7,30 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="{{ config('app.name') }} - @yield('title')" />
|
||||
<meta property="og:title" content="@yield('title') - {{ config('app.name') }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ config('app.url') }}" />
|
||||
<meta property="og:site_name" content="{{ config('app.name') }}" />
|
||||
<meta property="og:image" content="" />
|
||||
@hasSection('ogPicture')
|
||||
<meta property="og:image" content="@yield('ogPicture')" />
|
||||
@else
|
||||
<meta property="og:image" content="{{ Vite::asset('resources/assets/images/opengraph-website.png') }}" />
|
||||
@endif
|
||||
<meta property="og:description" content="@yield('description')" />
|
||||
|
||||
<!-- Favicon -->
|
||||
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="">
|
||||
<link rel="icon" href="">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="">
|
||||
<link rel="manifest" href="">
|
||||
<link rel="mask-icon" href="" color="#5bbad5">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
|
||||
<link rel="icon" href="{{ asset('favicon.ico') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}">
|
||||
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
|
||||
<link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<!-- Others -->
|
||||
<title>{{ config('app.name') }} - @yield('title')</title>
|
||||
<title>@yield('title') - {{ config('app.name') }}</title>
|
||||
@if(config('app.debug'))
|
||||
<script nonce="{{ $nonce }}">window.vueDebug = true;</script>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -2,17 +2,17 @@
|
|||
<!-- TOPBAR -->
|
||||
<div class="container d-flex justify-content-center topbar small">
|
||||
<p><span class="fst-italic">{{ __('Besoin d\'une information ?') }}</span>
|
||||
<a href="{{ route('contact.show') }}" title="renseigner le titre du lien" class="fw-bold text-decoration-underline">{{ __('Nous contacter') }}</a>
|
||||
<a href="{{ route('contact.show') }}" title="{{ __('Page de contact') }}" class="fw-bold text-decoration-underline">{{ __('Nous contacter') }}</a>
|
||||
<span>|</span>
|
||||
<span class="fst-italic">{{ __('Une remarque, une suggestion ?') }}</span>
|
||||
<a href="{{ route('contact.show') }}" title="renseigner le titre du lien" class="fw-bold text-decoration-underline">{{ __('Service consommateurs') }}</a>
|
||||
<a href="{{ route('contact.show') }}" title="{{ __('Page de contact service consommateurs') }}" class="fw-bold text-decoration-underline">{{ __('Service consommateurs') }}</a>
|
||||
<span>|</span>
|
||||
</p>
|
||||
<!-- SOCIAL -->
|
||||
<div class="socials">
|
||||
<ul class="socials-list ms-3">
|
||||
<li class="social-item">
|
||||
<a href="https://www.facebook.com/people/Lionor/100063507206404/" title="renseigner le titre du lien">
|
||||
<a href="https://www.facebook.com/people/Lionor/100063507206404/" title="{{ __('Page Facebook de Lionor') }}">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Facebook.svg') }}" alt="Le F de Facebook surmonté dune crète de poulet">
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
<!-- NAVBAR -->
|
||||
<nav class="navbar navbar-expand-lg">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{{ route('home') }}" title="renseigner le titre du lien">
|
||||
<a class="navbar-brand" href="{{ route('home') }}" title="{{ __('Page d\'accueil') }}">
|
||||
<img src="{{ Vite::asset('resources/assets/images/logo.png') }}" alt="Logo de la société Lionor" class="branding img-fluid">
|
||||
</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<h2 class="fw-bold text-uppercase">{{ __('Des produits de qualité bons et accessibles') }}</h2>
|
||||
<h3 class="text-uppercase">{{ __('Garantis 100% Hauts-De-France') }}</h3>
|
||||
<p>{{ __('Avec notre label 100% LOCAL, certifié et contrôlé par un cahier des charges précis, nous garantissons l\'origine de nos produits issus de poulets nés, élevés et préparés en région des Hauts de France.') }}</p>
|
||||
<a href="{{ route('local') }}" title="renseigner le titre du lien" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
<a href="{{ route('local') }}" title="{{ __('Engagement 100% local') }}" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<h2 class="fw-bold text-uppercase">{{ __('Une filière soucieuse de la santé') }}</h2>
|
||||
<h3 class="text-uppercase">{{ __('Des hommes, des animaux et de la terre') }}</h3>
|
||||
<p>{{ __('LIONOR, c\'est une filière qui s\'engage pour élever des volailles dans le respect du vivant et qui favorise l\'économie locale. Fiers de nos 70 éleveurs et de nos 235 salariés, unis par la passion de leur métier, nous participons activement à la vie sociale et économique de notre région.') }}</p>
|
||||
<a href="{{ route('local') }}" title="renseigner le titre du lien" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
<a href="{{ route('local') }}" title="{{ __('Engagement 100% local') }}" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<h3 class="text-uppercase">{{ __('Qui maîtrisent la filière du grain à l\'assiette') }}</h3>
|
||||
<p>{{ __('Grâce à la maitrise totale de notre filière, allant de l\'alimentation aux produits régionaux de qualité, en passant pas nos élevages se situant dans un rayon de 50kms autour de notre entreprise, nous garantissons aux consommateurs finaux, une qualité et une traçabilité irréprochables.
|
||||
Notre crédo : "élever bien pour manger sain en région des Hauts de France.') }}</p>
|
||||
<a href="{{ route('local') }}" title="renseigner le titre du lien" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
<a href="{{ route('local') }}" title="{{ __('Engagement 100% local') }}" class="btn btn-primary text-uppercase">{{ __('En savoir plus >') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<span><i class="fa fa-location-dot me-2"></i>3.92 km</span>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" title="renseigner le titre du lien" class="btn btn-primary">Itinéraire ></a>
|
||||
<a href="#" title="{{ __('Itinéraire') }}" class="btn btn-primary">Itinéraire ></a>
|
||||
</button>
|
||||
<div class="list-group-item list-group-item-action d-flex align-items-center justify-content-between">
|
||||
<div class="d-flex align-items-center my-3">
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
|
||||
<script nonce="{{ $nonce }}" src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
|
||||
integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM="
|
||||
crossorigin=""></script>
|
||||
@endpush
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<div class="row img-80">
|
||||
@if (isset($productModel->info_cooking))
|
||||
<div class="col-lg-6 d-flex align-items-center">
|
||||
<img src="{{ $productModel->cooking_mode->sticker() }}" alt="Mode de cuisson">
|
||||
<img src="{{ Vite::asset($productModel->cooking_mode->sticker()) }}" alt="Mode de cuisson">
|
||||
<p class="fw-bold small ms-2 mb-0">{{ $productModel->info_cooking }}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<form id="recipes-filters" class="row position-relative d-md-flex justify-content-between recipes-search" action="{{ route('recipes.index', request()->query()) }}" name="recipes-search" enctype="multipart/form-data" method="get">
|
||||
<div class="d-md-flex align-items-center col-md-4">
|
||||
<label for="inputPassword6" class="col-form-label me-3">{{ __('Difficulté') }}</label>
|
||||
<select id="difficulty" class="form-select" name="filtered_infos[]" aria-label="Default select example" onchange="this.form.submit()">
|
||||
<select id="difficulty" class="form-select" name="filtered_infos[]" aria-label="Default select example">
|
||||
@if (isset($filters_activated))
|
||||
<option value="-1">{{ __('Tous') }}</option>
|
||||
@foreach(App\Enums\DifficultyEnum::toArray() as $key => $difficulty)
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
<div class="d-md-flex align-items-center col-md-4">
|
||||
<label for="inputPassword6" class="col-form-label me-3">{{ __('Rapidité') }}</label>
|
||||
<select id="speed" class="form-select" name="filtered_infos[]" aria-label="Default select example" onchange="this.form.submit()">
|
||||
<select id="speed" class="form-select" name="filtered_infos[]" aria-label="Default select example">
|
||||
@if (isset($filters_activated))
|
||||
<option value="-1">{{ __('Tous') }}</option>
|
||||
@foreach(App\Enums\PreparationTimeEnum::toArray() as $key => $preparation)
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
<div class="d-md-flex align-items-center col-md-4">
|
||||
<label for="inputPassword6" class="col-form-label me-3">{{ __('Mode de cuisson') }}</label>
|
||||
<select id="cooking" class="form-select" name="filtered_infos[]" aria-label="Default select example" onchange="this.form.submit()">
|
||||
<select id="cooking" class="form-select" name="filtered_infos[]" aria-label="Default select example">
|
||||
@if (isset($filters_activated))
|
||||
<option value="-1">{{ __('Tous') }}</option>
|
||||
@foreach(App\Enums\CookingModeEnum::toArray() as $key => $cookingMode)
|
||||
|
|
@ -112,3 +112,26 @@
|
|||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
@push('scripts')
|
||||
<script nonce="{{ $nonce }}">
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
// Submit button clone.
|
||||
const form = document.getElementById('recipes-filters');
|
||||
const selectDifficulty = document.getElementById('difficulty');
|
||||
const selectSpeed = document.getElementById('speed');
|
||||
const selectCooking = document.getElementById('cooking');
|
||||
selectDifficulty.addEventListener('change', (event) => {
|
||||
form.submit();
|
||||
});
|
||||
selectSpeed.addEventListener('change', (event) => {
|
||||
form.submit();
|
||||
});
|
||||
selectCooking.addEventListener('change', (event) => {
|
||||
form.submit();
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
{!! clean($recipeModel->preparation) !!}
|
||||
</div>
|
||||
<div>
|
||||
<a href="#" title="renseigner le titre du lien" class="btn btn-secondary text-uppercase btn-printing"><i class="fa fa-print me-2"></i>{{ __('Imprimer') }}</a>
|
||||
<a href="#" title="{{ __('Imprimer la recette') }}" class="btn btn-secondary text-uppercase btn-printing"><i class="fa fa-print me-2"></i>{{ __('Imprimer') }}</a>
|
||||
<span class="share position-relative">
|
||||
<button id="shareBtn" class="btn btn-secondary text-uppercase"><i class="fa fa-share-alt me-2"></i>{{ __('Partager') }}</button>
|
||||
<ul class="share-list position-absolute w-100 p-0 pt-4 m-0">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
</ul>
|
||||
<img src="{{ asset($recipe->sticker) }}" alt="{{ $recipe->sticker_alt }}" title="{{ $recipe->sticker_title }}" class="img-fluid">
|
||||
<h3 class="text-uppercase font-roboto font-roboto-20 mt-4 pb-3">{{ $recipe->name }}</h3>
|
||||
<a href="{{ route('recipes.show', ['publishedRecipe' => $recipe]) }}" title="renseigner le titre du lien" class="fw-bold text-decoration-underline">{{ __('> Voir la recette') }}</a>
|
||||
<a href="{{ route('recipes.show', ['publishedRecipe' => $recipe]) }}" title="{{ __('Détails de la recette') }}" class="fw-bold text-decoration-underline">{{ __('> Voir la recette') }}</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
|
|||