Files
awesome-python/website/templates/_topbar.html
T
Vinta ChenandClaude b91f2ab950 style: highlight Sponsorship in the topbar instead of Submit a project
The navbar gave Submit a project the highlighted style that marks the main call to action.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-27 20:56:58 +08:00

21 lines
772 B
HTML

<nav class="hero-topbar{% if not home %} category-topbar{% endif %}" aria-label="Site">
{% if home %}
<span class="hero-brand-mini">Awesome Python</span>
{% else %}
<a href="/" class="hero-brand-mini">Awesome Python</a>
{% endif %}
<div class="hero-topbar-actions">
{% if all_projects %}
<a href="/#library-index" class="hero-topbar-link">All projects</a>
{% endif %}
<a
href="https://github.com/vinta/awesome-python/blob/master/CONTRIBUTING.md"
class="hero-topbar-link"
target="_blank"
rel="noopener"
>Submit a project</a
>
<a href="/sponsorship/" class="hero-topbar-link hero-topbar-link-strong">Sponsorship</a>
</div>
</nav>