diff --git a/apps/infoalloggi/src/components/schedaAnnuncioStampabile.tsx b/apps/infoalloggi/src/components/schedaAnnuncioStampabile.tsx index 621402c..b3f6aa2 100644 --- a/apps/infoalloggi/src/components/schedaAnnuncioStampabile.tsx +++ b/apps/infoalloggi/src/components/schedaAnnuncioStampabile.tsx @@ -1,6 +1,5 @@ "use client"; -import Head from "next/head"; import { useRef } from "react"; import { useReactToPrint } from "react-to-print"; import { Button } from "~/components/ui/button"; @@ -21,25 +20,20 @@ export function SchedaAnnuncioStampabile({ data }: { data: Annunci }) { }); return ( - <> - - Scheda Annuncio {data.codice} - -
-
-
-

Scheda Annuncio Stampabile

+
+
+
+

Scheda Annuncio Stampabile

- -
-
- -
+ +
+
+
- +
); } diff --git a/apps/infoalloggi/src/pages/area-riservata/admin/scheda-annuncio-stampa/[id].tsx b/apps/infoalloggi/src/pages/area-riservata/admin/scheda-annuncio-stampa/[id].tsx index 0328f0a..bc07ff5 100644 --- a/apps/infoalloggi/src/pages/area-riservata/admin/scheda-annuncio-stampa/[id].tsx +++ b/apps/infoalloggi/src/pages/area-riservata/admin/scheda-annuncio-stampa/[id].tsx @@ -1,4 +1,5 @@ import type { GetServerSideProps } from "next"; +import Head from "next/head"; import { AreaRiservataLayout } from "~/components/Layout"; import { LoadingPage } from "~/components/loading"; import { SchedaAnnuncioStampabile } from "~/components/schedaAnnuncioStampabile"; @@ -27,9 +28,14 @@ const SchedaAnnuncioPage: NextPageWithLayout = ({ return ; } return ( -
- -
+ <> + + Scheda Annuncio {data.codice} + +
+ +
+ ); };