Swapping footer links.

This commit is contained in:
Roland 2022-11-12 13:43:31 -07:00
parent cc80929723
commit 4ab01eaa90
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 8 additions and 6 deletions

View file

@ -26,6 +26,10 @@ function PageNotFound() {
</Container>)
}
function Dot() {
return <>&nbsp;•&nbsp;</>
}
function Footer() {
const {t} = useContext(ThemeContext);
const {status} = useContext(StatusContext);
@ -33,10 +37,10 @@ function Footer() {
version = version ? `v${version}` : null;
return <Container textAlign='center' style={{marginTop: '1.5em', marginBottom: '1em', ...t}}>
<span {...t}>
WROLPi {version} &nbsp;•&nbsp;
<Link to='/donate'>Donate</Link> &nbsp;•&nbsp;
<a href='https://github.com/lrnselfreliance/wrolpi'>GitHub</a> &nbsp;•&nbsp;
<a href='https://discord.gg/HrwFk7nqA2'>Discord</a>
WROLPi {version} <Dot/>
<a href='https://discord.gg/HrwFk7nqA2'>Discord</a> <Dot/>
<a href='https://github.com/lrnselfreliance/wrolpi'>GitHub</a> <Dot/>
<Link to='/donate'>Donate</Link>
</span>
</Container>
}

View file

@ -40,8 +40,6 @@ import {ThemeContext} from "../contexts/contexts";
import {Button, CardIcon, Header, Loader, Placeholder, Segment, Table} from "./Theme";
function ArchivePage() {
const {s} = useContext(ThemeContext);
const [deleteOpen, setDeleteOpen] = useState(false);
const [syncOpen, setSyncOpen] = useState(false);
const navigate = useNavigate();