I guess DaisyUI has rotating text now... awesome!
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m25s

This commit is contained in:
2026-02-24 16:50:00 -07:00
parent 6dea3ac96c
commit cbdab153da
4 changed files with 25 additions and 42 deletions

View File

@@ -0,0 +1,22 @@
---
interface Props {
items: Array<{
text: string;
className: string;
}>;
}
const { items } = Astro.props;
---
<span class="text-rotate duration-9000">
<span>
{
items.map((item) => (
<span class:list={["mx-auto text-center", item.className]}>
{item.text}
</span>
))
}
</span>
</span>