blob: 20e6ec938df8e8768a8dbc41771f77d48bc28b63 [file] [log] [blame]
pineafan5b612d92022-02-17 19:22:50 +00001import { Card, CardRow } from '../Components/Card';
pineafane0283a82022-02-13 10:05:56 +00002import Header from '../Components/Header';
3import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels';
Samuel Shuert016ea022021-09-01 16:17:24 -05004
pineafan7bd0ad62022-10-26 22:11:29 +01005export default function Home(props) {
Samuel Shuert016ea022021-09-01 16:17:24 -05006 return (
pineafana5ce9102021-09-02 17:21:31 +01007 <>
8 <Header
pineafanff3d4522022-05-06 19:51:02 +01009 name="Clicks"
pineafan23459372022-05-06 21:03:18 +010010 subtext="Creating projects that click"
pineafanff3d4522022-05-06 19:51:02 +010011 customImage="https://assets.clicks.codes/web/logos/clicks.svg"
12 embedImage="https://assets.clicks.codes/web/logos/clicks.png"
pineafana5ce9102021-09-02 17:21:31 +010013 gradient={["6576CC", "4B5899"]}
pineafana841c762021-11-14 21:21:04 +000014 wave="web/waves/header/cmp"
pineafana5ce9102021-09-02 17:21:31 +010015 buttons={[]}
pineafanff3d4522022-05-06 19:51:02 +010016 index={true}
pineafand94d40e2022-10-23 19:55:29 +010017 fullscreen={true}
pineafanb18f0192022-10-27 22:08:36 +010018 showSubBar={props.showSubBar}
pineafana5ce9102021-09-02 17:21:31 +010019 />
pineafane0283a82022-02-13 10:05:56 +000020 <AutoLayout>
21 <Panel halfSize={false}>
22 <Title>Projects</Title>
23 <Divider />
pineafand94d40e2022-10-23 19:55:29 +010024 <Text>{"Here's things we've released and are in the making"}</Text>
pineafane0283a82022-02-13 10:05:56 +000025 <CardRow>
26 <Card
27 wave="gps" title="GPS" subtext="Cards Against Humanity on Discord"
28 icon="bots/gps/circle"
29 buttons={[
30 {color: "6576CC", link: "https://discordapp.com/oauth2/authorize?client_id=679361555732627476&scope=bot&permissions=130048", text: "Invite"},
pineafanff3d4522022-05-06 19:51:02 +010031 {color: "6576CC", link: "/gps", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000032 ]}
33 buttonText={"FFFFFF"} gradient={["78ECF2", "71AFE5"]}
pineafanff3d4522022-05-06 19:51:02 +010034 url="/gps"
pineafanb18f0192022-10-27 22:08:36 +010035 showMessage={props.showMessage}
pineafane0283a82022-02-13 10:05:56 +000036 />
37 <Card
pineafan802daca2022-10-24 21:57:29 +010038 wave="rsm" title="RSM" subtext="Moderation Redefined"
pineafane0283a82022-02-13 10:05:56 +000039 icon="bots/rsm/circle"
40 buttons={[
41 {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands",text:"Invite"},
pineafanff3d4522022-05-06 19:51:02 +010042 {color: "424242", link: "/rsm", text:"About"}
pineafane0283a82022-02-13 10:05:56 +000043 ]}
44 buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]}
pineafanff3d4522022-05-06 19:51:02 +010045 url="/rsm"
pineafanb18f0192022-10-27 22:08:36 +010046 showMessage={props.showMessage}
pineafane0283a82022-02-13 10:05:56 +000047 />
48 <Card
49 wave="clicksforms" title="ClicksForms" subtext="Create custom forms for Discord"
50 icon="bots/clicksforms/circle"
51 buttons={[
pineafanff3d4522022-05-06 19:51:02 +010052 {color: "775EBF", link: "https://clicksminuteper.github.io/docs/clicksforms", text:"API", newTab: true},
pineafane0283a82022-02-13 10:05:56 +000053 {color: "775EBF", link: "https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands",text:"Invite"},
pineafanff3d4522022-05-06 19:51:02 +010054 {color: "775EBF", link: "/clicksforms", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000055 ]}
56 buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]}
pineafanff3d4522022-05-06 19:51:02 +010057 url="/clicksforms"
pineafane0283a82022-02-13 10:05:56 +000058 />
59 <Card
60 wave="castaway" title="Castaway" subtext="Stranded on Discord"
61 icon="bots/castaway/circle"
62 buttons={[
pineafanff3d4522022-05-06 19:51:02 +010063 {color: "F2D478", link: "/castaway", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000064 ]}
65 buttonText={"000000"} gradient={["71AFE5", "78ECF2"]}
pineafanff3d4522022-05-06 19:51:02 +010066 url="/castaway"
pineafane0283a82022-02-13 10:05:56 +000067 />
68 <Card
69 wave="hooky" title="Hooky" subtext="Webhook protection for Discord"
pineafanb7c79742022-11-06 18:08:36 +000070 icon={"bots/hooky/circle"}
pineafane0283a82022-02-13 10:05:56 +000071 buttons={[
72 {color: "EDC575", link: "https://discord.com/oauth2/authorize?client_id=752188923505279037&scope=bot&permissions=536882176", text: "Invite"},
pineafanff3d4522022-05-06 19:51:02 +010073 {color: "EDC575", link: "/hooky", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000074 ]}
75 buttonText={"000000"} gradient={["424242", "8D8D8D"]}
pineafanff3d4522022-05-06 19:51:02 +010076 url="/hooky"
pineafane0283a82022-02-13 10:05:56 +000077 />
pineafanb7c79742022-11-06 18:08:36 +000078 <Card
79 title="New projects..." subtext="We're actively working on projects! You can join our Discord to find out more."
80 buttons={[
81 {color: "6576CC", link: "https://discord.gg/bPaNnxe", text:"Join our Discord"}
82 ]}
83 buttonText={"FFFFFF"} border={"C4C4C4"}
84 url="/" overwritePosition={"center"}
85 />
pineafane0283a82022-02-13 10:05:56 +000086 </CardRow>
87 </Panel>
88 <Panel halfSize={true}>
89 <Title>Code Bases</Title>
90 <Divider />
pineafand94d40e2022-10-23 19:55:29 +010091 <Text>We release open source projects in a few different places depending on the language and purpose</Text>
pineafane0283a82022-02-13 10:05:56 +000092 <CardRow>
93 <Card
94 wave="github" title="GitHub" subtext="View our open source projects"
95 icon="web/icons/github"
96 buttons={[
97 {color: "424242", link: "https://github.com/clicksminuteper", text: "Visit"}
98 ]}
99 buttonText={"FFFFFF"} gradient={["FFFFFF", "C4C4C4"]}
pineafanff3d4522022-05-06 19:51:02 +0100100 url="https://github.com/clicksminuteper"
pineafane0283a82022-02-13 10:05:56 +0000101 />
102 <Card
103 wave="pypi" title="PyPi" subtext="View our modules for python"
104 icon="web/icons/pypi"
105 buttons={[
106 {color: "FFC91E", link: "https://pypi.org/user/ClicksMinutePer/", text: "Visit"}
107 ]}
108 buttonText={"000000"} gradient={["2F6490", "3775A8"]}
pineafanff3d4522022-05-06 19:51:02 +0100109 url="https://pypi.org/user/ClicksMinutePer/"
pineafane0283a82022-02-13 10:05:56 +0000110 />
111 </CardRow>
112 </Panel>
113 <Panel halfSize={true}>
114 <Title>Socials</Title>
115 <Divider />
pineafanb7c79742022-11-06 18:08:36 +0000116 <Text>{"We've got Discord, feel free to ask us anything"}</Text>
pineafane0283a82022-02-13 10:05:56 +0000117 <CardRow>
pineafanff3d4522022-05-06 19:51:02 +0100118 <Card
119 wave="discord" title="Discord" subtext="Join our Discord server to talk with the community"
120 icon="web/icons/discord"
121 buttons={[
122 {color: "404EED", link: "https://discord.gg/bPaNnxe", text: "Join"}
123 ]}
124 buttonText={"FFFFFF"} gradient={["404EED", "404EED"]}
125 url="https://discord.gg/bPaNnxe"
126 />
pineafane0283a82022-02-13 10:05:56 +0000127 </CardRow>
128 </Panel>
129 </AutoLayout>
pineafana5ce9102021-09-02 17:21:31 +0100130 </>
Samuel Shuert016ea022021-09-01 16:17:24 -0500131 )
132}