32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import { Space_Grotesk } from "next/font/google";
|
|
import "@rainbow-me/rainbowkit/styles.css";
|
|
import "@scaffold-ui/components/styles.css";
|
|
import { ScaffoldEthAppWithProviders } from "~~/components/ScaffoldEthAppWithProviders";
|
|
import { ThemeProvider } from "~~/components/ThemeProvider";
|
|
import "~~/styles/globals.css";
|
|
import { getMetadata } from "~~/utils/scaffold-eth/getMetadata";
|
|
|
|
const spaceGrotesk = Space_Grotesk({
|
|
subsets: ["latin"],
|
|
variable: "--font-space-grotesk",
|
|
});
|
|
|
|
export const metadata = getMetadata({
|
|
title: "Crowdfunding | Speedrun Ethereum",
|
|
description: "Built with 🏗 Scaffold-ETH 2",
|
|
});
|
|
|
|
const ScaffoldEthApp = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<html suppressHydrationWarning className={`${spaceGrotesk.variable} font-space-grotesk`}>
|
|
<body>
|
|
<ThemeProvider enableSystem>
|
|
<ScaffoldEthAppWithProviders>{children}</ScaffoldEthAppWithProviders>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
};
|
|
|
|
export default ScaffoldEthApp;
|