layouts/partials/nav.html
<nav> <div class="nav-group"> <div> <a href="/"> <svg id=pg viewBox="0 0 15.89 19.05" xmlns="http://www.w3.org/2000/svg"> <path id=top d="M1.43 0L.88 3.05h1.56L1.8 6.72c-.08.42-.12.84-.12 1.24 0 1.22.35 2.2 1.06 2.95.71.74 1.72 1.3 2.96 1.12 1.71-.25 1.78-1.4 2.6-1.8.8-.58 1.78-1.1 4.1-.78l1.18-6.4h1.77L15.9 0zM8.3 3.05h1.6l-.66 3.82v-.02c-.11.63-.35 1.15-.73 1.54-.37.38-.84.57-1.43.57-.56 0-1-.15-1.28-.45A1.7 1.7 0 015.4 7.3c0-.17.02-.36.06-.57l.36-1.96c0-.03.5-1.65 2.5-1.71z" fill="#1a1a1a"/> <path id=bottom d="M8.02 13.32c-.25 1.52-1.06 2.28-2.41 2.28-.5 0-.9-.1-1.2-.3a1.1 1.1 0 01-.47-.86H.02l-.02.4c0 1.3.45 2.33 1.36 3.07.92.76 2.22 1.14 3.88 1.14 1.31 0 2.45-.26 3.4-.77.94-.52 1.7-1.2 2.25-2.07.56-1.27.7-1.92.88-2.94l.34-1.88c-2.16-.22-3.66.06-4.09 1.93z" fill="#4d4d4d"/> </svg> </a> </div> <!-- <div><a href="/projects">Projects</a></div> --> <div><a href="/posts">Posts</a></div> <div><a href="/snippets">Snippets</a></div> <div><a href="https://git.prithu.xyz">Git</a></div> </div> <div class="nav-group"> <select id=theme> <option value=light>Light</option> <option value=dark>Dark</option> </select> </div> </nav>