Skip to content

Commit

Permalink
Merge pull request #11 from vegaitglobal/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
nsobo authored Oct 15, 2023
2 parents 01d5eae + 4328a7f commit ed776b3
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,21 @@
<ul class="nav__list" role="menubar">
@foreach (var pageItem in homePage.NavigationPages)
{
<li class="nav__item active" role="menuitem">
<a class="nav__link" href="@pageItem.Url" rel="noopener noreferrer">@pageItem.Name</a>
</li>
var currentPageUrl = Umbraco.AssignedContentItem.Url();

if (currentPageUrl.Equals(pageItem.Url))
{
<li class="nav__item active" role="menuitem">
<a class="nav__link" href="@pageItem.Url" rel="noopener noreferrer">@pageItem.Name</a>
</li>
}
else
{
<li class="nav__item" role="menuitem">
<a class="nav__link" href="@pageItem.Url" target="@pageItem.Target" rel="noopener noreferrer">@pageItem.Name</a>
</li>
}

}
</ul>
</nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

<section class="background-text js-scroll">
<div>
<span class="background-text__content js-outer-scroll-text"><span class="js-scroll-text">@item.Text</span></span>
<span class="background-text__content js-outer-scroll-text">
<span class="js-scroll-text">@item.Text &nbsp;</span>
</span>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -1717,6 +1717,7 @@ button.swiper-pagination-bullet {
.background-text {
overflow: hidden;
margin-bottom: 64px;
position: relative;
}

.background-text__content {
Expand All @@ -1731,6 +1732,7 @@ button.swiper-pagination-bullet {
filter: drop-shadow(0 0 17px rgba(255, 255, 255, 0.4));
font-family: sans-serif;
mix-blend-mode: soft-light;
position: relative;
}
@media only screen and (max-width: 767.98px) {
.background-text__content {
Expand All @@ -1750,6 +1752,15 @@ button.swiper-pagination-bullet {
margin-left: -50%;
}
}
.additional-text {
position: absolute;
top: 4.5rem;
justify-self: center;
font-size: 2vw;
font-weight: 700;
z-index: 1;
}

.image-text-box {
margin-bottom: 64px;
}
Expand Down Expand Up @@ -1841,11 +1852,17 @@ button.swiper-pagination-bullet {
.image-grid .background-text {
overflow: initial;
margin-bottom: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.image-grid .background-text__content {
font-size: 185px;
text-align: center;
animation: none;
overflow: hidden;
letter-spacing: 0.14rem;
-webkit-text-stroke-color: #084a7c;
mix-blend-mode: screen;
white-space: normal;
Expand Down
8 changes: 5 additions & 3 deletions frontend/src/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,11 @@ <h4 class="h4">About us</h4>
<div class="wrap">
<div class="image-grid-wrap">
<div class="background-text">
<span class="background-text__content"
><span>Nasi projekti</span></span
>

<span class="background-text__content ">Nasi projekti </span>
<span class="additional-text">Nasi projekti</span>


</div>
<div class="image-grid__content">
<div class="image-grid__images">
Expand Down
Binary file added frontend/src/assets/images/sloboda-nema-cenu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</button>
<ul class="js-dropdown-list checkbox-dropdown-list">
<li>
<img src="./assets/images/state.svg" alt="Serbian language" />
<img src="./assets/images/state.svg" alt="Serbian" />
</li>
<li>
<img src="./assets/images/great-britain.png" alt="English" />
Expand Down
13 changes: 13 additions & 0 deletions frontend/src/scss/components/_background-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
.background-text {
overflow: hidden;
margin-bottom: 64px;
position: relative;


}
.background-text__content {
font-size: 217px;
Expand All @@ -19,6 +22,7 @@
filter: drop-shadow(0 0 17px rgba($white, 0.4));
font-family: sans-serif;
mix-blend-mode: soft-light;
position: relative;
@include media-breakpoint-down(sm) {
font-size: 60px;
-webkit-text-stroke-width: 1px;
Expand All @@ -35,3 +39,12 @@
margin-left: -50%;
}
}

.additional-text {
position: absolute;
top: 4.5rem;
justify-self: center;
font-size: 2vw;
font-weight: 700;
z-index: 1;
}
10 changes: 10 additions & 0 deletions frontend/src/scss/components/_image-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@
.background-text {
overflow: initial;
margin-bottom: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.background-text__content {
font-size: 185px;
text-align: center;
animation: none;
overflow: hidden;
letter-spacing:0.14rem;
-webkit-text-stroke-color: #084a7c;
mix-blend-mode: screen;
white-space: normal;
Expand All @@ -21,7 +27,11 @@
font-size: 14vw;
}
}

}



.image-grid__content {
text-align: center;
}
Expand Down

0 comments on commit ed776b3

Please sign in to comment.