Remove donation button
This commit is contained in:
parent
876810de33
commit
5bd2e27a45
@ -8,7 +8,6 @@ import About from "./routes/About";
|
||||
import FAQ from "./routes/FAQ";
|
||||
import ReleaseNotes from "./routes/ReleaseNotes";
|
||||
import HowTo from "./routes/HowTo";
|
||||
import Donate from "./routes/Donate";
|
||||
|
||||
import { AuthProvider } from "./contexts/AuthContext";
|
||||
import { SettingsProvider } from "./contexts/SettingsContext";
|
||||
@ -27,9 +26,6 @@ function App() {
|
||||
<ToastProvider>
|
||||
<Router>
|
||||
<Switch>
|
||||
<Route path="/donate">
|
||||
<Donate />
|
||||
</Route>
|
||||
{/* Legacy support camel case routes */}
|
||||
<Route path={["/howTo", "/how-to"]}>
|
||||
<HowTo />
|
||||
|
@ -9,7 +9,6 @@ import {
|
||||
Message,
|
||||
Paragraph,
|
||||
} from "theme-ui";
|
||||
import { useHistory } from "react-router-dom";
|
||||
|
||||
import Footer from "../components/Footer";
|
||||
|
||||
@ -24,7 +23,6 @@ import { useAuth } from "../contexts/AuthContext";
|
||||
import RedditIcon from "../icons/SocialRedditIcon";
|
||||
import TwitterIcon from "../icons/SocialTwitterIcon";
|
||||
import YouTubeIcon from "../icons/SocialYouTubeIcon";
|
||||
import DonateIcon from "../icons/DonateIcon";
|
||||
import PatreonIcon from "../icons/SocialPatreonIcon";
|
||||
|
||||
import owlington from "../images/Owlington.png";
|
||||
@ -41,8 +39,6 @@ function Home() {
|
||||
setPassword("");
|
||||
}, [setPassword]);
|
||||
|
||||
const history = useHistory();
|
||||
|
||||
return (
|
||||
<Flex
|
||||
sx={{
|
||||
@ -73,8 +69,9 @@ function Home() {
|
||||
"system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif",
|
||||
}}
|
||||
>
|
||||
Check out our new <Link href="https://blog.owlbear.rodeo/">blog</Link>{" "}
|
||||
for all the news on the next version of Owlbear Rodeo
|
||||
Check out our new{" "}
|
||||
<Link href="https://blog.owlbear.rodeo/">blog</Link> for all the
|
||||
news on the next version of Owlbear Rodeo
|
||||
</Paragraph>
|
||||
</Message>
|
||||
<Button
|
||||
@ -113,25 +110,6 @@ function Home() {
|
||||
>
|
||||
Patreon <PatreonIcon />
|
||||
</Button>
|
||||
<Button
|
||||
as="a"
|
||||
// @ts-ignore
|
||||
href="/donate"
|
||||
mt={2}
|
||||
mb={4}
|
||||
mx={2}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
history.push("/donate");
|
||||
}}
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "flex-end",
|
||||
justifyContent: "center",
|
||||
}}
|
||||
>
|
||||
Donate <DonateIcon />
|
||||
</Button>
|
||||
<Flex mb={4} mt={0} sx={{ justifyContent: "center" }}>
|
||||
<Link href="https://www.reddit.com/r/OwlbearRodeo/">
|
||||
<IconButton title="Reddit" aria-label="Reddit">
|
||||
|
Loading…
Reference in New Issue
Block a user