diff --git a/package.json b/package.json index 81c7ed8..953680b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "@fontsource-variable/roboto-slab": "^5.2.8", "@tailwindcss/vite": "^4.2.1", "astro": "6.0.0-beta.15", - "motion-v": "2.0.0", "nodemailer": "^8.0.1", "tailwindcss": "^4.2.1", "vue": "^3.5.29" diff --git a/src/components/RotatingText.astro b/src/components/RotatingText.astro deleted file mode 100644 index a2fae3c..0000000 --- a/src/components/RotatingText.astro +++ /dev/null @@ -1,27 +0,0 @@ ---- -interface Props { - items: Array<{ - text: string; - className: string; - }>; -} - -const { items } = Astro.props; ---- - - - - { - items.map((item) => ( - - {item.text} - - )) - } - - diff --git a/src/components/RotatingText.vue b/src/components/RotatingText.vue new file mode 100644 index 0000000..4899e5a --- /dev/null +++ b/src/components/RotatingText.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/src/components/sections/HeroSection.astro b/src/components/sections/HeroSection.astro index 6e9b66e..df817a9 100644 --- a/src/components/sections/HeroSection.astro +++ b/src/components/sections/HeroSection.astro @@ -2,7 +2,7 @@ import { siteConfig } from "../../config/site"; import Icon from "../Icon.astro"; import Section from "../Section.astro"; -import RotatingText from "../RotatingText.astro"; +import RotatingText from "../RotatingText.vue"; import StatusIndicator from "../StatusIndicator.vue"; const rotatingText = (siteConfig.hero as any).rotatingText as @@ -30,7 +30,7 @@ const rotatingText = (siteConfig.hero as any).rotatingText as { rotatingText ? ( <> - + {siteConfig.hero.mainTitle .replace("{rotating}", "")