From ffcb5c66be5f0f4a47d7ff6221066d288933e787 Mon Sep 17 00:00:00 2001 From: Alexander Lyon Date: Fri, 7 Jun 2024 12:27:54 +0100 Subject: [PATCH] add theme toggle to footer --- site/app/page.tsx | 4 ++-- site/components/footer.tsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/site/app/page.tsx b/site/app/page.tsx index 0c7fedb..eb4c1f2 100644 --- a/site/app/page.tsx +++ b/site/app/page.tsx @@ -87,7 +87,7 @@ export default function HomePage() { Home Automation{" "} That{" "} - + Scales @@ -158,7 +158,7 @@ export default function HomePage() {
-
+
{[ { diff --git a/site/components/footer.tsx b/site/components/footer.tsx index 68a0283..4691a23 100644 --- a/site/components/footer.tsx +++ b/site/components/footer.tsx @@ -5,6 +5,7 @@ */ import { Logo } from "@/app/page"; import Link from "next/link"; +import { ThemeToggle } from "./theme-toggle"; export function Footer() { return ( @@ -50,7 +51,7 @@ export function Footer() {
-
+

Made by{" "}

+

Community