pineafan | 71cf312 | 2021-09-04 21:54:44 +0100 | [diff] [blame] | 1 | import Card from '../Components/Card' |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame^] | 2 | import CardRow from '../Components/CardRow'; |
pineafan | 71cf312 | 2021-09-04 21:54:44 +0100 | [diff] [blame] | 3 | import Header from '../Components/Header' |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame^] | 4 | import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels'; |
pineafan | 71cf312 | 2021-09-04 21:54:44 +0100 | [diff] [blame] | 5 | |
| 6 | export default function Home() { |
| 7 | return ( |
| 8 | <> |
| 9 | <Header |
| 10 | name="Hooky" |
| 11 | subtext="Webhook protection for Discord" |
| 12 | gradient={["424242", "8D8D8D"]} |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 13 | wave="web/waves/header/hooky" |
pineafan | 71cf312 | 2021-09-04 21:54:44 +0100 | [diff] [blame] | 14 | buttons={[ |
| 15 | {color: "EDC575", buttonText: "000000", link: "#invite", text: "Invite"} |
| 16 | ]} |
| 17 | hideArrow={true} |
| 18 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame^] | 19 | <AutoLayout> |
| 20 | <Panel halfSize={false} id="invite"> |
| 21 | <Title>Invite</Title> |
| 22 | <Divider /> |
| 23 | <CardRow> |
| 24 | <Card |
| 25 | wave="hooky" |
| 26 | icon="bots/hooky/circle" |
| 27 | buttonText={"000000"} gradient={["424242", "8D8D8D"]} |
| 28 | title="Invite" |
| 29 | subtext="Invite Hooky to your server" |
| 30 | buttons={[ |
| 31 | {color: "EDC575", link: "https://discord.com/oauth2/authorize?client_id=752188923505279037&scope=bot&permissions=536882176", text: "Invite"} |
| 32 | ]} |
| 33 | /> |
| 34 | </CardRow> |
| 35 | </Panel> |
| 36 | </AutoLayout> |
pineafan | 71cf312 | 2021-09-04 21:54:44 +0100 | [diff] [blame] | 37 | </> |
| 38 | ) |
| 39 | } |