-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure large stat figures on impact report #963
Comments
@amwhitty I can probably copy the "stats" template code over and get it working. Let me look into it and I can let you know by tomorrow. |
@TomNUSDS Yes I agree have the left vertical stats and the left vertical nav won't work. Is it possible to take the text style but layout horizontal? Don't spend too long on this. Was mostly inquiring if it's a relatively simple enhancement. I can just add a "by the numbers" header and use the stats in a bulleted list like the rest of the text. |
https://www.usds.gov/report-to-congress/2017/fall/immigration-system/ has an impact section in it. But it's hacked as inline html in the markdown. PreviewSource### Impact
<div class="margin-bottom-3">
<div>
<span class="text-primary text-bold font-body-3xl">5</span>
<span class="text-primary text-bold font-body-2xl">%</span>
<span class="text-primary text-bold font-body-3xl"> → 50</span>
<span class="text-primary text-bold font-body-2xl">%</span>
</div>
<div>Increase in immigration workload completed digitally</div>
</div>
<div class="margin-bottom-3">
<div>
<span class="text-primary text-bold font-body-3xl">100</span>
<span class="text-primary text-bold font-body-2xl">%</span>
</div>
<div>of new N-400 applications electronically processed since late Oct. 2017</div>
</div> My exampleHere's what I've hacked together that uses Impact sections from the header: |
Pull request here: #964 |
Is it possible to replicate the big state/by the numbers style on project pages to be used on impact report pages?
The goal is to have these 4 impact report pages have large stat figures. I tried putting the stats in the SSA page like a project page, but that seems wrong.
https://usds.github.io/website-staging/impact-report/2024/ssa/
https://usds.github.io/website-staging/impact-report/2024/covid-reporting/
https://usds.github.io/website-staging/impact-report2024/medicaid-renewals/
https://usds.github.io/website-staging/impact-report/2024/medicaid-renewals/
Let me know if this is possible to potentially resolve by Wed 5/8. Thank you.
The text was updated successfully, but these errors were encountered: