Skip to content

Commit

Permalink
Merge pull request thingsboard#1432 from ArtemDzhereleiko/AD/imp/achi…
Browse files Browse the repository at this point in the history
…evement-for-pe-pass

Update header for achievement
  • Loading branch information
ashvayka authored Apr 15, 2024
2 parents 28b2639 + 888a4eb commit ce15fc2
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 14 deletions.
2 changes: 1 addition & 1 deletion _includes/head-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@
</div>
</div>
</nav>
<div>
<div class="head-buttons">
<a href="/installations/" class="n-button try">Try it now</a>
<a href="/pricing/" class="n-button price">Pricing</a>
</div>
Expand Down
7 changes: 7 additions & 0 deletions _layouts/thingsboard-paas.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
<!-- HERO -->
<section id="hero" class="light-text">
<div class="video-cover"></div>

<div class="achievement">
<a href="/blog/top-supplier-retail-2024-2/">
<img class="achieve" src="/images/feature-logo/top-supplier-retail-2024.webp" alt="Top supplier retail 2024" width="110" height="160">
</a>
</div>

<div id="hero-content">
<span class="header-animation paas-title">ThingsBoard Cloud</span>
<div class="header-animation">
Expand Down
8 changes: 8 additions & 0 deletions _layouts/thingsboard-pe.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
{% include head-header.html productTag="pe" %}
<!-- HERO -->
<section id="hero" class="light-text">

<div class="video-cover"></div>

<div class="achievement">
<a href="/blog/top-supplier-retail-2024-2/">
<img class="achieve" src="/images/feature-logo/top-supplier-retail-2024.webp" alt="Top supplier retail 2024" width="110" height="160">
</a>
</div>

<div id="hero-content">
<span class="header-animation pe-title">ThingsBoard Professional Edition</span>
<div class="header-animation">
Expand Down
38 changes: 35 additions & 3 deletions _sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,19 @@ a
box-shadow: unset
background-color: #fff

#home, #thingsboard-paas, #thingsboard-pe
#hero
.achievement
position: absolute
top: 90px
right: 20px
z-index: 100
.achieve
width: 100%
height: auto
@media (max-width: 768px)
width: 60px

header
position: fixed
top: 0
Expand Down Expand Up @@ -209,6 +222,16 @@ header
height: 100%
align-items: center

.head-buttons
display: flex
flex-direction: row
.n-button
width: 110px
padding: 0
display: flex
align-items: center
justify-content: center

.head-menu
height: inherit
position: relative
Expand Down Expand Up @@ -510,7 +533,8 @@ ul

.burger
position: absolute
top: 16px
top: 50%
transform: translateY(-50%)
right: 22px
display: none
filter: unset
Expand All @@ -519,7 +543,6 @@ ul
width: 47px
background-size: cover
@media screen and (max-width: 1024px)
top: 21px
height: 37px
width: 37px
background-image: url(/images/s-burger-icon.svg)
Expand Down Expand Up @@ -894,6 +917,9 @@ dd
.logo, .burger
filter: unset

.head-buttons
display: flex

.head-menu
display: block
margin: 70px -30px 0
Expand Down Expand Up @@ -947,7 +973,7 @@ dd
height: 100%!important
z-index: 10000
.logo-burger
height: 78px
height: 98px
position: fixed
z-index: 2
background-color: #fff
Expand All @@ -960,6 +986,9 @@ dd
@media screen and (max-width: 1024px)
background-image: url(/images/s-close-icon.svg)

.head-buttons
display: flex

.head-menu
display: block
overflow-y: auto
Expand All @@ -980,6 +1009,9 @@ dd
.burger
display: block

.head-buttons
display: none

.head-menu
display: none
margin-top: 80px
Expand Down
10 changes: 0 additions & 10 deletions home.sass
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@ $feature-box-div-margin-bottom: 40px
&.arrow-hidden
.tb-arrow
display: none
.achievement
position: absolute
top: 90px
right: 22px
z-index: 100
.achieve
width: 100%
height: auto
@media (max-width: 768px)
width: 60px

#overflow
overflow: hidden
Expand Down

0 comments on commit ce15fc2

Please sign in to comment.