Skip to content

Commit

Permalink
Merge pull request #507 from thegreenwebfoundation/hs-team-feedback-t…
Browse files Browse the repository at this point in the history
…weaks

Hs team feedback tweaks
  • Loading branch information
hanopcan committed Aug 22, 2023
2 parents b3986db + bad7a07 commit 569983d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/greencheck/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class ProviderFilter(django_filters.FilterSet):

services = django_filters.ModelChoiceFilter(
field_name="services",
label="Web hosting service",
label="Green web hosting service",
queryset=ac_models.Service.objects.all(),
)
# note: this is commented out for Han,
Expand Down
3 changes: 3 additions & 0 deletions apps/theme/static_src/src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@
h1, h2, h3, h4, h5, h6 {
@apply font-bold;
}
summary {
cursor: pointer;
}
}
2 changes: 1 addition & 1 deletion apps/theme/templates/greencheck/directory_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{% block content %}
<div class="full-width bg-neutral-900 relative -top-6 md:-top-8">
<section class="container mx-auto text-white pt-12 pb-8 px-2 sm:px-4 lg:pb-12">
<section class="container mx-auto text-white pt-12 pb-8 px-2 sm:px-4 lg:pb-12" id="filters-top">

<h2 class="text-5xl md:text-disp-sm md:mt-6 pb-4">I'm looking for</h2>
<form method="get"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3 class="heading-icon__plant--black uppercase text-2xl md:text-med lg:text-2xl
</a>

<h3 class="heading-icon__lightning--black uppercase text-2xl md:text-med lg:text-2xl font-normal">Support<br/> the mission</h3>
<p class="mt-3 lg:mt-4 pt-4 lg:pt-6 border-t-2">We are non-profit working for the public benefit, with more funding we can have more impact.</p>
<p class="mt-3 lg:mt-4 pt-4 lg:pt-6 border-t-2">We are a small non-profit working for the public benefit, with more funding we can have more impact.</p>
<a class="btn btn-green btn-sm mt-4 lg:mt-6" target="_blank" rel="noopener noreferrer" href="https://www.thegreenwebfoundation.org/donate/">
How donating works
<img class="utility-icon external-link-icon" width="16px" height="16px" src="{% static 'img/icon-external-link.svg' %}" alt="Visit {{ obj.name }}'s website"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<section class="country-list my-2 lg:my-4">

<h2 class="text-2xl my-4 border-b-2 border-black">{{ country.grouper }} ({{ country.list|length }})</h2>
<h2 class="sticky z-10 top-0 mb-4 pt-4 text-2xl bg-white border-b-2 border-black">{{ country.grouper }} ({{ country.list|length }})</h2>

{% for obj in country.list %}
<article class="provider-listing lg:w-3/4 my-6 lg:mr-0 lg:ml-auto py-6 last-of-type:pb-2 border-b-2 border-neutral-200 last:border-0">
Expand Down Expand Up @@ -113,4 +113,6 @@ <h4 class="inline-block mb-0 font-bold text-xl" id="{{ obj.id }}">

{% endfor %}
</section>
{% endfor %}
{% endfor %}

<p>End of results. <a href="#filters-top">To the top</a>.

0 comments on commit 569983d

Please sign in to comment.