feat: added dropdown language menu

it's currently hardcoded tho
This commit is contained in:
Vitor Gonçalves 2024-02-08 17:47:44 -03:00
parent fcb3a11eef
commit 1ea4572867
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
2 changed files with 14 additions and 2 deletions

View File

@ -101,3 +101,11 @@ a {
}
a:hover { text-decoration: underline; }
#select-lang {
font-family: var(--casualFonts);
background: var(--bgColor);
color: var(--linkColor);
border-style: none;
font-size: medium;
}

View File

@ -19,6 +19,10 @@
<a href="http://git.vern.cc/vern/wiki/commits/branch/master">Recent changes</a>
<a href="http://git.vern.cc/vern/wiki">Source</a>
<a href="/authors/">Wiki Authors</a>
<select name="Language" id="select-lang" onChange="window.document.location.href=this.options[this.selectedIndex].value;">
<option id="eng-button" value="//wiki.vern.cc/eng">English</option>
<option id="tur-button" value="//wiki.vern.cc/tur">Turkish</option>
</select>
</nav>
</header>
<main>