diff --git a/web/src/assets/fonts/Satoshi-Variable.woff2 b/web/src/assets/fonts/Satoshi-Variable.woff2
new file mode 100644
index 0000000..b00e833
Binary files /dev/null and b/web/src/assets/fonts/Satoshi-Variable.woff2 differ
diff --git a/web/src/index.css b/web/src/index.css
index 893cd38..c58bd6a 100644
--- a/web/src/index.css
+++ b/web/src/index.css
@@ -1,8 +1,17 @@
@import "tailwindcss";
@import "@fontsource-variable/inter";
+@font-face {
+ font-family: "Satoshi Variable";
+ src: url("./assets/fonts/Satoshi-Variable.woff2") format("woff2");
+ font-weight: 300 900;
+ font-style: normal;
+ font-display: swap;
+}
+
@theme {
--font-sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
+ --font-display: "Satoshi Variable", ui-sans-serif, system-ui, sans-serif;
--color-background: #18181a;
--color-foreground: #fafafa;
diff --git a/web/src/routes/__root.tsx b/web/src/routes/__root.tsx
index f97fed5..017517e 100644
--- a/web/src/routes/__root.tsx
+++ b/web/src/routes/__root.tsx
@@ -5,15 +5,13 @@ import { ToastProvider } from "@/components/toast/toast-provider";
export const Route = createRootRouteWithContext<{ queryClient: QueryClient }>()({
component: RootLayout,
- notFoundComponent: () =>
Page not found.
,
+ notFoundComponent: () => Page not found.
,
});
function RootLayout() {
return (
-
-
-
+
);
}
diff --git a/web/src/routes/client/index.tsx b/web/src/routes/client/index.tsx
index 0eec376..282a78e 100644
--- a/web/src/routes/client/index.tsx
+++ b/web/src/routes/client/index.tsx
@@ -6,5 +6,5 @@ export const Route = createFileRoute('/client/')({
function RouteComponent() {
const { user } = Route.useRouteContext()
- return {user.email}
+ return {user.email}
}
diff --git a/web/src/routes/index.tsx b/web/src/routes/index.tsx
index 5fbea10..8e7ce6b 100644
--- a/web/src/routes/index.tsx
+++ b/web/src/routes/index.tsx
@@ -1,9 +1,88 @@
-import { createFileRoute } from "@tanstack/react-router";
+import { useQuery } from "@tanstack/react-query";
+import { Link, createFileRoute } from "@tanstack/react-router";
+import { useState } from "react";
+import { ArrowRight, Menu, X } from "lucide-react";
+
+import { meQuery } from "@/api/auth/me";
export const Route = createFileRoute("/")({
component: Index,
});
+const NAV_LINKS = [
+ { label: "Pricing", href: "/pricing" },
+ { label: "About", href: "/about" },
+ { label: "Docs", href: "/docs" },
+];
+
function Index() {
- return Naplata
;
+ const { data: user } = useQuery(meQuery);
+ const [menuOpen, setMenuOpen] = useState(false);
+
+ return (
+
+
+
+
+
+
+
+ {user ? "Dashboard" : "Sign in"}
+
+
+
+
+
+
+
+
+
+
+
+
+ Naplata
+
+
+
+ );
}