From e4024d91dd6a3be98323df7c4f50381771a98d8c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 17 Oct 2023 16:17:08 -0400 Subject: [PATCH] Addressing PR comments. --- src/server/index.tsx | 4 ++-- src/shared/components/main.tsx | 6 +++--- src/shared/components/navbar.tsx | 12 ++++++------ tailwind.config.js | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/server/index.tsx b/src/server/index.tsx index e94c0d7..93ab2da 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -69,7 +69,7 @@ server.get("/*", async (req, res) => { res.send(` - + ${erudaInit()} @@ -87,7 +87,7 @@ server.get("/*", async (req, res) => { - + ${helmet.link.toString()} diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index f214ca5..2b874b3 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -21,7 +21,7 @@ interface MainProps { const TitleBlock = ({ i }: MainProps) => (
-

Lemmy

+

Lemmy

{i18n.t("lemmy_desc")}

@@ -104,9 +104,9 @@ const FollowCommunitiesBlock = ({ i }: MainProps) => ( const FeatureCard = ({ pic, title, subtitle, classes }) => (
-
+
-
+

{title}

{subtitle}

diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index b2e1f3c..5eda9ee 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -11,42 +11,42 @@ const NavLinks = () => ( <> closeNavbarDropdown()} to="/instances"> + {i18n.t("join")} } /> closeNavbarDropdown()} to="/news"> + {i18n.t("news")} } /> closeNavbarDropdown()} to="/apps"> + {i18n.t("apps")} } /> closeNavbarDropdown()} to="/donate"> + {i18n.t("donate")} } /> closeNavbarDropdown()} href={`/docs/index.html`}> + {i18n.t("docs")} } /> closeNavbarDropdown()} to="/contact"> + {i18n.t("contact")} } diff --git a/tailwind.config.js b/tailwind.config.js index 6b76157..9b1ae4c 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -17,7 +17,7 @@ module.exports = { content: ["./src/**/*.{js,jsx,ts,tsx}"], theme: { fontFamily: { - sans: ["Ubuntu", ...defaultTheme.fontFamily.sans], + sans: ["Inter", ...defaultTheme.fontFamily.sans], }, extend: {}, },