blob: 08e7f00558f2d545b786fff390caa67ebec4b72a [file] [log] [blame]
pineafanfd93e6e2022-05-06 20:30:09 +01001import React, { Component } from 'react'
2import Header from '../../../Components/Header'
3import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../../../Components/Panels'
4import { Code } from '../../../Components/Texttools'
5import { Card, CardRow } from '../../../Components/Card'
6import HCaptcha from 'react-hcaptcha';
pineafan3b0852d2022-05-06 20:39:59 +01007import { useReward } from 'react-rewards';
pineafanfd93e6e2022-05-06 20:30:09 +01008
9function About(props) {
10 const { reward, isAnimating } = useReward('confetti', 'confetti', {
11 elementSize: 12,
12 spread: 85,
13 position: "absolute",
14 colors: ["#F27878", "#E5AB71", "#E5DC71", "#A1CC65", "#68D49E", "#71AFE5", "#6576CC", "#8D58B2", "#BF5E9F"]
15 });
16
17 return (
18 <>
19 <Header
20 name="Nucleus Verification"
21 subtext="Remove automated accounts from your server"
22 customImage={"https://assets.clicks.codes/web/logos/nucleus.svg"}
23 embedImage={"https://assets.clicks.codes/bots/nucleus/normal.png"}
24 gradient={["F27878", "D96B6B"]}
25 wave="web/waves/header/nucleus"
26 buttons={[
27 {color: "424242", buttonText: "FFFFFF", link: "#about", text: "About"},
28 {color: "424242", buttonText: "FFFFFF", link: "#privacy", text: "Privacy"},
29 {color: "F27878", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
30 ]}
31 />
32 <AutoLayout>
33 <Panel halfSize={false} id="about">
34 <Title>About Verification</Title>
35 <Divider />
36 <Text>Nucleus is designed to help keep your server safe. Verification is how we remove bots from your server.</Text>
37 <Text>Many bot accounts are designed to join and spam in servers, and verification can prevent this easily:</Text>
38 <HCaptcha
39 id="Captchas mitigate problems"
40 sitekey="85074411-fa13-4d9b-b901-53095c6d1fc6"
41 onVerify={reward}
42 theme="dark"
43 />
44 <Text>Users will need to run <Code colour="F27878">/verify</Code> when they join, and will be given a link to complete this check online.</Text>
45 <Text>It is completely free to use verification, and for users to verify.</Text>
46 <div id="confetti" />
47 </Panel>
48 <Panel halfSize={true} id="privacy">
49 <Title>Privacy</Title>
50 <Divider />
51 <Text>Verification stores the smallest amount of data required to function, and is deleted automatically.</Text>
52 <Text>This includes the user&apos;s ID, the server ID, role name and server icon.</Text>
pineafan3b0852d2022-05-06 20:39:59 +010053 <Text>The full list of data stored by Nucleus can be found <a href="https://clicksminuteper.github.io/policies/nucleus">here</a>.</Text>
pineafanfd93e6e2022-05-06 20:30:09 +010054 </Panel>
55 <Panel halfSize={true} id="invite">
56 <Title>Invite</Title>
57 <Divider />
58 <CardRow>
59 <Card
60 wave="nucleus"
61 icon="bots/nucleus/circle"
62 buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]}
63 title="Nucleus"
64 subtext="Invite Nucleus to your server"
65 buttons={[
66 {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands", text: "Invite"}
67 ]}
68 url="https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands"
69 />
70 </CardRow>
71 </Panel>
72 </AutoLayout>
73 </>
74 )
75}
76
77export default About;