2022-06-18 00:22:07 +05:30
|
|
|
<script>
|
|
|
|
import * as strings from "$lib/strings";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
<a class="brand" href="/">
|
|
|
|
<img src="/logo.png" alt="Project Segfault logo">
|
|
|
|
<span style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;">{strings.PROJECT}</span>
|
|
|
|
<span style="color: var(--accent-primary); margin-right: 8px;">{strings.SEGFAULT}</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="links">
|
|
|
|
<a href="https://instances.projectsegfau.lt/">{strings.INSTANCES}</a>
|
|
|
|
<a href="/minecraft">{strings.MINECRAFT}</a>
|
|
|
|
<a href="/donate">{strings.DONATE}</a>
|
|
|
|
<a href="/faq">{strings.FAQ}</a>
|
|
|
|
<a href="/contact">{strings.CONTACT}</a>
|
|
|
|
<a href="https://blog.projectsegfau.lt/">{strings.BLOG}</a>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
nav {
|
|
|
|
background-color: var(--secondary);
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.brand {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-06-18 11:15:20 +05:30
|
|
|
.links > * {
|
2022-06-18 18:07:23 +05:30
|
|
|
background-color: var(--tertiary);
|
2022-06-18 11:15:20 +05:30
|
|
|
border: none;
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 1rem;
|
|
|
|
cursor: pointer;
|
2022-06-18 18:07:23 +05:30
|
|
|
color: var(--text);
|
2022-06-18 11:15:20 +05:30
|
|
|
font-family: var(--font-primary);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-06-18 14:47:19 +05:30
|
|
|
.links > *:hover {
|
|
|
|
background-color: var(--accent-tertiary);
|
|
|
|
text-decoration: none;
|
2022-06-18 18:31:38 +05:30
|
|
|
transition: all 0.5s;
|
|
|
|
color: var(--secondary);
|
2022-06-18 18:07:23 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.links > *:active {
|
|
|
|
background-color: var(--accent-primary);
|
|
|
|
text-decoration: none;
|
2022-06-18 18:31:38 +05:30
|
|
|
transition: all 0.5s;
|
|
|
|
color: var(--secondary);
|
2022-06-18 14:47:19 +05:30
|
|
|
}
|
|
|
|
|
2022-06-18 00:22:07 +05:30
|
|
|
img {
|
|
|
|
height: 36px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.links {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
2022-06-18 11:18:24 +05:30
|
|
|
@media only screen and (max-width: 820px) {
|
2022-06-18 00:22:07 +05:30
|
|
|
nav {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.links {
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: 10px;
|
|
|
|
gap: 19px;
|
|
|
|
}
|
|
|
|
}
|
2022-06-18 18:31:38 +05:30
|
|
|
</style>
|