Skip to content

Commit

Permalink
watchdogpolska#614 - Add logo on login page and ignore .ico and .xml …
Browse files Browse the repository at this point in the history
…files in prettier
  • Loading branch information
Adishone committed May 22, 2021
1 parent 61a2509 commit 6f997cb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend-project/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ LICENSE
*.lock
yarn-error.log
.history
*.xml
*.ico
8 changes: 8 additions & 0 deletions frontend-project/src/layouts/LoginLayout.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@
color: @text-color-secondary;
font-size: @font-size-base;
}

.eodLogo {
display: flex;
align-self: center;
width: 150px;
margin-top: 10px;
margin-bottom: 10px;
}
2 changes: 2 additions & 0 deletions frontend-project/src/layouts/LoginLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { connect } from 'dva';
import SelectLang from '@/components/SelectLang';
import { ConnectState, Route } from '@/models/connect';
import logo from '../assets/logo.png';
import eodLogo from '../assets/watchdog_eod_logo.svg';
import styles from './LoginLayout.less';

export interface LoginLayoutProps {
Expand Down Expand Up @@ -61,6 +62,7 @@ const LoginLayout: FC<LoginLayoutProps> = props => {
<div className={styles.header}>
<Link to="/" className={styles.headerLink}>
<img alt="logo" className={styles.logo} src={logo} />
<img alt="logo aplikacji elektroniczny obieg dokumentów" className={styles.eodLogo} src={eodLogo} />
<h1 className={styles.title}>Small EOD</h1>
</Link>
</div>
Expand Down

0 comments on commit 6f997cb

Please sign in to comment.