blob: b827bac18ad83e1f37139197678a36b97ce634d7 [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 ]}
PineaFana465f352023-02-05 16:45:01 +000031 season={props.season}
pineafanfd93e6e2022-05-06 20:30:09 +010032 />
33 <AutoLayout>
34 <Panel halfSize={false} id="about">
35 <Title>About Verification</Title>
36 <Divider />
37 <Text>Nucleus is designed to help keep your server safe. Verification is how we remove bots from your server.</Text>
38 <Text>Many bot accounts are designed to join and spam in servers, and verification can prevent this easily:</Text>
39 <HCaptcha
40 id="Captchas mitigate problems"
41 sitekey="85074411-fa13-4d9b-b901-53095c6d1fc6"
42 onVerify={reward}
43 theme="dark"
44 />
45 <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>
46 <Text>It is completely free to use verification, and for users to verify.</Text>
47 <div id="confetti" />
48 </Panel>
49 <Panel halfSize={true} id="privacy">
50 <Title>Privacy</Title>
51 <Divider />
52 <Text>Verification stores the smallest amount of data required to function, and is deleted automatically.</Text>
53 <Text>This includes the user&apos;s ID, the server ID, role name and server icon.</Text>
pineafan3b0852d2022-05-06 20:39:59 +010054 <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 +010055 </Panel>
56 <Panel halfSize={true} id="invite">
57 <Title>Invite</Title>
58 <Divider />
59 <CardRow>
60 <Card
61 wave="nucleus"
62 icon="bots/nucleus/circle"
63 buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]}
64 title="Nucleus"
65 subtext="Invite Nucleus to your server"
66 buttons={[
67 {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands", text: "Invite"}
68 ]}
69 url="https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands"
70 />
71 </CardRow>
72 </Panel>
73 </AutoLayout>
74 </>
75 )
76}
77
78export default About;