Insta, spotlight, fonts

This commit is contained in:
2024-09-24 12:47:02 +05:30
parent 18c719a22d
commit 1e49dab4c1
32 changed files with 261 additions and 107 deletions

View File

@ -1,12 +1,12 @@
// components/Layout.js
import Header from './header';
import Footer from './footer';
import { Header } from './header';
import { Footer } from './footer';
import { ReactNode } from 'react'; // Import ReactNode
interface LayoutProps {
children: ReactNode; // Define the type of children prop
}
export default function Layout({ children }: LayoutProps) {
export function Layout({ children }: LayoutProps) {
return (
<>
<Header />