pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame^] | 1 | import { Card, CardRow } from '../Components/Card'; |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 2 | import Header from '../Components/Header' |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 3 | import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels'; |
| 4 | import { List, ListItem, Code } from '../Components/Texttools'; |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 5 | |
| 6 | export default function Home() { |
| 7 | return ( |
| 8 | <> |
| 9 | <Header |
| 10 | name="GPS" |
| 11 | subtext="Cards Against Humanity on Discord" |
| 12 | gradient={["78ECF2", "71AFE5"]} |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 13 | wave="web/waves/header/gps" |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 14 | buttons={[ |
pineafan | 939ee98 | 2021-10-25 12:44:40 +0100 | [diff] [blame] | 15 | {color: "71AFE5", buttonText: "FFFFFF", link: "#features", text: "Features"}, |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 16 | {color: "71AFE5", buttonText: "FFFFFF", link: "#commands", text: "Commands"}, |
| 17 | {color: "6576CC", buttonText: "FFFFFF", link: "#invite", text: "Invite"} |
| 18 | ]} |
| 19 | hideArrow={true} |
| 20 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 21 | <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's owners.</ListItem> |
| 70 | <ListItem><Code colour="71AEF5">$stats</Code> Shows the bot'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 Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 100 | </> |
| 101 | ) |
| 102 | } |