diff --git a/components/about/LinkItem/index.module.scss b/components/about/LinkItem/index.module.scss index 72d4462b..0482bf51 100644 --- a/components/about/LinkItem/index.module.scss +++ b/components/about/LinkItem/index.module.scss @@ -28,6 +28,10 @@ } } + &.constrained.update { + max-width: 360px; + } + &.github:hover .left .icon svg { fill: var(--text-primary); } diff --git a/components/about/UpdatesPage/index.module.scss b/components/about/UpdatesPage/index.module.scss index 06bf870e..c17bda4b 100644 --- a/components/about/UpdatesPage/index.module.scss +++ b/components/about/UpdatesPage/index.module.scss @@ -17,6 +17,16 @@ flex-direction: column; gap: $unit-4x; + .foreword { + margin-top: $unit-4x; + + p { + font-size: $font-regular; + line-height: 1.32; + margin-bottom: $unit-2x; + } + } + .features { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); diff --git a/components/about/UpdatesPage/index.tsx b/components/about/UpdatesPage/index.tsx index a9565363..143026d1 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' @@ -31,6 +33,22 @@ const UpdatesPage = () => { 'toasts', ], }, + '1.2.0': { + updates: 10, + bugs: 0, + images: [ + 'party-peek', + 'party-redesign', + 'visibility', + 'rich-text', + 'mentions', + 'include-exclude', + 'raid-search', + 'search-views', + 'quick-summon', + 'grand-awakening', + ], + }, '202302U2': { updates: 1, }, @@ -57,6 +75,64 @@ const UpdatesPage = () => { return (

{common('about.segmented_control.updates')}

+ +
+
+

1.2.0

+ +
+
+
+

{updates('labels.features')}

+
    + {[...Array(versionUpdates['1.2.0'].updates)].map((e, i) => ( +
  • + {image( + updates(`versions.1.2.0.features.${i}.title`), + `${process.env.NEXT_PUBLIC_SIERO_IMG_URL}/updates`, + versionUpdates['1.2.0'].images[i], + 'jpg' + )} +

    {updates(`versions.1.2.0.features.${i}.title`)}

    +

    {updates(`versions.1.2.0.features.${i}.blurb`)}

    +
  • + ))} +
+
+

Developer notes

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

{item}

+ ))} + } + /> +
+
+ {/*
+

Bug fixes

+
    + {[...Array(versionUpdates['1.2.0'].bugs)].map((e, i) => ( +
  • + {updates(`versions.1.2.0.bugs.${i}`)} +
  • + ))} +
+
*/} +
+