paxton-front/layouts/default.vue
Veselov b4bb0f9036
Some checks failed
Deploy / build-and-deploy (push) Failing after 5s
index.vue
2025-08-04 16:41:09 +03:00

72 lines
1.0 KiB
Vue

<template>
<div class="layout">
<header class="header">
<div class="header__container">
<h1 class="header__headline">
PAXTON
</h1>
</div>
</header>
<main class="main">
<UContainer class="container">
<slot />
</UContainer>
</main>
<footer class="footer">
Footer
</footer>
</div>
</template>
<style lang="scss" scoped>
.layout {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container {
--ui-container: 100%;
max-width: 100%;
margin: 0;
padding: 0;
}
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
height: 54px;
background: white;
&__container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
text-align: center;
}
&__headline {
height: 100%;
font-size: 32px;
color: black;
}
}
.main {
flex: 1;
margin-top: 54px;
}
.footer {
margin-top: auto;
}
</style>