feat(redesign): design-system tokens, 23 Vue components, game-aware shell + Fleet/Solo dashboard
All checks were successful
Test Asgard Runner / test (push) Successful in 4s

Tokens ported 1:1 from the Claude Design bundle (colors/game-themes/type/spacing/elevation/motion/fonts) with the data-theme/data-game theming contract via useThemeGame (+ cc-skin-swap repaint guard). 23 design-system components reimplemented as Vue SFCs (core/forms/data/navigation/feedback/brand). DashboardLayout rebuilt as the game-aware shell (GameSwitcher, grouped nav with permission gating preserved, agent-health footer, topbar). DashboardView: Fleet + Solo with per-game GAME_FIELDS rows and the themed ECharts PlayersChart; Solo wired to the real server store, Fleet on representative data pending the multi-instance backend. All four game skins (Rust/Dune/Conan/Soulmask). vue-tsc + vite build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-06-11 02:12:35 -04:00
parent ef128b47d2
commit f91ef84832
42 changed files with 3577 additions and 299 deletions

View File

@@ -1,103 +1,120 @@
<script setup lang="ts">
/**
* DashboardLayout — game-aware app shell (Phase C redesign).
* Replaces the old Tailwind-only sidebar with the DS component set.
* Preserves: navSections, permission gating, super-admin section, logout, RouterView.
* Adds: GameSwitcher, Logo, DS NavItem, agent-health footer, topbar w/ search + theme toggle.
*/
import { ref } from 'vue'
import { RouterView, RouterLink, useRoute, useRouter } from 'vue-router'
import { RouterView, useRoute, useRouter } from 'vue-router'
import { useAuthStore } from '@/stores/auth'
import { useServerStore } from '@/stores/server'
import {
LayoutDashboard,
Server,
Terminal,
Users,
Puzzle,
RefreshCw,
Map,
MessageSquare,
BarChart3,
Bell,
UserPlus,
ShoppingBag,
Package,
Settings,
LogOut,
Shield,
Key,
CreditCard,
Network,
Clock,
AlertTriangle,
FileText,
FolderOpen,
Menu,
X,
} from 'lucide-vue-next'
import { useThemeGame } from '@/composables/useThemeGame'
import Logo from '@/components/ds/brand/Logo.vue'
import Badge from '@/components/ds/core/Badge.vue'
import StatusDot from '@/components/ds/core/StatusDot.vue'
import IconButton from '@/components/ds/core/IconButton.vue'
import Button from '@/components/ds/core/Button.vue'
import Avatar from '@/components/ds/data/Avatar.vue'
import NavItem from '@/components/ds/navigation/NavItem.vue'
import GameSwitcher from '@/components/ds/navigation/GameSwitcher.vue'
import type { GameOption } from '@/components/ds/navigation/GameSwitcher.vue'
import type { ActiveGame } from '@/composables/useThemeGame'
// ---- Stores / composables ----
const route = useRoute()
const router = useRouter()
const auth = useAuthStore()
const server = useServerStore()
const sidebarOpen = ref(false)
const { theme, activeGame, setActiveGame, toggleTheme } = useThemeGame()
type NavItem = { name: string; path: string; icon: any; permission: string | null }
type NavSection = { label: string; items: NavItem[] }
// ---- Mobile sidebar ----
const sidebarOpen = ref(false)
function closeSidebar() { sidebarOpen.value = false }
// ---- App version ----
const APP_VERSION = '1.0.8'
// ---- Game switcher ----
const GAME_OPTIONS: GameOption[] = [
{ key: 'all', label: 'All games', icon: 'layers' },
{ key: 'rust', label: 'Rust', icon: 'box' },
{ key: 'dune', label: 'Dune', icon: 'sun' },
{ key: 'conan', label: 'Conan Exiles', icon: 'swords' },
{ key: 'soulmask', label: 'Soulmask', icon: 'drama' },
]
const GAME_LABEL: Record<string, string> = {
all: 'All games', rust: 'Rust', dune: 'Dune',
conan: 'Conan Exiles', soulmask: 'Soulmask',
}
function onActiveGame(val: string) {
setActiveGame(val as ActiveGame)
}
// ---- Navigation ----
type NavItemDef = { name: string; path: string; icon: string; permission: string | null }
type NavSection = { label: string; items: NavItemDef[] }
const navSections: NavSection[] = [
{
label: '',
items: [
{ name: 'Dashboard', path: '/', icon: LayoutDashboard, permission: null },
{ name: 'Dashboard', path: '/', icon: 'layout-dashboard', permission: null },
],
},
{
label: 'Server',
items: [
{ name: 'Server', path: '/server', icon: Server, permission: 'server.view' },
{ name: 'Console', path: '/console', icon: Terminal, permission: 'console.view' },
{ name: 'Players', path: '/players', icon: Users, permission: 'players.view' },
{ name: 'Plugins', path: '/plugins', icon: Puzzle, permission: 'plugins.view' },
{ name: 'File Manager', path: '/files', icon: FolderOpen, permission: 'files.view' },
{ name: 'Server', path: '/server', icon: 'server', permission: 'server.view' },
{ name: 'Console', path: '/console', icon: 'terminal', permission: 'console.view' },
{ name: 'Players', path: '/players', icon: 'users', permission: 'players.view' },
{ name: 'Plugins', path: '/plugins', icon: 'puzzle', permission: 'plugins.view' },
{ name: 'File manager', path: '/files', icon: 'folder-open', permission: 'files.view' },
],
},
{
label: 'Plugin Configs',
label: 'Plugin configs',
items: [
{ name: 'Plugin Configs', path: '/plugin-configs', icon: Puzzle, permission: null },
{ name: 'Plugin configs', path: '/plugin-configs', icon: 'puzzle', permission: null },
],
},
{
label: 'Operations',
items: [
{ name: 'Auto-Wiper', path: '/wipes', icon: RefreshCw, permission: 'wipes.view' },
{ name: 'Maps', path: '/maps', icon: Map, permission: 'maps.view' },
{ name: 'Schedules', path: '/schedules', icon: Clock, permission: 'schedules.view' },
{ name: 'Wipe manager', path: '/wipes', icon: 'trash-2', permission: 'wipes.view' },
{ name: 'Maps', path: '/maps', icon: 'map', permission: 'maps.view' },
{ name: 'Schedules', path: '/schedules', icon: 'calendar-clock', permission: 'schedules.view' },
],
},
{
label: 'Monitoring',
items: [
{ name: 'Chat Log', path: '/chat', icon: MessageSquare, permission: 'chat.view' },
{ name: 'Analytics', path: '/analytics', icon: BarChart3, permission: 'analytics.view' },
{ name: 'Alerts', path: '/alerts', icon: AlertTriangle, permission: 'alerts.view' },
{ name: 'Notifications', path: '/notifications', icon: Bell, permission: 'notifications.view' },
{ name: 'Chat log', path: '/chat', icon: 'message-square', permission: 'chat.view' },
{ name: 'Analytics', path: '/analytics', icon: 'bar-chart-3', permission: 'analytics.view' },
{ name: 'Alerts', path: '/alerts', icon: 'triangle-alert', permission: 'alerts.view' },
{ name: 'Notifications', path: '/notifications', icon: 'bell', permission: 'notifications.view' },
],
},
{
label: 'Management',
items: [
{ name: 'Team', path: '/team', icon: UserPlus, permission: null },
{ name: 'Store', path: '/store/config', icon: ShoppingBag, permission: 'store.view' },
{ name: 'Modules', path: '/modules', icon: Package, permission: 'modules.view' },
{ name: 'Changelog', path: '/changelog', icon: FileText, permission: 'changelog.view' },
{ name: 'Settings', path: '/settings', icon: Settings, permission: 'settings.view' },
{ name: 'Team', path: '/team', icon: 'users', permission: null },
{ name: 'Store', path: '/store/config', icon: 'shopping-cart', permission: 'store.view' },
{ name: 'Modules', path: '/modules', icon: 'layers', permission: 'modules.view' },
{ name: 'Changelog', path: '/changelog', icon: 'file-text', permission: 'changelog.view' },
{ name: 'Settings', path: '/settings', icon: 'settings', permission: 'settings.view' },
],
},
]
const adminNavItems = [
{ name: 'Admin Home', path: '/admin', icon: Shield },
{ name: 'Licenses', path: '/admin/licenses', icon: Key },
{ name: 'Subscriptions', path: '/admin/subscriptions', icon: CreditCard },
{ name: 'Users', path: '/admin/users', icon: Users },
{ name: 'Server Fleet', path: '/admin/servers', icon: Network },
{ name: 'Admin home', path: '/admin', icon: 'shield' },
{ name: 'Licenses', path: '/admin/licenses', icon: 'key' },
{ name: 'Subscriptions', path: '/admin/subscriptions', icon: 'credit-card' },
{ name: 'Users', path: '/admin/users', icon: 'users' },
{ name: 'Server fleet', path: '/admin/servers', icon: 'server' },
]
function isActive(path: string): boolean {
@@ -105,16 +122,12 @@ function isActive(path: string): boolean {
return route.path.startsWith(path)
}
function handleLogout() {
auth.logout()
router.push('/login')
function navigate(path: string) {
router.push(path)
closeSidebar()
}
function closeSidebar() {
sidebarOpen.value = false
}
function canShowNavItem(item: NavItem): boolean {
function canShowNavItem(item: NavItemDef): boolean {
if (!item.permission) return true
return auth.hasPermission(item.permission)
}
@@ -122,134 +135,486 @@ function canShowNavItem(item: NavItem): boolean {
function hasVisibleItems(section: NavSection): boolean {
return section.items.some(canShowNavItem)
}
// ---- Agent health ----
const agentTone = computed(() => {
const cs = server.connection?.connection_status
if (cs === 'connected') return 'online' as const
if (cs === 'degraded') return 'warn' as const
return 'offline' as const
})
const agentLabel = computed(() => {
const cs = server.connection?.connection_status
if (cs === 'connected') return 'Healthy'
if (cs === 'degraded') return 'Degraded'
return 'Offline'
})
const agentName = computed(() => {
const ip = server.connection?.server_ip
return ip ?? 'asgard-01'
})
// ---- Topbar ----
const serverName = computed(() => auth.license?.server_name ?? 'Your servers')
const userName = computed(() => auth.user?.username ?? '')
const themeIcon = computed(() => theme.value === 'dark' ? 'sun' : 'moon')
// ---- Import computed from vue (missed above) ----
import { computed } from 'vue'
</script>
<template>
<div class="flex h-screen bg-neutral-950">
<!-- Mobile Hamburger -->
<button
@click="sidebarOpen = true"
class="md:hidden fixed top-4 left-4 z-40 p-2 bg-neutral-900 border border-neutral-800 rounded-lg text-neutral-300 hover:text-oxide-400 transition-colors"
>
<Menu class="w-5 h-5" />
</button>
<!-- Sidebar Overlay (Mobile) -->
<!-- Outer app grid: sidebar | main -->
<div class="app">
<!-- ===================================================== SIDEBAR ===== -->
<!-- Mobile overlay -->
<div
v-if="sidebarOpen"
class="sidebar-overlay"
@click="closeSidebar"
class="md:hidden fixed inset-0 bg-black/50 z-40"
/>
<!-- Sidebar -->
<aside
class="w-64 bg-neutral-900 border-r border-neutral-800 flex flex-col fixed inset-y-0 left-0 z-50 transform transition-transform"
:class="sidebarOpen ? 'translate-x-0' : '-translate-x-full md:translate-x-0'"
class="app__sidebar"
:class="sidebarOpen ? 'app__sidebar--open' : ''"
>
<!-- Logo -->
<div class="p-4 border-b border-neutral-800">
<div class="flex items-center justify-between">
<div class="flex items-center gap-3">
<img src="/logo.png" alt="Corrosion" class="h-8 w-8" />
<div>
<h1 class="text-sm font-bold text-oxide-500 tracking-wider">CORROSION</h1>
<p class="text-xs text-neutral-500">{{ auth.license?.server_name || 'Server Management' }}</p>
</div>
</div>
<button
@click="closeSidebar"
class="md:hidden text-neutral-400 hover:text-neutral-200 transition-colors"
>
<X class="w-5 h-5" />
</button>
</div>
<!-- Brand -->
<div class="side__brand">
<Logo :size="22" />
<Badge tone="neutral" :mono="true" class="side__ver">{{ APP_VERSION }}</Badge>
</div>
<!-- Server Status Indicator -->
<div class="px-4 py-3 border-b border-neutral-800">
<div class="flex items-center gap-2">
<div
class="w-2 h-2 rounded-full"
:class="{
'bg-green-500': server.connection?.connection_status === 'connected',
'bg-yellow-500': server.connection?.connection_status === 'degraded',
'bg-red-500': server.connection?.connection_status === 'offline' || !server.connection,
}"
/>
<span class="text-sm text-neutral-400">
{{ server.stats?.player_count ?? 0 }}/{{ server.stats?.max_players ?? 0 }} players
</span>
<!-- Active game switcher -->
<div class="side__game">
<div class="t-eyebrow side__lbl">
Active game · {{ GAME_LABEL[activeGame] ?? 'All games' }}
</div>
<GameSwitcher
:model-value="activeGame"
:games="GAME_OPTIONS"
:show-labels="false"
@update:model-value="onActiveGame"
/>
</div>
<!-- Navigation -->
<nav class="flex-1 overflow-y-auto py-2">
<nav class="side__nav">
<template v-for="section in navSections" :key="section.label">
<template v-if="hasVisibleItems(section)">
<!-- Section Header -->
<div v-if="section.label" class="mt-4 mb-1 px-4">
<span class="text-[10px] font-semibold uppercase tracking-widest text-neutral-500">{{ section.label }}</span>
<div class="side__sec">
<div v-if="section.label" class="t-eyebrow side__lbl">{{ section.label }}</div>
<NavItem
v-for="item in section.items"
v-show="canShowNavItem(item)"
:key="item.path"
:icon="item.icon"
:label="item.name"
:active="isActive(item.path)"
@click="navigate(item.path)"
/>
</div>
<!-- Section Items -->
<RouterLink
v-for="item in section.items"
v-show="canShowNavItem(item)"
:key="item.path"
:to="item.path"
@click="closeSidebar"
class="flex items-center gap-3 px-4 py-2 mx-2 rounded-lg text-sm transition-colors"
:class="isActive(item.path)
? 'bg-oxide-500/10 text-oxide-400'
: 'text-neutral-400 hover:bg-neutral-800 hover:text-neutral-200'"
>
<component :is="item.icon" class="w-4 h-4" />
{{ item.name }}
</RouterLink>
</template>
</template>
<!-- Platform Admin Section (super-admin only) -->
<template v-if="auth.isSuperAdmin">
<div class="mt-4 mb-1 px-4">
<span class="text-[10px] font-semibold uppercase tracking-widest text-oxide-500">Platform</span>
</div>
<RouterLink
<!-- Platform admin section (super-admin only) -->
<div v-if="auth.isSuperAdmin" class="side__sec">
<div class="t-eyebrow side__lbl side__lbl--platform">Platform</div>
<NavItem
v-for="item in adminNavItems"
:key="item.path"
:to="item.path"
@click="closeSidebar"
class="flex items-center gap-3 px-4 py-2 mx-2 rounded-lg text-sm transition-colors"
:class="isActive(item.path)
? 'bg-oxide-500/10 text-oxide-400'
: 'text-neutral-400 hover:bg-neutral-800 hover:text-neutral-200'"
>
<component :is="item.icon" class="w-4 h-4" />
{{ item.name }}
</RouterLink>
</template>
:icon="item.icon"
:label="item.name"
:active="isActive(item.path)"
@click="navigate(item.path)"
/>
</div>
</nav>
<!-- User -->
<div class="p-4 border-t border-neutral-800">
<div class="flex items-center justify-between">
<div>
<p class="text-sm text-neutral-300">{{ auth.user?.username }}</p>
<p class="text-xs text-neutral-500">{{ auth.user?.email }}</p>
<!-- Agent health footer -->
<div class="side__foot">
<div class="agent">
<div class="agent__row">
<StatusDot :tone="agentTone" :pulse="agentTone === 'online'" />
<span class="agent__name">{{ agentName }}</span>
<Badge :tone="agentTone" size="md">{{ agentLabel }}</Badge>
</div>
<div class="agent__meta">
Agent v{{ APP_VERSION }}
<template v-if="server.stats"> · {{ server.stats.player_count }}/{{ server.stats.max_players }} players</template>
</div>
</div>
<!-- User / logout row -->
<div class="side__user">
<span class="side__user-name">{{ auth.user?.username ?? '' }}</span>
<button
@click="handleLogout"
class="text-neutral-500 hover:text-oxide-400 transition-colors"
type="button"
class="side__logout"
title="Sign out"
@click="() => { auth.logout(); router.push('/login') }"
>
<LogOut class="w-4 h-4" />
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/>
</svg>
</button>
</div>
</div>
</aside>
<!-- Main Content (offset by sidebar width on desktop) -->
<main class="flex-1 overflow-y-auto md:pl-64">
<RouterView />
</main>
<!-- ======================================================= MAIN ===== -->
<div class="app__main">
<!-- Topbar -->
<header class="app__topbar">
<!-- Mobile hamburger (left of topbar on small screens) -->
<button
class="topbar-hamburger"
type="button"
aria-label="Open navigation"
@click="sidebarOpen = true"
>
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round">
<line x1="3" y1="6" x2="21" y2="6" />
<line x1="3" y1="12" x2="21" y2="12" />
<line x1="3" y1="18" x2="21" y2="18" />
</svg>
</button>
<!-- Breadcrumb -->
<div class="top__crumbs">
<span class="crumb">Corrosion</span>
<span class="crumb__sep">/</span>
<span class="crumb crumb--cluster">{{ serverName }}</span>
</div>
<!-- Search -->
<div class="top__search">
<svg class="top__search-icon" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8" /><path d="m21 21-4.35-4.35" />
</svg>
<input placeholder="Search servers, players, configs…" readonly />
<span class="top__kbd">
<kbd class="cc-kbd"></kbd><kbd class="cc-kbd">K</kbd>
</span>
</div>
<!-- Actions -->
<div class="top__actions">
<IconButton
:icon="themeIcon"
label="Toggle theme"
@click="toggleTheme"
/>
<IconButton icon="bell" label="Alerts" @click="router.push('/alerts')" />
<Button size="sm" icon="rocket">Deploy server</Button>
<Avatar
:name="userName"
:size="30"
status="online"
/>
</div>
</header>
<!-- Page content -->
<main class="app__content">
<RouterView />
</main>
</div>
</div>
</template>
<style>
/* ============================================================ SHELL ===== */
html, body { height: 100%; }
body { margin: 0; overflow: hidden; }
.app {
display: grid;
grid-template-columns: var(--sidebar-w, 228px) 1fr;
height: 100vh;
background: var(--surface-canvas, #0a0a0b);
}
/* ---- Sidebar ---- */
.app__sidebar {
background: var(--surface-base);
border-right: 1px solid var(--border-subtle);
display: flex;
flex-direction: column;
min-height: 0;
z-index: 50;
}
.side__brand {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 16px 12px;
}
.side__ver {
font-family: var(--font-mono);
}
.side__game {
padding: 2px 14px 13px;
border-bottom: 1px solid var(--border-subtle);
}
.side__lbl {
margin-bottom: 7px;
}
.side__lbl--platform {
color: var(--accent-text);
}
.side__nav {
flex: 1;
overflow-y: auto;
padding: 13px 10px;
display: flex;
flex-direction: column;
gap: 15px;
}
.side__sec {
display: flex;
flex-direction: column;
gap: 2px;
}
.side__sec .t-eyebrow {
margin: 0 0 5px 10px;
}
.side__foot {
padding: 11px;
border-top: 1px solid var(--border-subtle);
}
.agent {
background: var(--surface-raised);
border-radius: var(--radius-md);
box-shadow: var(--ring-default);
padding: 9px 11px;
}
.agent__row {
display: flex;
align-items: center;
gap: 8px;
}
.agent__name {
font-family: var(--font-mono);
font-size: var(--text-xs);
color: var(--text-primary);
flex: 1;
}
.agent__meta {
font-family: var(--font-mono);
font-size: 10px;
color: var(--text-muted);
margin-top: 5px;
padding-left: 16px;
}
.side__user {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
padding: 4px 2px 0;
}
.side__user-name {
font-size: var(--text-xs);
color: var(--text-tertiary);
font-family: var(--font-mono);
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.side__logout {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border: 0;
background: transparent;
color: var(--text-muted);
border-radius: var(--radius-sm);
cursor: pointer;
transition: var(--transition-colors);
flex: none;
}
.side__logout:hover { background: var(--surface-hover); color: var(--text-primary); }
/* ---- Main ---- */
.app__main {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.app__topbar {
height: var(--topbar-h, 52px);
flex: none;
display: flex;
align-items: center;
gap: 18px;
padding: 0 18px;
border-bottom: 1px solid var(--border-subtle);
background: var(--surface-base);
}
.top__crumbs {
display: flex;
align-items: center;
gap: 9px;
font-size: var(--text-sm);
}
.crumb { color: var(--text-tertiary); }
.crumb__sep { color: var(--text-muted); }
.crumb--cluster {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--text-primary);
font-weight: 600;
background: var(--surface-raised-2);
border: 0;
box-shadow: var(--ring-default);
height: 30px;
padding: 0 10px;
border-radius: var(--radius-md);
font-family: var(--font-sans);
}
.top__search {
flex: 1;
max-width: 440px;
display: flex;
align-items: center;
gap: 9px;
height: 34px;
padding: 0 11px;
background: var(--surface-inset);
border-radius: var(--radius-md);
box-shadow: var(--ring-default);
color: var(--text-tertiary);
}
.top__search-icon { flex: none; }
.top__search input {
flex: 1;
min-width: 0;
background: transparent;
border: 0;
outline: 0;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: var(--text-sm);
cursor: default;
}
.top__search input::placeholder { color: var(--text-muted); }
.top__kbd { display: flex; gap: 3px; }
.top__actions {
display: flex;
align-items: center;
gap: 8px;
margin-left: auto;
}
.app__content {
flex: 1;
overflow-y: auto;
padding: 22px 24px 40px;
}
/* ---- Mobile hamburger ---- */
.topbar-hamburger {
display: none;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border: 0;
background: transparent;
color: var(--text-secondary);
border-radius: var(--radius-md);
cursor: pointer;
flex: none;
}
.topbar-hamburger:hover { background: var(--surface-hover); color: var(--text-primary); }
/* ---- Sidebar overlay (mobile) ---- */
.sidebar-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 49;
}
/* ---- Kbd styling ---- */
.cc-kbd {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 18px;
height: 18px;
padding: 0 4px;
background: var(--surface-active);
border-radius: var(--radius-xs, 3px);
box-shadow: var(--ring-default);
font-family: var(--font-sans);
font-size: 10px;
font-weight: 600;
color: var(--text-secondary);
line-height: 1;
}
/* ---- Responsive ---- */
@media (max-width: 900px) {
.app {
grid-template-columns: 1fr;
}
.app__sidebar {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 228px;
transform: translateX(-100%);
transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}
.app__sidebar--open {
transform: translateX(0);
}
.sidebar-overlay {
display: block;
}
.topbar-hamburger {
display: inline-flex;
}
.top__search {
display: none;
}
}
</style>