Skip to content

Commit 65854dd

Browse files
committed
finish products page
1 parent 4ee6f9c commit 65854dd

File tree

2 files changed

+74
-6
lines changed

2 files changed

+74
-6
lines changed

pages/products.vue

Lines changed: 74 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,87 @@
11
<template>
22
<div>
3-
<Hero
4-
:heading="page.heading"
5-
:subheading="page.subheading"
6-
:image="page.image"
7-
/>
3+
<Hero :heading="page.title" :image="page.image" />
84
<div
95
class="px-8 mx-auto mt-12 prose sm:px-6 md:px-4 lg:px-2 xl:px-0 xl:prose-2xl lg:prose-xl md:prose-lg"
106
>
117
<h2>
12-
{{ page.title }}
8+
{{ page.heading }}
139
</h2>
1410
<p>
1511
{{ page.description }}
1612
</p>
13+
<div class="lg:grid lg:grid-cols-2 lg:gap-8">
14+
<div
15+
v-for="(blurb, index) in page.intro.blurbs"
16+
:key="index"
17+
class="flex flex-col items-center justify-top"
18+
>
19+
<img class="h-32" :src="blurb.image" />
20+
<p class="mt-2 text-justify">{{ blurb.text }}.</p>
21+
</div>
22+
</div>
23+
<h3>
24+
{{ page.main.heading }}
25+
</h3>
26+
<p>
27+
{{ page.main.description }}
28+
</p>
29+
<div class="-mt-12 -mb-20 lg:grid lg:grid-cols-2 lg:gap-4">
30+
<img
31+
class="rounded-lg"
32+
:src="page.main.image1.image"
33+
:alt="page.main.image1.alt"
34+
/>
35+
<img
36+
class="rounded-lg"
37+
:src="page.main.image2.image"
38+
:alt="page.main.image2.alt"
39+
/>
40+
</div>
41+
<div class="-mb-10 lg:grid lg:grid-cols-1 lg:gap-4">
42+
<img
43+
class="rounded-lg"
44+
:src="page.main.image3.image"
45+
:alt="page.main.image3.alt"
46+
/>
47+
</div>
48+
<div class="mb-12 -mt-12">
49+
<p
50+
v-for="(testimonial, index) in page.testimonials"
51+
:key="index"
52+
class="inline-block w-full p-6 text-base bg-gray-100 border-l-4 border-gray-300 rounded-lg"
53+
>
54+
{{ testimonial.quote }}<br />
55+
–{{ testimonial.author }}
56+
</p>
57+
</div>
58+
</div>
59+
<Hero :image="page.full_image" />
60+
<div
61+
class="px-8 mx-auto mt-12 prose sm:px-6 md:px-4 lg:px-2 xl:px-0 xl:prose-2xl lg:prose-xl md:prose-lg"
62+
>
63+
<h3>
64+
{{ page.pricing.heading }}
65+
</h3>
66+
<p>
67+
{{ page.pricing.description }}
68+
</p>
69+
<div class="lg:grid lg:grid-cols-3 lg:gap-8">
70+
<div v-for="(plan, i) in page.pricing.plans" :key="i">
71+
<h4 class="text-center">
72+
{{ plan.plan }}
73+
</h4>
74+
<p class="text-4xl font-bold text-center text-kaldi">
75+
${{ plan.price }}
76+
</p>
77+
<p class="text-base">{{ plan.description }}</p>
78+
<ul class="text-base">
79+
<li v-for="(item, j) in plan.items" :key="j">
80+
{{ item }}
81+
</li>
82+
</ul>
83+
</div>
84+
</div>
1785
</div>
1886
</div>
1987
</template>

static/img/products-full-width.jpg

183 KB
Loading

0 commit comments

Comments
 (0)