import { Trans } from "@lingui/macro" import { Anchor, Box, Center, Container, Divider, Group, Image, Title, useMantineColorScheme } from "@mantine/core" import { useMediaQuery } from "@mantine/hooks" import { client } from "app/client" import { Constants } from "app/constants" import { redirectToLogin, redirectToRegistration, redirectToRootCategory } from "app/slices/redirect" import { useAppDispatch, useAppSelector } from "app/store" import welcome_page_dark from "assets/welcome_page_dark.png" import welcome_page_light from "assets/welcome_page_light.png" import { ActionButton } from "components/ActionButtton" import { ButtonToolbar } from "components/ButtonToolbar" import { useAsyncCallback } from "react-async-hook" import { SiGithub, TbKey, TbUserPlus } from "react-icons/all" import { SiTwitter } from "react-icons/si" import { TbClock, TbMoon, TbSun } from "react-icons/tb" import { PageTitle } from "./PageTitle" export function WelcomePage() { const { colorScheme } = useMantineColorScheme() const image = colorScheme === "light" ? welcome_page_light : welcome_page_dark return (
Bloat-free feed reader