Add landing page with shadcn/ui and dark mode

This commit is contained in:
Aiden Smith
2026-02-24 09:28:08 -05:00
parent a17325c39d
commit 85d1083bae
21 changed files with 1250 additions and 86 deletions

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
import "./globals.css";
const geistSans = Geist({
@@ -13,8 +14,12 @@ const geistMono = Geist_Mono({
});
export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: {
default: "VectorDNS",
template: "%s | VectorDNS",
},
description:
"DNS lookup, WHOIS, and domain monitoring tool. Search nameservers, check availability, and track DNS changes.",
};
export default function RootLayout({
@@ -23,11 +28,18 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
);