pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 1 | import { Card, CardRow } from '../Components/Card'; |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 2 | import Header from '../Components/Header'; |
| 3 | import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels'; |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 4 | |
| 5 | export default function Home() { |
| 6 | return ( |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 7 | <> |
| 8 | <Header |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 9 | name="Clicks" |
| 10 | subtext="// TODO: Fix this massive security issue" |
| 11 | customImage="https://assets.clicks.codes/web/logos/clicks.svg" |
| 12 | embedImage="https://assets.clicks.codes/web/logos/clicks.png" |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 13 | gradient={["6576CC", "4B5899"]} |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 14 | wave="web/waves/header/cmp" |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 15 | buttons={[]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 16 | index={true} |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 17 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 18 | <AutoLayout> |
| 19 | <Panel halfSize={false}> |
| 20 | <Title>Projects</Title> |
| 21 | <Divider /> |
| 22 | <CardRow> |
| 23 | <Card |
| 24 | wave="gps" title="GPS" subtext="Cards Against Humanity on Discord" |
| 25 | icon="bots/gps/circle" |
| 26 | buttons={[ |
| 27 | {color: "6576CC", link: "https://discordapp.com/oauth2/authorize?client_id=679361555732627476&scope=bot&permissions=130048", text: "Invite"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 28 | {color: "6576CC", link: "/gps", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 29 | ]} |
| 30 | buttonText={"FFFFFF"} gradient={["78ECF2", "71AFE5"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 31 | url="/gps" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 32 | /> |
| 33 | <Card |
| 34 | wave="rsm" title="RSM" subtext="Moderation Redefined" |
| 35 | icon="bots/rsm/circle" |
| 36 | buttons={[ |
| 37 | {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands",text:"Invite"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 38 | {color: "424242", link: "/rsm", text:"About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 39 | ]} |
| 40 | buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 41 | url="/rsm" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 42 | /> |
| 43 | <Card |
| 44 | wave="clicksforms" title="ClicksForms" subtext="Create custom forms for Discord" |
| 45 | icon="bots/clicksforms/circle" |
| 46 | buttons={[ |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 47 | {color: "775EBF", link: "https://clicksminuteper.github.io/docs/clicksforms", text:"API", newTab: true}, |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 48 | {color: "775EBF", link: "https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands",text:"Invite"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 49 | {color: "775EBF", link: "/clicksforms", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 50 | ]} |
| 51 | buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 52 | url="/clicksforms" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 53 | /> |
| 54 | <Card |
| 55 | wave="castaway" title="Castaway" subtext="Stranded on Discord" |
| 56 | icon="bots/castaway/circle" |
| 57 | buttons={[ |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 58 | {color: "F2D478", link: "/castaway", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 59 | ]} |
| 60 | buttonText={"000000"} gradient={["71AFE5", "78ECF2"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 61 | url="/castaway" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 62 | /> |
| 63 | <Card |
| 64 | wave="hooky" title="Hooky" subtext="Webhook protection for Discord" |
| 65 | icon="bots/hooky/circle" |
| 66 | buttons={[ |
| 67 | {color: "EDC575", link: "https://discord.com/oauth2/authorize?client_id=752188923505279037&scope=bot&permissions=536882176", text: "Invite"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 68 | {color: "EDC575", link: "/hooky", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 69 | ]} |
| 70 | buttonText={"000000"} gradient={["424242", "8D8D8D"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 71 | url="/hooky" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 72 | /> |
| 73 | </CardRow> |
| 74 | </Panel> |
| 75 | <Panel halfSize={true}> |
| 76 | <Title>Code Bases</Title> |
| 77 | <Divider /> |
| 78 | <Text>View any open source projects by Clicks on the following sites:</Text> |
| 79 | <CardRow> |
| 80 | <Card |
| 81 | wave="github" title="GitHub" subtext="View our open source projects" |
| 82 | icon="web/icons/github" |
| 83 | buttons={[ |
| 84 | {color: "424242", link: "https://github.com/clicksminuteper", text: "Visit"} |
| 85 | ]} |
| 86 | buttonText={"FFFFFF"} gradient={["FFFFFF", "C4C4C4"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 87 | url="https://github.com/clicksminuteper" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 88 | /> |
| 89 | <Card |
| 90 | wave="pypi" title="PyPi" subtext="View our modules for python" |
| 91 | icon="web/icons/pypi" |
| 92 | buttons={[ |
| 93 | {color: "FFC91E", link: "https://pypi.org/user/ClicksMinutePer/", text: "Visit"} |
| 94 | ]} |
| 95 | buttonText={"000000"} gradient={["2F6490", "3775A8"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 96 | url="https://pypi.org/user/ClicksMinutePer/" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 97 | /> |
| 98 | </CardRow> |
| 99 | </Panel> |
| 100 | <Panel halfSize={true}> |
| 101 | <Title>Socials</Title> |
| 102 | <Divider /> |
| 103 | <Text>Talk to us and ask us anything!</Text> |
| 104 | <CardRow> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 105 | <Card |
| 106 | wave="discord" title="Discord" subtext="Join our Discord server to talk with the community" |
| 107 | icon="web/icons/discord" |
| 108 | buttons={[ |
| 109 | {color: "404EED", link: "https://discord.gg/bPaNnxe", text: "Join"} |
| 110 | ]} |
| 111 | buttonText={"FFFFFF"} gradient={["404EED", "404EED"]} |
| 112 | url="https://discord.gg/bPaNnxe" |
| 113 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 114 | </CardRow> |
| 115 | </Panel> |
| 116 | </AutoLayout> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 117 | </> |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 118 | ) |
| 119 | } |