feat: dynamically display current dotnet version
This commit is contained in:
@@ -4,6 +4,11 @@
|
|||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<NavLink href="/">
|
<NavLink href="/">
|
||||||
<h1>journal</h1>
|
<h1>journal</h1>
|
||||||
|
<p>using
|
||||||
|
<a href="https://dotnet.microsoft.com/">
|
||||||
|
.NET @Environment.Version.Major
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</div>
|
</div>
|
||||||
<div class="author-container">
|
<div class="author-container">
|
||||||
|
|||||||
@@ -5,11 +5,26 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|
||||||
|
& .title-container {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
& .title-container h1 {
|
& .title-container h1 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .title-container p {
|
||||||
|
position: absolute;
|
||||||
|
bottom: -0.40rem;
|
||||||
|
right: 0;
|
||||||
|
font-size: 0.65rem;
|
||||||
|
|
||||||
|
& a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
& .author-container {
|
& .author-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -21,4 +36,4 @@
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user