From bbc29fbddac45431433f6b99add6c1984b5b74bc Mon Sep 17 00:00:00 2001 From: Haydn Ewers <27211+haydn@users.noreply.github.com> Date: Wed, 3 Sep 2025 11:54:40 +1000 Subject: [PATCH] add github link --- src/app/layout.tsx | 37 +++++++++++++- src/app/page.tsx | 124 ++++++++++++++++++++------------------------- 2 files changed, 91 insertions(+), 70 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5117fe2..5c1b3f5 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,11 @@ import { Base } from "@colonydb/anthill/Base"; +import { Header } from "@colonydb/anthill/Header"; +import { Heading } from "@colonydb/anthill/Heading"; +import { Link } from "@colonydb/anthill/Link"; +import { Section } from "@colonydb/anthill/Section"; import { Analytics } from "@vercel/analytics/next"; import type { Metadata } from "next"; +import Image from "next/image"; import FrameworkContextProvider from "./FrameworkContextProvider"; type Props = Readonly<{ @@ -52,7 +57,37 @@ const RootLayout = ({ children }: Props) => ( grayChroma: 0, }} > - {children} +
+
+ + GitHub + + + + } + > + + Harvester + +
+ + } + spacing="p1" + > + {children} +
diff --git a/src/app/page.tsx b/src/app/page.tsx index 1e74e87..53a336d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,7 +6,6 @@ import { Heading } from "@colonydb/anthill/Heading"; import { MultiColumnStack } from "@colonydb/anthill/MultiColumnStack"; import { Section } from "@colonydb/anthill/Section"; import { Stack } from "@colonydb/anthill/Stack"; -import Image from "next/image"; import useSWR from "swr/immutable"; import { AddSourceDialog } from "@/dialogs/AddSourceDialog"; import { EditSourceDialog } from "@/dialogs/EditSourceDialog"; @@ -24,75 +23,62 @@ const HomePage = () => { } = useSWR, Error>("lists", configFetcher); return ( -
-
- - Harvester - -
- - } - spacing="p1" - > -
- {isLoading ? ( - "Loading…" - ) : error ? ( - error.message - ) : ( -
+ {isLoading ? ( + "Loading…" + ) : error ? ( + error.message + ) : ( +
+
}> + Sources + + } > -
}> - Sources - - } - > - - {(sources ?? []) - .sort((a, b) => a.name.localeCompare(b.name)) - .map((source) => ( - , - key: "edit", - }, - { - content: , - key: "remove", - }, - ]} - color={["gray-s1", "gray-t1"]} - title="Edit" - /> - } - config={source} - key={source.id} - /> - ))} - -
-
Items}> - - - -
-
- )} -
-
+ + {(sources ?? []) + .sort((a, b) => a.name.localeCompare(b.name)) + .map((source) => ( + , + key: "edit", + }, + { + content: , + key: "remove", + }, + ]} + color={["gray-s1", "gray-t1"]} + title="Edit" + /> + } + config={source} + key={source.id} + /> + ))} + + +
Items}> + + + +
+ + )} + ); }; -- 2.51.2