Skip to content
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

Customer stories & Partners: New pages and homepage updates #377

Merged
merged 98 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
63b8e60
feat(partners): create /partners with contact includes
machikoyasuda Jul 24, 2024
b959e2f
feat(partners): add clipped header
machikoyasuda Jul 24, 2024
67aa2b7
feat(partners): add CDT image, text, stats
machikoyasuda Jul 25, 2024
0296ec4
feat(partners): add CARB image, text, stats
machikoyasuda Jul 24, 2024
16c7ff6
feat(home): add partner logos and graf to home
machikoyasuda Jul 25, 2024
36a7bd2
refactor(partners): rename bg images
machikoyasuda Jul 25, 2024
b8be103
fix: remove dups
machikoyasuda Jul 25, 2024
abe5d22
feat(partners): add purple quote border
machikoyasuda Jul 25, 2024
79ae7d4
fix(copy): smart quote
machikoyasuda Jul 25, 2024
dd344e6
fix(home): fix partners logo wrap issue
machikoyasuda Jul 29, 2024
b1d2918
fix(partners): move source
machikoyasuda Jul 30, 2024
f9eb794
fix(partners): footnote/backlink style
machikoyasuda Jul 31, 2024
500d3fe
fix(partners): a11y - add blank alt for decorative pic
machikoyasuda Jul 31, 2024
b4fe3da
fix(partners): a11y - add role=presentation for img
machikoyasuda Jul 31, 2024
ecc7763
feat(customer-stories): add page to header
machikoyasuda Jul 25, 2024
3cc9697
feat(stories): add header, vctc, toc
machikoyasuda Jul 25, 2024
a957a01
feat(stories): add map to header
machikoyasuda Jul 25, 2024
ab29b63
feat(stories): add Glenn County
machikoyasuda Jul 25, 2024
e0775cd
feat(stories): add Impact and MST
machikoyasuda Jul 25, 2024
ee41e1c
feat(stories): add contact and sources
machikoyasuda Jul 30, 2024
2572690
feat(stories): add sources
machikoyasuda Jul 25, 2024
7b3352a
feat(stories): spacing for Source, Impact
machikoyasuda Jul 25, 2024
fd87fbc
fix(stories): mobile spacing for toc
machikoyasuda Jul 25, 2024
4292c1b
feat(stories): first pass @ Impact
machikoyasuda Jul 25, 2024
65a14db
feat(impact): mobile alignment for impact
machikoyasuda Jul 30, 2024
213d75f
feat(stories): desktop impact gradient, alignment
machikoyasuda Jul 26, 2024
f53d7f5
feat(stories): impact - desktop caption
machikoyasuda Jul 26, 2024
6995f65
feat(stories): desktop toc top
machikoyasuda Jul 26, 2024
1a342fc
feat(stories): impact - desktop alignment
machikoyasuda Jul 26, 2024
db5444b
fix(footer): fix the desktop footer position
machikoyasuda Jul 26, 2024
c86be0b
feat(stories): impact - inner desktop padding
machikoyasuda Jul 26, 2024
a7962da
feat(home): add stats section
machikoyasuda Jul 30, 2024
e22d0e5
fix(footer): only absolute footer on stories
machikoyasuda Jul 26, 2024
5b87ee6
feat(home): add stats source section
machikoyasuda Jul 26, 2024
71cb109
feat(stories): desktop - impact section fade
machikoyasuda Jul 27, 2024
68eae86
fix(stories): quote border is yellow
machikoyasuda Jul 27, 2024
039dd93
feat(stories): add anchor links and style
machikoyasuda Jul 29, 2024
f4cfc9e
feat(stories): add source, anchor links
machikoyasuda Jul 29, 2024
e42b72e
feat(stories): add footnotes
machikoyasuda Jul 29, 2024
f9d32fd
fix(stories): no duplicate IDs and fix typo
machikoyasuda Jul 29, 2024
995af7a
feat(stories): sidebar logic
machikoyasuda Jul 29, 2024
42cba6e
feat(stories): sidebar - check for hash on load
machikoyasuda Jul 29, 2024
aed2d86
fix(sidebar): show Topics only on Desktop
machikoyasuda Jul 29, 2024
6405bc2
fix(css): remove unused class
machikoyasuda Jul 29, 2024
0cdf4c4
fix(stories): update map illo
machikoyasuda Jul 29, 2024
2b4d5e6
fix(stories): photo captions are bs-secondary, not tertiary
machikoyasuda Jul 29, 2024
0d9d8a4
fix(stories): desktop - hero bottom spacing is now 72px
machikoyasuda Jul 29, 2024
77702ab
fix(stories): desktop/mobile - spacing between hero/h2
machikoyasuda Jul 29, 2024
4a02f9b
fix(stories): desktop - add 16px more padding between sections
machikoyasuda Jul 29, 2024
75d81a6
fix(stories): mobile - add 16px between glenn section too
machikoyasuda Jul 29, 2024
9347725
fix(stories): contact - 32px margin X for mobile, text center on m
machikoyasuda Jul 29, 2024
0850e42
fix(stories): fix alignment of HR under MST
machikoyasuda Jul 29, 2024
0388a04
feat(footnotes): first pass @ footnotes for Stories
machikoyasuda Jul 29, 2024
4b172c1
fix(stories): footnotes - add backlinks
machikoyasuda Jul 29, 2024
85425ca
refactor(sidebar): refactor sidebar js, remove data-category:
machikoyasuda Jul 29, 2024
e61a261
refactor(sidebar): turn duplicate code into method
machikoyasuda Jul 29, 2024
fff82ed
fix(stories): reverse div order for better tab ordering
machikoyasuda Jul 29, 2024
54e83d3
fix(home): typo
machikoyasuda Jul 30, 2024
75427fa
feat(stats): add real footnotes
machikoyasuda Jul 30, 2024
6814b90
fix(home): fix links
machikoyasuda Jul 31, 2024
48dc7b5
fix(stats): rename stats to home-stats
machikoyasuda Jul 31, 2024
d1a4bc9
fix(stories): first round of a11y changes
machikoyasuda Jul 31, 2024
75f910d
fix(home): delete unnecessary IDs
machikoyasuda Aug 1, 2024
4453943
fix(stories): fix the h3/h4 bug
machikoyasuda Jul 31, 2024
1abb6df
fix(stories): span to h2
machikoyasuda Jul 31, 2024
207be5f
fix(stories): use h2 not h3 for toc
machikoyasuda Jul 31, 2024
d1a4824
fix(sidebar): if a user goes back, there shouldn't be 2 pairs active
machikoyasuda Jul 31, 2024
ae98801
fix(sidebar): add comment
machikoyasuda Jul 31, 2024
8291db9
fix(sidebar): rename method
machikoyasuda Jul 31, 2024
1bb04c7
fix(sidebar): sidebar active fxn works going fwds and backwards
machikoyasuda Jul 31, 2024
2eb6d7a
fix(stories): tabindex not necessary
machikoyasuda Aug 1, 2024
be7cf58
fix(stories): footnotes - remove title
machikoyasuda Aug 1, 2024
68487af
fix(sidebar): add remove hash line, remove set hash line
machikoyasuda Aug 1, 2024
ca0cbb5
fix(sidebar): remove now unnecessary click handler
machikoyasuda Aug 1, 2024
436f184
Customer stories: Stories page and homepage update (#380)
machikoyasuda Aug 1, 2024
689fc4f
fix(partners): copy update
machikoyasuda Aug 1, 2024
c5117bb
fix(copy): update Homepage stats copy
machikoyasuda Aug 1, 2024
e979557
fix(stories): remove photo captions
machikoyasuda Aug 1, 2024
e7b02b7
fix(home): add calitp dashboard link
machikoyasuda Aug 1, 2024
b017348
fix(stories): update copy
machikoyasuda Aug 1, 2024
78fda65
fix(stories): how many transit agencies are there in Calif?
machikoyasuda Aug 1, 2024
0f5b4d9
fix(home): new partners language
machikoyasuda Aug 1, 2024
425dbcd
fix: copy - partners stat, number of trips
machikoyasuda Aug 1, 2024
93d437a
fix: footnote link for gtfs
machikoyasuda Aug 1, 2024
59ed791
fix(footnotes): update footnotes
machikoyasuda Aug 1, 2024
2d835f9
fix(stories): fix puffy link
machikoyasuda Aug 5, 2024
466919c
fix(stories): footnote numbering fix
machikoyasuda Aug 5, 2024
cffdc52
fix(stories): make Benefits link gray
machikoyasuda Aug 5, 2024
ff5ab11
fix(partners): add period
machikoyasuda Aug 5, 2024
7639f9b
fix(home): home page dot spacing
machikoyasuda Aug 5, 2024
1c54409
fix(partners): new carb quote
machikoyasuda Aug 22, 2024
91ff768
fix(stories): fix MST fleet number
machikoyasuda Aug 22, 2024
0e2b504
fix(stories): update MST 3rd graf
machikoyasuda Aug 22, 2024
5f2b69c
fix(stories): fta link source
machikoyasuda Aug 22, 2024
b49a843
fix: fix 3023
machikoyasuda Aug 27, 2024
b192cb4
fix(index): semicolons and cup of
machikoyasuda Sep 4, 2024
c2138bf
fix(stats): MSt blurb
machikoyasuda Sep 4, 2024
1c4e4d2
fix(stories): 2 new photos and alt lines
machikoyasuda Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ domain: www.calitp.org
google_fonts: "https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Raleway:wght@700&display=swap"
navigation:
header:
- name: Customer stories
url: /customer-stories
- name: Resources
url: /resources
- name: Press
Expand Down
23 changes: 11 additions & 12 deletions src/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
<section class="bg-dark navbar d-print-none">
<section class="{{ page.footer-class }} bg-dark navbar d-print-none">
<footer class="container">
<nav class="col-12">
<ul class="list-unstyled row row-column gap-md-4 my-3 my-md-0">
<li class="col-md-auto col-6 mb-1 mb-md-0">
<a
class="fw-normal text-decoration-none text-white"
rel="noreferrer"
href="#">Back to top</a>
<a class="fw-normal text-decoration-none text-white" rel="noreferrer" href="#">Back to top</a>
</li>
<li class="col-md-auto col-6 mb-1 mb-md-0">
<a
class="fw-normal text-decoration-none text-white"
rel="noreferrer"
target="_blank"
href="https://dot.ca.gov/privacy-policy">Privacy policy</a>
href="https://dot.ca.gov/privacy-policy"
>Privacy policy</a
>
</li>
<li class="col-md-auto col-12 my-1 my-md-0">
<a
class="fw-normal text-decoration-none text-white"
rel="noreferrer"
target="_blank"
href="https://www.ca.gov/use/">Conditions of use</a>
<a class="fw-normal text-decoration-none text-white" rel="noreferrer" target="_blank" href="https://www.ca.gov/use/"
>Conditions of use</a
>
</li>
<li class="col-md-auto col-12 my-1 my-md-0">
<a
class="fw-normal text-decoration-none text-white"
rel="noreferrer"
target="_blank"
href="https://registertovote.ca.gov/">Register to vote</a>
href="https://registertovote.ca.gov/"
>Register to vote</a
>
</li>
</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="navbar-collapse collapse justify-content-end" id="mainNav">
<ul class="navbar-nav mb-0">
{% include link_repeater.html list_class="nav-item" menu_items=site.navigation.header anchor_class="nav-link h4 mb-0
d-block rounded-1" %}
d-block rounded-1 text-nowrap" %}
</ul>
</div>
</div>
Expand Down
104 changes: 104 additions & 0 deletions src/_includes/home-stats.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<svg class="position-absolute d-none d-lg-block">
<clipPath id="path-home-stat-1" clipPathUnits="objectBoundingBox">
<path
d="M0.002,0.922 C0.001,0.953,0.023,0.979,0.052,0.98 L0.949,1 C0.978,1,1,0.977,1,0.945 L0.982,0.102 C0.982,0.072,0.96,0.049,0.933,0.047 L0.082,0.003 C0.054,0.001,0.029,0.025,0.028,0.057 L0.002,0.922"
></path>
</clipPath>
</svg>

<svg class="position-absolute d-none d-lg-block">
<clipPath id="path-home-stat-2" clipPathUnits="objectBoundingBox">
<path
d="M0.002,0.082 C0.001,0.051,0.023,0.025,0.052,0.024 L0.949,0.001 C0.978,0.001,1,0.027,1,0.059 L0.982,0.902 C0.982,0.932,0.96,0.955,0.933,0.957 L0.082,1 C0.054,1,0.029,0.979,0.028,0.947 L0.002,0.082"
></path>
</clipPath>
</svg>
<svg class="position-absolute d-none d-lg-block">
<clipPath id="path-home-stat-3" clipPathUnits="objectBoundingBox">
<path
d="M1,0.082 C1,0.051,0.978,0.025,0.95,0.024 L0.053,0.001 C0.023,0.001,-0.001,0.027,0,0.059 L0.02,0.902 C0.02,0.932,0.042,0.955,0.069,0.957 L0.919,1 C0.948,1,0.972,0.979,0.973,0.947 L1,0.082"
></path>
</clipPath>
</svg>

<div class="row d-flex justify-content-center">
<div class="col-12">
<h2 class="h1 text-center">Impact across California</h2>
<div class="row justify-content-center pt-3 pt-3 pt-lg-5 mt-lg-1 pb-4 mb-lg-3">
<div class="col-11 mb-4 mb-lg-0 col-lg-3 px-4 text-center background-yellow-4 clipped-home-stat-1">
<p class="fs-stats pt-3 mt-3 mt-lg-5">68%</p>
<p class="fs-4 fw-bold lh-sm px-3">
Increase in reduced-fare transactions<sup id="fnref:1" role="doc-noteref"
><a class="link-body-emphasis text-decoration-none" href="#fn:1" rel="footnote">1</a></sup
>
</p>
<a class="pb-3 mb-3 mb-lg-5 fw-normal link-body-emphasis d-inline-block" href="/customer-stories#stories-benefits-MST"
>Learn how Monterey-Salinas Transit made it simpler to access transit benefits.</a
>
</div>
<div class="col-11 mb-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-4 clipped-home-stat-2">
<p class="fs-stats pt-3 mt-3 mt-lg-5">229,988</p>
<p class="fs-4 fw-bold lh-sm px-3">
Trips using a contactless credit/debit card<sup id="fnref:2" role="doc-noteref"
><a class="link-body-emphasis text-decoration-none" href="#fn:2" rel="footnote">2</a></sup
>
</p>
<a
class="pb-3 mb-3 mb-lg-5 fw-normal link-body-emphasis d-inline-block"
href="/customer-stories#stories-contactless-payments-GCTD"
>Read how Glenn County is implementing contactless payments.</a
>
</div>
<div
class="col-11 mb-lg-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-4 clipped-home-stat-3"
>
<p class="fs-stats pt-3 mt-3 mt-lg-5">91%</p>
<p class="fs-4 fw-bold lh-sm px-3">
Reduction of expired GTFS Schedule Feeds<sup id="fnref:3" role="doc-noteref"
><a class="link-body-emphasis text-decoration-none" href="#fn:3" rel="footnote">3</a></sup
>
</p>
<a class="pb-3 mb-3 mb-lg-5 fw-normal link-body-emphasis d-inline-block" href="/customer-stories#stories-GTFS-VCTC"
>Learn more about Ventura County’s success with GTFS.</a
>
</div>
</div>
</div>
</div>

<div class="row d-flex justify-content-center">
<div class="col-lg-6 mb-3 pb-3" role="doc-endnotes">
<ol>
<li class="small text-body-tertiary" id="fn:1" role="doc-endnote">
<small class="d-block text-body-tertiary"
>Average month over month increase in reduced-fare transactions for older adults and veterans who used Cal-ITP Benefits
since online enrollment became available. <a href="#fnref:1" class="reversefootnote" role="doc-backlink">↩</a></small
>
</li>
<li class="small text-body-tertiary" id="fn:2" role="doc-endnote">
<small class="d-block text-body-tertiary"
>Year to date, 2024.
<a
href="https://dashboards.calitp.org/public/dashboard/7aa4a836-7525-4fe7-b261-1d29ef4cd0bb"
class="small link-body-emphasis fs-7 fw-normal"
target="_blank"
>Cal-ITP Contactless Usage Dashboard</a
>
<a href="#fnref:2" class="reversefootnote" role="doc-backlink">↩</a></small
>
</li>
<li class="small text-body-tertiary" id="fn:3" role="doc-endnote">
<small class="d-block text-body-tertiary"
>Since 2023.
<a
class="small link-body-emphasis fs-7 fw-normal"
href="https://dashboards.calitp.org/public/dashboard/9dd1758e-59de-479a-877b-c63657dc555d?tab=13-objective-1%3A-improve-up-to-dateness-of-schedule-service"
target="_blank"
>Transit Data Quality Dashboard</a
>
<a href="#fnref:3" class="reversefootnote" role="doc-backlink">↩</a></small
>
</li>
</ol>
</div>
</div>
Loading