blob: 3eb62f3f0709e6b3b87040009cf3e628f4876142 [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 />
28 <AutoSpacing
29 elements={[
30 <SectionHeading title="Features" id="features"/>,
pineafand494b852021-09-03 19:49:49 +010031 <TileRow tiles={[
32 <img src="/Features/ClicksForms/Anonymous.svg" />,
33 <img src="/Features/ClicksForms/Buttons.svg" />,
34 <img src="/Features/ClicksForms/Export.svg" />,
35 <img src="/Features/ClicksForms/Forms.svg" />,
36 <img src="/Features/ClicksForms/Multichoice.svg" />,
37 <img src="/Features/ClicksForms/Questions.svg" />,
38 <img src="/Features/ClicksForms/Types.svg" />,
39 <img src="/Features/ClicksForms/Responses.svg" />,
40 ]} />,
Samuel Shuert8aac6012021-09-02 13:21:30 -050041 <SectionHeading title="Commands" id="commands"/>,
pineafand494b852021-09-03 19:49:49 +010042 <Paragraph><code>/accept</code>: Completes a form you are asked to fill in</Paragraph>,
43 <Paragraph><code>/apply</code>: Apply to a form</Paragraph>,
44 <Paragraph><code>/create</code>: Creates a new form</Paragraph>,
45 <Paragraph><code>/download</code>: Downloads a form from a service e.g. Google Forms</Paragraph>,
46 <Paragraph><code>/help</code>: Lists all commands</Paragraph>,
47 <Paragraph><code>/responses</code>: Lets you view responses to your servers form</Paragraph>,
48 <Paragraph><code>/manage</code>: Lets you manage your servers forms</Paragraph>,
49 <SectionHeading title="Services" id="services"/>,
50 <Paragraph>ClicksForms support services like <a href="https://forms.google.com">Google Forms</a> through our Add-on (Awaiting approval)</Paragraph>,
51 <Paragraph>Our API is public. You can view it on <a href="https://clicksminuteper.giuthub.io/docs/clicksforms">GitHub</a></Paragraph>,
52 <SectionHeading title="Invite" id="invite"/>,
53 <Paragraph>
54 ClicksForms is available for free on&nbsp;
55 <a href="https://discord.com/api/oauth2/authorize?client_id=805392054678192169&permissions=2416307200&scope=bot%20applications.commands" text="Discord">Discord</a>
56 </Paragraph>
Samuel Shuert8aac6012021-09-02 13:21:30 -050057 ]}/>
58 </>
59 )
60}