From 5536f5aef88aa8d23433f795f359debea0558508 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 3 Oct 2023 16:01:51 -0400 Subject: [PATCH] Adding icons to main page. --- src/shared/components/main.tsx | 40 +++++++++++++++------------ src/shared/components/navbar.tsx | 11 -------- src/shared/components/symbols.tsx | 46 +++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 29 deletions(-) diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index de271bb..4d3683b 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -183,7 +183,7 @@ const MoreFeaturesBlock = () => (
} + icons={} text={ # @@ -205,7 +205,7 @@ const MoreFeaturesBlock = () => ( - +
} text={i18n.t("clean_interface")} @@ -213,7 +213,7 @@ const MoreFeaturesBlock = () => ( - + } text={ @@ -225,7 +225,7 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("avatar_support")} @@ -233,7 +233,7 @@ const MoreFeaturesBlock = () => ( - + } text={ @@ -245,17 +245,13 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("themes_including")} /> - - - } + icons={
:
} text={ ## @@ -265,7 +261,7 @@ const MoreFeaturesBlock = () => ( - + } text={ @@ -278,7 +274,7 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("integrated_image_uploading")} @@ -286,7 +282,7 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("notifications_including")} @@ -294,7 +290,7 @@ const MoreFeaturesBlock = () => ( - + } text={ @@ -312,7 +308,7 @@ const MoreFeaturesBlock = () => ( - + } text={ @@ -328,7 +324,7 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("can_fully_erase")} @@ -336,11 +332,19 @@ const MoreFeaturesBlock = () => ( - + } text={i18n.t("nsfw_support")} /> + + + + } + text={"TODO Censorship resistant"} + /> ); diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index 7b1b67a..444954d 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -64,12 +64,6 @@ export const Navbar = ({ footer = false }) => ( ))} - - - )}
( className="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-neutral-800 rounded-box w-52 items-center" > -
  • - - - -
  • diff --git a/src/shared/components/symbols.tsx b/src/shared/components/symbols.tsx index 520f973..243d013 100644 --- a/src/shared/components/symbols.tsx +++ b/src/shared/components/symbols.tsx @@ -20,6 +20,52 @@ export class Symbols extends Component { xmlnsXlink="http://www.w3.org/1999/xlink" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +