merge with base branch

This commit is contained in:
sadorowo 2024-03-16 10:06:24 +01:00
commit c683c7376c
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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 {