2026-05-12 21:05:12 +02:00
|
|
|
<template>
|
|
|
|
|
<header class="navbar">
|
|
|
|
|
<div class="container">
|
2026-05-13 03:46:50 +02:00
|
|
|
<RouterLink
|
|
|
|
|
to="/"
|
|
|
|
|
class="logo"
|
|
|
|
|
>
|
2026-05-13 00:13:45 +02:00
|
|
|
<img
|
|
|
|
|
src="/spbr-uncolored-nostars-noring.png"
|
|
|
|
|
alt="Logo"
|
|
|
|
|
>
|
2026-05-13 03:31:20 +02:00
|
|
|
</RouterLink>
|
2026-05-12 21:05:12 +02:00
|
|
|
|
|
|
|
|
<nav class="links">
|
2026-07-19 08:50:50 +02:00
|
|
|
<a href="#">{{ t.nav?.supportedGames }}</a>
|
2026-07-20 22:46:21 +02:00
|
|
|
<a href="/docs/policy/general">{{ t.nav?.errorCodes }}</a>
|
2026-07-21 04:11:20 +02:00
|
|
|
<a href="https://discord.gg/grMSxZf">{{ t.nav?.discordServer }}</a>
|
2026-07-20 20:14:17 +02:00
|
|
|
<a href="/docs/connect">{{ t.nav?.installSpbr }}</a>
|
2026-05-12 21:05:12 +02:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<div class="search-box">
|
2026-05-13 00:13:45 +02:00
|
|
|
<input
|
|
|
|
|
v-model="query"
|
|
|
|
|
type="text"
|
2026-07-19 08:50:50 +02:00
|
|
|
:placeholder="t.nav?.searchPlaceholder"
|
2026-05-13 00:13:45 +02:00
|
|
|
>
|
2026-05-12 21:05:12 +02:00
|
|
|
<button class="search-btn">
|
2026-05-13 03:46:50 +02:00
|
|
|
<Icon
|
|
|
|
|
name="octicon:search-24"
|
2026-05-13 00:13:45 +02:00
|
|
|
class="icon"
|
|
|
|
|
alt="Search"
|
2026-05-13 03:46:50 +02:00
|
|
|
/>
|
2026-05-12 21:05:12 +02:00
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
|
|
const query = ref('')
|
2026-07-19 08:50:50 +02:00
|
|
|
|
|
|
|
|
const { t } = useLocale()
|
2026-05-12 21:05:12 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
2026-05-13 03:31:20 +02:00
|
|
|
.logo {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo:hover {
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-12 21:05:12 +02:00
|
|
|
.navbar {
|
2026-05-14 06:49:11 +02:00
|
|
|
background-color: #383838;
|
2026-05-12 21:05:12 +02:00
|
|
|
border-bottom: 2px solid #333;
|
|
|
|
|
padding: 10px 20px;
|
|
|
|
|
font-family: 'Arial', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: 0 auto;
|
2026-07-20 20:14:17 +02:00
|
|
|
gap: 15px;
|
|
|
|
|
flex-wrap: wrap;
|
2026-05-12 21:05:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo img {
|
|
|
|
|
height: 30px;
|
|
|
|
|
filter: brightness(0) invert(1);
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.links {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 25px;
|
2026-07-20 20:14:17 +02:00
|
|
|
flex-wrap: wrap;
|
2026-05-12 21:05:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.links a {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #aaa;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.links a:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
background: #2d2d2d;
|
|
|
|
|
border: 1px solid #444;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
padding: 4px 12px;
|
2026-07-20 20:14:17 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
|
max-width: 300px;
|
2026-05-12 21:05:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-box input {
|
|
|
|
|
border: none;
|
|
|
|
|
outline: none;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #eee;
|
|
|
|
|
background: transparent;
|
2026-07-20 20:14:17 +02:00
|
|
|
width: 100%;
|
2026-05-12 21:05:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-btn {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-13 03:46:50 +02:00
|
|
|
:deep(.icon) {
|
2026-05-12 21:05:12 +02:00
|
|
|
width: 18px;
|
2026-05-13 03:46:50 +02:00
|
|
|
height: 18px;
|
|
|
|
|
color: #aaa;
|
|
|
|
|
fill: currentColor;
|
|
|
|
|
transition: color 0.2s, transform 0.1s;
|
2026-05-12 21:05:12 +02:00
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-13 03:46:50 +02:00
|
|
|
.search-btn:hover :deep(.icon) {
|
|
|
|
|
color: #fff;
|
2026-05-12 21:05:12 +02:00
|
|
|
transform: scale(1.1);
|
|
|
|
|
}
|
2026-07-20 20:14:17 +02:00
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.container {
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.links {
|
|
|
|
|
order: 3;
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 15px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
|
.links {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
|
max-width: 60%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-05-13 00:13:45 +02:00
|
|
|
</style>
|