Skip to content

Commit

Permalink
Clean up extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
angelokeirsebilck committed Feb 10, 2023
1 parent b1e8c04 commit 7bb8384
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 47 deletions.
Binary file removed src/assets/svg/hi.png
Binary file not shown.
8 changes: 0 additions & 8 deletions src/content/blog/bug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@ heroImage: "/placeholder-hero.jpg"
---

import HomeBanner from "@components/blocks/home/HomeBanner.astro";
import hi from "@assets/svg/hi.png";

<HomeBanner>
<h1
class="font-bebas text-5xl flex justify-center items-center flex-col text-center lg:text-7xl max-w-2xl mb-8"
slot="title"
>
<img
src={hi}
width="83"
height="81"
class="inline transformo -translate-y-1.5"
alt="Hi svg illustration"
/>
<div class="">
Op zoek naar een <br /> website op{" "}
<span class="underline-svg-1">jouw maat?</span>
Expand Down
9 changes: 0 additions & 9 deletions src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,5 @@ export const prerender = true;
</article>
</main>
<Footer />
<script>
import { useStaggerAnimationFromTo } from "@utils/useStaggerAnimationFromTo";
const staggetFromToParents = document.querySelectorAll(
".js-staggerFromTo"
) as NodeList;
staggetFromToParents.forEach((parent) => {
useStaggerAnimationFromTo(parent as HTMLElement);
});
</script>
</body>
</html>
28 changes: 0 additions & 28 deletions src/utils/useStaggerAnimationFromTo.ts

This file was deleted.

3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@utils/*": ["src/utils/*"],
"@assets/*": ["src/assets/*"]
"@utils/*": ["src/utils/*"]
}
}
}

1 comment on commit 7bb8384

@vercel
Copy link

@vercel vercel bot commented on 7bb8384 Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.