diff --git a/src/app/matricole/guida/page.tsx b/src/app/matricole/guida/page.tsx index 91334bfb..c959f7a6 100644 --- a/src/app/matricole/guida/page.tsx +++ b/src/app/matricole/guida/page.tsx @@ -1,7 +1,9 @@ import type { Metadata } from "next" import { FiDownload } from "react-icons/fi" import { CardSplit } from "@/components/card-split" +import { CONTAINER } from "@/components/layout/page" import { Button } from "@/components/ui/button" +import { cn } from "@/lib/utils" import { getLatestGuidaMatricola } from "@/queries/guida-matricola" export const metadata: Metadata = { @@ -22,12 +24,15 @@ export default async function GuidaMatricolaPage() { const formattedDate = new Intl.DateTimeFormat("it-IT", { dateStyle: "long" }).format(new Date(guida.date)) return ( -
-
-

+ // Standalone page (no header or footer, see `HIDDEN_ROUTES`): the content stays centered on screen, with the + // shared gutters. The vertical padding keeps it off the edges on short landscape screens. +
+ {/* Not Hero: this page has no header, and Hero's spacing would push the download below the fold on phones */} +
+

Guida della Matricola -

-

+

+

Controlla l'ultima versione disponibile e scarica il PDF aggiornato.

diff --git a/src/components/card-split/index.tsx b/src/components/card-split/index.tsx index 33049da0..38451fc9 100644 --- a/src/components/card-split/index.tsx +++ b/src/components/card-split/index.tsx @@ -15,8 +15,8 @@ export function CardSplit({ textPrimary, textSecondary, textSecondarySmall, acti className )} > -
-
+
+
{textPrimary ? : null} {hasSecondaryContent && (