{t("support.intro.first")}
{t("support.intro.second")}
import type { LinksFunction, V2_MetaFunction } from "@remix-run/node";
import { Main } from "~/components/Main";
import styles from "../support.css";
import * as React from "react";
import { CheckmarkIcon } from "~/components/icons/Checkmark";
import { useTranslation } from "~/hooks/useTranslation";
import { Badge } from "~/components/Badge";
import { LinkButton } from "~/components/Button";
import {
PATREON_HOW_TO_CONNECT_DISCORD_URL,
SENDOU_INK_PATREON_URL,
} from "~/utils/urls";
import { Popover } from "~/components/Popover";
import { Trans } from "react-i18next";
import { makeTitle } from "~/utils/strings";
import { useSetTitle } from "~/hooks/useSetTitle";
export const meta: V2_MetaFunction = () => {
return [{ title: makeTitle("Support") }];
};
export const links: LinksFunction = () => {
return [{ rel: "stylesheet", href: styles }];
};
// 1 = support
// 2 = supporter
// 3 = supporter+
const PERKS = [
{
tier: 1,
name: "supportMyWork",
extraInfo: false,
},
{
tier: 1,
name: "adFree",
extraInfo: false,
},
{
tier: 1,
name: "nameInFooter",
extraInfo: false,
},
{
tier: 2,
name: "privateDiscord",
extraInfo: true,
},
{
tier: 2,
name: "customizedColorsUser",
extraInfo: false,
},
{
tier: 2,
name: "customizedColorsTeam",
extraInfo: true,
},
{
tier: 2,
name: "badge",
extraInfo: false,
},
{
tier: 2,
name: "discordColorRole",
extraInfo: true,
},
{
tier: 2,
name: "seePlusPercentage",
extraInfo: true,
},
{
tier: 2,
name: "autoValidatePictures",
extraInfo: true,
},
] as const;
export default function SupportPage() {
const { t } = useTranslation();
useSetTitle(t("pages.support"));
return (
{t("support.intro.first")} {t("support.intro.second")}