72 lines
1.0 KiB
Vue
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>
|