Skip to content

Commit

Permalink
Merge pull request #4 from wirenboard/feature/styles
Browse files Browse the repository at this point in the history
change styles
  • Loading branch information
ninedev-i authored Jan 20, 2025
2 parents ceaad22 + f822ba3 commit 786e3f8
Show file tree
Hide file tree
Showing 17 changed files with 129 additions and 71 deletions.
5 changes: 5 additions & 0 deletions assets/css/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ body {
height: 100dvh;
padding: 0;
margin: 0;
overflow-x: hidden;
}

main {
Expand Down Expand Up @@ -105,3 +106,7 @@ details summary::-webkit-details-marker {
.spotlight-right {
right: 0;
}

.spotlight-top {
top: 450px;
}
2 changes: 1 addition & 1 deletion assets/css/variables.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--bg: #33313B;
--bg: #1A211C;
--block-bg: #00000033;
--gradient: linear-gradient(104deg, #58B308 21%, #186F20 100%);
--border: 1px solid #4d9f0c;
Expand Down
5 changes: 5 additions & 0 deletions assets/img/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/history.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions assets/img/menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/video_poster.jpg
Binary file not shown.
Binary file removed assets/video/main.mp4
Binary file not shown.
3 changes: 2 additions & 1 deletion public/timepad.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ input[type="text"] {
}

.b-input-block input[type="text"] {
background: #3c3a45 !important;
background: #161A16 !important;
border: 1px solid #4d9f0c !important;
}

.b-reg-row .b-unit__text {
Expand Down
15 changes: 12 additions & 3 deletions src/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ onMounted(() => {
</script>

<template>
<article id="about">
<article id="about" class="about-container">
<h2>Что будет на WBCE</h2>

<ul class="about-list" ref="list">
Expand All @@ -70,11 +70,15 @@ onMounted(() => {
<div class="about-item-description">В 2024 году каждый 12 участник получил подарок от Wiren Board и партнеров: различные устройства и сертификаты.<br />Главным призом стал <a href="https://wirenboard.com/ru/product/wiren-board-8_5/" target="_blank">контроллер Wiren Board 8</a>.</div>
</li>
</ul>
<div class="spotlight" />
<div class="spotlight spotlight-about spotlight-right spotlight-top" />
</article>
</template>

<style>
.about-container {
position: relative;
}
.about-list {
position: relative;
padding: 0;
Expand All @@ -86,7 +90,7 @@ onMounted(() => {
.about-item {
border: var(--border);
background: #29272e;
background: #161A16;
color: #fff;
margin-bottom: 76px;
border-radius: 25px;
Expand Down Expand Up @@ -147,4 +151,9 @@ onMounted(() => {
line-height: 28px;
}
}
.spotlight-about {
transform: scaleY(0.7);
right: -150px;
}
</style>
9 changes: 6 additions & 3 deletions src/faq.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<article id="faq">
<article id="faq" class="faq-container">
<h2>Часто задаваемые вопросы</h2>

<div class="faq-content">
Expand Down Expand Up @@ -33,12 +33,15 @@
<div class="faq-answer">Да, есть бесплатная парковка.</div>
</details>
</div>
<div class="spotlight" />
</article>

<div class="spotlight" />
</template>

<style scoped>
.faq-container {
position: relative;
}
.faq-details {
text-align: left;
border-radius: 25px;
Expand Down
3 changes: 1 addition & 2 deletions src/history.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="history-content">
<img src="/assets/img/history.jpg" class="history-image" alt="Фото с конференции" />
<div>
<p2021 году компания Wiren Board провела камерное мероприятие для своих под названием WBCE, чтобы пообщаться с партнерами и клиентами вживую.</p>
<p2022 году компания Wiren Board провела камерное мероприятие для своих под названием WBCE, чтобы пообщаться с партнерами и клиентами вживую.</p>
<p>В итоге было больше 400 человек: приехали производители оборудования, разработчики ПО, интеграторы и энтузиасты умных домов из Екатеринбурга, Иркутска, Минска и даже Владивостока и Астаны.</p>
<p>Тогда было решено масштабировать мероприятие, и за два года выставка превратилась в одну из крупнейших в России.</p>
<button @click="scrollToElementById('register')">Зарегистрироваться</button>
Expand All @@ -16,7 +16,6 @@
</div>
</div>
</article>
<div class="spotlight" />
</template>

<style scoped>
Expand Down
1 change: 0 additions & 1 deletion src/howitwas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
height="570"
/>
</article>
<div class="spotlight spotlight-right" />
</template>

<style scoped>
Expand Down
114 changes: 60 additions & 54 deletions src/main.vue
Original file line number Diff line number Diff line change
@@ -1,75 +1,42 @@
<template>
<div class="main-container">
<time class="main-date" datetime="2025-17-04">17 – 18 апреля / Москва</time>
<h1 class="main-title">WBCE 2025</h1>
<p class="main-subtitle">Выставка и конференция по домашней<br /> и промышленной автоматизации</p>
<button class="main-register" @click="scrollToElementById('register')">Зарегистрироваться</button>
<p class="main-link">
<img src="/assets/img/tg.svg" alt="">
<a href="https://t.me/wbce2025" target="_blank">Подписывайтесь на Telegram-канал WBCE</a>
</p>
<div class="main-video-bg"></div>
<video class="main-video" autoplay loop muted poster="/assets/img/video_poster.jpg">
<source src="/assets/video/main.mp4" type="video/mp4">
</video>
<div>
<time class="main-date" datetime="2025-17-04">17 – 18 апреля / Москва</time>
<h1 class="main-title">WBCE 2025</h1>
<p class="main-subtitle">Выставка и конференция по домашней<br /> и промышленной автоматизации</p>
<button class="main-register" @click="scrollToElementById('register')">Зарегистрироваться</button>
<p class="main-link">
<img src="/assets/img/tg.svg" alt="">
<a href="https://t.me/wbce2025" target="_blank">Подписывайтесь на Telegram-канал WBCE</a>
</p>
</div>
<div class="main-imageContainer">
<img src="/assets/img/main.jpg" class="main-image" alt="WBCE" />
<div class="main-imageBg" />
</div>
<div class="spotlight main-spotlight" />
</div>
</template>

<style>
.main-container {
position: relative;
border-radius: 36px;
color: #fff;
text-align: left;
padding: 90px 52px;
position: relative;
overflow: hidden;
padding: 60px 0;
display: flex;
justify-content: space-between;
@media (max-width: 1300px) {
padding: 40px;
}
@media (max-width: 550px) {
padding: 24px;
background: url("/assets/img/video_poster.jpg");
padding: 40px 18px;
}
@media (max-width: 290px) {
padding: 24px 18px;
}
}
.main-video {
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
position: absolute;
z-index: -2;
border-radius: 36px;
@media (max-width: 550px) {
display: none;
}
}
.main-video-bg {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
top: 0;
left: 0;
filter: saturate(0.8);
mix-blend-mode: color;
background: rgb(123 165 0);
background-size: 100% 100%;
opacity: 0.4;
@media (max-width: 550px) {
z-index: 1;
}
}
.main-date {
background: var(--gradient);
padding: 10px 24px;
Expand Down Expand Up @@ -100,7 +67,6 @@
font-weight: 900;
line-height: 135px;
max-width: 640px;
text-shadow: 0 1px 22px #000;
@media (max-width: 1300px) {
font-size: 100px;
Expand Down Expand Up @@ -167,4 +133,44 @@
padding: 4px 16px;
}
}
.main-imageContainer {
border-radius: 25px;
border: var(--border);
padding: 20px;
position: relative;
height: fit-content;
@media (max-width: 900px) {
display: none;
}
}
.main-imageBg {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
filter: blur(110px);
z-index: -1;
}
.main-image {
border-radius: 14px;
@media (max-width: 1300px) {
max-width: 500px;
}
@media (max-width: 1120px) {
max-width: 400px;
}
}
.main-spotlight {
top: 210px;
left: 35%;
opacity: 0.25;
}
</style>
22 changes: 21 additions & 1 deletion src/navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const toggleMenu = () => {
<li class="navigation-item"><a @click="scrollToElementById('place')">Место</a></li>
</ul>
<button class="navigation-menu" @click="toggleMenu">
<img src="/assets/img/menu.svg" alt="Меню">
<img src="/assets/img/close.svg" alt="Меню" v-if="isMenuOpened">
<img src="/assets/img/menu.svg" alt="Меню" v-else>
</button>
<div class="navigation-background"></div>
</nav>
Expand Down Expand Up @@ -89,11 +90,30 @@ const toggleMenu = () => {
align-items: center;
}
@media (max-width: 830px) {
.navigation-item {
margin-bottom: 12px;
}
.navigation-item:before {
background: #B9F28B;
width: 3px;
height: 18px;
content: '';
display: block;
margin-right: 12px;
}
}
.navigation-item {
display: flex;
align-items: center;
}
.isMenuOpened {
padding-top: 48px !important;
}
.navigation ul:not(.isMenuOpened) .navigation-item {
@media (max-width: 830px) {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/place.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAAB8CAYAAACbksWf

<div>
<div class="place-name">Отель «Виноградово»</div>
<a href="https://yandex.ru/maps/-/CHQZzVnI" target="_blank">г. Долгопрудный, Дмитровское&nbsp;шоссе,&nbsp;171</a>
<a href="https://yandex.ru/maps/-/CHQZzVnI" target="_blank">г. Москва, Дмитровское&nbsp;шоссе,&nbsp;171</a>
<div class="place-description">
<p>От метро Физтех: на бесплатной маршрутке с табличкой WBCE или на автобусе 763, 273, 302, или 572m до остановки «Виноградово».</p>
<p>От метро Алтуфьево: на автобусе 586, 273, 352, 302 или 572 до остановки «Виноградово».</p>
Expand Down
13 changes: 11 additions & 2 deletions src/themes.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<article id="themes">
<article id="themes" class="themes-container">
<h2>Тематика выступлений</h2>

<ul class="themes-content">
Expand Down Expand Up @@ -30,11 +30,15 @@
Автоматизация<br />многоквартирных домов
</li>
</ul>
<div class="spotlight spotlight-themes" />
</article>
<div class="spotlight spotlight-right" />
</template>

<style scoped>
.themes-container {
position: relative;
}
.themes-content {
display: grid;
grid-template-columns: 1fr 1fr;
Expand Down Expand Up @@ -65,4 +69,9 @@
gap: 24px;
align-items: center;
}
.spotlight-themes {
bottom: -400px;
left: -150px
}
</style>

0 comments on commit 786e3f8

Please sign in to comment.