forked from react-navigation/react-navigation.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFooter.tsx
More file actions
30 lines (28 loc) · 927 Bytes
/
Footer.tsx
File metadata and controls
30 lines (28 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react';
const links = [
{ title: 'Docusaurus', href: 'https://docusaurus.io/' },
{ title: 'GitHub Pages', href: 'https://pages.github.com/' },
{ title: 'Netlify', href: 'https://www.netlify.com/' },
];
export default function Footer() {
return (
<footer className="footer">
<div className="container container-fluid">
<div className="footer__bottom text--center">
<div className="footer__copyright">
Copyright © {new Date().getFullYear()} React Navigation. Built with{' '}
{links.map((link, index) => (
<React.Fragment key={link.href}>
{index > 0 && ', '}
<a target="_blank" rel="noreferrer noopener" href={link.href}>
{link.title}
</a>
</React.Fragment>
))}
.
</div>
</div>
</div>
</footer>
);
}