import { t, Trans } from "@lingui/macro" import { Anchor, Box, Center, Code, Container, createStyles, List, NativeSelect, SimpleGrid, Title } from "@mantine/core" import { Constants } from "app/constants" import { redirectToApiDocumentation } from "app/slices/redirect" import { useAppDispatch, useAppSelector } from "app/store" import { CategorySelect } from "components/content/add/CategorySelect" import { KeyboardShortcutsHelp } from "components/KeyboardShortcutsHelp" import React, { useState } from "react" import { TbHelp, TbKeyboard, TbPuzzle, TbRocket } from "react-icons/tb" const useStyles = createStyles(() => ({ sectionTitle: { display: "flex", alignItems: "center", }, })) function Section(props: { title: string; icon: React.ReactNode; children: React.ReactNode }) { const { classes } = useStyles() return ( {props.icon} {props.title} {props.children} ) } function NextUnreadBookmarklet() { const [categoryId, setCategoryId] = useState(Constants.categories.all.id) const [order, setOrder] = useState("desc") const baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf("#")) const href = `javascript:window.location.href='${baseUrl}next?category=${categoryId}&order=${order}&t='+new Date().getTime();` return ( c && setCategoryId(c)} withAll description={t`Category`} /> setOrder(e.target.value)} description={t`Order`} /> Drag link to bookmark bar CommaFeed next unread item ) } const bitcoinAddress = {Constants.bitcoinWalletAddress} export function AboutPage() { const version = useAppSelector(state => state.server.serverInfos?.version) const revision = useAppSelector(state => state.server.serverInfos?.gitCommit) const dispatch = useAppDispatch() return (
}> CommaFeed version {version} ({revision}) CommaFeed is an open-source project. Sources are hosted on  GitHub . If you encounter an issue, please report it on the issues page of the GitHub project. If you like this project, please consider a donation to support the developer and help cover the costs of keeping this website online.
For those of you who prefer bitcoin, here is the address: {bitcoinAddress}
}> Browser extentions Firefox Chrome Opera Subscribe URL rest/feed/subscribe?url=FEED_URL_HERE Next unread item bookmarklet
}>
}> dispatch(redirectToApiDocumentation())}> Go to the API documentation.
) }