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