Layout perfection

This commit is contained in:
Timothy Armes
2023-07-07 12:03:39 +02:00
parent b4c418a00d
commit 16a4985cca
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const TestableLayout = ({
<NextIntlClientProvider locale={locale} messages={messages}>
<div className="bg-white font-sans leading-normal tracking-normal dark:bg-gray-800">
<Navbar />
<div className="relative h-content overflow-scroll">{children}</div>
<div className="relative min-h-content overflow-scroll">{children}</div>
<Footer />
</div>
</NextIntlClientProvider>
+1 -1
View File
@@ -6,7 +6,7 @@ export default function Contact() {
const t = useTranslations("Contact");
return (
<section className="grid place-items-center bg-white dark:bg-gray-800">
<section className="grid place-items-center bg-white pb-20 dark:bg-gray-800">
<div className="mx-auto max-w-screen-md px-4 py-8 lg:py-16">
<h2
className="mb-4 text-center text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white"
+1 -1
View File
@@ -8,7 +8,7 @@ export default function Home() {
const t = useTranslations("Home");
return (
<header className="relative flex h-full items-center justify-center">
<header className="relative flex h-content items-center justify-center">
<div className="absolute h-full w-full brightness-[0.2]">
<Image
src={bgImage}
+1 -1
View File
@@ -5,7 +5,7 @@ export default function About() {
const t = useTranslations("About");
return (
<section className="grid place-items-center bg-white dark:bg-gray-800">
<section className="grid place-items-center bg-white pb-20 dark:bg-gray-800">
<div className="max-w-5xl px-4 py-8 lg:py-16">
<h2
className="mb-8 text-center text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white"