Skip to content

Commit

Permalink
feat: move onboarding to /onboard
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
  • Loading branch information
TheTechmage committed May 27, 2024
1 parent a30e74f commit d23e7d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
//import "./globals.css";
import "./wyvrn.css";
//
const inter = Inter({ subsets: ["latin"] });

Expand Down
6 changes: 3 additions & 3 deletions src/app/page.tsx → src/app/onboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export default function Home() {

return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<form onSubmit={onSubmit}>
<input type="text" name="name" placeholder="Your Name" onChange={(e) => setName(e.target.value)} />
<button type="submit" disabled={isLoading || !name}>
<form onSubmit={onSubmit} className="text-center flex gap-1 flex-col">
<input type="text" name="name" className="rounded-md" placeholder="Your Name" onChange={(e) => setName(e.target.value)} />
<button type="submit" className="rounded-md bg-indigo-600 px-3 py-2 text-md font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" disabled={isLoading || !name}>
{isLoading ? 'Loading...' : 'Get Started'}
</button>
</form>
Expand Down

0 comments on commit d23e7d8

Please sign in to comment.