feat: add GSAP animations to signup, login, and dashboard pages; include Attachment serializer in backend

This commit is contained in:
Sean Morley
2025-01-19 00:05:08 -05:00
parent aa216f5688
commit e0fa62c1ea
7 changed files with 521 additions and 8 deletions

View File

@@ -4,6 +4,29 @@
export let data;
console.log(data);
import { gsap } from 'gsap'; // Import GSAP
import { onMount } from 'svelte';
onMount(() => {
gsap.from('.card', {
opacity: 0,
y: 50,
duration: 1,
ease: 'power3.out'
});
gsap.from('.text-center', {
opacity: 0,
x: -50,
duration: 1,
ease: 'power2.out'
});
gsap.from('.input', {
opacity: 0,
y: 30,
duration: 1,
ease: 'power2.out'
});
});
import FileImageBox from '~icons/mdi/file-image-box';