Skip to content

Commit 871e7fa

Browse files
committed
UI: Adjust default HyperDark speed
1 parent ad5ff74 commit 871e7fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/HyperDark/HyperDark.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
///////////////////
1212
// StarField BEGIN
1313
///////////////////
14-
const DEFAULT_SPEED = 33; // in %
14+
const DEFAULT_SPEED = 11; // in %
1515
let renderFrame;
1616
let watchCanvas;
1717
let mounted = false; // Keep track of mounted state to allow running server-side and prevent race conditions
@@ -286,7 +286,7 @@
286286
///////////////////
287287
// StarField END
288288
///////////////////
289-
const renderStars = (percent = 33) => {
289+
const renderStars = (percent = DEFAULT_SPEED) => {
290290
if (!hyperDark) {
291291
return;
292292
}

src/layouts/_Navbar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<NavLi class="cursor-pointer" href="/blog">Blog</NavLi>
9494

9595
<NavLi href="/contact">Contact</NavLi>
96-
<NavLi href="https://github.com/jsonmartin/astronot">Github</NavLi>
96+
<NavLi href="https://github.com/jsonmartin/AstroNot">Github</NavLi>
9797
</NavUl>
9898
<DarkMode btnClass="ml-4 text-white" size="lg" />
9999
</div>

0 commit comments

Comments
 (0)