From b056857dda7d77febd244ac328ce0ef463a1adda Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 12 Dec 2025 13:39:14 +0100 Subject: [PATCH] reformatting of PDF to create all sections needed --- .../match/components/FeuilleMatchPDF.tsx | 25 +++++++++++++------ .../(main)/match/components/pdf/styles.ts | 7 +++++- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/app/[locale]/(main)/match/components/FeuilleMatchPDF.tsx b/src/app/[locale]/(main)/match/components/FeuilleMatchPDF.tsx index c9b8411..34f4d67 100644 --- a/src/app/[locale]/(main)/match/components/FeuilleMatchPDF.tsx +++ b/src/app/[locale]/(main)/match/components/FeuilleMatchPDF.tsx @@ -84,37 +84,46 @@ export const FeuilleMatchPdf = ({ data }: IProps) => { marginTop: 10, }} > - - + + A RENVOYER AU PLUS TARD LE LENDEMAIN DU JOUR DE LA RENCONTRE A: - Thierry Généreau - thierry.genereau@orange.fr + Thierry Généreau + + thierry.genereau@orange.fr + Responsable de la rencontre: - Signature: + Signature: L'arbitre: - Signature: + Signature: diff --git a/src/app/[locale]/(main)/match/components/pdf/styles.ts b/src/app/[locale]/(main)/match/components/pdf/styles.ts index ccada0a..ba87304 100644 --- a/src/app/[locale]/(main)/match/components/pdf/styles.ts +++ b/src/app/[locale]/(main)/match/components/pdf/styles.ts @@ -1,7 +1,12 @@ import { StyleSheet } from "@react-pdf/renderer"; export const styles = StyleSheet.create({ - page: { flexDirection: "column", padding: 30, fontSize: 10 }, + page: { + flexDirection: "column", + paddingHorizontal: 30, + paddingVertical: 10, + fontSize: 10, + }, header: { marginBottom: 10, textAlign: "center" }, title: { fontSize: 18, fontWeight: "bold", marginBottom: 2 }, section: { margin: 10, padding: 10, flexGrow: 1 },