Files
website/src/app/layout.tsx
T

40 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-09-09 22:30:53 -04:00
import { type Metadata } from 'next'
import { Providers } from '@/app/providers'
import { Layout } from '@/components/Layout'
import '@/styles/tailwind.css'
export const metadata: Metadata = {
title: {
2023-09-10 12:02:42 -04:00
template: '%s - Prad Nukala',
2023-09-09 22:30:53 -04:00
default:
2023-09-10 12:02:42 -04:00
'Prad Nukala - Software designer, founder, and amateur astronaut',
2023-09-09 22:30:53 -04:00
},
description:
2023-09-10 12:46:17 -04:00
'Im Prad, a software designer and entrepreneur based in New York City. Im the founder and Founder of Sonr, where we develop technologies that empower regular people to explore space on their own terms.',
2023-09-09 22:30:53 -04:00
alternates: {
types: {
'application/rss+xml': `${process.env.NEXT_PUBLIC_SITE_URL}/feed.xml`,
},
},
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" className="h-full antialiased" suppressHydrationWarning>
<body className="flex h-full bg-zinc-50 dark:bg-black">
<Providers>
<div className="flex w-full">
<Layout>{children}</Layout>
</div>
</Providers>
</body>
</html>
)
}