File tree Expand file tree Collapse file tree
resources/js/components/landing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { Link } from ' @inertiajs/vue3' ;
32import { 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"
You can’t perform that action at this time.
0 commit comments