blob: 971c41921a1f5bbd4a3c5a2a044cd19dbc5a93a9 [file] [log] [blame]
pineafan5b612d92022-02-17 19:22:50 +00001import { Card, CardRow } from '../Components/Card';
Samuel Shuert8aac6012021-09-02 13:21:30 -05002import Header from '../Components/Header'
pineafane0283a82022-02-13 10:05:56 +00003import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels';
4import { List, ListItem, Code } from '../Components/Texttools';
Samuel Shuert8aac6012021-09-02 13:21:30 -05005
6export default function Home() {
7 return (
8 <>
9 <Header
10 name="GPS"
11 subtext="Cards Against Humanity on Discord"
12 gradient={["78ECF2", "71AFE5"]}
pineafana841c762021-11-14 21:21:04 +000013 wave="web/waves/header/gps"
Samuel Shuert8aac6012021-09-02 13:21:30 -050014 buttons={[
pineafan939ee982021-10-25 12:44:40 +010015 {color: "71AFE5", buttonText: "FFFFFF", link: "#features", text: "Features"},
Samuel Shuert8aac6012021-09-02 13:21:30 -050016 {color: "71AFE5", buttonText: "FFFFFF", link: "#commands", text: "Commands"},
17 {color: "6576CC", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
18 ]}
19 hideArrow={true}
20 />
pineafane0283a82022-02-13 10:05:56 +000021 <AutoLayout>
22 <Panel halfSize={false} id="features">
23 <Title>Features</Title>
24 <Divider />
25 <CardRow>
26 <Card
27 icon="web/icons/gps/players"
28 title="Lots of friends?"
29 subtext="You probably don't have 50 friends - But if you did, you can play with every one of them at the same time"
30 wave="gps"
31 gradient={["78ECF2", "71AFE5"]}
32 />
33 <Card
34 icon="web/icons/gps/cards"
35 title="2000+ cards"
36 subtext="Enjoy games with over 2000 cards, written for you to insult others"
37 wave="clicksforms"
38 gradient={["71AFE5", "6576CC"]}
39 />
40 <Card
41 icon="web/icons/gps/customisation"
42 title="Customisation."
43 subtext="Customise every setting of your game and be as pedantic as you wish"
44 wave="hooky"
45 gradient={["424242", "8D8D8D"]}
46 />
47 <Card
48 icon="web/icons/gps/time"
49 title="Patience is a virtue"
50 subtext="But you don't have a lot of it - Your friends may be slow at picking cards, but you don't have to live with it"
51 wave="rsm"
52 gradient={["F27878", "D96B6B"]}
53 />
54 <Card
55 icon="web/icons/gps/shuffles"
56 title="Shuffles"
57 subtext={`Replace your worst cards with new ones because \"The bot is unfair
58 and always gives me the worst cards and everyone else is better at the game than me\"`}
59 wave="clcks"
60 gradient={["C4C4C4", "8D8D8D"]}
61 />
62 </CardRow>
63 </Panel>
64 <Panel halfSize={true} id="commands">
65 <Title>Commands</Title>
66 <Divider />
67 <List colour="71AFE5">
68 <ListItem><Code colour="71AEF5">$getprefix</Code> Shows the bots prefix in the current server.</ListItem>
69 <ListItem><Code colour="71AEF5">$info</Code> View some information about the bot&apos;s owners.</ListItem>
70 <ListItem><Code colour="71AEF5">$stats</Code> Shows the bot&apos;s current statistics.</ListItem>
71 <ListItem><Code colour="71AEF5">$ping</Code> Gets the current response time of the bot.</ListItem>
72 <ListItem><Code colour="71AEF5">$terms</Code> List all the terms and conditions for the bot.</ListItem>
73 <ListItem><Code colour="71AEF5">$setlanguage</Code> Set what language you want to use for your packs.</ListItem>
74 <ListItem><Code colour="71AEF5">$packs</Code> Shows a list of packs available in your language.</ListItem>
75 <ListItem><Code colour="71AEF5">$play</Code> Starts the game.</ListItem>
76 <ListItem><Code colour="71AEF5">$join</Code> Joins an active game in the channel. This can be during the 1m period when starting a game, during the game.</ListItem>
77 <ListItem><Code colour="71AEF5">$leave</Code> Removes the player who ran it from the current game in that channel.</ListItem>
78 <ListItem><Code colour="71AEF5">$shuffle</Code> Reshuffles your cards.</ListItem>
79 <ListItem><Code colour="71AEF5">$end</Code> Ends the current game in that channel.</ListItem>
80 <ListItem><Code colour="71AEF5">$help</Code> Shows all commands.</ListItem>
81 </List>
82 </Panel>
83 <Panel halfSize={true} id="invite">
84 <Title>Invite</Title>
85 <Divider />
86 <CardRow>
87 <Card
88 wave="gps"
89 icon="bots/gps/circle"
90 buttonText={"FFFFFF"} gradient={["78ECF2", "71AFE5"]}
91 title="Invite"
92 subtext="Invite GPS to your server"
93 buttons={[
94 {color: "6576CC", link: "https://discordapp.com/oauth2/authorize?client_id=679361555732627476&scope=bot&permissions=130048", text: "Invite"}
95 ]}
96 />
97 </CardRow>
98 </Panel>
99 </AutoLayout>
Samuel Shuert8aac6012021-09-02 13:21:30 -0500100 </>
101 )
102}