-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use Footer to build the CF.gov footer
- Loading branch information
Showing
1 changed file
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
import { Icon } from '../Icon/Icon'; | ||
import Footer from './Footer'; | ||
|
||
export const FooterCfGov = (): JSX.Element => { | ||
const navLinks = [ | ||
<a href='/about-us/' key='about'> | ||
About Us | ||
</a>, | ||
<a href='/about-us/contact-us/' key='contact'> | ||
Contact Us | ||
</a>, | ||
<a href='/about-us/careers/' key='careers'> | ||
Careers | ||
</a>, | ||
<a href='/about-us/events/' key='events'> | ||
Events | ||
</a>, | ||
<a href='/enforcement/information-industry-whistleblowers/' key='whistle'> | ||
Industry Whistleblowers | ||
</a>, | ||
<a href='/cfpb-ombudsman/' key='ombudsman'> | ||
CFPB Ombudsman | ||
</a> | ||
]; | ||
|
||
const socialLinks = [ | ||
<a | ||
key='facebook' | ||
aria-label='Visit us on Facebook' | ||
data-pretty-href='https://www.facebook.com/CFPB' | ||
href='/external-site/?ext_url=https%3A%2F%2Fwww.facebook.com%2FCFPB&signature=mLDxq_fH8p2jVLrkPngPqkmwdsl_JEMSCoqZ74gLcCY' | ||
> | ||
<Icon name='facebook' withBg /> | ||
</a>, | ||
<a | ||
key='twitter' | ||
aria-label='Visit us on Twitter' | ||
data-pretty-href='https://twitter.com/CFPB' | ||
href='/external-site/?ext_url=https%3A%2F%2Ftwitter.com%2FCFPB&signature=2v_Kj1FtlY2ztSvBVUEZAzTb4Mrz1xDgzU7E4914qyo' | ||
> | ||
<Icon name='twitter' withBg /> | ||
</a>, | ||
<a | ||
key='linkedin' | ||
aria-label='Visit us on LinkedIn' | ||
data-pretty-href='https://www.linkedin.com/company/consumer-financial-protection-bureau' | ||
href='/external-site/?ext_url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fconsumer-financial-protection-bureau&signature=cz77eS0N43ZshZvOXukyBB85_qSkkDBs7o0q5Ikf5m0' | ||
> | ||
<Icon name='linkedin' withBg /> | ||
</a>, | ||
<a | ||
key='youtube' | ||
aria-label='Visit us on YouTube' | ||
data-pretty-href='https://www.youtube.com/user/cfpbvideo' | ||
href='/external-site/?ext_url=https%3A%2F%2Fwww.youtube.com%2Fuser%2Fcfpbvideo&signature=ldBCE9dfMS_pke0Gy053F8Li0bUMA6CpBpTodqahPSA' | ||
> | ||
<Icon name='youtube' alt='Visit us on YouTube' withBg /> | ||
</a>, | ||
<a | ||
key='flickr' | ||
aria-label='Visit us on Flickr' | ||
data-pretty-href='https://www.flickr.com/photos/cfpbphotos' | ||
href='/external-site/?ext_url=https%3A%2F%2Fwww.flickr.com%2Fphotos%2Fcfpbphotos&signature=GbqC6nvI0a2NHWTQqKaK2EOdJBMbQ9D6sv7J1TXR1oI' | ||
> | ||
<Icon name='flickr' alt='Visit us on Flickr' withBg /> | ||
</a> | ||
]; | ||
|
||
const linksCol1 = [ | ||
<a key='foia' href='/foia-requests/'> | ||
FOIA | ||
</a>, | ||
<a key='privacy' href='/privacy/'> | ||
Privacy | ||
</a>, | ||
<a key='privacy-policy' href='/privacy/website-privacy-policy/'> | ||
Website Privacy Policy & Legal Notices | ||
</a>, | ||
<a key='data' href='/data/'> | ||
Data | ||
</a>, | ||
<a key='open-government' href='/open-government/'> | ||
Open Government | ||
</a>, | ||
<a | ||
key='info-quality' | ||
href='/open-government/information-quality-guidelines/' | ||
> | ||
Information Quality Guidelines | ||
</a> | ||
]; | ||
|
||
const linksCol2 = [ | ||
<a key='dei' href='/about-us/diversity-and-inclusion/'> | ||
Diversity & Inclusion | ||
</a>, | ||
<a key='adjudication' href='/administrative-adjudication-proceedings/'> | ||
Administrative Adjudication | ||
</a>, | ||
<a key='writing' href='/plain-writing/'> | ||
Plain Writing | ||
</a>, | ||
<a key='accessibility' href='/accessibility/'> | ||
Accessibility | ||
</a>, | ||
<a key='civ-rights' href='/office-civil-rights/'> | ||
Office of Civil Rights | ||
</a>, | ||
<a key='no-fear' href='/office-civil-rights/no-fear-act-cummings-act/'> | ||
No FEAR Act & Cummings Act | ||
</a>, | ||
<a key='tribal' href='/tribal/'> | ||
Tribal | ||
</a> | ||
]; | ||
|
||
const linksCol3 = [ | ||
<a key='usa-gov' className='a-link a-link__icon' href='https://usa.gov/'> | ||
<span className='a-link_text'>USA.gov</span> | ||
<Icon name='external-link' alt='External link' /> | ||
</a>, | ||
<a | ||
key='inspector' | ||
className='a-link a-link__icon' | ||
href='https://www.federalreserve.gov/oig/default.htm' | ||
> | ||
<span className='a-link_text'>Office of Inspector General</span> | ||
<Icon name='external-link' alt='External link' /> | ||
</a> | ||
]; | ||
|
||
return ( | ||
<Footer | ||
navLinks={navLinks} | ||
socialLinks={socialLinks} | ||
linksCol1={linksCol1} | ||
linksCol2={linksCol2} | ||
linksCol3={linksCol3} | ||
/> | ||
); | ||
}; |