blob: 45b63df0491622999234dd6c92214153fa839c00 [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';
6import Link from 'next/link';
Samuel Shuert8aac6012021-09-02 13:21:30 -05007
8export default function Home() {
9 return (
10 <>
11 <Header
12 name="ClicksForms"
13 subtext="Custom forms on Discord"
14 gradient={["71AFE5", "6576CC"]}
pineafana841c762021-11-14 21:21:04 +000015 wave="web/waves/header/clicksforms"
Samuel Shuert8aac6012021-09-02 13:21:30 -050016 buttons={[
pineafane0283a82022-02-13 10:05:56 +000017 // {color: "6576CC", buttonText: "FFFFFF", link: "#features", text: "Features"},
Samuel Shuert8aac6012021-09-02 13:21:30 -050018 {color: "6576CC", buttonText: "FFFFFF", link: "#commands", text: "Commands"},
pineafand494b852021-09-03 19:49:49 +010019 {color: "6576CC", buttonText: "FFFFFF", link: "#services", text: "Services"},
Samuel Shuert8aac6012021-09-02 13:21:30 -050020 {color: "775EBF", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
21 ]}
22 hideArrow={true}
23 />
pineafane0283a82022-02-13 10:05:56 +000024 <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
pineafana841c762021-11-14 21:21:04 +000049 wave="clicksforms"
pineafanf97734b2021-11-23 21:11:00 +000050 icon="bots/clicksforms/circle"
pineafandf39fd42021-09-04 16:05:27 +010051 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 ]}
pineafane0283a82022-02-13 10:05:56 +000057 /></CardRow>
58 </Panel>
59 </AutoLayout>
Samuel Shuert8aac6012021-09-02 13:21:30 -050060 </>
61 )
62}