Skip to content

Commit 5cf70f3

Browse files
committed
fixed up navigation
1 parent cc01e15 commit 5cf70f3

1 file changed

Lines changed: 3 additions & 19 deletions

File tree

resources/js/components/landing/Hero.vue

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<script setup lang="ts">
2-
import { Link } from '@inertiajs/vue3';
32
import { ArrowRight, ChevronRight } from 'lucide-vue-next';
4-
import { dashboard, register } from '@/routes';
5-
6-
defineProps<{
7-
auth?: { user?: unknown };
8-
canRegister: boolean;
9-
}>();
103
</script>
114

125
<template>
@@ -38,22 +31,13 @@ defineProps<{
3831
</p>
3932

4033
<div class="mt-10 flex flex-col items-center justify-center gap-4 sm:flex-row">
41-
<Link
42-
v-if="auth?.user"
43-
:href="dashboard().url"
44-
class="inline-flex items-center justify-center gap-2 rounded-md bg-primary px-6 py-3.5 text-base font-medium text-primary-foreground transition-colors hover:bg-primary/90"
45-
>
46-
Go to Dashboard
47-
<ArrowRight class="h-5 w-5" />
48-
</Link>
49-
<Link
50-
v-else
51-
:href="canRegister ? register().url : '#waitlist'"
34+
<a
35+
href="#newsletter"
5236
class="inline-flex items-center justify-center gap-2 rounded-md bg-primary px-6 py-3.5 text-base font-medium text-primary-foreground transition-colors hover:bg-primary/90"
5337
>
5438
Join the Waitlist
5539
<ArrowRight class="h-5 w-5" />
56-
</Link>
40+
</a>
5741
<a
5842
href="#features"
5943
class="inline-flex items-center justify-center gap-2 rounded-md border border-border bg-secondary px-6 py-3.5 text-base font-medium text-secondary-foreground transition-colors hover:bg-secondary/80"

0 commit comments

Comments
 (0)