mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
change menu buttons to links (#2183)
This commit is contained in:
parent
e3092258bf
commit
8b95f4668c
2 changed files with 19 additions and 12 deletions
|
@ -318,4 +318,5 @@ $(document).on("click", "#top #menu .icon-button", (e) => {
|
|||
ManualRestart.set();
|
||||
changePage(href.replace("/", ""));
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
|
|
@ -69,14 +69,20 @@
|
|||
<meta property="og:title" content="Monkeytype" />
|
||||
<meta property="og:url" content="https://monkeytype.com/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="https://monkeytype.com/images/mtsocial.png" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="https://monkeytype.com/images/mtsocial.png"
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="A minimalistic, customisable typing website. Test yourself in various modes, track your progress and improve your typing speed."
|
||||
/>
|
||||
<meta name="theme-color" content="#e2b714" id="metaThemeColor" />
|
||||
<meta name="twitter:title" content="Monkeytype" />
|
||||
<meta name="twitter:image" content="https://monkeytype.com/images/mtsocial.png" />
|
||||
<meta
|
||||
name="twitter:image"
|
||||
content="https://monkeytype.com/images/mtsocial.png"
|
||||
/>
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<!-- <script type="text/javascript">
|
||||
window["nitroAds"] = window["nitroAds"] || {
|
||||
|
@ -767,7 +773,7 @@
|
|||
<!-- <img src="images/logo1.svg" alt="" width="200px" height="100px"> -->
|
||||
</div>
|
||||
<div id="menu">
|
||||
<div
|
||||
<a
|
||||
id="startTestButton"
|
||||
class="icon-button view-start"
|
||||
tabindex="2"
|
||||
|
@ -777,7 +783,7 @@
|
|||
<div class="icon">
|
||||
<i class="fas fa-fw fa-keyboard"></i>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div
|
||||
class="icon-button leaderboards view-leaderboards"
|
||||
tabindex="2"
|
||||
|
@ -787,7 +793,7 @@
|
|||
<i class="fas fa-fw fa-crown"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
<a
|
||||
class="icon-button view-about"
|
||||
tabindex="2"
|
||||
href="/about"
|
||||
|
@ -796,7 +802,7 @@
|
|||
<div class="icon">
|
||||
<i class="fas fa-fw fa-info"></i>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!-- <a
|
||||
class="icon-button discord"
|
||||
tabindex="2"
|
||||
|
@ -809,7 +815,7 @@
|
|||
<i class="fab fa-discord"></i>
|
||||
</div>
|
||||
</a> -->
|
||||
<div
|
||||
<a
|
||||
class="icon-button view-settings"
|
||||
tabindex="2"
|
||||
href="/settings"
|
||||
|
@ -818,8 +824,8 @@
|
|||
<div class="icon">
|
||||
<i class="fas fa-fw fa-cog"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
</a>
|
||||
<a
|
||||
class="icon-button hidden account view-account"
|
||||
tabindex="2"
|
||||
href="/account"
|
||||
|
@ -829,8 +835,8 @@
|
|||
<i class="fas fa-fw fa-user"></i>
|
||||
</div>
|
||||
<div class="text"></div>
|
||||
</div>
|
||||
<div
|
||||
</a>
|
||||
<a
|
||||
class="icon-button login view-login"
|
||||
tabindex="2"
|
||||
href="/login"
|
||||
|
@ -839,7 +845,7 @@
|
|||
<div class="icon">
|
||||
<i class="far fa-fw fa-user"></i>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="config hidden">
|
||||
|
|
Loading…
Reference in a new issue