diff --git a/assets/scss/sections/hero.scss b/assets/scss/sections/hero.scss index f3823f7..1fb9a7a 100644 --- a/assets/scss/sections/hero.scss +++ b/assets/scss/sections/hero.scss @@ -1,16 +1,22 @@ .section.hero { + .col-12 {padding-top: 3rem;} .hero-image { - // @media (min-width: 1400px) { - // img { - // max-width: 125%; - // float: right; - // } - // } + @media (min-width: 1400px) { + img { + max-width: 125%; + float: right; + } + } } .hero-title { strong { color: $danger; } } - background: red; + background: url(/images/cover-image.jpg); + background-size: 100%; + background-repeat: no-repeat; + p.text-xl-start {background-color: #ffffff90; padding: 10px;} + a.btn {background-color: #ffffff90;} + a.btn:hover {background-color: $primary} } diff --git a/assets/scss/sections/vorteile.scss b/assets/scss/sections/vorteile.scss new file mode 100644 index 0000000..e7347e0 --- /dev/null +++ b/assets/scss/sections/vorteile.scss @@ -0,0 +1,6 @@ +.section.vorteile { + .card.bg-vorteil { + background-color: $light; + } + background-color: $primary; +} \ No newline at end of file diff --git a/assets/scss/shared/_bootstrap.scss b/assets/scss/shared/_bootstrap.scss index d705e8a..53294a1 100644 --- a/assets/scss/shared/_bootstrap.scss +++ b/assets/scss/shared/_bootstrap.scss @@ -9,7 +9,7 @@ $font-family-base: "Inter", sans-serif; $primary: #aa69b5; $secondary: #5d2169; -$danger: #FF87ff; +$danger: #5d2169; $light: #faefdd; // scss-docs-start import-stack diff --git a/assets/scss/shared/_header.scss b/assets/scss/shared/_header.scss index 30beccb..927ad72 100644 --- a/assets/scss/shared/_header.scss +++ b/assets/scss/shared/_header.scss @@ -1,8 +1,18 @@ .navbar { + position: fixed; + z-index: 100; + width: 100%; + background-color: $light; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23E4CBA1' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%2398886B'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E"); + /* background by SVGBackgrounds.com */ .navbar-brand { img { width: auto; max-height: calc(1.4rem + .6vw); } + } } +a.nav-link.text-primary { + background-color: $light; +} \ No newline at end of file diff --git a/assets/scss/shared/shared.scss b/assets/scss/shared/shared.scss index 3445a16..ffe914f 100644 --- a/assets/scss/shared/shared.scss +++ b/assets/scss/shared/shared.scss @@ -12,6 +12,7 @@ @import "../sections/services"; @import "../sections/testimonials"; @import "../sections/cta"; +@import "../sections/vorteile"; @import "../sections/blog-list"; @import "../sections/blog-single"; diff --git a/layouts/index.html b/layouts/index.html index b6c04d4..35c90a2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,6 @@ {{ define "main" }} {{ with .Site.Data.home.hero }}{{ partial "sections/hero.html" . }}{{ end }} + {{ with .Site.Data.home.vorteile }}{{ partial "sections/vorteile.html" . }}{{ end }} {{ with .Site.Data.home.brands }}{{ partial "sections/brands.html" . }}{{ end }} {{ with .Site.Data.home.portfolio }}{{ partial "sections/portfolio.html" . }}{{ end }} {{ with .Site.Data.home.services }}{{ partial "sections/services.html" . }}{{ end }} diff --git a/layouts/partials/sections/hero.html b/layouts/partials/sections/hero.html index 6a102a0..62e2bba 100644 --- a/layouts/partials/sections/hero.html +++ b/layouts/partials/sections/hero.html @@ -3,10 +3,10 @@
- {{ partial "utilities/image-fluid" "images/hero-image.png" }} + {{ partial "utilities/image-fluid" "/images/ve_logo_notext.png" }}
diff --git a/layouts/partials/sections/portfolio.html b/layouts/partials/sections/portfolio.html index 718ebae..2f488d0 100644 --- a/layouts/partials/sections/portfolio.html +++ b/layouts/partials/sections/portfolio.html @@ -1,3 +1,4 @@ +{{ if .enabled }}
{{ range .content }} @@ -9,13 +10,13 @@
{{ with .pretitle }} -

{{ . }}

+

{{ . | markdownify }}

{{ end }} {{ with .title }} -

{{ . }}

+

{{ . | markdownify }}

{{ end }} {{ with .text }} -

{{ . }}

+

{{ . | markdownify }}

{{ end }}
{{ range .buttons }} @@ -27,3 +28,4 @@ {{ end }}
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/sections/services.html b/layouts/partials/sections/services.html index 5a4e770..844f9f8 100644 --- a/layouts/partials/sections/services.html +++ b/layouts/partials/sections/services.html @@ -1,3 +1,4 @@ +{{ if .enabled }}
@@ -26,3 +27,4 @@
+{{ end }} diff --git a/layouts/partials/sections/testimonials.html b/layouts/partials/sections/testimonials.html index c70ab3c..960b937 100644 --- a/layouts/partials/sections/testimonials.html +++ b/layouts/partials/sections/testimonials.html @@ -1,3 +1,4 @@ +{{ if .enabled }}
@@ -46,3 +47,4 @@
+{{ end }} diff --git a/layouts/partials/sections/vorteile.html b/layouts/partials/sections/vorteile.html new file mode 100644 index 0000000..a56fcb9 --- /dev/null +++ b/layouts/partials/sections/vorteile.html @@ -0,0 +1,30 @@ +{{ if .enabled }} +
+
+
+
+ {{ with .content.title }} +

{{ . }}

+ {{ end }} + {{ with .content.text }} +

{{ . | markdownify }}

+ {{ end }} +
+
+
+ {{ range .content.cards }} +
+
+ {{ with .image }}{{ partial "utilities/image-fluid.html" . }}{{ end }} +
+ {{ with .title }}

{{ . }}

{{ end }} + {{ with .text }}

{{ . | markdownify }}

{{ end }} + {{ with .button }}{{ .label }}{{ end }} +
+
+
+ {{ end }} +
+
+
+{{ end }} diff --git a/layouts/partials/shared/header.html b/layouts/partials/shared/header.html index 043ef54..c13e81b 100644 --- a/layouts/partials/shared/header.html +++ b/layouts/partials/shared/header.html @@ -1,8 +1,8 @@ -