mirror of
https://github.com/DerTyp7/dertyp7.github.io.git
synced 2025-10-29 12:52:08 +01:00
add new logo
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user