blob: 5e604f73c047b42d7e982baf697135b834ab8801 [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) {
6 console.log(props)
Samuel Shuert016ea022021-09-01 16:17:24 -05007 return (
pineafana5ce9102021-09-02 17:21:31 +01008 <>
9 <Header
pineafanff3d4522022-05-06 19:51:02 +010010 name="Clicks"
pineafan23459372022-05-06 21:03:18 +010011 subtext="Creating projects that click"
pineafanff3d4522022-05-06 19:51:02 +010012 customImage="https://assets.clicks.codes/web/logos/clicks.svg"
13 embedImage="https://assets.clicks.codes/web/logos/clicks.png"
pineafana5ce9102021-09-02 17:21:31 +010014 gradient={["6576CC", "4B5899"]}
pineafana841c762021-11-14 21:21:04 +000015 wave="web/waves/header/cmp"
pineafana5ce9102021-09-02 17:21:31 +010016 buttons={[]}
pineafanff3d4522022-05-06 19:51:02 +010017 index={true}
pineafand94d40e2022-10-23 19:55:29 +010018 fullscreen={true}
pineafana5ce9102021-09-02 17:21:31 +010019 />
pineafan7bd0ad62022-10-26 22:11:29 +010020 <button onClick={() => props.navbar.showMessage("Welcome to Clicks! This is a test message. It will disappear in 5 seconds.")}>aaaAAAAa</button>
pineafane0283a82022-02-13 10:05:56 +000021 <AutoLayout>
22 <Panel halfSize={false}>
23 <Title>Projects</Title>
24 <Divider />
pineafand94d40e2022-10-23 19:55:29 +010025 <Text>{"Here's things we've released and are in the making"}</Text>
pineafane0283a82022-02-13 10:05:56 +000026 <CardRow>
27 <Card
28 wave="gps" title="GPS" subtext="Cards Against Humanity on Discord"
29 icon="bots/gps/circle"
30 buttons={[
31 {color: "6576CC", link: "https://discordapp.com/oauth2/authorize?client_id=679361555732627476&scope=bot&permissions=130048", text: "Invite"},
pineafanff3d4522022-05-06 19:51:02 +010032 {color: "6576CC", link: "/gps", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000033 ]}
34 buttonText={"FFFFFF"} gradient={["78ECF2", "71AFE5"]}
pineafanff3d4522022-05-06 19:51:02 +010035 url="/gps"
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"
pineafane0283a82022-02-13 10:05:56 +000046 />
47 <Card
48 wave="clicksforms" title="ClicksForms" subtext="Create custom forms for Discord"
49 icon="bots/clicksforms/circle"
50 buttons={[
pineafanff3d4522022-05-06 19:51:02 +010051 {color: "775EBF", link: "https://clicksminuteper.github.io/docs/clicksforms", text:"API", newTab: true},
pineafane0283a82022-02-13 10:05:56 +000052 {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 +010053 {color: "775EBF", link: "/clicksforms", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000054 ]}
55 buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]}
pineafanff3d4522022-05-06 19:51:02 +010056 url="/clicksforms"
pineafane0283a82022-02-13 10:05:56 +000057 />
58 <Card
59 wave="castaway" title="Castaway" subtext="Stranded on Discord"
60 icon="bots/castaway/circle"
61 buttons={[
pineafanff3d4522022-05-06 19:51:02 +010062 {color: "F2D478", link: "/castaway", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000063 ]}
64 buttonText={"000000"} gradient={["71AFE5", "78ECF2"]}
pineafanff3d4522022-05-06 19:51:02 +010065 url="/castaway"
pineafane0283a82022-02-13 10:05:56 +000066 />
67 <Card
68 wave="hooky" title="Hooky" subtext="Webhook protection for Discord"
69 icon="bots/hooky/circle"
70 buttons={[
71 {color: "EDC575", link: "https://discord.com/oauth2/authorize?client_id=752188923505279037&scope=bot&permissions=536882176", text: "Invite"},
pineafanff3d4522022-05-06 19:51:02 +010072 {color: "EDC575", link: "/hooky", text: "About"}
pineafane0283a82022-02-13 10:05:56 +000073 ]}
74 buttonText={"000000"} gradient={["424242", "8D8D8D"]}
pineafanff3d4522022-05-06 19:51:02 +010075 url="/hooky"
pineafane0283a82022-02-13 10:05:56 +000076 />
77 </CardRow>
78 </Panel>
79 <Panel halfSize={true}>
80 <Title>Code Bases</Title>
81 <Divider />
pineafand94d40e2022-10-23 19:55:29 +010082 <Text>We release open source projects in a few different places depending on the language and purpose</Text>
pineafane0283a82022-02-13 10:05:56 +000083 <CardRow>
84 <Card
85 wave="github" title="GitHub" subtext="View our open source projects"
86 icon="web/icons/github"
87 buttons={[
88 {color: "424242", link: "https://github.com/clicksminuteper", text: "Visit"}
89 ]}
90 buttonText={"FFFFFF"} gradient={["FFFFFF", "C4C4C4"]}
pineafanff3d4522022-05-06 19:51:02 +010091 url="https://github.com/clicksminuteper"
pineafane0283a82022-02-13 10:05:56 +000092 />
93 <Card
94 wave="pypi" title="PyPi" subtext="View our modules for python"
95 icon="web/icons/pypi"
96 buttons={[
97 {color: "FFC91E", link: "https://pypi.org/user/ClicksMinutePer/", text: "Visit"}
98 ]}
99 buttonText={"000000"} gradient={["2F6490", "3775A8"]}
pineafanff3d4522022-05-06 19:51:02 +0100100 url="https://pypi.org/user/ClicksMinutePer/"
pineafane0283a82022-02-13 10:05:56 +0000101 />
102 </CardRow>
103 </Panel>
104 <Panel halfSize={true}>
105 <Title>Socials</Title>
106 <Divider />
pineafand94d40e2022-10-23 19:55:29 +0100107 <Text>{"We've got discord, feel free to ask us anything"}</Text>
pineafane0283a82022-02-13 10:05:56 +0000108 <CardRow>
pineafanff3d4522022-05-06 19:51:02 +0100109 <Card
110 wave="discord" title="Discord" subtext="Join our Discord server to talk with the community"
111 icon="web/icons/discord"
112 buttons={[
113 {color: "404EED", link: "https://discord.gg/bPaNnxe", text: "Join"}
114 ]}
115 buttonText={"FFFFFF"} gradient={["404EED", "404EED"]}
116 url="https://discord.gg/bPaNnxe"
117 />
pineafane0283a82022-02-13 10:05:56 +0000118 </CardRow>
119 </Panel>
120 </AutoLayout>
pineafana5ce9102021-09-02 17:21:31 +0100121 </>
Samuel Shuert016ea022021-09-01 16:17:24 -0500122 )
123}