Skip to content

Commit

Permalink
Fix linting errors after merging master branch
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Niehoff <[email protected]>
  • Loading branch information
ChristophNiehoff committed May 24, 2024
1 parent b74769b commit fdc4686
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/client/components/footer/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const Footer: FC<FooterProps> = ({ short }) => (
Elevation of Privilege was originally invented at Microsoft,
Cornucopia was developed at OWASP, Cumulus was started at{' '}
<a href="https://www.tngtech.com/en/">TNG Technology Consulting</a>,
Elevation of MLsec was developed at {' '}
Elevation of MLsec was developed at{' '}
<a href="https://www.kantega.no/">Kantega AS</a>.
</span>
<div className='footer-container'>
<div className="footer-container">
<Imprint />
<Privacy />
</div>
Expand Down
22 changes: 12 additions & 10 deletions src/client/components/license/licenseAttribution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,20 @@ const LicenseAttribution: React.FC<LicenseAttributionProps> = ({
</div>
);

case GameMode.EOMLSEC:
return (
<div className="license-attribution">
The card game <a href="https://github.com/kantega/elevation-of-mlsec">Elevation of MLsec</a> by{' '}
<a href="https://www.kantega.no/">
Kantega AS
case GameMode.EOMLSEC:
return (
<div className="license-attribution">
The card game{' '}
<a href="https://github.com/kantega/elevation-of-mlsec">
Elevation of MLsec
</a>{' '}
is licensed under{' '}
<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0 DEED</a>.
by <a href="https://www.kantega.no/">Kantega AS</a> is licensed under{' '}
<a href="https://creativecommons.org/licenses/by-sa/4.0/">
CC BY-SA 4.0 DEED
</a>
.
</div>
);

);

default:
return <></>;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/GameMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function getCardCssClass(gameMode: GameMode, c: Card): string {
}

if (isGameModeElevationOfMlSec(gameMode)) {
return `eomlsec-card eomlsec-card-img-${c.toLowerCase()}`
return `eomlsec-card eomlsec-card-img-${c.toLowerCase()}`;
}

return `eop-card eop-card-img-${c.toLowerCase()}`;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/cardDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ const CARD_DECKS: CardDeckDefinitions = {
],
isTrump: true,
isDefault: false,
}
},
},
};

Expand Down

0 comments on commit fdc4686

Please sign in to comment.