← back to Boomer Calculator
app/layout.tsx
44 lines
import type { Metadata, Viewport } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = {
title: 'Boomer Calc - Easy Calculator',
description: 'Simple, easy-to-read calculator with big numbers. Perfect for everyone!',
manifest: '/manifest.json',
appleWebApp: {
capable: true,
statusBarStyle: 'black-translucent',
title: 'Boomer Calc',
},
applicationName: 'Boomer Calc',
icons: {
icon: '/icon-192.png',
apple: '/icon-192.png',
},
}
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
themeColor: '#9333ea',
viewportFit: 'cover',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<head>
<link rel="apple-touch-icon" href="/icon-192.png" />
</head>
<body className={inter.className}>{children}</body>
</html>
)
}