Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

layout.tsx 601B

123456789101112131415161718192021
  1. // app/layout.tsx
  2. import 'antd/dist/reset.css' // or 'antd/dist/antd.css' for older versions
  3. import './globals.css'
  4. import type { Metadata } from 'next'
  5. import { Home, MessageCircle, User } from 'lucide-react'
  6. import Header from '@/components/layout/Header'
  7. export const metadata: Metadata = {
  8. title: 'Mobile App',
  9. description: 'Responsive app layout with sidebar',
  10. }
  11. export default function RootLayout({ children }: { children: React.ReactNode }) {
  12. return (
  13. <div className="w-full max-w-[430px] min-h-screen flex flex-col justify-between relative bg-white shadow-xl">
  14. </div>
  15. )
  16. }