diff --git a/website/static/style.css b/website/static/style.css index bac5b58..9305657 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -236,7 +236,9 @@ kbd { .hero-topbar-actions { display: flex; + flex-wrap: wrap; align-items: center; + justify-content: flex-end; gap: 0.75rem; } diff --git a/website/templates/category.html b/website/templates/category.html index 3911544..6e4b03e 100644 --- a/website/templates/category.html +++ b/website/templates/category.html @@ -23,6 +23,7 @@ rel="noopener" >Submit a project + Sponsorship diff --git a/website/templates/index.html b/website/templates/index.html index bf2abd2..e7f1c9e 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -18,6 +18,7 @@ rel="noopener" >Submit a project + Sponsorship diff --git a/website/templates/sponsorship.html b/website/templates/sponsorship.html index aeda4ca..224d87e 100644 --- a/website/templates/sponsorship.html +++ b/website/templates/sponsorship.html @@ -22,6 +22,7 @@ rel="noopener" >Submit a project + Sponsorship @@ -48,7 +49,7 @@ >Email sponsorship@awesome-python.com ' not in category_html + assert 'Sponsorship' in category_html assert "

Widgets

" in category_html assert 'Widget libraries. Also see awesome-widgets.' in category_html assert 'href="https://example.com/w1"' in category_html @@ -481,6 +482,7 @@ class TestBuild: assert parser.meta_by_name["twitter:description"] == expected_description assert parser.meta_by_name["twitter:image"] == expected_image assert "\n Sponsorship' in html assert 'id="hero-category-heading">Browse by category' in html assert 'class="hero-category-link" href="/categories/ai-and-agents/"' in html @@ -750,6 +752,7 @@ class TestBuild: "Sponsorship for awesome-python: tiers, audience, and how to get your product in front of professional Python developers evaluating tools for production use." ) assert parser.links_by_rel["canonical"] == "https://awesome-python.com/sponsorship/" + assert 'Sponsorship' in html marker = '