diff --git a/src/components/common/ServerHeader.tsx b/src/components/common/ServerHeader.tsx index a14f48e3..9138f7f0 100644 --- a/src/components/common/ServerHeader.tsx +++ b/src/components/common/ServerHeader.tsx @@ -5,9 +5,13 @@ import { ServerPermission } from "revolt.js/dist/api/permissions"; import { Server } from "revolt.js/dist/maps/Servers"; import styled from "styled-components"; +import { Text } from "preact-i18n"; + import Header from "../ui/Header"; import IconButton from "../ui/IconButton"; +import Tooltip from "./Tooltip"; + interface Props { server: Server; } @@ -27,6 +31,28 @@ export default observer(({ server }: Props) => { style={{ background: bannerURL ? `url('${bannerURL}')` : undefined, }}> + {server.owner === "01EX2NCWQ0CHS3QJF0FEQS1GR4" ? ( + + + + + + + ) : undefined} + {server.name} {(server.permission & ServerPermission.ManageServer) > 0 && (