://markodenic.com" target="_blank">Marko Denic</a> Â·
            <a href="https://github.com/markodenic/links" target="_blank">View source on GitHub</a>
        </div>
    </div>

    <script>
        const toggle = document.getElementById("toggleTheme");
        const root = document.documentElement;

        const storedTheme = localStorage.getItem("theme");
        const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;

        const theme = storedTheme || (prefersDark ? 'dark'