Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/app/(frontend)/[locale]/actualites/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export default async function Actualite({ params: paramsPromise }: Args) {
</aside>

{/* CENTER COLUMN: Main Article (Left aligned flow) */}
<main className="col-span-1 lg:col-span-7">
{/* SEO: Use a <div> instead of a <main> tag here to prevent invalid nested <main> tags, ensuring proper semantic HTML5 and crawlability. */}
<div className="col-span-1 lg:col-span-7">
<article className="w-full">

{/* Hero Image */}
Expand Down Expand Up @@ -254,7 +255,7 @@ export default async function Actualite({ params: paramsPromise }: Args) {
</div>

</article>
</main>
</div>

{/* RIGHT COLUMN: Related / Latest News */}
<aside className="hidden lg:block lg:col-span-3">
Expand Down