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