Compare commits

..

5 Commits

5 changed files with 8 additions and 4 deletions

View File

@ -22,7 +22,7 @@ export function DocsLayout({
return ( return (
<> <>
<div className="max-w-2xl min-w-0 flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16"> <div className="max-w-2xl min-w-0 flex-auto px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 grow">
<article> <article>
<DocsHeader title={title} estimatedReadingTime={estimatedReadingTime} /> <DocsHeader title={title} estimatedReadingTime={estimatedReadingTime} />
<Prose>{children}</Prose> <Prose>{children}</Prose>

View File

@ -134,7 +134,7 @@ export default function DefaultLayout({ children }: { children: React.ReactNode
<Navigation /> <Navigation />
</div> </div>
</div> </div>
<div className="grow">{children}</div> {children}
</div> </div>
<Footer /> <Footer />

View File

@ -2,7 +2,7 @@ import React from "react";
export function Page() { export function Page() {
return ( return (
<div className="px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300"> <div className="grow px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300">
<h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">Mentions légales</h1> <h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">Mentions légales</h1>
<section> <section>

View File

@ -7,7 +7,7 @@ export function Page() {
const { setIsOpen } = useContext(CookiesContext); const { setIsOpen } = useContext(CookiesContext);
return ( return (
<div className="px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300"> <div className="grow px-4 py-16 lg:max-w-none lg:pr-0 lg:pl-8 xl:px-16 flex flex-col gap-4 text-slate-700 dark:text-slate-300">
<h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white"> <h1 className="font-display text-3xl tracking-tight text-slate-900 dark:text-white">
Politique de confidentialité Politique de confidentialité
</h1> </h1>

4
app/public/robots.txt Normal file
View File

@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://memento-dev.fr/sitemap.xml