This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
Rework the campaign page template to allow for the CTA to appear first on the page on mobile #1755
Closed
9 tasks done
Labels
Stakeholders: Audrey Hingle, Kevin Hill
This team is trying to build an appeal page similar to what other organizations use (examples given here and here)
After going back and forth a bit, seems like we want to adapt
campaign_page.html
for this purpose, mostly looking for the CTA to be above the fold in the appeal. There are a few things to consider here however:h1
and should actually be anh2
, we'll fix that too) into position above everything.To address the above, we need to make the following adjustments to the model and template:
order
CSS rules for the various rows that include the donate form, the "intro text", and the disclaimers without differing the experience for screen reader users too much.Dev Tasks
cta_first
boolean setting for theCampaignPage
class. This should determine the order of the markup incampaign_page.html
(Checked = cta->intro text->disclaimer, unchecked = intro text ->cta->disclaimer)intro_header
inCampaignPage
, replace the hard-coded "Donate now" textorder
css rules that only apply for tablet/desktop sizes whencta_first
isTrue
h1
to ah2
Acceptance Criteria
h2
appears above the "Intro" rich text on the pageh2
markup appears above the "Intro" rich text on the pageThe text was updated successfully, but these errors were encountered: