Skip to content

Commit 84c793c

Browse files
committed
feat: Disabled footer effect since it might cause CPU overhead on some devices
1 parent 4af6a9b commit 84c793c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Footer.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { ExternalLink, BookOpen, Users, Rss, Github, Mail } from '@lucide/astro'
33
import { BUY_LINK_PRINT, BUY_LINK_EBOOK, BUY_LINK_PACKT } from '@lib/const'
44
import { getCollection } from 'astro:content'
5-
import Threads from '@components/Threads.tsx'
5+
// import Threads from '@components/Threads.tsx'
66
77
const blogPosts = await getCollection('blog')
88
const latestBlogPosts = blogPosts
@@ -13,7 +13,7 @@ const currentYear = new Date().getFullYear()
1313
---
1414

1515
<footer class="bg-base-200 text-base-content py-16 lg:py-20 relative">
16-
<div class="absolute inset-0 z-1 pointer-events-none opacity-25">
16+
<!-- <div class="absolute inset-0 z-1 pointer-events-none opacity-25">
1717
<div class="relative w-full h-full -z-1">
1818
<Threads
1919
amplitude={1.6}
@@ -23,7 +23,7 @@ const currentYear = new Date().getFullYear()
2323
client:load
2424
/>
2525
</div>
26-
</div>
26+
</div> -->
2727

2828
<div class="max-w-7xl mx-auto px-6 z-10">
2929
<!-- Main Footer Content -->

0 commit comments

Comments
 (0)