Skip to content

Commit

Permalink
details / new video
Browse files Browse the repository at this point in the history
  • Loading branch information
fintinc committed Oct 24, 2024
1 parent 29a3787 commit f7411b2
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 22 deletions.
8 changes: 8 additions & 0 deletions site/assets/scss/common/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@ strong {
.small {
font-size: 1.4rem;
line-height: 1.41;

&.lg {
@include media-breakpoint-down(md) {
font-size: 1.6rem;
}
}


}


Expand Down
6 changes: 4 additions & 2 deletions site/assets/scss/layouts/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.footer-banner {
transform: translateY(38%);
//transform: translateY(38%);
top: 8rem;

@include media-breakpoint-up(md) {
transform: translateY(25%);
//transform: translateY(25%);
top: 6rem;
}
}

Expand Down
14 changes: 13 additions & 1 deletion site/assets/scss/layouts/_home.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@

.hero-video {
.video-container {
height: calc(100dvh - var(--body-padding-top) );
height: calc(100dvh - var(--body-padding-top) );

@include media-breakpoint-up(lg) {
height: calc(100dvh - var(--body-padding-top) - 2.4rem);
}

}
}

.scroll-down {
transition: opacity 0.3s ease;

body:has(.headroom--not-top) & {
opacity: 0;
pointer-events: none;
}
}

/*
.main-carousel {
Expand Down
14 changes: 11 additions & 3 deletions site/assets/scss/layouts/_trainings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,17 @@
}
}

.box-training.box-large {
@include media-breakpoint-up(lg) {
min-height: 23rem;
.box-training {

@include media-breakpoint-up(sm) {
min-height: 19.6rem;
}


&.box-large {
@include media-breakpoint-up(lg) {
min-height: 23rem;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion site/data/de/homepage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
video:
enable: true
title: "Praxisorientierte Cloud Native Trainings"
src: "/videos/acend16-9_web.mp4"
src: "/videos/acend16-9_web_265.mp4"


# trainings
Expand Down
1 change: 1 addition & 0 deletions site/hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
"lead-article",
"lead-big",
"left-0",
"lg",
"light",
"link",
"link-border",
Expand Down
7 changes: 3 additions & 4 deletions site/layouts/about/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 data-scroll class="mb-0">{{ . | markdownify }}</h2>
<div class="col">
<div data-scroll class="h1 mb-0">{{ add $index 1 }}</div>
<h3 data-scroll class="h4 bold mb-6">{{ .title }}</h3>
<p data-scroll class="small">{{ .text }}</p>
<p data-scroll class="small lg">{{ .text }}</p>
</div>
{{ end }}
{{ end }}
Expand All @@ -67,8 +67,7 @@ <h2 id="team" data-scroll class="mb-5">{{ .title | markdownify }}</h2>
</div>

<div data-scroll class="d-flex mb-16 mb-lg-32">
<button class="btn btn-sm_ btn-outline-primary_ btn-showmore mx-auto px-3 border-1">{{ i18n "loadMore" }}
<svg class="colored" width="15" height="10" viewBox="0 0 15 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<button class="btn btn-showmore mx-auto px-3 border-1">{{ i18n "loadMore" }}<svg class="colored ms-2" width="15" height="10" viewBox="0 0 15 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.41421 0.585815L7.41421 6.58582L13.4142 0.585815L14.8284 2.00003L7.41421 9.41424L0 2.00003L1.41421 0.585815Z" fill="#074761"/>
</svg>

Expand Down Expand Up @@ -148,6 +147,6 @@ <h3 data-scroll class="mb-4">{{ .title | markdownify }}</h3>
{{ end }}


{{ partial "banner-anmelden.html" . }}

{{ end }}
7 changes: 3 additions & 4 deletions site/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</video>
<div class="scroll-down position-absolute bottom-0 left-0 w-100 text-center pb-6">
<a id="scrollDownButton" href="#start" aria-label="Scroll down">
<svg width="42" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M39 3 21 21 3 3" stroke="#fff" stroke-width="4" stroke-miterlimit="10" stroke-linecap="square"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="16" fill="none" viewBox="0 0 28 16"><path stroke="#fff" stroke-linecap="square" stroke-miterlimit="10" stroke-width="2" d="M26 2 14 14 2 2"/></svg>
</a>
</div>
</div>

<h1 data-scroll="out" class="position-absolute bottom-0 left-0 text-white col-lg-5 px-4 px-lg-8 mb-20 mb-lg-16">{{ .title }}</h1>
<h1 data-scroll="out" class="position-absolute bottom-0 left-0 text-white col-md-6 col-lg-5 px-4 px-lg-8 mb-20 mb-lg-16">{{ .title }}</h1>

</div>
{{ end }}
Expand Down Expand Up @@ -245,7 +245,6 @@ <h3 class="accordion-header" id="heading{{ $index }}">
{{ end }}



{{ partial "banner-anmelden.html" . }}


{{ end }}
2 changes: 1 addition & 1 deletion site/layouts/journal/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@



{{ partial "banner-anmelden.html" . }}


{{ end }}
2 changes: 1 addition & 1 deletion site/layouts/partials/banner-anmelden.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $data := index .Site.Data .Site.Language.Lang }}
<section class="section footer-banner px-4 px-lg-10 px-xxl-0">
<section class="section footer-banner px-4 px-lg-10 px-xxl-0 position-relative">
<div class="container-fluid bg-primary pattern pattern-2 px-5 py-10 py-lg-16">
<div data-scroll class="row d-flex align-items-center">
<div class="col-lg-7 offset-lg-1 d-flex align-items-center mb-5 mb-lg-0">
Expand Down
6 changes: 5 additions & 1 deletion site/layouts/partials/footer/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<footer class="px-lg-6 mt-auto ">
<footer class="px-lg-6 mt-auto position-relative">

{{ partial "banner-anmelden.html" . }}


<div class="footer-section">
<div class="section">
<div class="container-fluid">
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/stories/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@



{{ partial "banner-anmelden.html" . }}


{{ end }}
2 changes: 1 addition & 1 deletion site/layouts/stories/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3 class="mb-8">Weitere Beiträge zum Thema</h3>



{{ partial "banner-anmelden.html" . }}



{{ end }}
2 changes: 1 addition & 1 deletion site/layouts/trainings/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h3 class="accordion-header" id="heading{{ $index }}">
{{ end }}


{{ partial "banner-anmelden.html" . }}



{{ end }}
2 changes: 1 addition & 1 deletion site/layouts/trainings/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ <h3 class="h2 mb-8 mb-lg-10">Weitere Trainings</h3>
</div>


{{ partial "banner-anmelden.html" . }}



{{ end }}
Binary file added site/static/videos/acend16-9_web_265.mp4
Binary file not shown.

0 comments on commit f7411b2

Please sign in to comment.