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