Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 1 | import Card from '../Components/Card' |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 2 | import CardRow from '../Components/CardRow'; |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 3 | import Header from '../Components/Header' |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 4 | import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels'; |
| 5 | import { List, ListItem, Code } from '../Components/Texttools'; |
| 6 | import Link from 'next/link'; |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 7 | |
| 8 | export default function Home() { |
| 9 | return ( |
| 10 | <> |
| 11 | <Header |
| 12 | name="ClicksForms" |
| 13 | subtext="Custom forms on Discord" |
| 14 | gradient={["71AFE5", "6576CC"]} |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 15 | wave="web/waves/header/clicksforms" |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 16 | buttons={[ |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 17 | // {color: "6576CC", buttonText: "FFFFFF", link: "#features", text: "Features"}, |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 18 | {color: "6576CC", buttonText: "FFFFFF", link: "#commands", text: "Commands"}, |
pineafan | d494b85 | 2021-09-03 19:49:49 +0100 | [diff] [blame] | 19 | {color: "6576CC", buttonText: "FFFFFF", link: "#services", text: "Services"}, |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 20 | {color: "775EBF", buttonText: "FFFFFF", link: "#invite", text: "Invite"} |
| 21 | ]} |
| 22 | hideArrow={true} |
| 23 | /> |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 24 | <AutoLayout> |
| 25 | <Panel halfSize={true} id="commands"> |
| 26 | <Title>Commands</Title> |
| 27 | <Divider /> |
| 28 | <Text>Standard commands to use ClicksForms</Text> |
| 29 | <List colour="6576CC"> |
| 30 | <ListItem><Code colour="6576CC">/accept</Code> Completes a form you are asked to fill in.</ListItem> |
| 31 | <ListItem><Code colour="6576CC">/apply</Code> Apply to a form.</ListItem> |
| 32 | <ListItem><Code colour="6576CC">/create</Code> Creates a new form.</ListItem> |
| 33 | <ListItem><Code colour="6576CC">/download</Code> Downloads a form from a service e.g. Google Forms.</ListItem> |
| 34 | <ListItem><Code colour="6576CC">/help</Code> Lists all commands.</ListItem> |
| 35 | <ListItem><Code colour="6576CC">/responses</Code> Lets you view responses to your servers form.</ListItem> |
| 36 | <ListItem><Code colour="6576CC">/manage</Code> Lets you manage your servers forms.</ListItem> |
| 37 | </List> |
| 38 | </Panel> |
| 39 | <Panel halfSize={true} id="services"> |
| 40 | <Title>Services</Title> |
| 41 | <Divider /> |
| 42 | <Text>ClicksForms supports services such as <a href="https://docs.google.com/forms">Google Forms</a> through our Add-on.</Text> |
| 43 | <Text>Our API is public. You can view it <Link href="/clicksforms/privacy">GitHub</Link>.</Text> |
| 44 | </Panel> |
| 45 | <Panel halfSize={true} id="invite"> |
| 46 | <Title>Invite</Title> |
| 47 | <Divider /> |
| 48 | <CardRow><Card |
pineafan | a841c76 | 2021-11-14 21:21:04 +0000 | [diff] [blame] | 49 | wave="clicksforms" |
pineafan | f97734b | 2021-11-23 21:11:00 +0000 | [diff] [blame] | 50 | icon="bots/clicksforms/circle" |
pineafan | df39fd4 | 2021-09-04 16:05:27 +0100 | [diff] [blame] | 51 | buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]} |
| 52 | title="Invite" |
| 53 | subtext="Invite ClicksForms to your server" |
| 54 | buttons={[ |
| 55 | {color: "775EBF", link: "https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands", text: "Invite"} |
| 56 | ]} |
pineafan | e0283a8 | 2022-02-13 10:05:56 +0000 | [diff] [blame] | 57 | /></CardRow> |
| 58 | </Panel> |
| 59 | </AutoLayout> |
Samuel Shuert | 8aac601 | 2021-09-02 13:21:30 -0500 | [diff] [blame] | 60 | </> |
| 61 | ) |
| 62 | } |