Skip to content

Commit e30d340

Browse files
committed
optimisation des performances
1 parent 40f375d commit e30d340

File tree

7 files changed

+15
-9
lines changed

7 files changed

+15
-9
lines changed
-97.2 KB
Loading

assets/images/me.webp

-479 KB
Loading

assets/styles/app.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,11 @@ section {
120120

121121
css-doodle {
122122
--rule: (
123-
@grid: 16 / 100%; @size: 1px calc(141.4% + 1px); transform:
124-
rotate(@pick (±45deg)); background: #00000040; margin: auto;
123+
@grid: 16 / 100%;
124+
@size: 1px calc(141.4% + 1px);
125+
transform:rotate(@pick(±45deg));
126+
background: #00000040;
127+
margin: auto;
125128
);
126129
}
127130

assets/styles/components/footer.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ footer a {
3333
font-size: 85%;
3434
}
3535

36-
footer h6 {
36+
footer .subtitle {
3737
position: relative;
3838
margin-bottom: 40px;
3939
text-transform: uppercase;
4040
}
4141

42-
footer h6:after {
42+
footer .subtitle:after {
4343
position: absolute;
4444
content: "";
4545
background: rgb(255, 255, 255, 0.5);
@@ -56,6 +56,7 @@ footer ul {
5656
footer ul li {
5757
list-style: none;
5858
display: block;
59+
margin-bottom: 10px;
5960
}
6061

6162
footer ul li a {

assets/styles/home.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,12 @@ section {
411411
backface-visibility: hidden;
412412
}
413413

414+
/*
414415
.flip-card:hover .dishs h6,
415416
.flip-card:hover .dish {
416417
animation: scroll 2s;
417418
}
419+
*/
418420

419421
#reservation-container {
420422
transform: translateY(150px);

templates/components/footer.html.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
</div>
1111
</div>
1212
<div class="col">
13-
<h6>À propos de nous</h6>
13+
<span class="subtitle">À propos de nous</span>
1414
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
1515
</div>
1616
</div>
1717
</div>
1818
<div class="col">
1919
<div class="row">
2020
<div class="col">
21-
<h6>Nos réseaux</h6>
21+
<span class="subtitle">Nos réseaux</span>
2222
<div class="row">
2323
<div class="col">
2424
<ul>
@@ -29,7 +29,7 @@
2929
</div>
3030
</div>
3131
<div class="col">
32-
<h6>Nous contacter</h6>
32+
<span class="subtitle">Nous contacter</span>
3333
<div class="row">
3434
<div class="col">
3535
<ul>
@@ -40,7 +40,7 @@
4040
</div>
4141
</div>
4242
<div class="col">
43-
<h6>Horaires</h6>
43+
<span class="subtitle">Horaires</span>
4444
<p>
4545
Mardi > Vendredi : 13h00 > 23h00<br>
4646
Week-end : 13h00 > 23h00</p>

templates/pages/home.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<p>{{ menu.name }}</p>
6767
</div>
6868
<div class="dishs">
69-
<h4 class="title">{{ menu.name }}</h4>
69+
<span class="title">{{ menu.name }}</span>
7070
{% for dish in menu.dishes %}
7171
<div class="dish">
7272
<span class="name">{{ dish.name }}</span>

0 commit comments

Comments
 (0)