diff --git a/web/src/components/navigation/RightSidebar.tsx b/web/src/components/navigation/RightSidebar.tsx index d3e7f90..81fdfe8 100644 --- a/web/src/components/navigation/RightSidebar.tsx +++ b/web/src/components/navigation/RightSidebar.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef, useState } from "react"; -import { Search, Coffee } from "lucide-react"; +import { Search, Coffee, Heart } from "lucide-react"; import { getTrendingTags, searchActors, @@ -313,6 +313,15 @@ export default function RightSidebar({ onNavigate }: RightSidebarProps) { > Stoat + + + Open Collective + - Support on Ko-fi + Ko-fi {t("sidebar.copyright")} diff --git a/web/src/views/About.tsx b/web/src/views/About.tsx index 82e8330..63628b7 100644 --- a/web/src/views/About.tsx +++ b/web/src/views/About.tsx @@ -26,77 +26,15 @@ import { Sun, Moon, Monitor, + Check, + Lock, } from "lucide-react"; import { AppleIcon, TangledIcon } from "../components/common/Icons"; import { FaFirefox, FaEdge } from "react-icons/fa"; -function FeatureCard({ - icon: Icon, - title, - description, - accent = false, -}: { - icon: React.ElementType; - title: string; - description: string; - accent?: boolean; -}) { - return ( -
-
- -
-

- {title} -

-

- {description} -

-
- ); -} - -function ExtensionFeature({ - icon: Icon, - title, - description, -}: { - icon: React.ElementType; - title: string; - description: string; -}) { - return ( -
-
- -
-
-

- {title} -

-

- {description} -

-
-
- ); -} - export default function About() { const { t } = useTranslation(); - const theme = useStore($theme); // ensure theme is applied on this page + const theme = useStore($theme); const user = useStore($user); const [browser] = React.useState< @@ -141,59 +79,93 @@ export default function About() { return () => window.removeEventListener("scroll", handleScroll); }, []); + const features = [ + { + icon: MessageSquareText, + title: t("about.features.annotations.title"), + description: t("about.features.annotations.description"), + }, + { + icon: Highlighter, + title: t("about.features.highlights.title"), + description: t("about.features.highlights.description"), + }, + { + icon: Bookmark, + title: t("about.features.bookmarks.title"), + description: t("about.features.bookmarks.description"), + }, + { + icon: FolderOpen, + title: t("about.features.collections.title"), + description: t("about.features.collections.description"), + }, + { + icon: Users, + title: t("about.features.socialDiscovery.title"), + description: t("about.features.socialDiscovery.description"), + }, + { + icon: Hash, + title: t("about.features.tagsSearch.title"), + description: t("about.features.tagsSearch.description"), + }, + ]; + return (
-