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