merge with base branch
This commit is contained in:
commit
c683c7376c
3
404.html
3
404.html
@ -4,10 +4,11 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="huh, you are lost">
|
||||
<meta name="description" content="huh... you lost">
|
||||
|
||||
<link rel="shortcut icon" href="assets/logo.png">
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
<script defer src="assets/script.js"></script>
|
||||
<title>sador - you are lost</title>
|
||||
</head>
|
||||
|
||||
|
@ -27,7 +27,7 @@ smoothScrollLinks.forEach(link => {
|
||||
const switchTheme = document.getElementById('switch-theme');
|
||||
const theme = localStorage.getItem('theme');
|
||||
|
||||
switchTheme.addEventListener('click', () => {
|
||||
switchTheme?.addEventListener('click', () => {
|
||||
if (theme === 'dark') {
|
||||
localStorage.setItem('theme', 'light');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user