Sync 3 Favicon System

This commit is contained in:
Jérémy Munsch 2023-11-21 16:24:07 +01:00
parent 65ac9c06f9
commit 97db7a3131
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
27 changed files with 354 additions and 88 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -3,7 +3,7 @@
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#ea892d</TileColor>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -2,70 +2,108 @@
<!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="644.000000pt" height="644.000000pt" viewBox="0 0 644.000000 644.000000"
width="680.000000pt" height="680.000000pt" viewBox="0 0 680.000000 680.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,644.000000) scale(0.100000,-0.100000)"
<g transform="translate(0.000000,680.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M4890 6049 c-52 -11 -62 -32 -54 -115 8 -88 0 -97 -120 -142 -138
-53 -206 -130 -163 -184 23 -30 173 -73 247 -71 37 1 151 12 180 18 14 3 36 7
50 9 14 3 50 8 80 12 30 3 58 8 61 9 3 2 28 7 55 10 27 4 56 8 64 10 8 2 38 7
65 11 28 3 53 8 56 10 3 1 28 6 55 9 27 4 67 10 89 14 34 6 90 7 130 2 6 0 16
-10 22 -20 11 -17 7 -23 -35 -50 -49 -32 -61 -42 -227 -195 -55 -50 -125 -113
-155 -141 -30 -27 -57 -52 -60 -55 -3 -3 -59 -54 -125 -115 -66 -60 -142 -131
-170 -157 -27 -25 -60 -55 -72 -66 -12 -10 -68 -61 -125 -113 -57 -53 -125
-115 -153 -140 -27 -24 -59 -53 -70 -64 -12 -11 -55 -49 -95 -85 -41 -36 -98
-87 -128 -115 -30 -27 -64 -58 -76 -68 -11 -10 -48 -42 -81 -71 -281 -247
-566 -459 -873 -650 -68 -42 -125 -76 -126 -76 -2 0 -46 -24 -97 -53 -85 -47
-301 -153 -419 -205 -25 -11 -58 -23 -75 -26 -16 -3 -47 -8 -68 -12 l-38 -7
16 39 c135 317 208 563 232 784 16 145 8 385 -16 505 -47 237 -156 490 -275
638 -87 110 -267 223 -421 263 -93 25 -274 25 -365 1 -146 -39 -231 -71 -355
-133 -369 -184 -619 -487 -767 -929 -51 -152 -85 -217 -144 -280 -227 -242
-340 -519 -338 -830 1 -70 12 -231 18 -261 2 -12 7 -39 10 -60 10 -59 42 -192
64 -259 76 -233 259 -576 343 -643 l29 -24 -10 26 c-5 15 -12 37 -15 49 -2 12
-16 67 -30 122 -48 184 -67 328 -69 505 -1 146 7 285 19 330 2 8 6 31 9 50 3
19 12 57 19 84 l13 49 41 -44 c22 -24 54 -60 69 -79 16 -19 36 -42 45 -50 41
-39 62 -104 74 -230 12 -130 17 -168 27 -210 13 -54 61 -165 76 -174 6 -3 17
23 27 67 26 107 28 108 64 33 17 -36 45 -95 61 -130 25 -51 35 -63 50 -59 21
6 40 74 40 146 1 190 165 367 383 414 181 38 355 -25 559 -202 165 -143 274
-311 358 -550 52 -149 101 -230 195 -322 132 -129 239 -173 623 -258 17 -4 21
-11 18 -28 -2 -12 -11 -60 -20 -107 -10 -47 -19 -103 -23 -124 -15 -107 -46
-143 -136 -155 -31 -4 -60 -11 -63 -14 -12 -12 17 -62 45 -79 68 -38 79 -103
42 -263 -20 -89 -55 -271 -67 -352 -6 -41 -5 -43 18 -43 30 0 44 29 108 225
23 72 44 137 47 145 3 8 7 20 8 25 2 6 26 82 55 170 29 88 74 232 101 320 56
179 85 245 130 293 102 109 304 142 284 46 -3 -13 -8 -36 -11 -51 -3 -16 -8
-48 -11 -73 -17 -159 -57 -271 -112 -311 -29 -21 -30 -24 -25 -88 3 -36 7 -81
8 -100 2 -31 -2 -69 -19 -156 -3 -16 -20 -91 -37 -165 -36 -159 -38 -173 -18
-177 24 -5 79 108 165 337 42 113 80 214 85 225 5 11 32 83 60 160 29 77 58
154 65 170 7 17 34 89 60 160 89 243 155 355 286 481 212 203 398 442 525 674
10 19 24 42 30 50 12 15 177 343 207 410 50 113 87 197 133 308 8 17 20 47 28
65 8 17 45 104 81 192 37 88 73 174 80 190 14 32 172 419 324 795 105 258 120
290 142 303 28 17 64 -1 165 -85 149 -123 185 -143 315 -173 38 -9 43 16 11
51 -138 152 -222 279 -222 337 0 34 7 46 63 100 34 34 137 115 230 181 92 65
167 122 167 126 0 19 -123 36 -188 27 -75 -10 -136 -38 -277 -131 -55 -36
-101 -63 -103 -61 -8 7 30 159 58 236 29 81 81 169 124 212 54 55 76 109 60
152 -8 21 -69 51 -119 59 -99 16 -1021 28 -1085 15z m768 -687 c9 -6 -3 -39
-49 -132 l-62 -123 -18 36 c-26 49 -28 75 -13 119 16 48 46 80 87 95 40 14 39
14 55 5z m-3773 -336 c118 -58 211 -171 231 -281 l7 -40 -44 50 c-115 130
-183 182 -275 214 -125 42 -278 6 -365 -86 -51 -55 -127 -172 -219 -338 -19
-33 -49 -87 -67 -120 -18 -33 -49 -91 -69 -128 -19 -37 -41 -70 -49 -74 -26
-9 -61 6 -73 32 -24 53 -14 96 52 231 147 296 321 458 601 555 108 37 171 34
270 -15z m-30 -614 c97 -50 169 -175 182 -317 l5 -60 -43 40 c-23 22 -49 45
-56 52 -34 30 -134 83 -193 102 -89 28 -161 38 -259 35 l-83 -2 24 26 c50 56
66 71 105 95 66 42 121 56 203 53 52 -2 87 -9 115 -24z m3178 -146 c26 -18 36
-18 136 0 l33 6 -33 -48 c-48 -66 -68 -77 -131 -70 -83 8 -203 50 -227 80 -10
12 -4 17 41 34 90 33 127 33 181 -2z m-398 -229 c39 -54 83 -70 143 -52 54 17
45 17 94 -1 96 -33 100 -36 93 -69 -4 -16 -7 -34 -9 -40 -9 -45 -41 -53 -221
-59 -90 -3 -111 4 -127 42 -11 27 -18 223 -8 221 3 0 19 -19 35 -42z m-424
-442 c95 -50 139 -159 140 -347 0 -59 -1 -111 -4 -115 -3 -4 -8 -30 -11 -57
-21 -151 -138 -343 -293 -477 -94 -83 -301 -195 -518 -283 -49 -21 -114 -48
-143 -62 -63 -29 -68 -29 -81 -5 -14 25 -12 27 160 114 165 84 241 132 356
229 194 164 329 368 364 553 42 218 8 296 -171 389 -45 24 -78 45 -74 48 9 5
80 24 119 31 39 8 124 -2 156 -18z m-2902 -95 c61 -25 199 -99 186 -101 -5 0
-17 -2 -25 -4 -8 -1 -35 -6 -60 -9 -25 -4 -52 -9 -60 -11 -8 -2 -33 -7 -55
-10 -22 -3 -83 -13 -135 -24 -110 -21 -112 -19 -85 57 19 52 36 76 77 108 32
25 85 23 157 -6z"/>
<path d="M3378 6575 c-2 -1 -61 -5 -133 -9 -161 -7 -208 -12 -365 -38 -448
-73 -906 -257 -1278 -515 -247 -171 -495 -397 -647 -588 -22 -27 -43 -52 -46
-55 -4 -3 -46 -59 -94 -124 -239 -329 -418 -714 -514 -1106 -16 -69 -32 -136
-35 -150 -26 -146 -41 -260 -51 -385 -5 -67 -6 -403 -1 -450 2 -16 7 -65 10
-107 4 -43 9 -88 11 -100 2 -13 9 -54 15 -93 46 -294 145 -604 285 -890 71
-143 181 -331 248 -423 51 -69 141 -187 147 -192 3 -3 29 -34 59 -70 64 -76
250 -263 334 -335 290 -248 669 -467 1019 -590 77 -27 256 -81 298 -89 14 -3
34 -7 45 -10 59 -15 231 -46 282 -52 32 -3 61 -8 64 -10 37 -23 711 -22 749 1
3 2 33 6 68 9 34 4 119 18 189 32 1118 222 2042 1038 2407 2128 37 110 93 325
110 426 14 84 17 101 35 230 17 119 11 630 -9 770 -127 904 -598 1679 -1340
2205 -429 304 -894 479 -1485 560 -22 3 -107 8 -190 11 -82 3 -158 7 -167 8
-9 2 -18 3 -20 1z m-74 -317 c0 -54 -2 -99 -5 -102 -2 -2 -49 -6 -104 -10 -55
-3 -115 -8 -132 -11 -18 -3 -45 -7 -60 -9 -95 -13 -287 -55 -358 -76 -543
-168 -959 -431 -1315 -831 -111 -125 -200 -240 -245 -317 -5 -9 -12 -19 -15
-22 -15 -13 -123 -206 -167 -295 -152 -311 -247 -665 -269 -1000 -4 -55 -8
-102 -10 -104 -2 -2 -48 -4 -101 -5 l-98 0 1 59 c1 75 16 236 30 315 2 14 7
41 10 60 28 173 122 480 206 668 99 223 256 484 389 647 150 183 379 414 481
483 13 9 25 18 28 22 13 15 156 115 250 175 139 88 386 211 541 267 114 42
308 101 369 113 14 3 70 13 125 24 108 21 155 28 255 37 36 4 66 7 67 8 1 1
30 1 65 1 l63 0 -1 -97z m431 86 c28 -2 61 -7 75 -9 14 -3 41 -7 60 -10 427
-66 835 -225 1199 -469 58 -39 113 -76 121 -83 8 -7 31 -25 51 -40 103 -81
146 -120 279 -253 171 -171 247 -263 378 -460 259 -388 428 -848 477 -1295 4
-33 8 -71 10 -83 8 -46 8 -152 1 -159 -10 -10 -187 -10 -193 1 -3 4 -7 31 -8
60 -7 129 -14 180 -61 439 -3 15 -21 81 -39 147 -215 753 -732 1376 -1434
1730 -240 121 -542 221 -771 256 -19 2 -46 7 -60 9 -78 14 -168 22 -257 24
l-53 1 0 106 0 106 88 -6 c48 -4 110 -9 137 -12z m-180 -398 c500 -20 1018
-215 1444 -543 128 -99 364 -340 467 -478 295 -394 469 -844 511 -1320 9 -109
9 -361 0 -468 -19 -215 -92 -526 -162 -692 -60 -145 -96 -221 -147 -313 -349
-628 -937 -1084 -1622 -1258 -110 -28 -181 -43 -241 -50 -22 -3 -47 -7 -55 -9
-67 -18 -427 -26 -575 -12 -400 38 -739 150 -1094 358 -233 138 -502 372 -682
594 -269 333 -461 755 -533 1172 -14 79 -19 118 -31 243 -5 50 -5 358 0 405 2
22 7 65 10 95 3 30 7 64 9 75 2 11 7 40 11 65 18 112 24 135 62 268 149 519
449 969 878 1316 300 242 757 454 1105 511 19 3 58 10 85 15 85 16 125 20 260
26 72 4 131 8 133 9 2 2 11 1 20 -1 9 -1 76 -5 147 -8z m-2924 -2733 c0 -32 2
-67 4 -78 1 -11 6 -51 9 -90 19 -203 114 -566 191 -733 14 -29 25 -55 25 -58
0 -4 51 -107 115 -234 39 -75 185 -290 270 -395 102 -127 277 -304 385 -390
41 -33 77 -62 80 -65 3 -3 30 -23 60 -45 184 -135 418 -263 639 -350 139 -54
393 -125 501 -140 14 -2 52 -8 85 -14 60 -10 129 -18 239 -26 32 -2 62 -8 65
-14 9 -14 7 -173 -2 -188 -4 -7 -13 -10 -20 -8 -7 2 -50 6 -97 9 -74 4 -267
28 -325 40 -289 60 -494 127 -740 245 -212 102 -409 226 -600 379 -100 81
-350 332 -429 432 -37 47 -73 92 -79 100 -103 130 -272 425 -352 615 -81 193
-159 457 -190 640 -3 17 -7 39 -9 50 -2 11 -7 49 -11 85 -4 36 -9 73 -10 82
-2 9 -7 60 -10 112 l-7 96 106 0 106 0 1 -57z m5763 27 c-4 -63 -16 -203 -19
-218 -1 -9 -6 -42 -9 -72 -9 -81 -42 -246 -66 -330 -115 -414 -268 -728 -513
-1055 -141 -188 -367 -417 -532 -540 -22 -16 -42 -33 -45 -36 -13 -16 -235
-162 -323 -213 -237 -136 -574 -269 -790 -312 -10 -2 -26 -5 -35 -8 -9 -3 -30
-8 -47 -11 -31 -5 -62 -11 -105 -20 -14 -3 -41 -7 -60 -9 -19 -3 -55 -7 -80
-10 -66 -9 -127 -14 -195 -17 l-60 -3 -3 102 c-3 100 -2 102 20 103 54 2 241
22 318 34 560 86 1124 376 1526 787 173 175 294 329 407 514 54 88 177 324
177 338 0 3 9 25 20 49 81 172 177 554 196 780 6 71 12 146 13 165 1 10 26 12
104 10 102 -3 102 -3 101 -28z"/>
<path d="M5081 3581 c-12 -7 -14 -48 -15 -210 l-1 -200 40 -7 c142 -27 216 21
218 139 1 67 -18 113 -56 137 -27 16 -82 22 -111 10 -24 -9 -24 -8 -22 66 1
68 -1 74 -19 74 -11 0 -26 -4 -34 -9z m148 -198 c26 -22 36 -86 20 -125 -12
-30 -66 -54 -97 -44 -16 5 -19 18 -19 87 -1 74 0 81 20 89 34 13 53 12 76 -7z"/>
<path d="M1619 3543 c-81 -24 -119 -75 -127 -169 -13 -169 94 -249 281 -208
l27 6 0 92 0 93 -35 1 -35 1 0 -68 c0 -76 -4 -81 -59 -75 -77 9 -116 68 -106
157 6 59 26 94 61 107 34 13 101 13 126 -1 23 -12 38 1 38 34 0 34 -99 52
-171 30z"/>
<path d="M2789 3550 c-91 -16 -150 -88 -154 -189 -5 -158 106 -235 284 -196
l27 6 0 92 -1 92 -30 1 c-16 1 -32 -2 -35 -7 -3 -5 -5 -35 -5 -68 2 -65 -2
-69 -54 -65 -80 6 -110 48 -108 147 2 57 6 70 28 93 31 31 100 43 149 26 28
-10 32 -9 40 14 13 32 13 31 -7 39 -37 14 -99 21 -134 15z"/>
<path d="M4215 3542 c-1 -2 1 -20 6 -40 50 -215 62 -263 76 -299 14 -38 19
-43 47 -43 32 0 33 2 69 104 20 57 37 109 37 115 0 6 4 11 8 11 4 0 23 -46 41
-102 18 -57 38 -109 43 -115 6 -7 23 -13 38 -13 25 0 29 6 48 63 11 34 30 105
42 157 12 52 26 110 30 127 10 37 6 41 -34 39 -31 -2 -39 -15 -51 -96 -11 -73
-39 -190 -43 -185 -3 3 -22 56 -42 117 -36 109 -39 113 -68 116 l-30 3 -38
-122 c-37 -117 -39 -121 -50 -93 -6 16 -21 81 -34 145 l-23 116 -34 -1 c-19
-1 -36 -2 -38 -4z"/>
<path d="M1936 3440 c-52 -26 -71 -64 -70 -135 0 -52 5 -69 27 -98 29 -39 83
-58 144 -50 57 6 63 10 63 38 0 25 -2 26 -51 21 -27 -3 -60 0 -73 5 -25 12
-49 45 -42 58 3 5 46 8 96 7 54 -1 90 3 91 9 13 122 -83 197 -185 145z m106
-62 c19 -19 20 -22 4 -33 -17 -13 -106 -14 -106 -2 0 4 0 11 0 16 0 18 32 41
56 41 13 0 34 -10 46 -22z"/>
<path d="M2255 3453 c-67 -13 -61 1 -61 -153 l0 -140 33 0 32 0 3 118 3 117
30 3 c59 6 70 -14 73 -132 l4 -106 28 0 c15 0 30 6 32 13 10 24 1 195 -11 223
-6 16 -21 36 -33 43 -22 13 -96 21 -133 14z"/>
<path d="M3053 3450 c-24 -10 -27 -18 -18 -42 4 -11 19 -13 56 -10 55 5 79 -8
79 -42 0 -19 -5 -21 -34 -18 -80 9 -141 -40 -130 -104 11 -67 79 -90 201 -69
l32 6 -3 112 c-3 113 -13 149 -46 163 -26 10 -114 13 -137 4z m117 -200 c0
-40 0 -40 -38 -40 -40 0 -62 14 -62 40 0 26 22 40 62 40 38 0 38 0 38 -40z"/>
<path d="M3360 3451 l-35 -6 -3 -143 -3 -143 33 3 33 3 2 105 c0 58 2 111 2
118 1 7 15 12 36 12 47 0 58 -24 59 -140 l2 -95 32 -3 33 -3 -3 115 -3 116 33
6 c37 7 61 -8 67 -42 2 -10 4 -59 4 -107 l1 -88 33 3 32 3 -1 112 c-1 130 -12
156 -71 173 -30 9 -47 9 -82 -4 -34 -11 -49 -12 -65 -4 -24 13 -84 17 -136 9z"/>
<path d="M3848 3436 c-70 -46 -88 -160 -35 -229 36 -47 127 -66 195 -42 19 7
11 61 -8 57 -50 -11 -85 -10 -110 3 -17 9 -30 20 -30 24 0 5 -2 16 -5 24 -5
11 11 14 90 13 l95 -1 0 38 c0 47 -22 97 -52 116 -37 23 -103 22 -140 -3z
m104 -48 c8 -7 18 -22 20 -33 5 -19 1 -21 -51 -19 -31 1 -60 2 -64 3 -9 1 12
43 27 53 17 12 51 9 68 -4z"/>
<path d="M4822 3450 c-56 -24 -85 -74 -85 -146 0 -62 29 -116 72 -134 62 -25
179 -14 167 16 -3 9 -6 22 -6 30 0 9 -5 12 -11 8 -19 -12 -79 -13 -107 -3 -29
11 -42 26 -42 50 0 13 13 16 83 14 45 0 87 1 93 3 14 4 11 64 -5 104 -19 50
-104 81 -159 58z m94 -75 c9 -14 14 -29 10 -32 -4 -4 -31 -8 -61 -8 -60 -2
-70 11 -38 47 24 27 69 23 89 -7z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -1,6 +1,6 @@
{
"name": "Boutique Mairet",
"short_name": "Boutique Mairet",
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",

1
sass/base/_layout.scss Normal file
View file

@ -0,0 +1 @@
// Empty.

View file

@ -10,3 +10,4 @@
@import "./base/bootstrap-overload";
@import "./base/fonts";
@import "./base/common";
@import "./base/layout";

View file

@ -4,11 +4,17 @@
<head>
<title>@yield('title') - {{ $settingsGlobal->name }}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<link type="image/x-icon" href="{{ Vite::asset('resources/theme/mounted/assets/images/favicon.ico') }}" rel="shortcut icon">
<link type="image/png" href="{{ Vite::asset('resources/theme/mounted/assets/images/favicon.png') }}" rel="icon">
<link type="image/png" href="{{ Vite::asset('resources/theme/mounted/assets/images/favicon-32.png') }}" rel="icon" sizes="32x32">
<link type="image/png" href="{{ Vite::asset('resources/theme/mounted/assets/images/favicon-64.png') }}" rel="icon" sizes="64x64">
<link type="image/png" href="{{ Vite::asset('resources/theme/mounted/assets/images/favicon-96.png') }}" rel="icon" sizes="96x96">
<!-- Favicon -->
{{-- GENERER favicon avec un outil https://realfavicongenerator.net/ --}}
<link href="{{ asset('apple-touch-icon.png') }}" rel="apple-touch-icon" sizes="180x180">
<link type="image/png" href="{{ asset('favicon-32x32.png') }}" rel="icon" sizes="32x32">
<link type="image/png" href="{{ asset('favicon-16x16.png') }}" rel="icon" sizes="16x16">
<link href="{{ asset('site.webmanifest') }}" rel="manifest">
<link href="{{ asset('safari-pinned-tab.svg') }}" rel="mask-icon" color="#d66868">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{-- <link rel="stylesheet" href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css">

View file

@ -4,7 +4,7 @@
</div> --}}
<div class="footer--logo">
<a href="https://www.legaulois.fr/" target="_blank">
<img src="{{ asset('front/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span>www.legaulois.fr</span>
</a>
</div>
@ -71,11 +71,12 @@
<a class="ldcweb-cn-cookie-link" href="#cookie" title="gestion des cookies">Gestion des cookies</a>
</div>
</div>
<div class="pageup"><a href="#"><img src="{{ asset('front/assets/images/up-arrow.svg') }}" alt="Haut de page"></a></div>
<div class="pageup"><a href="#"><img src="{{ Vite::asset('resources/theme/mounted/assets/images/up-arrow.svg') }}"
alt="Haut de page"></a></div>
</footer>
@include('theme::fo.cookie')
<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v10.0"
nonce="{{ $nonce }}"></script>
nonce="{{ $nonce ?? '' }}"></script>

View file

@ -1,8 +1,8 @@
<header class="grid">
<div class="logo flex">
<a href="{{ route('home') }}">
<img src="{{ asset('front/assets/images/home_logo.png') }}" alt="Le gaulois - Les Gauloisirs">
<img src="{{ asset('front/assets/images/logo-gauloisirs.png') }}">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/home_logo.png') }}" alt="Le gaulois - Les Gauloisirs">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-gauloisirs.png') }}">
</a>
<div class="toggle-menu flex"><span></span></div>
</div>

