Marketing website POC (#3139)

First website POC
This commit is contained in:
Félix Malfait
2023-12-23 10:08:55 +01:00
committed by GitHub
parent 68a6250757
commit 5ef5bbdc4d
28 changed files with 6279 additions and 46 deletions

View File

@ -0,0 +1,43 @@
import type { Metadata } from 'next'
import { Gabarito } from 'next/font/google'
import EmotionRootStyleRegistry from './emotion-root-style-registry'
import styled from '@emotion/styled'
import { HeaderNav } from './components/HeaderNav'
import { FooterNav } from './components/FooterNav'
export const metadata: Metadata = {
title: 'Twenty.dev',
description: 'Twenty for Developer',
icons: '/favicon.ico',
}
const gabarito = Gabarito({
weight: ['400', '500'],
subsets: ['latin'],
display: 'swap',
})
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" className={gabarito.className}>
<body style={{
margin: 0,
WebkitFontSmoothing: "antialiased",
MozOsxFontSmoothing: "grayscale"
}}>
<EmotionRootStyleRegistry>
<HeaderNav />
<div style={{display: 'flex', flexDirection: 'column', alignItems: 'center'}}>
{children}
</div>
<FooterNav />
</EmotionRootStyleRegistry>
</body>
</html>
)
}