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 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() {
return (
<header className="header">
{/* Mobile Top Row Header */}
<div className="header-mobile">
<div className="logo">
<h1>Meister</h1>
</div>
<div className="control">
<ThemeSwitch />
<div>Language</div>
</div>
<Logo />
<Control />
</div>
{/* END: Mobile Top Row Header */}
<div className="logo">
<h1>Meister</h1>
</div>
<Logo />
<div className="links">
<a href="">About</a>
@@ -26,10 +37,7 @@ export default function Header() {
<a href="">Projects</a>
<a href="">Contact</a>
</div>
<div className="control">
<ThemeSwitch />
<div>Language</div>
</div>
<Control />
</header>
);
}

View File

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