]> git.localhorst.tv Git - alttp.git/commitdiff
smz3 hash
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 2 Nov 2025 17:46:05 +0000 (18:46 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 2 Nov 2025 17:46:05 +0000 (18:46 +0100)
resources/js/components/rounds/SeedCode.jsx
resources/js/components/rounds/SeedCodeInput.jsx
resources/sass/rounds.scss

index 2f7427979e335ff2e826474373347fe80616b0c5..fbe187c86c371d3f1e1336a70336f8b22fc9e26f 100644 (file)
@@ -5,7 +5,7 @@ import ZeldaIcon from '../common/ZeldaIcon';
 
 const SeedCode = ({ code, game }) =>
 <span className={`seed-code game-${game}`}>
-       {code.map(game === 'smr'
+       {code.map(['smr', 'smz3'].includes(game)
                ? (symbol, index) => <span key={`${symbol}.${index}`}>{symbol}</span>
                : (symbol, index) => <ZeldaIcon key={`${symbol}.${index}`} name={symbol} />
        )}
index 958c92776246db6ad8d1cbe81c3bd3675ca7186d..9ab199c36341ccf54d3d29b1e5818027dcfb04fc 100644 (file)
@@ -106,7 +106,7 @@ const SeedCodeInput = ({
                        )}
                </div>;
        }
-       if (game === 'smr') {
+       if (['smr', 'smz3'].includes(game)) {
                return <div
                        className={`${className} seed-code-input game-smr`}
                >
index 2ff6221d0d87e3461339ebab5dd2d76bec0ced90..83c56a853429100cecd222ac3aff8ccdd6c49713 100644 (file)
@@ -64,7 +64,8 @@
                flex-wrap: nowrap;
        }
 
-       &.game-smr {
+       &.game-smr,
+       &.game-smz3 {
                display: inline-grid;
                grid-template-columns: 1fr 1fr;
                > span {