From d4af25ee5df5baae84f66ab94072a61118265f03 Mon Sep 17 00:00:00 2001
From: Laurent <58115082+naaturel@users.noreply.github.com>
Date: Mon, 28 Oct 2024 13:54:22 +0100
Subject: [PATCH 01/18] Rework menu and integrate splash screen
---
front/.env.development | 4 +-
front/.gitignore | 2 +
front/.idea/unluckiest.iml | 9 ---
.../.svelte-kit/generated/server/internal.js | 4 +-
front/src/app.d.ts | 1 +
front/src/app.html | 8 ++-
front/src/lib/assets/about.svg | 1 +
front/src/lib/assets/dice.svg | 1 +
front/src/lib/assets/leaderboard.svg | 1 +
front/src/lib/components/LeaderBoard.svelte | 23 ++++---
front/src/lib/components/SplashScreen.svelte | 47 ++++++++++++++
front/src/routes/+layout.svelte | 60 ++++++++++++-----
front/src/routes/+page.server.ts | 1 -
front/src/routes/+page.svelte | 14 +++-
front/src/routes/play/+page.svelte | 43 +++++--------
front/static/style/app.css | 21 ++++--
front/static/style/menu2.css | 64 +++++++++++++++++++
17 files changed, 230 insertions(+), 74 deletions(-)
delete mode 100644 front/.idea/unluckiest.iml
create mode 100644 front/src/lib/assets/about.svg
create mode 100644 front/src/lib/assets/dice.svg
create mode 100644 front/src/lib/assets/leaderboard.svg
create mode 100644 front/src/lib/components/SplashScreen.svelte
create mode 100644 front/static/style/menu2.css
diff --git a/front/.env.development b/front/.env.development
index a0d265a..f3f699a 100644
--- a/front/.env.development
+++ b/front/.env.development
@@ -1,2 +1,2 @@
-VITE_CLIENT_API_URL=http://127.0.0.1:5000/api
-VITE_SERVER_API_URL=http://127.0.0.1:5000/api
\ No newline at end of file
+VITE_CLIENT_API_URL=http://127.0.0.1:5000
+VITE_SERVER_API_URL=http://127.0.0.1:5000
\ No newline at end of file
diff --git a/front/.gitignore b/front/.gitignore
index 230a6d8..81d7c37 100644
--- a/front/.gitignore
+++ b/front/.gitignore
@@ -132,3 +132,5 @@ dist
/.svelte-kit/
/.svelte-kit/
/.svelte-kit/
+/.idea/
+/.idea/
diff --git a/front/.idea/unluckiest.iml b/front/.idea/unluckiest.iml
deleted file mode 100644
index d6ebd48..0000000
--- a/front/.idea/unluckiest.iml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-