Nav, hero and buttons design update (#932)

This commit is contained in:
Emi
2024-09-17 10:46:34 +02:00
committed by GitHub
parent 93ef0ce517
commit 659fedfb1e
6 changed files with 148 additions and 147 deletions

View File

@@ -6,18 +6,20 @@
<img class="nav-logo" src="/assets/logo.svg" width="136" height="48" alt="Godot Engine">
<img class="nav-logo dark-logo" src="/assets/logo_dark.svg" width="136" height="48" alt="Godot Engine">
</a>
<label for="nav_toggle_cb" id="nav_toggle_btn">
<img src="/assets/icons/hamburger.svg" width="24" height="24" alt="Main menu">
</label>
<div class="mobile-links">
<span class="fund mobile"><a href="https://fund.godotengine.org">&#xFE0E; Donate</a></span>
<label for="nav_toggle_cb" id="nav_toggle_btn">
<img src="/assets/icons/hamburger.svg" width="24" height="24" alt="Main menu">
</label>
</div>
</div>
<nav id="nav">
<ul class="left">
<li><a href="/features/">Features</a></li>
<li class="only-on-mobile"><a href="/showcase/">Showcase</a></li>
<li><a href="/showcase/">Showcase</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/community/">Community</a></li>
<li><a href="/contact/">About</a></li>
<li><a href="https://godotengine.org/asset-library/asset">Assets</a></li>
</ul>
@@ -25,10 +27,7 @@
<li><a href="/download/windows/" class="set-os-download-url">Download</a></li>
<li><a href="https://docs.godotengine.org">Docs</a></li>
<li><a href="https://docs.godotengine.org/en/stable/contributing/how_to_contribute.html">Contribute</a></li>
{% comment %}
We add the control character at the end to force the heart to render as text and not as an emoji.
{% endcomment %}
<li class="fund"><a href="https://fund.godotengine.org">&#xFE0E; Donate</a></li>
<li class="fund desktop"><a href="https://fund.godotengine.org">&#xFE0E; Donate</a></li>
</ul>
</nav>
</div>