blob: 515559705e484362fd6607be1b9e7dc8fac050ba [file] [log] [blame]
pineafanfd93e6e2022-05-06 20:30:09 +01001import { Card, CardRow } from '../Components/Card';
2import Header from '../Components/Header'
3import { AutoLayout, Panel, Title, Subtitle, Text, Divider } from '../Components/Panels';
4import { List, ListItem, Code } from '../Components/Texttools';
5import { useColorMode } from 'theme-ui';
pineafanfd93e6e2022-05-06 20:30:09 +01006
7export default function Home() {
8 const [theme, setTheme] = useColorMode()
9
10 return (
11 <>
12 <Header
13 name="Nucleus"
14 customImage="https://assets.clicks.codes/web/logos/nucleus.svg"
15 embedImage="https://assets.clicks.codes/bots/nucleus/normal.png"
16 subtext="The core of your server"
17 gradient={["F27878", "D96B6B"]}
18 wave="web/waves/header/nucleus"
19 buttons={[
20 // {color: "424242", buttonText: "FFFFFF", link: "#features", text: "Features"},
21 {color: "424242", buttonText: "FFFFFF", link: "#commands", text: "Commands"},
22 {color: "424242", buttonText: "FFFFFF", link: "#privacy", text: "Privacy"},
23 {color: "F27878", buttonText: "FFFFFF", link: "#invite", text: "Invite"}
24 ]}
25 />
26 <AutoLayout>
27 <Panel halfSize={true} id="commands">
28 <Title>General Commands</Title>
29 <Divider />
30 <Text>Standard commands to use Nucleus</Text>
31 <List colour="F27878">
32 <ListItem><Code colour="F27878">/help</Code> Shows all commands and info.</ListItem>
33 <ListItem><Code colour="F27878">/settings</Code> Shows all settings and info.</ListItem>
34 <ListItem>Theres a lot more settings commands but they&apos;re subject to change before release.</ListItem>
35 <ListItem>Expect this list to be longer</ListItem>
36 </List>
37 </Panel>
38 <Panel halfSize={true}>
39 <Title>Moderation Commands</Title>
40 <Divider />
41 <Text>Commands to manage your users and channels</Text>
42 <List colour="F27878">
43 <ListItem><Code colour="F27878">/mod warn</Code> Warns a member.</ListItem>
44 <ListItem><Code colour="F27878">/mod kick</Code> Kicks a member.</ListItem>
45 <ListItem><Code colour="F27878">/mod softban</Code> Soft bans a member.</ListItem>
46 <ListItem><Code colour="F27878">/mod ban</Code> Bans a member.</ListItem>
47 <ListItem><Code colour="F27878">/mod unban</Code> Unbans a member.</ListItem>
48 <ListItem><Code colour="F27878">/mod purge</Code> Deletes messages in the channel.</ListItem>
49 <ListItem><Code colour="F27878">/mod mute</Code> Mutes a member.</ListItem>
50 <ListItem><Code colour="F27878">/mod unmute</Code> Unmutes a member.</ListItem>
51 <ListItem><Code colour="F27878">/mod nick</Code> Changes the nickname of a member.</ListItem>
52 <ListItem><Code colour="F27878">/mod lock</Code> Stops people from sending messages in a channel.</ListItem>
53 <ListItem><Code colour="F27878">/mod slowmode</Code> Edits the slowmode in a channel.</ListItem>
54 <ListItem><Code colour="F27878">/mod viewas</Code> Allows you to view the server as a member or role.</ListItem>
55 </List>
56 </Panel>
57 <Panel halfSize={true}>
58 <Title>Internal Commands</Title>
59 <Divider />
60 <Text>Commands to check the status of and information about Nucleus</Text>
61 <List colour="F27878">
62 <ListItem><Code colour="F27878">/nucleus guide</Code> Shows the setup guide and tips for setup.</ListItem>
63 <ListItem><Code colour="F27878">/nucleus invite</Code> Shows the invite link for Nucleus.</ListItem>
64 <ListItem><Code colour="F27878">/nucleus ping</Code> Shows the latency of the bot.</ListItem>
65 <ListItem><Code colour="F27878">/nucleus stats</Code> Shows the stats of the bot.</ListItem>
66 <ListItem><Code colour="F27878">/nucleus suggest</Code> Sends a feature request to the developers.</ListItem>
67 </List>
68 </Panel>
69 <Panel halfSize={true} id="server">
70 <Title>Server Management</Title>
71 <Divider />
72 <Text>Commands to manage your server and members</Text>
73 <List colour="F27878">
74 <ListItem><Code colour="F27878">/server about</Code> Shows the server information.</ListItem>
75 <ListItem><Code colour="F27878">/server rules</Code> Shows the server rules.</ListItem>
76 <ListItem><Code colour="F27878">/ticket create</Code> Creates a ticket.</ListItem>
77 <ListItem><Code colour="F27878">/ticket close</Code> Closes a ticket.</ListItem>
78 <ListItem><Code colour="F27878">/user about</Code> Shows the user information.</ListItem>
79 <ListItem><Code colour="F27878">/user avatar</Code> Shows the user avatar.</ListItem>
80 <ListItem><Code colour="F27878">/user track</Code> Allows you to move a user up and down a role track.</ListItem>
81 <ListItem><Code colour="F27878">/verify</Code> Verifies a member to give them access to the server.</ListItem>
82 </List>
83 </Panel>
84 <Panel halfSize={false} id="verify">
85 <Title>Verification</Title>
86 <Divider />
87 <Text>Verification ensures all members in your server are human, and prevents automated accounts from joining.</Text>
pineafan3b0852d2022-05-06 20:39:59 +010088 <Text>For more information, see the <a href="/nucleus/verify/about">about</a> page.</Text>
pineafanfd93e6e2022-05-06 20:30:09 +010089 </Panel>
90 <Panel halfSize={true} id="privacy">
91 <Title>Privacy</Title>
92 <Divider />
93 <Text>You can run <Code colour="F27878">/privacy</Code> to view and manage all data stored about your server</Text>
pineafan3b0852d2022-05-06 20:39:59 +010094 <Text>You should always know what we know and store about you, so <a href="https://clicksminuteper.github.io/policies/nucleus">here</a> is the complete list.</Text>
pineafanfd93e6e2022-05-06 20:30:09 +010095 </Panel>
96 <Panel halfSize={true} id="invite">
97 <Title>Invite</Title>
98 <Divider />
99 <CardRow>
100 <Card
101 wave="nucleus"
102 icon="bots/nucleus/circle"
103 buttonText={"FFFFFF"} gradient={["F27878", "D96B6B"]}
104 title="Nucleus"
105 subtext="Invite Nucleus to your server"
106 buttons={[
107 {color: "424242", link: "https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands", text: "Invite"}
108 ]}
109 url="https://discord.com/api/oauth2/authorize?client_id=715989276382462053&permissions=121295465718&scope=bot%20applications.commands"
110 />
111 </CardRow>
112 </Panel>
113 </AutoLayout>
114 </>
115 )
116}