Skip to content

Commit

Permalink
Merge pull request #953 from NBISweden/949-add-urdr-icon
Browse files Browse the repository at this point in the history
Style: add urdr-image to login-page
  • Loading branch information
KattisLej authored Aug 22, 2024
2 parents f3f0747 + 6d62a55 commit 22d2a52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/LoginHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "../index.css";
export const LoginHeader = () => {
return (
<section className="header-wrapper">
<img src="mstile-70x70.png" alt="Urdr icon" />
<h1 className="header-heading">Welcome to urdr</h1>
</section>
);
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ Other button classes are defined further down together with other classes for th

.header-wrapper {
width: 100vw;
height: 10rem;
padding: 1rem 3rem 3rem;
line-height: 10rem;
margin-bottom: 3rem;
background-color: hsl(76deg 55% 53%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
Expand All @@ -112,6 +112,10 @@ Other button classes are defined further down together with other classes for th
}
}

.header-wrapper img {
display: block;
}

.header-heading {
color: hsl(186deg 92% 11%);
font-size: 3rem;
Expand Down

0 comments on commit 22d2a52

Please sign in to comment.