feat(projects): projects scrolling animation

This commit is contained in:
2025-12-17 21:34:53 +01:00
parent 1671a960c1
commit d606dff53c
2 changed files with 35 additions and 12 deletions

View File

@@ -72,10 +72,10 @@ export const useProjectsStore = defineStore("projects", {
this.currentProject < this.projects.length - 1
) {
this.currentProject += 1;
offset = 69;
offset = 104;
} else if (direction === "left" && this.currentProject > 0) {
this.currentProject -= 1;
offset = -69;
offset = -104;
}
if (offset !== 0) {