Skip to content

Commit

Permalink
wip: add header
Browse files Browse the repository at this point in the history
  • Loading branch information
silvankammermann committed Oct 28, 2023
1 parent 7bffa57 commit 45608cf
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/src/app/components/Header/Header.js
@@ -0,0 +1,13 @@
import styles from "./Header.module.css";
import SettingsIcon from '@mui/icons-material/Settings';

export default function Header({title}) {
return (
<header className={styles.header}>
<div className={styles.icons}>
<SettingsIcon className="fcolor--purple" />
</div>
<h1 className={styles.title}>{title}</h1>
</header>
);
}
15 changes: 15 additions & 0 deletions frontend/src/app/components/Header/Header.module.css
@@ -0,0 +1,15 @@
.header {
display: flex;
justify-content: space-between;
background: var(--gradient_down);
padding: 3rem 2rem;
}

.icons {
display: flex;
}

.title {
text-transform: uppercase;
color: var(--color_yellow);
}
4 changes: 4 additions & 0 deletions frontend/src/app/globals.css
Expand Up @@ -23,6 +23,10 @@ h1, .h1 {
line-height: 2.5rem;
}

.fcolor--purple {
color: var(--color_purple);
}

/*
@media (prefers-color-scheme: dark) {
:root {
Expand Down

0 comments on commit 45608cf

Please sign in to comment.