From ec7896ea8cb743fd99dde4bfee8ce37af7b5e472 Mon Sep 17 00:00:00 2001 From: ChrQR Date: Tue, 11 Jun 2024 15:42:55 +0200 Subject: [PATCH] added repo link in footer --- public/icons/gitea.svg | 2 ++ src/app/TheHub.tsx | 4 ++-- src/app/layout.tsx | 8 ++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 public/icons/gitea.svg diff --git a/public/icons/gitea.svg b/public/icons/gitea.svg new file mode 100644 index 0000000..6cf02d3 --- /dev/null +++ b/public/icons/gitea.svg @@ -0,0 +1,2 @@ + +Gitea icon \ No newline at end of file diff --git a/src/app/TheHub.tsx b/src/app/TheHub.tsx index 9c42164..4de981c 100644 --- a/src/app/TheHub.tsx +++ b/src/app/TheHub.tsx @@ -33,11 +33,11 @@ async function fetchJobs(): Promise { export default async function TheHub() { const jobs = await fetchJobs(); return ( - <> +

The Hub

{jobs.map((job, i) => ( ))} - +
); } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9506f97..1676c2c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,6 +3,9 @@ import { Inter as FontSans } from "next/font/google"; import "./globals.css"; import { cn } from "@/lib/utils"; import { Analytics } from "@vercel/analytics/react"; +import giteaIcon from "/public/icons/gitea.svg"; +import Image from "next/image"; + const fontSans = FontSans({ subsets: ["latin"], variable: "--font-sans", @@ -28,6 +31,11 @@ export default function RootLayout({ > {children} + );