mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
added header
This commit is contained in:
parent
aae9af8e62
commit
a8dd169087
8 changed files with 130 additions and 50 deletions
29
layouts/landing.vue
Normal file
29
layouts/landing.vue
Normal file
|
@ -0,0 +1,29 @@
|
|||
<template>
|
||||
<div>
|
||||
<div :class="$style.header_container">
|
||||
<div :class="$style.header_content">
|
||||
<LayoutHeader />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<NuxtLayout name="content">
|
||||
<slot />
|
||||
</NuxtLayout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup></script>
|
||||
|
||||
<style lang="scss" module>
|
||||
@import "@/assets/css/mixins";
|
||||
|
||||
.header_container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--color-background);
|
||||
}
|
||||
|
||||
.header_content {
|
||||
@include container;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue