Merge pull request #261 from jedmund/dread-barrage

Add items for 2023/03 Flash Gala and Dread Barrage raids
This commit is contained in:
Justin Edmund 2023-03-16 06:00:02 -07:00 committed by GitHub
commit 5469d9a4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 4 deletions

View file

@ -0,0 +1,11 @@
.Content.Version {
.Contents {
margin-bottom: $unit-3x;
}
.Notes h4 {
font-weight: $medium;
font-size: $font-regular;
margin-bottom: $unit-2x;
}
}

View file

@ -117,9 +117,9 @@ const ContentUpdate = ({
{uncapItemSection('summon')}
</div>
{numNotes > 0 ? (
<div>
<div className="Notes">
<section>
<h2>{updates('labels.updates')}</h2>
<h4>{updates('labels.updates')}</h4>
<ul className="Bare Contents">
{[...Array(numNotes)].map((e, i) => (
<li key={`${version}-${i}`}>

View file

@ -99,7 +99,12 @@ const RaidDropdown = React.forwardRef<HTMLSelectElement, Props>(
sortedRaids.length > 0 &&
sortedRaids[index].length > 0 &&
sortedRaids[index]
.sort((a, b) => a.element - b.element)
.sort((a, b) => {
if (a.element > 0 && b.element > 0) return a.element - b.element
else if (a.name.en.includes('NM') && b.name.en.includes('NM'))
return a.level < b.level ? -1 : 1
else return a.name.en < b.name.en ? -1 : 1
})
.map((item, i) => (
<SelectItem key={i} value={item.slug}>
{item.name[locale]}

View file

@ -56,6 +56,16 @@ const UpdatesPage = () => {
return (
<div className="Updates PageContent">
<h1>{common('about.segmented_control.updates')}</h1>
<ContentUpdate
version="2023-03F"
dateString="2023/03/16"
event="events.flash"
newItems={{
character: ['3040451000', '3040452000', '3040453000', '3040454000'],
weapon: ['1040914600', '1040116800', '1040515900', '1040712300'],
}}
numNotes={5}
/>
<ContentUpdate
version="2023-02L"
dateString="2023/02/27"

View file

@ -15,7 +15,7 @@ export const raidGroups: RaidGroup[] = [
},
{
name: {
en: 'Guild Wars',
en: 'Unite and Fight',
ja: '星の古戦場',
},
},
@ -109,6 +109,12 @@ export const raidGroups: RaidGroup[] = [
ja: 'アーカルム レプリカルド・サンドボックス',
},
},
{
name: {
en: 'Dread Barrage',
ja: 'ドレッドバラージュ',
},
},
{
name: {
en: 'Astrals',

View file

@ -18,6 +18,15 @@
"uncap": "Uncap"
},
"versions": {
"2023-03F": {
"features": [
"Added new class \"Yamato\"",
"Added Ultimate Mastery skills for classes: Berserker, Apsaras, Nekomancer, Kengo",
"Added raids for Dread Barrage",
"Renamed \"Guild Wars\" in raid list to \"Unite and Fight\"",
"Fixed sorting of raids for Dread Barrage and Unite and Fight"
]
},
"2023-02-U2": {
"features": ["Added official names for Proven Weapons and Revans Weapons"]
},

View file

@ -18,6 +18,15 @@
"uncap": "上限解放"
},
"versions": {
"2023-03F": {
"features": [
"新ジョブ「ヤマト」を追加",
"「ベルセルク」「アプサラス」「黒猫道士」「剣豪」の極致の証スキルを追加",
"ドレッドバラージュのマルチバトルをリストに追加",
"英語のリストに\"Guild Wars\"のラベルを\"Unite and Fight\"に変更",
"「ドレッドバラージュ」と「星の古戦場」のマルチバトルを並び替えました"
]
},
"2023-02-U2": {
"features": ["ブレイブウェポンとレヴァンスウェポンの公式名を追加"]
},