index.vue
Some checks failed
Deploy / build-and-deploy (push) Failing after 5s

This commit is contained in:
Veselov 2025-08-04 16:41:09 +03:00
parent e2e031b7c5
commit b4bb0f9036
2 changed files with 29 additions and 12 deletions

View File

@ -1,13 +1,17 @@
<template> <template>
<div class="layout"> <div class="layout">
<header class="header"> <header class="header">
Header <div class="header__container">
<h1 class="header__headline">
PAXTON
</h1>
</div>
</header> </header>
<main class="main"> <main class="main">
<div class="container"> <UContainer class="container">
<slot /> <slot />
</div> </UContainer>
</main> </main>
<footer class="footer"> <footer class="footer">
@ -26,12 +30,9 @@
.container { .container {
--ui-container: 100%; --ui-container: 100%;
max-width: 100%; max-width: 100%;
margin: 48px auto 100px;
@media (max-width: 1280px) { margin: 0;
margin: 24px auto 52px; padding: 0;
padding: 0 24px;
}
} }
.header { .header {
@ -41,11 +42,27 @@
right: 0; right: 0;
z-index: 100; z-index: 100;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 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 { .main {
flex: 1; flex: 1;
margin-top: 64px; margin-top: 54px;
} }
.footer { .footer {

View File

@ -75,18 +75,18 @@ watch(() => defaultVariant.value, newValue => currentVariantId.value = newValue?
<style lang="scss"> <style lang="scss">
.card { .card {
width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
&__images { &__images {
margin-left: 10%; width: 100%;
margin-right: 10%;
width: 40%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
&__description { &__description {
padding-inline: 30px;
width: 40%; width: 40%;
} }