View file

@ -4,7 +4,7 @@
</div> --}}
<div class="footer--logo">
<a href="https://www.legaulois.fr/" target="_blank">
<img src="{{ asset('front/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span>www.legaulois.fr</span>
</a>
</div>
@ -56,7 +56,7 @@
</div>
<div class="pageup">
<a href="#">
<img src="{{ asset('front/assets/images/up-arrow.svg') }}" alt="Haut de page">
<img src="{{ Vite::asset('resources/theme/mounted/assets/images/up-arrow.svg') }}" alt="Haut de page">
</a>
</div>
</footer>

109
views/vendor/cn-cookies.blade.php vendored Normal file
View file

@ -0,0 +1,109 @@
{{-- blade-formatter-disable --}}
@php
$site_name = Str::ucfirst(config('app.name'));
$logo_picture_url = Vite::asset('resources/theme/mounted/assets/images/home_logo.png', 'build');
$logo_alt_text = "Logo {$site_name}";
$confidentiality_page_url = route('fo.policies.show');
$strings = (object)[
'button_customize_cookies' => __('cookie-notice.button_customize_cookies'),
'button_forbid' => __('cookie-notice.button_forbid'),
'button_allow' => __('cookie-notice.button_allow'),
'button_forbid_all' => Str::upper(__('cookie-notice.button_forbid_all')),
'button_allow_all' => Str::upper(__('cookie-notice.button_allow_all')),
'button_customize' => Str::upper(__('cookie-notice.button_customize')),
'button_back' => Str::upper(__('cookie-notice.button_back')),
'banner_title' => __('cookie-notice.banner_title', ['site_name' => $site_name]),
'banner_text_open' => __('cookie-notice.banner_text_open', ['site_name' => $site_name]),
'banner_text' => __('cookie-notice.banner_text'),
'banner_details' => __('cookie-notice.banner_details'),
'banner_details_link' => __('cookie-notice.banner_details_link'),
'banner_details_link_title' => __('cookie-notice.banner_details_link_title'),
'banner_more_details' => __('cookie-notice.banner_more_details'),
'banner_less_details' => __('cookie-notice.banner_less_details'),
'Panel_title' => __('cookie-notice.Panel_title'),
'Panel_subtitle' => __('cookie-notice.Panel_subtitle'),
'Panel_details' => __('cookie-notice.Panel_details'),
];
$cookies = [];
// RECAPTCHA
$cookies['recaptcha'] = [
'name' => __('cookie-notice.custom.recaptcha.title'),
'description' => __('cookie-notice.custom.recaptcha.description'),
'link' => 'https://policies.google.com/privacy',
'labelLink' => __('En savoir +'),
'cookies' => ['NID', '__Secure-3PAPISID', '__Secure-3PSID', '__Secure-3PSIDCC']
];
$cookies['recaptcha']['script'] = <<<SCRIPT
function () {
if (window.__CN_Recaptcha) {
window.__CN_Recaptcha();
}
}
SCRIPT;
// MATOMO
$cookies['matomo'] = [
'name' => __('cookie-notice.custom.matomo.title'),
'description' => __('cookie-notice.custom.matomo.description'),
'link' => 'https://fr.matomo.org/gdpr-analytics/',
'labelLink' => __('En savoir +'),
'cookies' => ['_pk']
];
$cookies['matomo']['script'] = <<<SCRIPT
function () {
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//yl.s-web.fr/";
_paq.push(['setTrackerUrl', u+'rainbow']);
_paq.push(['setSiteId', '
SCRIPT;
$cookies['matomo']['script'] .= config("services.matomo.site_id");
$cookies['matomo']['script'] .= <<<SCRIPT
']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'unicorn'; s.parentNode.insertBefore(g,s);
})();
}
SCRIPT;
@endphp
{{-- INCLUDE TEMPLATE --}}
@include('vendor.cookie-notice-templates.standard', compact(
'site_name', 'logo_picture_url', 'logo_alt_text',
'confidentiality_page_url', 'strings'
))
@push('scripts')
<script nonce="{{ $nonce ?? '' }}">
document.addEventListener('DOMContentLoaded', function () {
window.WebCookieNotice = {};
@foreach($cookies as $index_name => $cookie)
window.WebCookieNotice['{{ $index_name }}'] = {};
window.WebCookieNotice['{{ $index_name }}'].tmp = {};
// SCRIPT
window.WebCookieNotice['{{ $index_name }}'].tmp.script = {!! strip_tags($cookie['script']) !!};
@php unset($cookie['script']); @endphp
// FALLBACK
@if(isset($cookie['fallback']))
window.WebCookieNotice['{{ $index_name }}'].tmp.fallback = {!! strip_tags($cookie['fallback']) !!};
@php unset($cookie['fallback']); @endphp
@endif
window.WebCookieNotice['{{ $index_name }}'].conf = @json($cookie);
window.WebCookieNotice['{{ $index_name }}'].conf.script = window.WebCookieNotice['{{ $index_name }}'].tmp.script;
window.WebCookieNotice['{{ $index_name }}'].conf.fallback = window.WebCookieNotice['{{ $index_name }}'].tmp.fallback;
window.WebCookieNotice['{{ $index_name }}'] = window.WebCookieNotice['{{ $index_name }}'].conf;
@endforeach
window.WebCookieNotice = new window.CookieNotice(window.WebCookieNotice);
});
</script>
@endpush

