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 | |
pineafan | 7bd0ad6 | 2022-10-26 22:11:29 +0100 | [diff] [blame] | 5 | export default function Home(props) { |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 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" |
pineafan | 2345937 | 2022-05-06 21:03:18 +0100 | [diff] [blame] | 10 | subtext="Creating projects that click" |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 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 | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 17 | fullscreen={true} |
pineafan | b18f019 | 2022-10-27 22:08:36 +0100 | [diff] [blame] | 18 | showSubBar={props.showSubBar} |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 19 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 20 | <AutoLayout> |
| 21 | <Panel halfSize={false}> |
| 22 | <Title>Projects</Title> |
| 23 | <Divider /> |
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 24 | <Text>{"Here's things we've released and are in the making"}</Text> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 25 | <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"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 31 | {color: "6576CC", link: "/gps", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 32 | ]} |
| 33 | buttonText={"FFFFFF"} gradient={["78ECF2", "71AFE5"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 34 | url="/gps" |
pineafan | b18f019 | 2022-10-27 22:08:36 +0100 | [diff] [blame] | 35 | showMessage={props.showMessage} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 36 | /> |
| 37 | <Card |
pineafan | 802daca | 2022-10-24 21:57:29 +0100 | [diff] [blame] | 38 | wave="rsm" title="RSM" subtext="Moderation Redefined" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 39 | 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"}, |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 42 | {color: "424242", link: "/rsm", text:"About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 43 | ]} |
| 44 | buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 45 | url="/rsm" |
pineafan | b18f019 | 2022-10-27 22:08:36 +0100 | [diff] [blame] | 46 | showMessage={props.showMessage} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 47 | /> |
| 48 | <Card |
| 49 | wave="clicksforms" title="ClicksForms" subtext="Create custom forms for Discord" |
| 50 | icon="bots/clicksforms/circle" |
| 51 | buttons={[ |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 52 | {color: "775EBF", link: "https://clicksminuteper.github.io/docs/clicksforms", text:"API", newTab: true}, |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 53 | {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] | 54 | {color: "775EBF", link: "/clicksforms", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 55 | ]} |
| 56 | buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 57 | url="/clicksforms" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 58 | /> |
| 59 | <Card |
| 60 | wave="castaway" title="Castaway" subtext="Stranded on Discord" |
| 61 | icon="bots/castaway/circle" |
| 62 | buttons={[ |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 63 | {color: "F2D478", link: "/castaway", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 64 | ]} |
| 65 | buttonText={"000000"} gradient={["71AFE5", "78ECF2"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 66 | url="/castaway" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 67 | /> |
| 68 | <Card |
| 69 | wave="hooky" title="Hooky" subtext="Webhook protection for Discord" |
| 70 | icon="bots/hooky/circle" |
| 71 | buttons={[ |
| 72 | {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] | 73 | {color: "EDC575", link: "/hooky", text: "About"} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 74 | ]} |
| 75 | buttonText={"000000"} gradient={["424242", "8D8D8D"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 76 | url="/hooky" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 77 | /> |
| 78 | </CardRow> |
| 79 | </Panel> |
| 80 | <Panel halfSize={true}> |
| 81 | <Title>Code Bases</Title> |
| 82 | <Divider /> |
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 83 | <Text>We release open source projects in a few different places depending on the language and purpose</Text> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 84 | <CardRow> |
| 85 | <Card |
| 86 | wave="github" title="GitHub" subtext="View our open source projects" |
| 87 | icon="web/icons/github" |
| 88 | buttons={[ |
| 89 | {color: "424242", link: "https://github.com/clicksminuteper", text: "Visit"} |
| 90 | ]} |
| 91 | buttonText={"FFFFFF"} gradient={["FFFFFF", "C4C4C4"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 92 | url="https://github.com/clicksminuteper" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 93 | /> |
| 94 | <Card |
| 95 | wave="pypi" title="PyPi" subtext="View our modules for python" |
| 96 | icon="web/icons/pypi" |
| 97 | buttons={[ |
| 98 | {color: "FFC91E", link: "https://pypi.org/user/ClicksMinutePer/", text: "Visit"} |
| 99 | ]} |
| 100 | buttonText={"000000"} gradient={["2F6490", "3775A8"]} |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 101 | url="https://pypi.org/user/ClicksMinutePer/" |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 102 | /> |
| 103 | </CardRow> |
| 104 | </Panel> |
| 105 | <Panel halfSize={true}> |
| 106 | <Title>Socials</Title> |
| 107 | <Divider /> |
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 108 | <Text>{"We've got discord, feel free to ask us anything"}</Text> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 109 | <CardRow> |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 110 | <Card |
| 111 | wave="discord" title="Discord" subtext="Join our Discord server to talk with the community" |
| 112 | icon="web/icons/discord" |
| 113 | buttons={[ |
| 114 | {color: "404EED", link: "https://discord.gg/bPaNnxe", text: "Join"} |
| 115 | ]} |
| 116 | buttonText={"FFFFFF"} gradient={["404EED", "404EED"]} |
| 117 | url="https://discord.gg/bPaNnxe" |
| 118 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 119 | </CardRow> |
| 120 | </Panel> |
| 121 | </AutoLayout> |
pineafan | a5ce910 | 2021-09-02 17:21:31 +0100 | [diff] [blame] | 122 | </> |
Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame] | 123 | ) |
| 124 | } |