diff --git a/src/app/globals.css b/src/app/globals.css
index 13d40b8..375715a 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -9,7 +9,7 @@
@media (prefers-color-scheme: dark) {
:root {
- --background: #0a0a0a;
+ --background: #030303;
--foreground: #ededed;
}
}
diff --git a/src/app/landing/page.tsx b/src/app/landing/page.tsx
new file mode 100644
index 0000000..9b695a0
--- /dev/null
+++ b/src/app/landing/page.tsx
@@ -0,0 +1,22 @@
+"use client"
+
+import arrow from "../../img/arrow.png";
+import gradient from "../../img/gradient.png";
+import Image from "next/image";
+
+export default function Landing() {
+ return (
+
+
+
+ Swipe to start grinding
+
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index a36cde0..d4103fb 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,23 +1,16 @@
import type { Metadata } from "next";
-import localFont from "next/font/local";
import "./globals.css";
-
-const geistSans = localFont({
- src: "./fonts/GeistVF.woff",
- variable: "--font-geist-sans",
- weight: "100 900",
-});
-const geistMono = localFont({
- src: "./fonts/GeistMonoVF.woff",
- variable: "--font-geist-mono",
- weight: "100 900",
-});
+import { Raleway } from "next/font/google";
+import mindmap from "../img/mindmap.svg";
+import Image from "next/image";
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
+const raleway_heavy = Raleway({subsets: ["latin"], weight: "700"});
+
export default function RootLayout({
children,
}: Readonly<{
@@ -25,11 +18,17 @@ export default function RootLayout({
}>) {
return (
-
+
+
+
+
+ logo
+
+
{children}
-
+
);
}
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 650f121..27c0368 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,8 +1,8 @@
import {Raleway} from "next/font/google";
import {TokenForm} from "@/app/components/token_form";
+import { redirect } from 'next/navigation';
const raleway = Raleway({subsets: ["latin"]});
-const raleway_heavy = Raleway({subsets: ["latin"], weight: "700"});
export interface Message {
message: string;
@@ -12,18 +12,17 @@ export default async function Home() {
async function call(_prevState: Message, data: FormData): Promise {
"use server"
console.log(data.get("canvas"));
- return {
- message: "Hello"
- }
+ const error = {
+ message: ""
+ };
+ if(!error.message)
+ redirect("/landing");
+
+ return error;
}
return (
-
-
- logo
-
-
diff --git a/src/img/arrow.png b/src/img/arrow.png
new file mode 100644
index 0000000..8990198
Binary files /dev/null and b/src/img/arrow.png differ
diff --git a/src/img/gradient.png b/src/img/gradient.png
new file mode 100644
index 0000000..e303d91
Binary files /dev/null and b/src/img/gradient.png differ
diff --git a/src/img/mindmap.svg b/src/img/mindmap.svg
new file mode 100644
index 0000000..82c75b8
--- /dev/null
+++ b/src/img/mindmap.svg
@@ -0,0 +1,5327 @@
+
+
+
+
+
+
+
+
+
+
+]>
+