Skip to content

Commit 9aeb56b

Browse files
author
James O'Claire
committed
add contact login to home
1 parent 85eaafa commit 9aeb56b

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

frontend/src/routes/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { PageServerLoad } from './$types.js';
22
import { createApiClient } from '$lib/server/api';
33
import { getCachedData } from '../hooks.server.js';
44

5-
export const prerender = false;
5+
export const prerender = true;
66

77
export const ssr = true;
88
export const csr = true;

frontend/src/routes/+page.svelte

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,21 @@
8484

8585
<div class="items-center">
8686
<div class="flex flex-col gap-4 items-center">
87-
<a
88-
href="mailto:contact@appgoblin.info"
89-
class="btn-primary inline-flex items-center gap-2 px-6 py-3 bg-white rounded-lg hover:scale-105 transition-transform duration-200 shadow-lg"
90-
>
91-
<span class="text-black font-bold">Get in Touch</span>
92-
<span class="text-black font-bold">→</span>
93-
</a>
87+
<div class="flex flex-wrap items-center justify-center gap-3">
88+
<a
89+
href="/auth/signup"
90+
class="btn-primary inline-flex items-center gap-2 px-6 py-3 bg-white rounded-lg hover:scale-105 transition-transform duration-200 shadow-lg"
91+
>
92+
<span class="text-black font-bold">Create Free Account</span>
93+
<span class="text-black font-bold">→</span>
94+
</a>
95+
<a
96+
href="mailto:contact@appgoblin.info"
97+
class="btn preset-outlined-primary-100-900 inline-flex items-center gap-2 px-6 py-3 rounded-lg"
98+
>
99+
<span class="font-bold">Get in Touch</span>
100+
</a>
101+
</div>
94102
<div class="text-white/80 text-sm pt-1">
95103
Free demo & walkthroughs: <p>contact@appgoblin.info</p>
96104
</div>

0 commit comments

Comments
 (0)