aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/partials')
-rw-r--r--site/layouts/partials/2-up.html23
-rw-r--r--site/layouts/partials/footer.html8
-rw-r--r--site/layouts/partials/head.html10
-rw-r--r--site/layouts/partials/svg.html2
-rw-r--r--site/layouts/partials/text-and-image.html4
5 files changed, 21 insertions, 26 deletions
diff --git a/site/layouts/partials/2-up.html b/site/layouts/partials/2-up.html
index 06849f0..ab827b4 100644
--- a/site/layouts/partials/2-up.html
+++ b/site/layouts/partials/2-up.html
@@ -1,24 +1,19 @@
<div class="bg-off-white pv4">
<div class="ph3 mw7 center">
- <h2 class="f2 b lh-title mb2">{{.heading}}</h2>
- <p class="mb4 mw6">{{.description}}</p>
+ <h2 class="f2 b lh-title mb2">{{.intro.heading}}</h2>
+ <p class="mb4 mw6">{{.intro.text}}</p>
<div class="flex-ns mhn2-ns mb3">
+ {{ range .products }}
<div class="ph2-ns w-50-ns">
- <img src="{{.svg1}}" alt="" class="center db mb3" style="width: 240px">
- <p>{{.text1}}</p>
- </div>
-
- <div class="ph2-ns w-50-ns">
- <img src="{{.svg2}}" alt="" class="center db mb3" style="width: 240px">
- <p>{{.text2}}</p>
+ <img src="{{.image}}" alt="" class="center db mb3" style="width: 240px">
+ <p>{{.text}}</p>
</div>
+ {{ end }}
</div>
- {{ if .buttonText }}
- <div class="tc">
- <a href="{{.buttonLink}}" class="btn raise">{{.buttonText}}</a>
- </div>
- {{ end }}
+ <div class="tc">
+ <a href="/products" class="btn raise">See all products</a>
+ </div>
</div>
</div>
diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html
index b69672e..5547c82 100644
--- a/site/layouts/partials/footer.html
+++ b/site/layouts/partials/footer.html
@@ -36,10 +36,10 @@
<div>
<h3 class="f4 b lh-title mb2 primary">Social media</h3>
<ul class="mhn2">
- {{ partial "social-icon" (dict "link" "#" "svg" "facebook") }}
- {{ partial "social-icon" (dict "link" "#" "svg" "twitter") }}
- {{ partial "social-icon" (dict "link" "#" "svg" "instagram") }}
- {{ partial "social-icon" (dict "link" "#" "svg" "vimeo") }}
+ {{ partial "social-icon" (dict "link" "#" "svg" "icons-facebook") }}
+ {{ partial "social-icon" (dict "link" "#" "svg" "icons-twitter") }}
+ {{ partial "social-icon" (dict "link" "#" "svg" "icons-instagram") }}
+ {{ partial "social-icon" (dict "link" "#" "svg" "icons-vimeo") }}
</ul>
</div>
diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html
index b58be17..9e75f44 100644
--- a/site/layouts/partials/head.html
+++ b/site/layouts/partials/head.html
@@ -12,18 +12,18 @@
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans:400,700" rel="stylesheet">
<!-- Favicons -->
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
- <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
+ <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
+ <link rel="icon" type="image/png" href="/img/favicon-32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/img/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
- <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ff4400">
+ <link rel="mask-icon" href="/img/safari-pinned-tab.svg" color="#ff4400">
<meta name="theme-color" content="#fff">
<!-- Open Graph -->
<meta property="og:type" content="business.business">
<meta property="og:title" content="Kaldi | Great coffee with a conscience">
<meta property="og:url" content="/">
- <meta property="og:image" content="/og-image.jpg">
+ <meta property="og:image" content="/img/og-image.jpg">
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
diff --git a/site/layouts/partials/svg.html b/site/layouts/partials/svg.html
index 5a7068f..25e80a9 100644
--- a/site/layouts/partials/svg.html
+++ b/site/layouts/partials/svg.html
@@ -1,5 +1,5 @@
<div style="height: 0; width: 0; position: absolute; visibility: hidden">
<!-- inject:svg -->
- <svg xmlns="http://www.w3.org/2000/svg"><symbol id="facebook" viewBox="0 0 32 32"><path d="M30.7 0H1.3C.6 0 0 .6 0 1.3v29.3c0 .8.6 1.4 1.3 1.4H17V20h-4v-5h4v-4c0-4.1 2.6-6.2 6.3-6.2 1.8 0 3.3.2 3.7.2v4.3h-2.6c-2 0-2.5 1-2.5 2.4V15h5l-1 5h-4l.1 12h8.6c.7 0 1.3-.6 1.3-1.3V1.3C32 .6 31.4 0 30.7 0z"/></symbol><symbol id="instagram" viewBox="0 0 32 32"><path d="M28.2 0H3.8C1.7 0 0 1.7 0 3.8v24.4C0 30.3 1.7 32 3.8 32h24.4c2.1 0 3.8-1.7 3.8-3.8V3.8C32 1.7 30.3 0 28.2 0zM24 4h3c.6 0 1 .4 1 1v3c0 .6-.4 1-1 1h-3c-.6 0-1-.4-1-1V5c0-.6.4-1 1-1zm-8 5.9c3.4 0 6.2 2.7 6.2 6.1 0 3.4-2.8 6.1-6.2 6.1-3.4 0-6.2-2.7-6.2-6.1.1-3.4 2.8-6.1 6.2-6.1zM28 29H4c-.6 0-1-.4-1-1V13h4c-.5.8-.7 2.1-.7 3 0 5.4 4.4 9.7 9.7 9.7 5.4 0 9.7-4.4 9.7-9.7 0-.9-.1-2.3-.8-3h4v15c.1.6-.3 1-.9 1z"/></symbol><symbol id="twitter" viewBox="0 0 32 32"><path d="M32 6.1c-1.2.5-2.4.9-3.8 1 1.4-.8 2.4-2.1 2.9-3.6-1.3.8-2.7 1.3-4.2 1.6C25.7 3.8 24 3 22.2 3c-3.6 0-6.6 2.9-6.6 6.6 0 .5.1 1 .2 1.5-5.5-.3-10.3-2.9-13.6-6.9-.6 1-.9 2.1-.9 3.3 0 2.3 1.2 4.3 2.9 5.5-1.1 0-2.1-.3-3-.8v.1c0 3.2 2.3 5.8 5.3 6.4-.6.1-1.1.2-1.7.2-.4 0-.8 0-1.2-.1.8 2.6 3.3 4.5 6.1 4.6-2.2 1.8-5.1 2.8-8.2 2.8-.5 0-1.1 0-1.6-.1 3 1.8 6.5 2.9 10.2 2.9 12.1 0 18.7-10 18.7-18.7v-.8c1.2-1 2.3-2.1 3.2-3.4z"/></symbol><symbol id="vimeo" viewBox="0 0 32 32"><path d="M32 8.6c-.1 3.1-2.3 7.4-6.5 12.8-4.4 5.7-8 8.5-11 8.5-1.9 0-3.4-1.7-4.7-5.2-.9-3.2-1.7-6.3-2.6-9.5-1-3.4-2-5.2-3.1-5.2-.2 0-1.1.5-2.5 1.5L0 9.6c1.6-1.4 3.1-2.8 4.7-4.2 2.1-1.8 3.7-2.8 4.7-2.9 2.5-.2 4 1.5 4.6 5.1.6 3.9 1.1 6.4 1.3 7.3.7 3.3 1.5 4.9 2.4 4.9.7 0 1.7-1.1 3-3.2s2.1-3.7 2.2-4.8c.2-1.8-.5-2.7-2.2-2.7-.8 0-1.6.2-2.4.5 1.6-5.2 4.6-7.7 9-7.5 3.3.2 4.9 2.3 4.7 6.5z"/></symbol></svg>
+ <svg xmlns="http://www.w3.org/2000/svg"><symbol id="icons-facebook" viewBox="0 0 32 32"><path d="M30.7 0H1.3C.6 0 0 .6 0 1.3v29.3c0 .8.6 1.4 1.3 1.4H17V20h-4v-5h4v-4c0-4.1 2.6-6.2 6.3-6.2 1.8 0 3.3.2 3.7.2v4.3h-2.6c-2 0-2.5 1-2.5 2.4V15h5l-1 5h-4l.1 12h8.6c.7 0 1.3-.6 1.3-1.3V1.3C32 .6 31.4 0 30.7 0z"/></symbol><symbol id="icons-instagram" viewBox="0 0 32 32"><path d="M28.2 0H3.8C1.7 0 0 1.7 0 3.8v24.4C0 30.3 1.7 32 3.8 32h24.4c2.1 0 3.8-1.7 3.8-3.8V3.8C32 1.7 30.3 0 28.2 0zM24 4h3c.6 0 1 .4 1 1v3c0 .6-.4 1-1 1h-3c-.6 0-1-.4-1-1V5c0-.6.4-1 1-1zm-8 5.9c3.4 0 6.2 2.7 6.2 6.1 0 3.4-2.8 6.1-6.2 6.1-3.4 0-6.2-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</div>
diff --git a/site/layouts/partials/text-and-image.html b/site/layouts/partials/text-and-image.html
index ff3bd7c..7a55f15 100644
--- a/site/layouts/partials/text-and-image.html
+++ b/site/layouts/partials/text-and-image.html
@@ -3,13 +3,13 @@
<div class="flex-l mhn2-l">
<div class="w-40-l ph2-l">
- <h2 class="f2 b lh-title mb2">{{.heading}}</h1>
+ <h2 class="f2 b lh-title mb2">{{.heading}}</h2>
<p>{{.text}}</p>
</div>
<div class="w-60-l ph2-l">
- <img src="img/home/about-section.jpg" alt="" class="mb3">
+ <img src="img/home-about-section.jpg" alt="" class="mb3">
</div>
</div>