diff --git a/public/js/animate.js b/public/js/animate.js deleted file mode 100644 index b0715c8..0000000 --- a/public/js/animate.js +++ /dev/null @@ -1,12 +0,0 @@ -function animate() { - const animateElements = document.querySelectorAll('.animate') - - animateElements.forEach((element, index) => { - setTimeout(() => { - element.classList.add('show') - }, index * 150) - }); -} - -document.addEventListener("DOMContentLoaded", animate) -document.addEventListener("astro:after-swap", animate) \ No newline at end of file diff --git a/src/components/ArrowCard.tsx b/src/components/ArrowCard.tsx index 380b2f7..495fa43 100644 --- a/src/components/ArrowCard.tsx +++ b/src/components/ArrowCard.tsx @@ -1,7 +1,6 @@ - import type { CollectionEntry } from "astro:content"; import { formatDate } from "@/lib/utils"; -import { Icon } from '@iconify-icon/solid'; +import { Icon } from "@iconify-icon/solid"; type Props = { entry: CollectionEntry<"blog"> | CollectionEntry<"projects">; @@ -31,13 +30,11 @@ export default function ArrowCard({ entry, pill }: Props) {