This commit is contained in:
56
frontend/app/components/parts/MinimalHeader.vue
Normal file
56
frontend/app/components/parts/MinimalHeader.vue
Normal file
@@ -0,0 +1,56 @@
|
||||
<script lang="js" setup>
|
||||
import HeaderLinks from './HeaderLinks.vue';
|
||||
import SiteOptions from './site_options/SiteOptions.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="sticky-header">
|
||||
<div class="container">
|
||||
<div class="sticky-header-inner">
|
||||
<div class="left">
|
||||
<h1>ARANROIG.COM</h1>
|
||||
<HeaderLinks />
|
||||
</div>
|
||||
<SiteOptions />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="height: 80px"></div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.sticky-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
|
||||
background: var(--color-sticky-header-bg, #fff);
|
||||
border-bottom: 1px solid var(--color-sticky-header-border, rgba(0, 0, 0, 0.08));
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.sticky-header-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 10px 0;
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
white-space: nowrap;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-left: 30px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user