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