View file

@ -0,0 +1,91 @@
<div id="cn-wrapper" role="dialog" tabindex="-1">
<button id="cn-cookie-btn" title="{{ $strings->button_customize_cookies }}">
{{-- COOKIE SVG --}}
<svg viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M14.0001 2.93383C14.0001 4.16622 14.6159 5.25477 15.5567 5.90849C15.3526 6.46423 15.2412 7.06473 15.2412 7.69126C15.2412 10.5472 17.5564 12.8624 20.4123 12.8624C21.0807 12.8624 21.7195 12.7356 22.3059 12.5047C22.9456 13.527 24.0817 14.2069 25.3766 14.2069C26.1872 14.2069 26.9357 13.9404 27.539 13.4903C27.5453 13.6594 27.5484 13.8294 27.5484 14C27.5484 21.4826 21.4826 27.5484 14 27.5484C6.51748 27.5484 0.45166 21.4826 0.45166 14C0.45166 6.51748 6.51748 0.45166 14 0.45166C14.3209 0.45166 14.6391 0.462811 14.9543 0.484747C14.3618 1.12929 14.0001 1.98931 14.0001 2.93383ZM21.2176 2.53212C21.2195 2.54914 21.2213 2.56619 21.2229 2.58328C21.2569 2.58864 21.2909 2.59433 21.3247 2.60035C21.2891 2.57745 21.2534 2.5547 21.2176 2.53212ZM25.5171 6.86104C25.523 6.89745 25.5285 6.93399 25.5336 6.97066C25.5512 6.97141 25.5687 6.97228 25.5861 6.97328C25.5633 6.93574 25.5403 6.89833 25.5171 6.86104ZM12.5247 2.09283C12.4748 2.38291 12.4487 2.68118 12.4487 2.98553C12.4487 4.33316 12.9591 5.56158 13.7972 6.48802C13.7266 6.87842 13.6898 7.28054 13.6898 7.69126C13.6898 11.404 16.6996 14.4137 20.4123 14.4137C20.8725 14.4137 21.3219 14.3675 21.7562 14.2794C22.689 15.1941 23.9669 15.7582 25.3766 15.7582C25.5439 15.7582 25.7094 15.7503 25.8726 15.7347C25.0321 21.5385 20.0368 25.9971 14.0001 25.9971C7.37431 25.9971 2.00305 20.6258 2.00305 14.0001C2.00305 7.87378 6.59498 2.82 12.5247 2.09283Z"
fill="#e33f1c" />
<circle cx="7.58784" cy="12.8624" r="1.96503" fill="#e33f1c" />
<circle cx="8.82887" cy="19.2745" r="1.3445" fill="#e33f1c" />
<circle cx="13.6897" cy="14.5171" r="1.03423" fill="#e33f1c" />
<circle cx="11.4144" cy="7.48439" r="0.930805" fill="#e33f1c" />
<circle cx="17.5164" cy="20.3089" r="1.86161" fill="#e33f1c" />
<circle cx="21.3432" cy="6.7604" r="0.930805" fill="#e33f1c" />
<circle cx="22.1706" cy="1.89958" r="1.44792" fill="#e33f1c" />
<circle cx="26.8245" cy="8.31185" r="0.72396" fill="#e33f1c" />
</svg>
</button>
{{-- BANNER --}}
<div id="cn-banner" tabindex="-1">
<div class="cn-modal-top-line">
<button id="cn-close-modal">X</button>
</div>
{{-- CONTENT VIEW --}}
<div class="cn-content">
{{-- 1ST PAGE BANNER --}}
<div class="cn-banner-content">
<div class="cn-banner-img">
<img src="{{ $logo_picture_url }}" alt="{{ $logo_alt_text }}">
</div>
<div class="cn-banner-text">
<div class="cn-banner-title">
<span>{!! nl2br(e($strings->banner_title)) !!}</span>
</div>
<div class="cn-banner-para-p">
<p class="cn-banner-para-p-close">{!! nl2br(e($strings->banner_text)) !!}</p>
<p class="cn-banner-para-p-open d-none">{!! nl2br(e($strings->banner_text_open)) !!}</p>
</div>
</div>
<div class="cn-banner-details">
<p>
{!! nl2br(e($strings->banner_details)) !!}<br>
<a href="{{ $confidentiality_page_url }}"
title="{{ $strings->banner_details_link_title }}">{{ $strings->banner_details_link }}</a>
</p>
</div>
<div class="cn-banner-btn-details">
<button class="cn-banner-btn-details-p" data-open="{{ $strings->banner_less_details }}"
data-close="{{ $strings->banner_more_details }}">{!! nl2br(e($strings->banner_more_details)) !!}</button>
</div>
</div>
{{-- 2ND PAGE CUSTOMIZE PANEL --}}
<div class="cn-modal-container d-none">
<p class="cn-modal-title" aria-level="h2">{{ $strings->Panel_title }}</p>
<p class="cn-modal-subtitle">{!! nl2br(e($strings->Panel_subtitle)) !!}</p>
<p class="cn-modal-description">{!! nl2br(e($strings->Panel_details)) !!}</p>
<div class="cn-modal-wrapper">
{{-- COOKIES LIST --}}
<ul id="cn-modal-list"></ul>
</div>
</div>
</div>
{{-- NAV BAR --}}
<div class="cn-nav">
<button class="cn-banner-btn cn-deny" id="cn-deny-banner">{{ $strings->button_forbid_all }}</button>
<button class="cn-banner-btn cn-accept" id="cn-accept-banner">{{ $strings->button_allow_all }}</button>
<button class="cn-banner-btn cn-custom" id="cn-settings-banner" data-open-modal="{{ $strings->button_back }}"
data-close-modal="{{ $strings->button_customize }}">{{ $strings->button_customize }}</button>
</div>
{{-- COOKIE LIST LI TEMPLATE --}}
<div id="cn-li-template">
<div class="cn-cookie-wrapper">
<div class="cn-cookie-infos">
<span class="cn-cookie-name">#name</span>
<span class="cn-cookie-description">#description</span>
<a class="cn-cookie-link">#link</a>
</div>
<div class="cn-cookie-buttons">
<div class="deny">
<input id="" name="" data-name="" data-status="false" type="radio">
<label for="" role="button" tabindex="0">{{ $strings->button_forbid }}</label>
</div>
<div class="accept">
<input id="" name="" data-name="" data-status="true" type="radio">
<label for="" role="button" tabindex="0">{{ $strings->button_allow }}</label>
</div>
</div>
</div>
</div>
</div>
</div>

