-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (51 loc) · 1.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
layout: base
heroImg: "/images/hero-img.png"
---
<div id="hero" class="hero | flex">
<div>
<img src="{{ heroImg }}" alt="A beautiful cake" class="border-0" />
</div>
<div class="flex-center">
<p class="ff-brand">It's not a celebration until there is cake</p>
<p>
<a href="#contact" class="button">Request a quote</a>
</p>
</div>
</div>
<section id="cakes">
<h2>My creations</h2>
<div class="cards | flex snap">
{% for cake in collections.cakes reversed %}
<div class="card | flow">
<p>
<a href="{{ cake.url }}">{{ cake.data.description }}</a>
</p>
{% for src in cake.data.images limit:1 %}
<p>
<a href="{{ cake.url }}"
><img
src="/images/{{ src }}"
alt="{{ cake.data.description }}"
class="cakeimg"
loading="lazy"
/></a>
</p>
{% endfor %}
</div>
{% endfor %}
</div>
<div class="text-center">Scroll for more →</div>
</section>
<section id="testimonials">
<h2>Testimonials</h2>
<div class="cards | flex snap">
{% for cake in collections.cakes reversed %} {% if cake.data.quote %}{%
unless cake.data.hideQuote %}
<blockquote class="card | flow">
<p>{{ cake.data.quote }}</p>
<cite>{{ cake.data.client }}</cite>
</blockquote>
{% endunless %} {% endif %} {% endfor %}
</div>
</section>