diff --git a/ak/views.py b/ak/views.py index 308ba50e6..5a4541f36 100644 --- a/ak/views.py +++ b/ak/views.py @@ -28,9 +28,13 @@ def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context["entries"] = Entry.objects.published().order_by("-publish_at")[:3] context["events"] = self.get_events() - context["testimonial"] = ( - Testimonial.objects.live().filter(pull_quote__gt="").last() + testimonials = ( + Testimonial.objects.live() + .filter(pull_quote__gt="") + .order_by("-first_published_at") ) + context["testimonials"] = testimonials + context["num_testimonials"] = testimonials.count() if context["events"]: context["num_months"] = len(context["events"]) else: diff --git a/static/css/v3/buttons.css b/static/css/v3/buttons.css index c8af0d353..e3529b639 100644 --- a/static/css/v3/buttons.css +++ b/static/css/v3/buttons.css @@ -63,7 +63,6 @@ } .btn-secondary { - background: var(--color-surface-weak); border-color: var(--color-stroke-strong); color: var(--color-text-primary); } @@ -148,6 +147,7 @@ } .btn.btn-hero.btn-secondary { + background: var(--color-surface-weak); border-color: var(--color-stroke-weak); } diff --git a/static/css/v3/dialog.css b/static/css/v3/dialog.css index 26623967c..50283f8a8 100644 --- a/static/css/v3/dialog.css +++ b/static/css/v3/dialog.css @@ -139,6 +139,7 @@ .dialog-modal__description p { margin: 0; + padding: 0; font-family: var(--font-sans); font-size: var(--font-size-base); font-weight: var(--font-weight-regular); diff --git a/templates/homepage.html b/templates/homepage.html index a8b04e771..94276e134 100644 --- a/templates/homepage.html +++ b/templates/homepage.html @@ -60,17 +60,42 @@