Skip to content

Commit 7f6d530

Browse files
committed
linked Create account button to register tsx
1 parent 6be0fa5 commit 7f6d530

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

client/src/pages/index.tsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
Users,
1515
Workflow,
1616
} from "lucide-react";
17+
import Link from "next/link";
1718
import { useRouter } from "next/router";
1819
import React, { useState } from "react";
1920
import { toast } from "sonner";
@@ -665,13 +666,15 @@ export default function AboutPage() {
665666
</div>
666667
</div>
667668

668-
<Button
669-
size="lg"
670-
variant="outline"
671-
className={`w-full ${COLORS.button.outline} py-6 text-lg`}
672-
>
673-
Create Account
674-
</Button>
669+
<Link href={"/register"}>
670+
<Button
671+
size="lg"
672+
variant="outline"
673+
className={`w-full ${COLORS.button.outline} py-6 text-lg`}
674+
>
675+
Create Account
676+
</Button>
677+
</Link>
675678

676679
{/* Placeholder, there is no link rn */}
677680
<p className={`text-center text-sm ${COLORS.text.tertiary}`}>

0 commit comments

Comments
 (0)