Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions app/ThemeProvider.js

This file was deleted.

3 changes: 0 additions & 3 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@import "tailwindcss";
@theme {
--variant-dark: (&:is(.dark *));
}

:root {
--background: #ffffff;
Expand Down
28 changes: 7 additions & 21 deletions app/layout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { Geist, Geist_Mono } from "next/font/google";
import { ThemeProvider } from "./ThemeProvider";
import { ThemeToggle } from "../components/ThemeToggle";
import "./globals.css";

const geistSans = Geist({
Expand All @@ -16,28 +14,16 @@ const geistMono = Geist_Mono({
export const metadata = {
title: "DIGR — find underground music you've never heard of",
description: "Describe a vibe, drop some artists you like, and DIGR finds underground artists the algorithm never shows you.",
};
}

export default function RootLayout({ children }) {
return (
<html
lang="en"
suppressHydrationWarning
className={`${geistSans.variable} ${geistMono.variable} h-full`}
<html
lang="en"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col antialiased bg-white dark:bg-zinc-950 text-black dark:text-white transition-colors duration-300">

<ThemeProvider>
{/* This puts the button in the top right corner */}
<div className="absolute top-4 right-4 z-50">
<ThemeToggle />
</div>

{children}

</ThemeProvider>

</body>
<body className="min-h-full flex flex-col">{children}</body>
</html>
);
}
}

26 changes: 0 additions & 26 deletions components/ThemeToggle.js

This file was deleted.

21 changes: 10 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@google/generative-ai": "^0.24.1",
"groq-sdk": "^1.2.0",
"next": "16.2.6",
"next-themes": "^0.4.6",
"react": "19.2.4",
"react-dom": "19.2.4"
},
Expand Down