Skip to content

Commit

Permalink
Refactor: Remove powerglitch dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Oct 24, 2024
1 parent 543329a commit ea9584d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
11 changes: 0 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ catalogs:
vite: ^4 || ^5
landing:
motion: ^10.18.0
powerglitch: ^2.3.4
tailwindcss: ^3.4.14
tailwind-merge: ^2.5.4
tailwind-scrollbar: ^3.1.0
Expand Down
1 change: 0 additions & 1 deletion www/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"astro-icon": "catalog:landing",
"html-entities": "^2.5.2",
"motion": "catalog:landing",
"powerglitch": "catalog:landing",
"sharp": "catalog:",
"satori": "^0.11.1",
"satori-html": "^0.3.2",
Expand Down
2 changes: 0 additions & 2 deletions www/web/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ const features = (await getCollection('features')).sort(
---

<script>
// import { PowerGlitch } from 'powerglitch' // is this even used?
import { animate, inView } from 'motion'

// DOM Nodes
const hero = document.getElementById('hero') as HTMLElement
inView(hero, () => {
animate(hero, { opacity: [0, 1], y: [60, 0] }, { duration: 2 })
})
// PowerGlitch.glitch('.glitch')
</script>

<BaseLayout>
Expand Down

0 comments on commit ea9584d

Please sign in to comment.