blob: 6d37875a8291ed4bb8b96e2f1a1ca98eb6f0700d [file] [log] [blame]
Samuel Shuert8aac6012021-09-02 13:21:30 -05001import Head from 'next/head'
2import Image from 'next/image'
3import styles from '../styles/Home.module.css'
4import Card from '../Components/Card'
5import CardRow from '../Components/CardRow'
6import Header from '../Components/Header'
7import AutoSpacing from '../Components/AutoSpacing'
pineafand494b852021-09-03 19:49:49 +01008import TileRow from '../Components/TileRow'
Samuel Shuert8aac6012021-09-02 13:21:30 -05009import SectionHeading from '../Components/SectionHeading'
pineafand494b852021-09-03 19:49:49 +010010import Paragraph from '../Components/Paragraph'
Samuel Shuert8aac6012021-09-02 13:21:30 -050011
12export default function Home() {
13 return (
14 <>
15 <Header
16 name="ClicksForms"
17 subtext="Custom forms on Discord"
18 gradient={["71AFE5", "6576CC"]}
19 wave="CF"
20 buttons={[
21 {color: "6576CC", buttonText: "FFFFFF", link: "#features", text: "Features"},
22 {color: "6576CC", buttonText: "FFFFFF", link: "#commands", text: "Commands"},
pineafand494b852021-09-03 19:49:49 +010023 {color: "6576CC", buttonText: "FFFFFF", link: "#services", text: "Services"},
Samuel Shuert8aac6012021-09-02 13:21:30 -050024 {color: "775EBF", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
25 ]}
26 hideArrow={true}
27 />
pineafanaed30242021-09-04 09:33:40 +010028 <AutoSpacing>
29 <SectionHeading title="Features" id="features"/>
30 <TileRow>
31 <img alt="Anonymous forms" src="/Features/ClicksForms/Anonymous.svg" />
32 <img alt="Discord buttons" src="/Features/ClicksForms/Buttons.svg" />
33 <img alt="Export formats" src="/Features/ClicksForms/Export.svg" />
34 <img alt="Up to 25 Forms" src="/Features/ClicksForms/Forms.svg" />
35 <img alt="Multiple Choice" src="/Features/ClicksForms/Multichoice.svg" />
36 <img alt="Up to 25 questions" src="/Features/ClicksForms/Questions.svg" />
37 <img alt="Many question types" src="/Features/ClicksForms/Types.svg" />
38 <img alt="Easily view responses" src="/Features/ClicksForms/Responses.svg" />
39 </TileRow>
40 <SectionHeading title="Commands" id="commands"/>
41 <Paragraph><code>/accept</code>: Completes a form you are asked to fill in</Paragraph>
42 <Paragraph><code>/apply</code>: Apply to a form</Paragraph>
43 <Paragraph><code>/create</code>: Creates a new form</Paragraph>
44 <Paragraph><code>/download</code>: Downloads a form from a service e.g. Google Forms</Paragraph>
45 <Paragraph><code>/help</code>: Lists all commands</Paragraph>
46 <Paragraph><code>/responses</code>: Lets you view responses to your servers form</Paragraph>
47 <Paragraph><code>/manage</code>: Lets you manage your servers forms</Paragraph>
48 <SectionHeading title="Services" id="services"/>
49 <Paragraph>ClicksForms support services like <a href="https://forms.google.com">Google Forms</a> through our Add-on (Awaiting approval)</Paragraph>
50 <Paragraph>Our API is public. You can view it on <a href="https://clicksminuteper.giuthub.io/docs/clicksforms">GitHub</a></Paragraph>
51 <SectionHeading title="Invite" id="invite"/>
52 <Paragraph>
53 ClicksForms is available for free on&nbsp;
54 <a href="https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands" text="Discord">Discord</a>
55 </Paragraph>
56 </AutoSpacing>
Samuel Shuert8aac6012021-09-02 13:21:30 -050057 </>
58 )
59}