Skip to content

Commit

Permalink
feat: add "skip to content" navigation (#106)
Browse files Browse the repository at this point in the history
* feat: add "skip to content" navigation

* fix: wrap <main> around iframe

* fix: wrap <main> around section

* Revert "fix: wrap <main> around iframe"

This reverts commit 8fb4253.

* Revert "Update +page.svelte"

This reverts commit 06b2f29673aedb77084fd865e153de3a7049eac2.

* Revert "fix: wrap <main> around section"

This reverts commit 7a2f991.

* Revert "Update Container.svelte"

This reverts commit 45d4b20aa9a0741344cb8b54747cc56499d62b91.

* fix: point to page-content

---------

Co-authored-by: Moritz Mähr <[email protected]>
  • Loading branch information
mtwente and maehr authored Mar 8, 2024
1 parent 81434a0 commit 8a5aeba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
scrollbarGutter="auto"
>
<svelte:fragment slot="header">
<div class="flex justify-center">
<a
class="bg-secondary variant-filled-secondary btn absolute m-4 -translate-y-16 transition focus:translate-y-0"
href="#page-content">zum Seiteninhalt springen</a
>
</div>
<AppBar background="bg-primary-500">
<svelte:fragment slot="lead">
<div class="flex">
Expand Down

0 comments on commit 8a5aeba

Please sign in to comment.