diff --git a/public/locales/en.json b/public/locales/en.json index 9fabf24..7387b52 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -307,7 +307,8 @@ "motdCardTitle": "Server MOTD", "motdDebugMode": "This server is an unofficial development server. Balances and transactions can be manipulated. Proceed with caution.", - "whatsNewCardTitle": "What's new" + "whatsNewCardTitle": "What's new", + "whatsNewButton": "What's new" }, "credits": { diff --git a/src/pages/dashboard/WhatsNewCard.tsx b/src/pages/dashboard/WhatsNewCard.tsx index aa56156..c2045fb 100644 --- a/src/pages/dashboard/WhatsNewCard.tsx +++ b/src/pages/dashboard/WhatsNewCard.tsx @@ -1,14 +1,24 @@ // Copyright (c) 2020-2021 Drew Lemmy // This file is part of KristWeb 2 under GPL-3.0. // Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt -import { Card } from "antd"; +import { Card, Button } from "antd"; +import { RightOutlined } from "@ant-design/icons"; + +import { Link } from "react-router-dom"; import { useTranslation } from "react-i18next"; export function WhatsNewCard(): JSX.Element { const { t } = useTranslation(); - return - TODO + return + + + ; } diff --git a/src/pages/whatsnew/WhatsNewPage.tsx b/src/pages/whatsnew/WhatsNewPage.tsx index 959d797..c4514a0 100644 --- a/src/pages/whatsnew/WhatsNewPage.tsx +++ b/src/pages/whatsnew/WhatsNewPage.tsx @@ -90,7 +90,7 @@ {/* Krist */} - + <Title level={2} style={{ marginTop: 16 }}> {t("whatsNew.titleKrist")} <GithubLink repoURL={kristPackage.repository} />