From d73b4f396be89b4f8ce2a446afe47c604cfe8598 Mon Sep 17 00:00:00 2001 From: lq64 Date: Thu, 11 Dec 2025 11:00:49 +0100 Subject: [PATCH] feat(ui): FRO-35 Animations (#22) Added animations for mainmenu Co-authored-by: LQ63 Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/pulls/22 Co-authored-by: lq64 Co-committed-by: lq64 --- package-lock.json | 7 +++++++ package.json | 11 ++++++----- src/components/MainMenuBoxes.vue | 13 ++++++++++--- src/main.ts | 2 +- src/views/MainMenuView.vue | 22 +++++++++++++++++++--- 5 files changed, 43 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index cec3ff6..e69b7d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@quasar/extras": "^1.17.0", "@tsparticles/vue3": "~3.0.1", + "animate.css": "^4.1.1", "axios": "^1.13.2", "pinia": "^3.0.4", "quasar": "^2.18.6", @@ -3272,6 +3273,12 @@ "dev": true, "license": "MIT" }, + "node_modules/animate.css": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/animate.css/-/animate.css-4.1.1.tgz", + "integrity": "sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==", + "license": "MIT" + }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", diff --git a/package.json b/package.json index a2cf369..53498a2 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,15 @@ }, "dependencies": { "@quasar/extras": "^1.17.0", - "quasar": "^2.18.6", - "vue": "^3.5.25", - "vue-router": "^4.6.3", - "tsparticles": "~3.9.1", "@tsparticles/vue3": "~3.0.1", + "animate.css": "^4.1.1", "axios": "^1.13.2", + "pinia": "^3.0.4", + "quasar": "^2.18.6", + "tsparticles": "~3.9.1", + "vue": "^3.5.25", "vue-axios": "^3.5.2", - "pinia": "^3.0.4" + "vue-router": "^4.6.3" }, "devDependencies": { "@quasar/vite-plugin": "^1.10.0", diff --git a/src/components/MainMenuBoxes.vue b/src/components/MainMenuBoxes.vue index 38e9897..68adeac 100644 --- a/src/components/MainMenuBoxes.vue +++ b/src/components/MainMenuBoxes.vue @@ -39,12 +39,20 @@ const navigateTo = (routeName: string) => {