footer : fix show/hide logic, transition and scroll throttle. related to #51
All checks were successful
Deploy / Deploy to Production (push) Successful in 23s

- Fix scroll listener (cleanup, local querySelector, scrollHeight calc)
- Fix media query syntax in variables.css (missing space in `and (`)
- Use transform: translateY instead of bottom for GPU-accelerated transition
- Throttle scroll handler with requestAnimationFrame
- Move Footer to App.svelte (global), remove per-view imports

refs #51

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-04-01 19:16:58 +02:00
parent 77a1c58573
commit 0afbcf4088
9 changed files with 48 additions and 53 deletions

View file

@ -6,7 +6,6 @@
import { t } from '@i18n'
import { onMount } from 'svelte'
import Footer from '@components/layout/Footer.svelte'
import WhitePaperDialog from '@components/WhitePaperDialog.svelte'
import ShareButtons from '@components/blocks/ShareButtons.svelte'
import ArticleRelated from '@components/blocks/ArticleRelated.svelte'
@ -144,8 +143,6 @@
<ArticleRelated related={data.related} />
{/if}
</article>
<Footer />
</div>
<WhitePaperDialog uri={activeWhitePaperUri} onClose={() => activeWhitePaperUri = null} />