@@ -6,7 +6,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
66 import { overlay_open , on_this_page_open } from ' ../stores' ;
77 import { search } from ' ../state/search.svelte' ;
88 import Icon from ' ../components/Icon.svelte' ;
9- import { page } from ' $app/stores ' ;
9+ import { page } from ' $app/state ' ;
1010 import ThemeToggle from ' ../components/ThemeToggle.svelte' ;
1111 import MobileMenu from ' ./MobileMenu.svelte' ;
1212 import type { NavigationLink } from ' ../types' ;
@@ -86,7 +86,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
8686 <Dropdown >
8787 <a
8888 href ="/ {link .slug }"
89- aria-current ={$ page .url .pathname .startsWith (` /${link .slug } ` ) ? ' page' : undefined }
89+ aria-current ={page .url .pathname .startsWith (` /${link .slug } ` ) ? ' page' : undefined }
9090 >
9191 {link .title }
9292
@@ -99,8 +99,8 @@ Top navigation bar for the application. It provides a slot for the left side, th
9999 <a
100100 class =" secondary"
101101 href ={section .path }
102- aria-current ={$ page .url .pathname === section .path ||
103- $ page .url .pathname .startsWith (section .path ! )
102+ aria-current ={page .url .pathname === section .path ||
103+ page .url .pathname .startsWith (section .path ! )
104104 ? ' page'
105105 : undefined }
106106 >
@@ -113,7 +113,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
113113 {:else }
114114 <a
115115 href ="/ {link .slug }"
116- aria-current ={$ page .url .pathname .startsWith (` /${link .slug } ` ) ? ' page' : null }
116+ aria-current ={page .url .pathname .startsWith (` /${link .slug } ` ) ? ' page' : null }
117117 >
118118 {link .title }
119119 </a >
@@ -133,7 +133,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
133133 <span data-icon =" bluesky" ></span >
134134 </a >
135135
136- <a href =" https://github.com/sveltejs/svelte " aria-label =" GitHub Repo " >
136+ <a href =" https://github.com/sveltejs" aria-label =" GitHub Organization " >
137137 <span data-icon =" github" ></span >
138138 </a >
139139 </div >
@@ -169,7 +169,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
169169 open = ! open ;
170170
171171 if (open ) {
172- const segment = $ page .url .pathname .split (' /' )[1 ];
172+ const segment = page .url .pathname .split (' /' )[1 ];
173173 current = links .find ((link ) => link .slug === segment );
174174 }
175175 }}
0 commit comments