Skip to content
Open
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
51 changes: 32 additions & 19 deletions storybook/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,34 +1,47 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";

const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});

const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
import type { Metadata } from 'next';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { MiniKitProvider } from '@coinbase/onchainkit/minikit';
import { SafeArea } from '@coinbase/onchainkit/minikit';
import { minikitConfig } from '../minikit.config'; // yolunu kontrol et
import './globals.css';

const queryClient = new QueryClient();

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: 'Join CUBBEY',
description: 'Hey there, Get early access and be the first to experience the future of crypto marketing strategy.',
other: {
'base:app_id': '698f1aaf7ca0f75750bddb827...' // gerçek ID
}
};

export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
<body>
<QueryClientProvider client={queryClient}>
<MiniKitProvider config={minikitConfig}>
<SafeArea>
{children}
</SafeArea>
</MiniKitProvider>
</QueryClientProvider>
</body>
</html>
);
}