pineafan | f5dd187 | 2023-02-28 17:33:16 +0000 | [diff] [blame] | 1 | import React, { Component } from 'react' |
| 2 | import Header from '../../../Components/Header' |
| 3 | import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../../../Components/Panels' |
| 4 | import { Code } from '../../../Components/Texttools' |
| 5 | import { Card, CardRow } from '../../../Components/Card' |
| 6 | import HCaptcha from 'react-hcaptcha'; |
| 7 | import { useReward } from 'react-rewards'; |
| 8 | |
| 9 | function 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 Transcripts" |
| 21 | subtext="Review purged messages in a channel" |
| 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 | season={props.season} |
| 32 | /> |
| 33 | <AutoLayout> |
| 34 | <Panel halfSize={false} id="about"> |
| 35 | <Title>About Transcripts</Title> |
| 36 | <Divider /> |
| 37 | <Text>Transcripts are generated whenever a purge command is run, or a ticket is deleted (and transcripts are enabled).</Text> |
| 38 | <Text>These store the messages, authors, and the content for future reference.</Text> |
| 39 | <Text>When the transcript is created, you will get a link to our website to view it.</Text> |
| 40 | <Text>Images and files are not stored, and are not available in transcripts.</Text> |
| 41 | </Panel> |
| 42 | <Panel halfSize={true} id="privacy"> |
| 43 | <Title>Privacy</Title> |
| 44 | <Divider /> |
| 45 | <Text>Transcripts can be viewed by anyone online if they have the URL. These are random to avoid this happening by chance.</Text> |
| 46 | <Text>The code is long enough that it is hard to guess any specific code. The URL is not linked to your server in any way.</Text> |
| 47 | <Text>All transcripts for your server can be deleted from <Code colour="F27878">/privacy</Code>.</Text> |
| 48 | </Panel> |
| 49 | <Panel halfSize={true} id="invite"> |
| 50 | <Title>Invite</Title> |
| 51 | <Divider /> |
| 52 | <CardRow> |
| 53 | <Card |
| 54 | wave="nucleus" |
| 55 | icon="bots/nucleus/circle" |
| 56 | buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]} |
| 57 | title="Nucleus" |
| 58 | subtext="Invite Nucleus to your server" |
| 59 | buttons={[ |
| 60 | {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands", text: "Invite"} |
| 61 | ]} |
| 62 | url="https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands" |
| 63 | /> |
| 64 | </CardRow> |
| 65 | </Panel> |
| 66 | </AutoLayout> |
| 67 | </> |
| 68 | ) |
| 69 | } |
| 70 | |
| 71 | export default About; |