diff --git a/main.py b/main.py index 2e71dc1..cdb2007 100644 --- a/main.py +++ b/main.py @@ -198,6 +198,7 @@ async def get_image(nom_image: str, current_user: Annotated[User, Depends(get_cu async def ajouter_image(file: UploadFile, current_user: Annotated[User, Depends(get_current_active_user)]): """ Add an image to the images folder. + :param current_user: :param file: :return: """ @@ -218,6 +219,7 @@ async def ajouter_image(file: UploadFile, current_user: Annotated[User, Depends( async def supprimer_image(nom_image: str, current_user: Annotated[User, Depends(get_current_active_user)]): """ Delete an image from the images folder. + :param current_user: :param nom_image: :return: """ diff --git a/styles/deconstruit/a4paper/fonds_a4.pdf b/styles/deconstruit/a4paper/fonds_a4.pdf index 1626c41..02f401f 100644 Binary files a/styles/deconstruit/a4paper/fonds_a4.pdf and b/styles/deconstruit/a4paper/fonds_a4.pdf differ diff --git a/styles/deconstruit/a4paper_prive/fonds_a4.pdf b/styles/deconstruit/a4paper_prive/fonds_a4.pdf index 1626c41..a78705a 100644 Binary files a/styles/deconstruit/a4paper_prive/fonds_a4.pdf and b/styles/deconstruit/a4paper_prive/fonds_a4.pdf differ diff --git a/styles/deconstruit/creer_pdf.sh b/styles/deconstruit/creer_pdf.sh new file mode 100644 index 0000000..858b40f --- /dev/null +++ b/styles/deconstruit/creer_pdf.sh @@ -0,0 +1,4 @@ +for file in $(find . -name "*.png") +do +magick $file "${file%.png}.pdf" +done \ No newline at end of file diff --git a/styles/deconstruit/instagram-carre/instagram-1080x1080.pdf b/styles/deconstruit/instagram-carre/instagram-1080x1080.pdf index 0968463..2bb94ec 100644 Binary files a/styles/deconstruit/instagram-carre/instagram-1080x1080.pdf and b/styles/deconstruit/instagram-carre/instagram-1080x1080.pdf differ diff --git a/styles/deconstruit/instagram-fullscreen/instagram-1080x1350.pdf b/styles/deconstruit/instagram-fullscreen/instagram-1080x1350.pdf index 4696e41..d2f2414 100644 Binary files a/styles/deconstruit/instagram-fullscreen/instagram-1080x1350.pdf and b/styles/deconstruit/instagram-fullscreen/instagram-1080x1350.pdf differ diff --git a/styles/deconstruit/instagram-story/instagram-1080x1920.pdf b/styles/deconstruit/instagram-story/instagram-1080x1920.pdf index c3ff5f1..2b28b65 100644 Binary files a/styles/deconstruit/instagram-story/instagram-1080x1920.pdf and b/styles/deconstruit/instagram-story/instagram-1080x1920.pdf differ diff --git a/styles/deconstruit/lettre/fonds_lettre.pdf b/styles/deconstruit/lettre/fonds_lettre.pdf index 0e14bed..dea0e7c 100644 Binary files a/styles/deconstruit/lettre/fonds_lettre.pdf and b/styles/deconstruit/lettre/fonds_lettre.pdf differ diff --git a/styles/deconstruit/lettre_prive/fonds_lettre.pdf b/styles/deconstruit/lettre_prive/fonds_lettre.pdf index 0e14bed..dea0e7c 100644 Binary files a/styles/deconstruit/lettre_prive/fonds_lettre.pdf and b/styles/deconstruit/lettre_prive/fonds_lettre.pdf differ diff --git a/styles/deconstruit/slide169/fonds_slide.pdf b/styles/deconstruit/slide169/fonds_slide.pdf index 98f7440..561ab64 100644 Binary files a/styles/deconstruit/slide169/fonds_slide.pdf and b/styles/deconstruit/slide169/fonds_slide.pdf differ