From 03f921a15fd94de075a8009f71182ba568b9c0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Tue, 21 May 2024 02:14:28 +0200 Subject: [PATCH] refactor: move assets directory to src directory --- noxfile.py | 2 +- {assets => src/assets}/img/background-black-red.jpg | Bin {assets => src/assets}/img/background.jpg | Bin {assets => src/assets}/img/frog-cwak.png | Bin {assets => src/assets}/img/game-footer.png | Bin {assets => src/assets}/img/nav-logo.png | Bin .../assets}/img/section-collective-hover.png | Bin {assets => src/assets}/img/section-collective.png | Bin .../assets}/img/section-contact-hover.png | Bin {assets => src/assets}/img/section-contact.png | Bin {assets => src/assets}/img/section-games.png | Bin {assets => src/assets}/img/section-news.png | Bin {assets => src/assets}/js/index.js | 0 13 files changed, 1 insertion(+), 1 deletion(-) rename {assets => src/assets}/img/background-black-red.jpg (100%) rename {assets => src/assets}/img/background.jpg (100%) rename {assets => src/assets}/img/frog-cwak.png (100%) rename {assets => src/assets}/img/game-footer.png (100%) rename {assets => src/assets}/img/nav-logo.png (100%) rename {assets => src/assets}/img/section-collective-hover.png (100%) rename {assets => src/assets}/img/section-collective.png (100%) rename {assets => src/assets}/img/section-contact-hover.png (100%) rename {assets => src/assets}/img/section-contact.png (100%) rename {assets => src/assets}/img/section-games.png (100%) rename {assets => src/assets}/img/section-news.png (100%) rename {assets => src/assets}/js/index.js (100%) diff --git a/noxfile.py b/noxfile.py index a380541..48dd9d4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -31,7 +31,7 @@ def build(session: Session) -> None: session.run("npx", "sass", "src/style.scss", "build/style.css", "--style=compressed") session.log("Copying static files to build directory...") - copytree("assets", "build", dirs_exist_ok=True) + copytree("src/assets", "build", dirs_exist_ok=True) @session() diff --git a/assets/img/background-black-red.jpg b/src/assets/img/background-black-red.jpg similarity index 100% rename from assets/img/background-black-red.jpg rename to src/assets/img/background-black-red.jpg diff --git a/assets/img/background.jpg b/src/assets/img/background.jpg similarity index 100% rename from assets/img/background.jpg rename to src/assets/img/background.jpg diff --git a/assets/img/frog-cwak.png b/src/assets/img/frog-cwak.png similarity index 100% rename from assets/img/frog-cwak.png rename to src/assets/img/frog-cwak.png diff --git a/assets/img/game-footer.png b/src/assets/img/game-footer.png similarity index 100% rename from assets/img/game-footer.png rename to src/assets/img/game-footer.png diff --git a/assets/img/nav-logo.png b/src/assets/img/nav-logo.png similarity index 100% rename from assets/img/nav-logo.png rename to src/assets/img/nav-logo.png diff --git a/assets/img/section-collective-hover.png b/src/assets/img/section-collective-hover.png similarity index 100% rename from assets/img/section-collective-hover.png rename to src/assets/img/section-collective-hover.png diff --git a/assets/img/section-collective.png b/src/assets/img/section-collective.png similarity index 100% rename from assets/img/section-collective.png rename to src/assets/img/section-collective.png diff --git a/assets/img/section-contact-hover.png b/src/assets/img/section-contact-hover.png similarity index 100% rename from assets/img/section-contact-hover.png rename to src/assets/img/section-contact-hover.png diff --git a/assets/img/section-contact.png b/src/assets/img/section-contact.png similarity index 100% rename from assets/img/section-contact.png rename to src/assets/img/section-contact.png diff --git a/assets/img/section-games.png b/src/assets/img/section-games.png similarity index 100% rename from assets/img/section-games.png rename to src/assets/img/section-games.png diff --git a/assets/img/section-news.png b/src/assets/img/section-news.png similarity index 100% rename from assets/img/section-news.png rename to src/assets/img/section-news.png diff --git a/assets/js/index.js b/src/assets/js/index.js similarity index 100% rename from assets/js/index.js rename to src/assets/js/index.js