Skip to content

Commit

Permalink
style: add urdr-image to login-page
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaSonnek committed Aug 22, 2024
1 parent 736f976 commit 2304dbf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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-144x144.png" alt="Urdr icon" />
<h1 className="header-heading">Welcome to urdr</h1>
</section>
);
Expand Down
9 changes: 8 additions & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ Other button classes are defined further down together with other classes for th

.header-wrapper {
width: 100vw;
height: 10rem;
height: 15rem;
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 +113,12 @@ Other button classes are defined further down together with other classes for th
}
}

.header-wrapper img{
margin-bottom: 1rem;
width: 5.5rem;
display: block;
}

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

0 comments on commit 2304dbf

Please sign in to comment.