Files
dragonroll/frontend/app/components/viewer/TopBar.vue
BinarySandia04 0fb4f01892
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m20s
AI slop
2026-06-08 00:28:29 +02:00

64 lines
1.1 KiB
Vue

<script setup>
import TopSearchBar from './topbar/TopSearchBar.vue';
const campaignName = computed(() => {
return 'Campaign';
});
</script>
<template>
<div class="top-bar">
<div class="left">
<span class="top-bar-title">
<img src="/img/logo.png" alt="Dragonroll Logo" class="logo">
<span>{{ campaignName }}</span>
</span>
</div>
<div class="center">
<TopSearchBar></TopSearchBar>
</div>
<div class="right"></div>
</div>
</template>
<style scoped>
.top-bar {
flex-grow: 0;
flex-shrink: 0;
min-height: 40px;
width: 100%;
background-color: var(--color-background-light);
display: flex;
}
.logo {
height: 32px;
width: 32px;
position: absolute;
top: 0px;
left: 6px;
}
.left, .right {
flex: 1;
}
.right {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 8px;
padding-right: 10px;
}
.top-bar-title {
padding: 10px;
display: flex;
margin-left: 48px;
font-weight: bold;
}
</style>