blob: ffa0ab383c3e5223255f12166218c4a63dfa0acb [file] [log] [blame]
Samuel Shuert8aac6012021-09-02 13:21:30 -05001import Card from '../Components/Card'
pineafandf39fd42021-09-04 16:05:27 +01002import TileRow from '../Components/TileRow'
Samuel Shuert8aac6012021-09-02 13:21:30 -05003import Header from '../Components/Header'
4import AutoSpacing from '../Components/AutoSpacing'
5import SectionHeading from '../Components/SectionHeading'
pineafand494b852021-09-03 19:49:49 +01006import Paragraph from '../Components/Paragraph'
pineafandf39fd42021-09-04 16:05:27 +01007import CardRow from '../Components/CardRow'
Samuel Shuert8aac6012021-09-02 13:21:30 -05008
9export default function Home() {
10 return (
11 <>
12 <Header
13 name="ClicksForms"
14 subtext="Custom forms on Discord"
15 gradient={["71AFE5", "6576CC"]}
16 wave="CF"
17 buttons={[
18 {color: "6576CC", buttonText: "FFFFFF", link: "#features", text: "Features"},
19 {color: "6576CC", buttonText: "FFFFFF", link: "#commands", text: "Commands"},
pineafand494b852021-09-03 19:49:49 +010020 {color: "6576CC", buttonText: "FFFFFF", link: "#services", text: "Services"},
Samuel Shuert8aac6012021-09-02 13:21:30 -050021 {color: "775EBF", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
22 ]}
23 hideArrow={true}
24 />
pineafanaed30242021-09-04 09:33:40 +010025 <AutoSpacing>
pineafandf39fd42021-09-04 16:05:27 +010026 <SectionHeading id="features">Features</SectionHeading>
pineafanaed30242021-09-04 09:33:40 +010027 <TileRow>
28 <img alt="Anonymous forms" src="/Features/ClicksForms/Anonymous.svg" />
29 <img alt="Discord buttons" src="/Features/ClicksForms/Buttons.svg" />
30 <img alt="Export formats" src="/Features/ClicksForms/Export.svg" />
31 <img alt="Up to 25 Forms" src="/Features/ClicksForms/Forms.svg" />
32 <img alt="Multiple Choice" src="/Features/ClicksForms/Multichoice.svg" />
33 <img alt="Up to 25 questions" src="/Features/ClicksForms/Questions.svg" />
34 <img alt="Many question types" src="/Features/ClicksForms/Types.svg" />
35 <img alt="Easily view responses" src="/Features/ClicksForms/Responses.svg" />
36 </TileRow>
pineafandf39fd42021-09-04 16:05:27 +010037 <SectionHeading id="commands">Commands</SectionHeading>
pineafanaed30242021-09-04 09:33:40 +010038 <Paragraph><code>/accept</code>: Completes a form you are asked to fill in</Paragraph>
39 <Paragraph><code>/apply</code>: Apply to a form</Paragraph>
40 <Paragraph><code>/create</code>: Creates a new form</Paragraph>
41 <Paragraph><code>/download</code>: Downloads a form from a service e.g. Google Forms</Paragraph>
42 <Paragraph><code>/help</code>: Lists all commands</Paragraph>
43 <Paragraph><code>/responses</code>: Lets you view responses to your servers form</Paragraph>
44 <Paragraph><code>/manage</code>: Lets you manage your servers forms</Paragraph>
pineafandf39fd42021-09-04 16:05:27 +010045 <SectionHeading id="services">Services</SectionHeading>
pineafanaed30242021-09-04 09:33:40 +010046 <Paragraph>ClicksForms support services like <a href="https://forms.google.com">Google Forms</a> through our Add-on (Awaiting approval)</Paragraph>
47 <Paragraph>Our API is public. You can view it on <a href="https://clicksminuteper.giuthub.io/docs/clicksforms">GitHub</a></Paragraph>
pineafandf39fd42021-09-04 16:05:27 +010048 <SectionHeading id="invite">Invite</SectionHeading>
49 <CardRow>
50 <Card
51 wave="CF"
52 buttonText={"FFFFFF"} gradient={["71AFE5", "6576CC"]}
53 title="Invite"
54 subtext="Invite ClicksForms to your server"
55 buttons={[
56 {color: "775EBF", link: "https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands", text: "Invite"}
57 ]}
58 />
59 </CardRow>
pineafanaed30242021-09-04 09:33:40 +010060 </AutoSpacing>
Samuel Shuert8aac6012021-09-02 13:21:30 -050061 </>
62 )
63}