All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m20s
64 lines
1.1 KiB
Vue
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>
|