View file

@ -1,16 +1,12 @@
@extends('theme::fo.layout')
@extends('errors::illustrated-layout')
@section('title', 'Erreur 404')
@section('title', __('Not Found'))
@section('code', '404')
@section('message', __('Not Found'))
@section('submessage', __('Ce n\'est pas la page que vous recherchez...'))
@section('content')
<div class="404 floating grid">
<div class="head-bloc"></div>
<section class="main--bloc container">
<h1 class="display-4">Page non trouvée</h1>
<p class="lead">La page que vous recherchez n'existe pas.</p>
<hr class="my-4">
<p>Cliquez sur le bouton ci-dessous pour retourner à l'accueil.</p>
<a class="btn btn-primary btn-lg" href="{{ route('home') }}" role="button">Accueil</a>
</section>
</div>
@section('button', true)
@section('image')
<img class="logo img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="{{ config('app.name') }}">
@endsection

10
views/vendor/errors/503.blade.php vendored Normal file
View file

@ -0,0 +1,10 @@
@extends('errors::illustrated-layout')
@section('title', __('Service Unavailable'))
@section('code', '503')
@section('message', __('Service Unavailable'))
@section('submessage', __('Le site est en maintenance, nous reviendrons...'))
@section('image')
<img class="logo img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/engine/logo.svg') }}" alt="{{ config('app.name') }}">
@endsection

13
views/vendor/mail/html/header.blade.php vendored Normal file
View file

@ -0,0 +1,13 @@
<tr>
<td class="header">
<a href="{{ $url }}" style="display: inline-block;">
@if (trim($slot) === 'Laravel')
<img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo">
@else
{{-- FIXME: Personaliser ca --}}
<img src="{{ Vite::asset('resources/assets/images/logo.png') }}" class="logo img-fluid" alt="{{ config('app.name') }}">
{{ $slot }}
@endif
</a>
</td>
</tr>