From 7b50278cbb664b34887e6d60ee69a5d658f69030 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 23 Aug 2023 17:51:33 -0700 Subject: [PATCH] Add notes section to 1.2.0 update --- components/about/UpdatesPage/index.tsx | 15 +++++++++++++++ public/locales/en/updates.json | 1 + 2 files changed, 16 insertions(+) diff --git a/components/about/UpdatesPage/index.tsx b/components/about/UpdatesPage/index.tsx index e7541838..a763bb1d 100644 --- a/components/about/UpdatesPage/index.tsx +++ b/components/about/UpdatesPage/index.tsx @@ -3,6 +3,8 @@ import { useTranslation } from 'next-i18next' import classNames from 'classnames' import ContentUpdate from '~components/about/ContentUpdate' +import LinkItem from '../LinkItem' +import DiscordIcon from '~public/icons/discord.svg' import styles from './index.module.scss' @@ -79,6 +81,19 @@ const UpdatesPage = () => {

{updates('labels.features')}

+
+ {updates('versions.1.2.0.notes') + .split('\n') + .map((item) => ( +

{item}

+ ))} + } + /> +
    {[...Array(versionUpdates['1.2.0'].updates)].map((e, i) => (
  • diff --git a/public/locales/en/updates.json b/public/locales/en/updates.json index 0329b9b8..3a46988d 100644 --- a/public/locales/en/updates.json +++ b/public/locales/en/updates.json @@ -20,6 +20,7 @@ }, "versions": { "1.2.0": { + "notes": "I'm very bad at writing actual release notes, so this is a consolidation of the bigger features released in the last six months. Don't worry: there's some new stuff here too!\nThe next features (in no particular order) will be: private teams, a way to define roles and substitutions for characters, a collection tracker and hopefully making progress on guides. That's a lot, but I'll chip away at it bit by bit.\nAs always, if you have any feedback, feel free to reach out in the granblue-tools Discord. Thanks for using granblue.team!", "features": [ { "title": "New party navigation",