Resolve "Navigation" #19
19
src/Portfolio.Web/Components/Layout/FooterLinks.razor
Normal file
19
src/Portfolio.Web/Components/Layout/FooterLinks.razor
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<footer>
|
||||||
|
<span class="title">
|
||||||
|
Portfolio von Leon Hoppe
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div class="socials">
|
||||||
|
<a href="https://www.instagram.com/leonh.23/">
|
||||||
|
<img src="/socials/instagram.png" alt="Instagram">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://git.leon-hoppe.de/leon.hoppe/">
|
||||||
|
<img src="/socials/gitlab.png" alt="GitLab">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="mailto://leon@ladenbau-hoppe.de">
|
||||||
|
<img src="/socials/mail.png" alt="Mail">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
30
src/Portfolio.Web/Components/Layout/FooterLinks.razor.css
Normal file
30
src/Portfolio.Web/Components/Layout/FooterLinks.razor.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
footer {
|
||||||
|
display: flex;
|
||||||
|
margin-top: auto;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
padding-top: 5rem;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-inline: 12.5vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
background: var(--gradient);
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
user-select: none;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.socials {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.socials a {
|
||||||
|
height: 25px;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
@@ -2,10 +2,12 @@
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<nav class="nav-box">
|
<nav class="nav-box">
|
||||||
<NavMenu />
|
<Navigation />
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<article class="content">
|
<article class="content">
|
||||||
@Body
|
@Body
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<FooterLinks />
|
||||||
</main>
|
</main>
|
||||||
@@ -1,9 +1,17 @@
|
|||||||
main {
|
main {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-box {
|
.nav-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
flex-grow: 1;
|
||||||
|
margin-inline: 12.5vw;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
padding-inline: 0.5rem;
|
padding-inline: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links, .socials {
|
.links {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
@@ -18,8 +18,14 @@
|
|||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.socials {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.socials a {
|
.socials a {
|
||||||
height: 32px;
|
height: 25px;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links ::deep a {
|
.links ::deep a {
|
||||||
Reference in New Issue
Block a user