@pylonsync/create-pylon 0.11.1 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/create-pylon.js +1 -1
- package/package.json +1 -1
- package/templates/_root/AGENTS.md +1 -1
- package/templates/agency/AGENTS.md +1 -1
- package/templates/agency/app/(marketing)/contact-form.tsx +22 -32
- package/templates/agency/app/(marketing)/layout.tsx +36 -64
- package/templates/agency/app/(marketing)/not-found.tsx +6 -8
- package/templates/agency/app/(marketing)/page.tsx +93 -144
- package/templates/agency/app/(marketing)/work/[slug]/page.tsx +69 -71
- package/templates/agency/app/(marketing)/work/page.tsx +20 -17
- package/templates/agency/app/globals.css +15 -6
- package/templates/agency/app.ts +10 -0
- package/templates/agency/components/marketing.tsx +40 -104
- package/templates/agency/lib/site.config.ts +34 -52
- package/templates/agency/public/images/hero.jpg +0 -0
- package/templates/agency/public/images/team/claire-donovan.jpg +0 -0
- package/templates/agency/public/images/team/dana-okafor.jpg +0 -0
- package/templates/agency/public/images/team/marcus-lee.jpg +0 -0
- package/templates/agency/public/images/work/atlas-health.jpg +0 -0
- package/templates/agency/public/images/work/cohort.jpg +0 -0
- package/templates/agency/public/images/work/ledger.jpg +0 -0
- package/templates/agency/public/images/work/vela.jpg +0 -0
- package/templates/ai-chat/AGENTS.md +1 -1
- package/templates/ai-studio/AGENTS.md +1 -1
- package/templates/barebones/AGENTS.md +1 -1
- package/templates/chat/AGENTS.md +1 -1
- package/templates/consumer/AGENTS.md +1 -1
- package/templates/consumer/README.md +39 -23
- package/templates/consumer/app/(app)/explore/page.tsx +13 -0
- package/templates/consumer/app/(app)/layout.tsx +17 -0
- package/templates/consumer/app/(app)/p/[id]/page.tsx +13 -0
- package/templates/consumer/app/(app)/page.tsx +15 -0
- package/templates/consumer/app/(app)/u/[username]/page.tsx +14 -0
- package/templates/consumer/app/error.tsx +1 -1
- package/templates/consumer/app/globals.css +25 -0
- package/templates/consumer/app/layout.tsx +3 -10
- package/templates/consumer/app/llms.ts +10 -10
- package/templates/consumer/app/not-found.tsx +9 -22
- package/templates/consumer/app/robots.ts +3 -4
- package/templates/consumer/app/sitemap.ts +7 -21
- package/templates/consumer/app.ts +152 -33
- package/templates/consumer/components/social/app-chrome.tsx +109 -0
- package/templates/consumer/components/social/avatar.tsx +50 -0
- package/templates/consumer/components/social/comment-form.tsx +51 -0
- package/templates/consumer/components/social/create-post.tsx +155 -0
- package/templates/consumer/components/social/edit-profile.tsx +103 -0
- package/templates/consumer/components/social/explore-screen.tsx +23 -0
- package/templates/consumer/components/social/home-screen.tsx +161 -0
- package/templates/consumer/components/social/post-card.tsx +77 -0
- package/templates/consumer/components/social/post-grid.tsx +46 -0
- package/templates/consumer/components/social/post-parts.tsx +146 -0
- package/templates/consumer/components/social/post-screen.tsx +173 -0
- package/templates/consumer/components/social/profile-screen.tsx +146 -0
- package/templates/consumer/components/social/rich-text.tsx +22 -0
- package/templates/consumer/components/social/session.tsx +43 -0
- package/templates/consumer/components/social/use-social.ts +86 -0
- package/templates/consumer/functions/addComment.ts +27 -0
- package/templates/consumer/functions/createPost.ts +39 -0
- package/templates/consumer/functions/ensureProfile.ts +39 -0
- package/templates/consumer/functions/seedFeed.ts +38 -0
- package/templates/consumer/functions/updateProfile.ts +61 -0
- package/templates/consumer/lib/seed.ts +192 -0
- package/templates/consumer/lib/site.ts +6 -0
- package/templates/consumer/lib/social.ts +245 -0
- package/templates/consumer/tests/social.test.ts +157 -0
- package/templates/creator/AGENTS.md +1 -1
- package/templates/creator/app/(marketing)/layout.tsx +35 -69
- package/templates/creator/app/(marketing)/newsletter-signup.tsx +15 -26
- package/templates/creator/app/(marketing)/not-found.tsx +8 -6
- package/templates/creator/app/(marketing)/page.tsx +90 -106
- package/templates/creator/app/globals.css +14 -0
- package/templates/creator/app/layout.tsx +1 -0
- package/templates/creator/app.ts +10 -0
- package/templates/creator/components/marketing.tsx +28 -89
- package/templates/creator/lib/site.config.ts +51 -29
- package/templates/creator/public/images/headshot.jpg +0 -0
- package/templates/crm/AGENTS.md +1 -1
- package/templates/crm/lib/seed.ts +153 -21
- package/templates/directory/AGENTS.md +1 -1
- package/templates/directory/app/(marketing)/directory-browse.tsx +99 -137
- package/templates/directory/app/(marketing)/layout.tsx +37 -88
- package/templates/directory/app/(marketing)/not-found.tsx +11 -10
- package/templates/directory/app/(marketing)/page.tsx +12 -33
- package/templates/directory/app/(marketing)/submit/page.tsx +9 -10
- package/templates/directory/app/(marketing)/submit-form.tsx +26 -26
- package/templates/directory/app/globals.css +15 -4
- package/templates/directory/app.ts +10 -0
- package/templates/directory/components/marketing.tsx +27 -91
- package/templates/directory/lib/site.config.ts +13 -24
- package/templates/helpdesk/AGENTS.md +1 -1
- package/templates/helpdesk/lib/seed.ts +188 -104
- package/templates/inventory/AGENTS.md +1 -1
- package/templates/inventory/lib/seed.ts +175 -44
- package/templates/invoices/AGENTS.md +1 -1
- package/templates/invoices/lib/seed.ts +74 -89
- package/templates/local-service/AGENTS.md +1 -1
- package/templates/local-service/app/(marketing)/booking-widget.tsx +31 -31
- package/templates/local-service/app/(marketing)/layout.tsx +25 -37
- package/templates/local-service/app/(marketing)/not-found.tsx +4 -4
- package/templates/local-service/app/(marketing)/page.tsx +145 -139
- package/templates/local-service/app/globals.css +11 -0
- package/templates/local-service/app/layout.tsx +2 -0
- package/templates/local-service/app.ts +9 -0
- package/templates/local-service/components/marketing.tsx +14 -39
- package/templates/local-service/lib/site.config.ts +16 -23
- package/templates/local-service/public/images/hero.jpg +0 -0
- package/templates/marketplace/AGENTS.md +1 -1
- package/templates/marketplace/client/SellForm.tsx +2 -0
- package/templates/projects/AGENTS.md +1 -1
- package/templates/projects/lib/seed.ts +103 -32
- package/templates/restaurant/AGENTS.md +1 -1
- package/templates/restaurant/app/(marketing)/layout.tsx +26 -48
- package/templates/restaurant/app/(marketing)/page.tsx +146 -123
- package/templates/restaurant/app/globals.css +11 -0
- package/templates/restaurant/app/layout.tsx +1 -0
- package/templates/restaurant/app.ts +10 -0
- package/templates/restaurant/components/marketing.tsx +10 -0
- package/templates/restaurant/lib/site.config.ts +16 -14
- package/templates/restaurant/public/images/bar.jpg +0 -0
- package/templates/restaurant/public/images/branzino.jpg +0 -0
- package/templates/restaurant/public/images/hearth.jpg +0 -0
- package/templates/restaurant/public/images/hero.jpg +0 -0
- package/templates/saas/AGENTS.md +1 -1
- package/templates/shop/AGENTS.md +1 -1
- package/templates/shop/public/images/products/cedar-smoke.jpg +0 -0
- package/templates/shop/public/images/products/linen.jpg +0 -0
- package/templates/todo/AGENTS.md +1 -1
- package/templates/waitlist/AGENTS.md +1 -1
- package/templates/waitlist/app/(marketing)/layout.tsx +39 -85
- package/templates/waitlist/app/(marketing)/not-found.tsx +8 -9
- package/templates/waitlist/app/(marketing)/page.tsx +51 -86
- package/templates/waitlist/app/(marketing)/waitlist-hero.tsx +43 -83
- package/templates/waitlist/app/globals.css +23 -0
- package/templates/waitlist/app/layout.tsx +1 -0
- package/templates/waitlist/app.ts +18 -0
- package/templates/waitlist/components/marketing.tsx +67 -81
- package/templates/waitlist/lib/site.config.ts +52 -59
- package/templates/consumer/app/feed-client.tsx +0 -159
- package/templates/consumer/app/page.tsx +0 -27
- package/templates/consumer/functions/_keep.ts +0 -13
- package/templates/consumer/functions/seedPosts.ts +0 -56
- package/templates/consumer/tests/example.test.ts +0 -12
|
@@ -91,7 +91,7 @@ function Picker() {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
return (
|
|
94
|
-
<div className="
|
|
94
|
+
<div className="border border-ink bg-cream p-5 text-ink sm:p-7">
|
|
95
95
|
{/* Service picker */}
|
|
96
96
|
<div className="flex flex-wrap gap-2">
|
|
97
97
|
{services.items.map((s) => {
|
|
@@ -106,14 +106,14 @@ function Picker() {
|
|
|
106
106
|
setConfirmed(null);
|
|
107
107
|
}}
|
|
108
108
|
className={
|
|
109
|
-
"
|
|
109
|
+
"border px-3.5 py-1.5 text-[13px] font-medium transition-colors " +
|
|
110
110
|
(active
|
|
111
|
-
? "border-
|
|
112
|
-
: "border-
|
|
111
|
+
? "border-ink bg-ink text-cream"
|
|
112
|
+
: "border-ink/40 text-ink hover:border-ink")
|
|
113
113
|
}
|
|
114
114
|
>
|
|
115
115
|
{s.name}
|
|
116
|
-
<span className={active ? "ml-1.5 text-
|
|
116
|
+
<span className={active ? "ml-1.5 text-cream/60" : "ml-1.5 text-ink/50"}>
|
|
117
117
|
{s.price} · {s.durationMin}m
|
|
118
118
|
</span>
|
|
119
119
|
</button>
|
|
@@ -135,18 +135,18 @@ function Picker() {
|
|
|
135
135
|
setConfirmed(null);
|
|
136
136
|
}}
|
|
137
137
|
className={
|
|
138
|
-
"flex shrink-0 flex-col items-center
|
|
138
|
+
"flex shrink-0 flex-col items-center border px-3 py-2 transition-colors " +
|
|
139
139
|
(active
|
|
140
140
|
? "border-brand bg-brand-soft"
|
|
141
|
-
: "border-
|
|
141
|
+
: "border-ink/40 hover:border-ink")
|
|
142
142
|
}
|
|
143
143
|
>
|
|
144
|
-
<span className="text-[11px] font-medium uppercase tracking-wide text-
|
|
144
|
+
<span className="text-[11px] font-medium uppercase tracking-wide text-ink/50">
|
|
145
145
|
{dowOfKey(key)}
|
|
146
146
|
</span>
|
|
147
147
|
<span
|
|
148
148
|
className={
|
|
149
|
-
"text-[15px] font-semibold " + (active ? "text-brand" : "text-
|
|
149
|
+
"text-[15px] font-semibold " + (active ? "text-brand" : "text-ink")
|
|
150
150
|
}
|
|
151
151
|
>
|
|
152
152
|
{dayOfKey(key)}
|
|
@@ -157,12 +157,12 @@ function Picker() {
|
|
|
157
157
|
</div>
|
|
158
158
|
|
|
159
159
|
{/* Slots */}
|
|
160
|
-
<div className="mt-5 border-t border-
|
|
160
|
+
<div className="mt-5 border-t border-ink/40 pt-5">
|
|
161
161
|
{loading ? (
|
|
162
162
|
<SlotsSkeleton />
|
|
163
163
|
) : slots.length === 0 ? (
|
|
164
|
-
<p className="py-6 text-center text-sm text-
|
|
165
|
-
Closed that day
|
|
164
|
+
<p className="py-6 text-center text-sm text-ink/60">
|
|
165
|
+
Closed that day. Pick another.
|
|
166
166
|
</p>
|
|
167
167
|
) : (
|
|
168
168
|
<div className="grid grid-cols-3 gap-2 sm:grid-cols-4">
|
|
@@ -176,12 +176,12 @@ function Picker() {
|
|
|
176
176
|
onClick={() => pick(slot)}
|
|
177
177
|
aria-pressed={isSelected}
|
|
178
178
|
className={
|
|
179
|
-
"
|
|
179
|
+
"border py-2 text-[13px] font-medium tabular-nums transition-colors " +
|
|
180
180
|
(!slot.available
|
|
181
|
-
? "cursor-not-allowed border-
|
|
181
|
+
? "cursor-not-allowed border-ink/20 bg-paper text-ink/30 line-through"
|
|
182
182
|
: isSelected
|
|
183
|
-
? "border-brand bg-brand text-
|
|
184
|
-
: "border-
|
|
183
|
+
? "border-brand bg-brand text-cream"
|
|
184
|
+
: "border-ink/40 text-ink hover:border-brand hover:text-brand")
|
|
185
185
|
}
|
|
186
186
|
>
|
|
187
187
|
{labelTime(slot.startsAt)}
|
|
@@ -190,19 +190,19 @@ function Picker() {
|
|
|
190
190
|
})}
|
|
191
191
|
</div>
|
|
192
192
|
)}
|
|
193
|
-
<p className="mt-3 text-[12px] text-
|
|
194
|
-
Greyed-out times are
|
|
193
|
+
<p className="mt-3 text-[12px] text-ink/60">
|
|
194
|
+
Greyed-out times are booked. The list updates live as others book.
|
|
195
195
|
</p>
|
|
196
196
|
</div>
|
|
197
197
|
|
|
198
198
|
{/* Confirmation persists after a successful booking… */}
|
|
199
199
|
{confirmed ? (
|
|
200
|
-
<div className="mt-6
|
|
201
|
-
<p className="text-[15px] font-semibold text-
|
|
200
|
+
<div className="mt-6 border border-brand bg-brand-soft p-5 text-center">
|
|
201
|
+
<p className="text-[15px] font-semibold text-ink">
|
|
202
202
|
{confirmed.serviceName} · {labelDow(confirmed.slot.startsAt)}{" "}
|
|
203
203
|
{labelDay(confirmed.slot.startsAt)} at {labelTime(confirmed.slot.startsAt)}
|
|
204
204
|
</p>
|
|
205
|
-
<p className="mt-2 text-[14px] text-
|
|
205
|
+
<p className="mt-2 text-[14px] text-ink/70">
|
|
206
206
|
{siteConfig.booking.confirmationMessage}
|
|
207
207
|
</p>
|
|
208
208
|
</div>
|
|
@@ -280,16 +280,16 @@ function BookingForm({
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
return (
|
|
283
|
-
<form onSubmit={submit} className="mt-6
|
|
283
|
+
<form onSubmit={submit} className="mt-6 border border-ink/40 bg-paper p-5">
|
|
284
284
|
<div className="flex items-center justify-between">
|
|
285
|
-
<div className="text-[14px] font-medium text-
|
|
285
|
+
<div className="text-[14px] font-medium text-ink">
|
|
286
286
|
{service.name} · {labelDow(slot.startsAt)} {labelDay(slot.startsAt)} at{" "}
|
|
287
287
|
{labelTime(slot.startsAt)}
|
|
288
288
|
</div>
|
|
289
289
|
<button
|
|
290
290
|
type="button"
|
|
291
291
|
onClick={onClear}
|
|
292
|
-
className="text-[13px] text-
|
|
292
|
+
className="text-[13px] text-ink/60 transition-colors hover:text-ink"
|
|
293
293
|
>
|
|
294
294
|
Change
|
|
295
295
|
</button>
|
|
@@ -326,11 +326,11 @@ function BookingForm({
|
|
|
326
326
|
<button
|
|
327
327
|
type="submit"
|
|
328
328
|
disabled={status === "booking"}
|
|
329
|
-
className="mt-4 inline-flex h-
|
|
329
|
+
className="mt-4 inline-flex h-11 w-full items-center justify-center bg-brand font-display text-[20px] tracking-[0.04em] text-cream transition-opacity hover:opacity-90 disabled:opacity-60"
|
|
330
330
|
>
|
|
331
331
|
{status === "booking" ? "Booking…" : "Confirm booking"}
|
|
332
332
|
</button>
|
|
333
|
-
<p className="mt-2 text-center text-[12px] text-
|
|
333
|
+
<p className="mt-2 text-center text-[12px] text-ink/60">
|
|
334
334
|
No payment now — pay at the shop.
|
|
335
335
|
</p>
|
|
336
336
|
</form>
|
|
@@ -338,7 +338,7 @@ function BookingForm({
|
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
const inputCls =
|
|
341
|
-
"h-10 w-full
|
|
341
|
+
"h-10 w-full border border-ink/40 bg-white px-3 text-sm text-ink outline-none transition placeholder:text-zinc-400 focus:border-brand focus:ring-2 focus:ring-brand/20";
|
|
342
342
|
|
|
343
343
|
/* ------------------------------ labels -------------------------------- */
|
|
344
344
|
|
|
@@ -372,15 +372,15 @@ function dayOfKey(key: string) {
|
|
|
372
372
|
|
|
373
373
|
function PickerSkeleton() {
|
|
374
374
|
return (
|
|
375
|
-
<div className="
|
|
375
|
+
<div className="border border-ink bg-cream p-7">
|
|
376
376
|
<div className="flex gap-2">
|
|
377
377
|
{[0, 1, 2, 3].map((i) => (
|
|
378
|
-
<div key={i} className="h-8 w-24 animate-pulse rounded-full bg-
|
|
378
|
+
<div key={i} className="h-8 w-24 animate-pulse rounded-full bg-ink/10" />
|
|
379
379
|
))}
|
|
380
380
|
</div>
|
|
381
381
|
<div className="mt-5 flex gap-2">
|
|
382
382
|
{[0, 1, 2, 3, 4].map((i) => (
|
|
383
|
-
<div key={i} className="h-14 w-16 animate-pulse rounded-xl bg-
|
|
383
|
+
<div key={i} className="h-14 w-16 animate-pulse rounded-xl bg-ink/10" />
|
|
384
384
|
))}
|
|
385
385
|
</div>
|
|
386
386
|
<SlotsSkeleton />
|
|
@@ -392,7 +392,7 @@ function SlotsSkeleton() {
|
|
|
392
392
|
return (
|
|
393
393
|
<div className="mt-5 grid grid-cols-3 gap-2 sm:grid-cols-4">
|
|
394
394
|
{Array.from({ length: 8 }).map((_, i) => (
|
|
395
|
-
<div key={i} className="h-9 animate-pulse rounded-lg bg-
|
|
395
|
+
<div key={i} className="h-9 animate-pulse rounded-lg bg-ink/10" />
|
|
396
396
|
))}
|
|
397
397
|
</div>
|
|
398
398
|
);
|
|
@@ -14,6 +14,9 @@ interface LayoutProps {
|
|
|
14
14
|
auth: PageAuth;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
const NAV_LINK =
|
|
18
|
+
"hidden px-3 py-1.5 text-[13px] font-medium text-ink/70 transition-colors hover:text-ink sm:inline-flex";
|
|
19
|
+
|
|
17
20
|
export default function MarketingLayout({ children, auth }: LayoutProps) {
|
|
18
21
|
// A guest session (minted by <EnsureGuest> for the live picker) has a
|
|
19
22
|
// `guest_…` user id — that's an anonymous visitor, NOT the signed-in owner,
|
|
@@ -23,41 +26,33 @@ export default function MarketingLayout({ children, auth }: LayoutProps) {
|
|
|
23
26
|
|
|
24
27
|
return (
|
|
25
28
|
<>
|
|
26
|
-
<header className="sticky top-0 z-30 border-b border-
|
|
29
|
+
<header className="sticky top-0 z-30 border-b border-ink bg-cream text-ink">
|
|
27
30
|
<div className="mx-auto flex h-14 max-w-5xl items-center justify-between px-6">
|
|
28
|
-
<Link href="/" className="
|
|
29
|
-
|
|
30
|
-
{brand.letter}
|
|
31
|
-
</span>
|
|
32
|
-
<span className="text-[15px] font-semibold tracking-tight text-zinc-900">
|
|
33
|
-
{brand.name}
|
|
34
|
-
</span>
|
|
31
|
+
<Link href="/" className="font-display text-[26px] leading-none tracking-[0.02em]">
|
|
32
|
+
{brand.name}
|
|
35
33
|
</Link>
|
|
36
|
-
<nav className="flex items-center gap-2">
|
|
37
|
-
<a
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
>
|
|
41
|
-
|
|
34
|
+
<nav className="flex items-center gap-1 sm:gap-2">
|
|
35
|
+
<a href="/#services" className={NAV_LINK}>
|
|
36
|
+
Prices
|
|
37
|
+
</a>
|
|
38
|
+
<a href="/#visit" className={NAV_LINK}>
|
|
39
|
+
Visit
|
|
42
40
|
</a>
|
|
43
41
|
{signedIn ? (
|
|
44
42
|
<Link
|
|
45
43
|
href="/dashboard"
|
|
46
|
-
className="inline-flex items-center
|
|
44
|
+
className="inline-flex h-9 items-center bg-ink px-4 text-[13px] font-medium text-cream transition-opacity hover:opacity-90"
|
|
47
45
|
>
|
|
48
46
|
Dashboard
|
|
49
47
|
</Link>
|
|
50
48
|
) : (
|
|
51
49
|
<>
|
|
52
|
-
<Link
|
|
53
|
-
href="/login"
|
|
54
|
-
className="hidden rounded-full px-3 py-1.5 text-[13px] font-medium text-zinc-600 transition-colors hover:text-zinc-900 sm:inline-flex"
|
|
55
|
-
>
|
|
50
|
+
<Link href="/login" className={NAV_LINK}>
|
|
56
51
|
Sign in
|
|
57
52
|
</Link>
|
|
58
53
|
<a
|
|
59
54
|
href="/#book"
|
|
60
|
-
className="inline-flex items-center
|
|
55
|
+
className="inline-flex h-9 items-center bg-brand px-4 text-[13px] font-medium text-cream transition-opacity hover:opacity-90"
|
|
61
56
|
>
|
|
62
57
|
{siteConfig.hero.ctaLabel}
|
|
63
58
|
</a>
|
|
@@ -77,38 +72,31 @@ export default function MarketingLayout({ children, auth }: LayoutProps) {
|
|
|
77
72
|
function SiteFooter() {
|
|
78
73
|
const { brand, location } = siteConfig;
|
|
79
74
|
return (
|
|
80
|
-
<footer className="border-t border-
|
|
75
|
+
<footer className="border-t border-ink bg-cream text-ink">
|
|
81
76
|
<div className="mx-auto max-w-5xl px-6 py-12">
|
|
82
|
-
<div className="flex flex-col items-start justify-between gap-
|
|
77
|
+
<div className="flex flex-col items-start justify-between gap-8 sm:flex-row">
|
|
83
78
|
<div className="max-w-sm">
|
|
84
|
-
<Link href="/" className="
|
|
85
|
-
|
|
86
|
-
{brand.letter}
|
|
87
|
-
</span>
|
|
88
|
-
<span className="text-[15px] font-semibold tracking-tight text-zinc-900">
|
|
89
|
-
{brand.name}
|
|
90
|
-
</span>
|
|
79
|
+
<Link href="/" className="font-display text-[32px] leading-none tracking-[0.02em]">
|
|
80
|
+
{brand.name}
|
|
91
81
|
</Link>
|
|
92
|
-
<p className="mt-3 text-[
|
|
93
|
-
{brand.footerBlurb}
|
|
94
|
-
</p>
|
|
82
|
+
<p className="mt-3 text-[13.5px] leading-relaxed text-ink/70">{brand.footerBlurb}</p>
|
|
95
83
|
</div>
|
|
96
|
-
<div className="text-[
|
|
97
|
-
<div className="font-medium text-
|
|
84
|
+
<div className="text-[13.5px] leading-relaxed text-ink/70">
|
|
85
|
+
<div className="font-medium text-ink">Visit</div>
|
|
98
86
|
<p className="mt-2 max-w-[14rem]">{location.address}</p>
|
|
99
87
|
<p className="mt-2">{location.phone}</p>
|
|
100
|
-
<a href={`mailto:${brand.email}`} className="mt-1 inline-block hover:text-
|
|
88
|
+
<a href={`mailto:${brand.email}`} className="mt-1 inline-block transition-colors hover:text-ink">
|
|
101
89
|
{brand.email}
|
|
102
90
|
</a>
|
|
103
91
|
</div>
|
|
104
92
|
</div>
|
|
105
|
-
<div className="mt-10 flex flex-col items-start justify-between gap-3 border-t border-
|
|
93
|
+
<div className="mt-10 flex flex-col items-start justify-between gap-3 border-t border-ink pt-6 text-[12px] text-ink/60 sm:flex-row sm:items-center">
|
|
106
94
|
<span>
|
|
107
95
|
© {new Date().getFullYear()} {brand.copyrightName}
|
|
108
96
|
</span>
|
|
109
97
|
<span>
|
|
110
98
|
Built with{" "}
|
|
111
|
-
<a href="https://pylonsync.com" className="font-medium text-
|
|
99
|
+
<a href="https://pylonsync.com" className="font-medium text-ink/80 hover:text-ink">
|
|
112
100
|
Pylon
|
|
113
101
|
</a>
|
|
114
102
|
</span>
|
|
@@ -9,12 +9,12 @@ import { Link, type NotFoundProps } from "@pylonsync/react";
|
|
|
9
9
|
// the link is a client nav.
|
|
10
10
|
export default function NotFound(_props: NotFoundProps) {
|
|
11
11
|
return (
|
|
12
|
-
<div className="mx-auto flex min-h-[60vh] max-w-3xl flex-col items-center justify-center px-6 text-center">
|
|
13
|
-
<h1 className="
|
|
14
|
-
<p className="mt-2 text-
|
|
12
|
+
<div className="mx-auto flex min-h-[60vh] bg-cream text-ink max-w-3xl flex-col items-center justify-center px-6 text-center">
|
|
13
|
+
<h1 className="font-display text-[5rem] leading-none">404</h1>
|
|
14
|
+
<p className="mt-2 text-ink/70">We couldn't find that page.</p>
|
|
15
15
|
<Link
|
|
16
16
|
href="/"
|
|
17
|
-
className="mt-6 inline-flex h-
|
|
17
|
+
className="mt-6 inline-flex h-11 items-center bg-ink px-6 font-display text-[20px] tracking-[0.04em] text-cream transition-opacity hover:opacity-90"
|
|
18
18
|
>
|
|
19
19
|
Back home
|
|
20
20
|
</Link>
|