mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-12 22:26:12 -05:00
myheads for plus
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
RadioGroup,
|
||||
} from "@chakra-ui/react";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import MyHead from "components/common/MyHead";
|
||||
import SubText from "components/common/SubText";
|
||||
import { useUser } from "hooks/common";
|
||||
import { usePlus } from "hooks/plus";
|
||||
@@ -36,6 +37,7 @@ const PlusHomePage = ({ suggestions, statuses }: PlusHomePageProps) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<MyHead title="Plus Server" />
|
||||
<Box fontSize="sm" mb={4}>
|
||||
<VotingInfoHeader isMember={!!plusStatusData?.membershipTier} />
|
||||
</Box>
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Box } from "@chakra-ui/layout";
|
||||
import { Select } from "@chakra-ui/select";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import { PlusRegion } from "@prisma/client";
|
||||
import MyHead from "components/common/MyHead";
|
||||
import MyLink from "components/common/MyLink";
|
||||
import {
|
||||
Table,
|
||||
@@ -32,6 +33,7 @@ const PlusVotingHistoryPage = ({
|
||||
const router = useRouter();
|
||||
return (
|
||||
<>
|
||||
<MyHead title="Voting History" />
|
||||
<Select
|
||||
onChange={(e) => {
|
||||
router.replace(`/plus/history/${e.target.value}`);
|
||||
|
||||
Reference in New Issue
Block a user