diff --git a/package-lock.json b/package-lock.json index d80ee16..a4bc411 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,7 @@ "dependencies": { "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", - "dayjs": "^1.11.11", "lucide-vue-next": "^0.378.0", - "pinia": "^2.1.7", "radix-vue": "^1.8.0", "tailwind-merge": "^2.3.0", "tailwindcss-animate": "^1.0.7", @@ -1861,11 +1859,6 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, - "node_modules/dayjs": { - "version": "1.11.11", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz", - "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==" - }, "node_modules/de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -3075,56 +3068,6 @@ "node": ">=0.10.0" } }, - "node_modules/pinia": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.1.7.tgz", - "integrity": "sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==", - "dependencies": { - "@vue/devtools-api": "^6.5.0", - "vue-demi": ">=0.14.5" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "@vue/composition-api": "^1.4.0", - "typescript": ">=4.4.4", - "vue": "^2.6.14 || ^3.3.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/pinia/node_modules/vue-demi": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", - "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, "node_modules/pirates": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", diff --git a/package.json b/package.json index 535844b..75b26cb 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,7 @@ "dependencies": { "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", - "dayjs": "^1.11.11", "lucide-vue-next": "^0.378.0", - "pinia": "^2.1.7", "radix-vue": "^1.8.0", "tailwind-merge": "^2.3.0", "tailwindcss-animate": "^1.0.7", diff --git a/src/App.vue b/src/App.vue index ac3dcbf..6652bb0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,23 +1,13 @@ diff --git a/src/main.ts b/src/main.ts index d9ee691..1c00db8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,9 +1,6 @@ import { createApp } from "vue"; -import { createPinia } from "pinia"; import "./style.css"; import App from "./App.vue"; import { router } from "./router.ts"; -const pinia = createPinia(); - -createApp(App).use(router).use(pinia).mount("#app"); +createApp(App).use(router).mount("#app"); diff --git a/src/pages/Home/CountdownSection.vue b/src/pages/Home/CountdownSection.vue deleted file mode 100644 index 379fdf1..0000000 --- a/src/pages/Home/CountdownSection.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - diff --git a/src/stores/general.ts b/src/stores/general.ts deleted file mode 100644 index d9c3509..0000000 --- a/src/stores/general.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defineStore } from "pinia"; - -export const useGeneralStore = defineStore("general", { - state: () => ({ showCountdown: true }), - getters: { - isCountdownDisplayed: (state) => state.showCountdown, - }, -});