Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Preload data and code
Browse files Browse the repository at this point in the history
  • Loading branch information
aureleoules committed May 18, 2024
1 parent 9c62933 commit 47c1db9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="app-layout">
<aside class="app-sidebar">
<a href="/" class="logo logo-sm">
<a data-sveltekit-preload-code="eager" href="/" class="logo logo-sm">
<img
src="{import.meta.env.BASE_URL}images/logo.png"
alt="Bitcoin Core Coverage"
Expand All @@ -23,7 +23,7 @@
/>
</a>

<nav class="main-menu">
<nav data-sveltekit-preload-data="hover" class="main-menu">
<a
href="/bitcoin/bitcoin/pulls"
class="menu-item"
Expand All @@ -39,6 +39,7 @@
/>
</a>
<a
data-sveltekit-preload-code="eager"
href="/tests"
class="menu-item"
aria-label="Tests"
Expand All @@ -53,6 +54,7 @@
/>
</a>
<a
data-sveltekit-preload-code="eager"
href="/benchmarks"
class="menu-item"
aria-label="Benchmarks"
Expand All @@ -67,6 +69,7 @@
/>
</a>
<a
data-sveltekit-preload-code="eager"
href="/jobs"
class="menu-item"
aria-label="Jobs"
Expand Down

0 comments on commit 47c1db9

Please sign in to comment.