Skip to content

Commit

Permalink
refactor: unauthorized-route uses a happy adult icon
Browse files Browse the repository at this point in the history
KK-1063
  • Loading branch information
nikomakela committed Mar 18, 2024
1 parent fd37000 commit 188db51
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/assets/icons/svg/adultFaceHappyTransparent.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/domain/auth/Unauthorized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { IconSignin } from 'hds-react/icons';
import InfoPageLayout from '../app/layout/InfoPageLayout';
import { loginTunnistamo } from './authenticate';
import styles from './unauthorized.module.scss';
import adultFaceHappyIcon from '../../assets/icons/svg/adultFaceHappyTransparent.svg';

const LoginButton = () => {
const { t } = useTranslation();
Expand All @@ -26,6 +27,7 @@ const Unauthorized = () => {

return (
<InfoPageLayout
icon={adultFaceHappyIcon}
classes={styles.loginButtonTemplate}
title={t('authentication.login.text')}
callToAction={{
Expand Down

0 comments on commit 188db51

Please sign in to comment.