Moved the scrolling text to Vue since it needs some JS and custom
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m16s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m16s
styling not available in Tailwind
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
---
|
||||
interface Props {
|
||||
items: {
|
||||
text: string;
|
||||
className: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
const { items } = Astro.props;
|
||||
---
|
||||
|
||||
<span class="block w-full my-2">
|
||||
<span class="text-rotate">
|
||||
<span class="justify-items-center">
|
||||
{
|
||||
items.map((item) => (
|
||||
<span class={item.className}>{item.text}</span>
|
||||
))
|
||||
}
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
Reference in New Issue
Block a user