add new logo

This commit is contained in:
DerTyp7
2023-10-10 16:29:41 +02:00
parent c0b8e19ef0
commit 268a6e3b98
2 changed files with 36 additions and 15 deletions

View File

@@ -1,24 +1,35 @@
import "@styles/Header.scss"; import "@styles/Header.scss";
import ThemeSwitch from "@components/ThemeSwitch"; import ThemeSwitch from "@components/ThemeSwitch";
function Logo() {
return (
<div className="logo">
<p>Janis</p>
<p>Meister</p>
</div>
);
}
function Control() {
return (
<div className="control">
<ThemeSwitch />
<div>Language</div>
</div>
);
}
export default function Header() { export default function Header() {
return ( return (
<header className="header"> <header className="header">
{/* Mobile Top Row Header */} {/* Mobile Top Row Header */}
<div className="header-mobile"> <div className="header-mobile">
<div className="logo"> <Logo />
<h1>Meister</h1> <Control />
</div>
<div className="control">
<ThemeSwitch />
<div>Language</div>
</div>
</div> </div>
{/* END: Mobile Top Row Header */} {/* END: Mobile Top Row Header */}
<div className="logo"> <Logo />
<h1>Meister</h1>
</div>
<div className="links"> <div className="links">
<a href="">About</a> <a href="">About</a>
@@ -26,10 +37,7 @@ export default function Header() {
<a href="">Projects</a> <a href="">Projects</a>
<a href="">Contact</a> <a href="">Contact</a>
</div> </div>
<div className="control"> <Control />
<ThemeSwitch />
<div>Language</div>
</div>
</header> </header>
); );
} }

View File

@@ -8,6 +8,16 @@
.logo { .logo {
flex: 0.5; flex: 0.5;
p {
font-size: 2rem;
line-height: 0.8;
}
p:nth-child(2) {
padding-left: 20px;
font-weight: bold;
}
} }
.links { .links {
@@ -48,7 +58,7 @@
flex-direction: row; flex-direction: row;
.logo { .logo {
display: flex; display: block;
} }
.control { .control {
@@ -78,6 +88,9 @@
flex-direction: column; flex-direction: column;
.logo { .logo {
justify-content: center; justify-content: center;
display: flex;
margin-bottom: 10px;
} }
.control { .control {