Skip to content

Commit d7150b2

Browse files
committed
prose fixes
1 parent cbfe1fb commit d7150b2

File tree

3 files changed

+18
-108
lines changed

3 files changed

+18
-108
lines changed

pages/about.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<template>
2-
<div class="mx-auto prose lg:prose-xl">
3-
<h1
4-
class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl sm:leading-10"
5-
>
6-
{{ page.title }}
7-
</h1>
8-
<nuxt-content :document="page" class="mx-auto prose lg:prose-xl" />
2+
<div
3+
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"
4+
>
5+
<h1>{{ page.title }}</h1>
6+
<nuxt-content :document="page" />
97
</div>
108
</template>
119

pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Hero
44
:heading="page.heading"
55
:subheading="page.subheading"
6-
:image="require(`~/static/img/home-jumbotron.jpg`)"
6+
:image="page.image"
77
/>
88
<div
99
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"

pages/products.vue

Lines changed: 12 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,19 @@
11
<template>
22
<div>
33
<Hero
4-
:heading="page.title"
5-
:image="require(`~/static/img/home-jumbotron.jpg`)"
4+
:heading="page.heading"
5+
:subheading="page.subheading"
6+
:image="page.image"
67
/>
7-
<div class="py-12 bg-white">
8-
<div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
9-
<h3
10-
class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl sm:leading-10"
11-
>
12-
{{ page.title }}
13-
</h3>
14-
<p class="mt-4 text-lg leading-7 text-gray-500">
15-
{{ page.description }}
16-
</p>
17-
18-
<div class="py-12 bg-white">
19-
<div class="max-w-xl mx-auto lg:max-w-screen-xl">
20-
<div class="lg:grid lg:grid-cols-2 lg:gap-8">
21-
<div v-for="(blurb, index) in page.intro.blurbs" :key="index">
22-
<div class="flex items-center justify-center">
23-
<img class="h-32" :src="blurb.image" />
24-
</div>
25-
<div class="mt-5">
26-
<p class="mt-2 text-base leading-6">{{ blurb.text }}.</p>
27-
</div>
28-
</div>
29-
</div>
30-
<div class="text-center mt-16">
31-
<span class="inline-flex rounded-md shadow-sm">
32-
<nuxt-link
33-
to="/products"
34-
class="inline-flex items-center px-6 py-3 border border-gray-300 text-base leading-6 font-medium rounded-md text-orange-600 bg-white hover:text-orange-500 focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:text-gray-800 active:bg-gray-50 transition ease-in-out duration-150"
35-
>
36-
See all products
37-
</nuxt-link>
38-
</span>
39-
</div>
40-
</div>
41-
</div>
42-
</div>
43-
</div>
44-
<Hero />
45-
<div class="max-w-screen-xl mx-auto py-24 px-4 sm:px-6 lg:px-8">
46-
<div class="sm:flex sm:flex-col sm:align-center">
47-
<h1
48-
class="text-5xl leading-none font-extrabold text-gray-900 sm:text-center"
49-
>
50-
Pricing Plans
51-
</h1>
52-
<p class="mt-5 text-xl leading-7 text-gray-500 sm:text-center">
53-
Start building for free, then add a site plan to go live. Account
54-
plans unlock additional features.
55-
</p>
56-
</div>
57-
<div
58-
class="mt-12 space-y-4 sm:mt-16 sm:space-y-0 sm:grid sm:grid-cols-1 sm:gap-6 lg:max-w-4xl lg:mx-auto xl:max-w-none xl:mx-0 xl:grid-cols-3"
59-
>
60-
<div
61-
v-for="(plan, i) in page.pricing.plans"
62-
:key="i"
63-
class="border border-gray-200 rounded-lg shadow-sm divide-y divide-gray-200"
64-
>
65-
<div class="p-6">
66-
<h2 class="text-lg leading-6 font-medium text-gray-900">
67-
{{ plan.plan }}
68-
</h2>
69-
<p class="mt-4 text-sm leading-5 text-gray-500">
70-
{{ plan.description }}
71-
</p>
72-
<p class="mt-8">
73-
<span class="text-4xl leading-10 font-extrabold text-gray-900"
74-
>${{ plan.price }}</span
75-
>
76-
<span class="text-base leading-6 font-medium text-gray-500"
77-
>/mo</span
78-
>
79-
</p>
80-
<button
81-
type="button"
82-
class="mt-8 w-full bg-gray-800 border border-gray-800 rounded-md py-2 text-sm leading-5 font-semibold text-white hover:bg-gray-700 focus:outline-none focus:shadow-outline-gray transition duration-150 ease-in-out"
83-
>
84-
Buy {{ plan.plan }}
85-
</button>
86-
</div>
87-
<div class="pt-6 pb-8 px-6">
88-
<h3
89-
class="text-xs leading-4 font-medium text-gray-900 tracking-wide uppercase"
90-
>
91-
What's included
92-
</h3>
93-
<ul class="mt-6 space-y-4">
94-
<li
95-
v-for="(item, j) in plan.items"
96-
:key="j"
97-
class="flex space-x-3"
98-
>
99-
<span class="text-sm leading-5 text-gray-500">{{ item }}</span>
100-
</li>
101-
</ul>
102-
</div>
103-
</div>
104-
</div>
8+
<div
9+
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"
10+
>
11+
<h2>
12+
{{ page.title }}
13+
</h2>
14+
<p>
15+
{{ page.description }}
16+
</p>
10517
</div>
10618
</div>
10719
</template>

0 commit comments

Comments
 (0)