From de69012543db6ebd69c1d95023c41e1c09b4e1f8 Mon Sep 17 00:00:00 2001 From: y-1993 <155223521+y-1993@users.noreply.github.com> Date: Wed, 18 Feb 2026 13:44:31 +0300 Subject: [PATCH] Integrate React Query and MiniKit in RootLayout Updated the RootLayout component to integrate React Query and MiniKit providers, and modified metadata for the application. --- storybook/src/app/layout.tsx | 51 ++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/storybook/src/app/layout.tsx b/storybook/src/app/layout.tsx index f7fa87eb8..dcb7297a0 100644 --- a/storybook/src/app/layout.tsx +++ b/storybook/src/app/layout.tsx @@ -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 ( -
- {children} + +