Merge pull request #242 from jedmund/staging

Add 2023-02 content update
This commit is contained in:
Justin Edmund 2023-02-07 00:17:05 -08:00 committed by GitHub
commit bb7872f1cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 7 deletions

View file

@ -1,6 +1,5 @@
import React from 'react'
import { useRouter } from 'next/router'
import { useTranslation } from 'next-i18next'
import ChangelogUnit from '~components/ChangelogUnit'
@ -30,6 +29,9 @@ const UpdatesPage = () => {
'toasts',
],
},
'202302U2': {
updates: 1,
},
}
function image(
@ -53,6 +55,47 @@ const UpdatesPage = () => {
return (
<div className="Updates PageContent">
<h1>{common('about.segmented_control.updates')}</h1>
<section className="Content Version" data-version="2023-02U2">
<div className="Header">
<h3>{`${updates('events.date', {
year: 2023,
month: 2,
})} ${updates('events.uncap')}`}</h3>
<time>2023/02/06</time>
</div>
<div className="Contents">
<section className="characters">
<h4>{updates('labels.uncaps.characters')}</h4>
<div className="items">
<ChangelogUnit id="3040252000" type="character" image="03" />
</div>
</section>
<section className="weapons">
<h4>{updates('labels.uncaps.weapons')}</h4>
<div className="items">
<ChangelogUnit id="1040016100" type="weapon" />
</div>
</section>
<section className="weapons">
<h4>{updates('labels.weapons')}</h4>
<div className="items">
<ChangelogUnit id="1040617100" type="weapon" />
</div>
</section>
</div>
<div>
<section>
<h2>{updates('labels.updates')}</h2>
<ul className="Bare Contents">
{[...Array(versionUpdates['202302U2'])].map((e, i) => (
<li key={`2023-02-U2-${i}`}>
{updates(`versions.2023-02-U2.features.${i}`)}
</li>
))}
</ul>
</section>
</div>
</section>
<section className="Version" data-version="1.1">
<div className="Header">
<h3>1.1.0</h3>

View file

@ -143,8 +143,8 @@
"sephira": "Sephira",
"new_world": "New World Foundation",
"revenant": "Revenant",
"proving": "Proving Grounds",
"disaster": "Disaster",
"proving": "Proven",
"disaster": "Revans",
"illustrious": "Illustrious"
},
"recency": {

View file

@ -8,7 +8,8 @@
"weapons": "New weapon uncaps",
"summons": "New summon uncaps"
},
"features": "New features"
"features": "New features",
"updates": "Other updates"
},
"events": {
"date": "{{month}}/{{year}}",
@ -17,6 +18,9 @@
"uncap": "Uncap"
},
"versions": {
"2023-02-U2": {
"features": ["Added official names for Proven Weapons and Revans Weapons"]
},
"1.1.0": {
"features": [
{

View file

@ -143,8 +143,8 @@
"sephira": "セフィラン・オールドウェポン",
"new_world": "新世界の礎",
"revenant": "天星器",
"proving": "ブレイブグラウンド",
"disaster": "災害シリーズ",
"proving": "ブレイブウェポン",
"disaster": "レヴァンスウェポン",
"luminous": "ルミナス"
},
"recency": {

View file

@ -8,7 +8,8 @@
"weapons": "武器の新上限解放",
"summons": "召喚石の新上限解放"
},
"features": "新機能"
"features": "新機能",
"updates": "その他の更新"
},
"events": {
"date": "{{year}}年{{month}}月",
@ -17,6 +18,9 @@
"uncap": "上限解放"
},
"versions": {
"2023-02-U2": {
"features": ["ブレイブウェポンとレヴァンスウェポンの公式名を追加"]
},
"1.1.0": {
"features": [
{