Add links to policies
Show links to terms of service and privacy policy on settings page
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
import React from 'react';
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function Footer() {
|
||||
export default function Footer(props) {
|
||||
return (
|
||||
<footer>
|
||||
© Matthew Grove {new Date().getFullYear()}
|
||||
<span>© Matthew Grove {new Date().getFullYear()}</span>
|
||||
{
|
||||
props.showTerms &&
|
||||
<>
|
||||
<Link to="/tos">Terms of service</Link>
|
||||
<Link to="/privacy">Privacy policy</Link>
|
||||
</>
|
||||
}
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user