Skip to content

Commit

Permalink
add theme toggle to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Jun 7, 2024
1 parent b289f5b commit ffcb5c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions site/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function HomePage() {
<span className="inline-block">Home Automation</span>{" "}
<span className="inline-block">
That{" "}
<span className="bg-gradient-to-b from-green-950 to-green-500 inline-block text-transparent bg-clip-text">
<span className="bg-gradient-to-b to-green-800 from-green-500 dark:from-green-900 dark:to-green-500 inline-block text-transparent bg-clip-text">
Scales
</span>
</span>
Expand Down Expand Up @@ -158,7 +158,7 @@ export default function HomePage() {

<div />
<div />
<div className="flex items-center justify-center pattern-diagonal-lines pattern-green-300 pattern-bg-green-50 dark:pattern-bg-black pattern-size-2 pattern-opacity-100">
<div className="flex items-center justify-center pattern-diagonal-lines pattern-green-300 dark:pattern-green-800 pattern-bg-green-50 dark:pattern-bg-black pattern-size-2 pattern-opacity-100">
<div className="main-grid grid gap-[1px] sm:grid-cols-2 xl:grid-cols-4 bg-border outline outline-1 outline-border dark:outline-muted dark:bg-muted">
{[
{
Expand Down
4 changes: 3 additions & 1 deletion site/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
import { Logo } from "@/app/page";
import Link from "next/link";
import { ThemeToggle } from "./theme-toggle";

export function Footer() {
return (
Expand Down Expand Up @@ -50,7 +51,7 @@ export function Footer() {
</li>
</ul>
</div>
<div className="lg:order-3">
<div className="lg:order-3 flex flex-col items-start gap-4">
<p className="text-muted-foreground">
Made by{" "}
<Link
Expand All @@ -61,6 +62,7 @@ export function Footer() {
@arlyon
</Link>
</p>
<ThemeToggle />
</div>
<div>
<h4 className="font-semibold mb-2">Community</h4>
Expand Down

0 comments on commit ffcb5c6

Please sign in to comment.