Remove animate.css (#222)
This commit is contained in:
parent
d26df642e2
commit
170a9cce55
@ -42,19 +42,17 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
//Hero Slider
|
//Hero Slider
|
||||||
$('.hero-slider').slick({
|
$('.hero-slider-items').slick({
|
||||||
autoplay: true,
|
autoplay: true,
|
||||||
autoplaySpeed: 5000,
|
autoplaySpeed: 5000,
|
||||||
pauseOnFocus: false,
|
pauseOnFocus: false,
|
||||||
pauseOnHover: false,
|
pauseOnHover: true,
|
||||||
infinite: true,
|
infinite: true,
|
||||||
arrows: true,
|
arrows: true,
|
||||||
fade: true,
|
|
||||||
prevArrow: '<button type=\'button\' class=\'prevArrow\'><i class=\'mdi mdi-chevron-left arrowIcon\'></i></button>',
|
prevArrow: '<button type=\'button\' class=\'prevArrow\'><i class=\'mdi mdi-chevron-left arrowIcon\'></i></button>',
|
||||||
nextArrow: '<button type=\'button\' class=\'nextArrow\'><i class=\'mdi mdi-chevron-right arrowIcon\'></i></button>',
|
nextArrow: '<button type=\'button\' class=\'nextArrow\'><i class=\'mdi mdi-chevron-right arrowIcon\'></i></button>',
|
||||||
dots: true
|
dots: true
|
||||||
});
|
});
|
||||||
$('.hero-slider').slickAnimation();
|
|
||||||
|
|
||||||
// venobox popup
|
// venobox popup
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
@ -116,16 +114,6 @@
|
|||||||
counter();
|
counter();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Animation
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.has-animation').each(function (index) {
|
|
||||||
$(this).delay($(this).data('delay')).queue(function () {
|
|
||||||
$(this).addClass('animate-in');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
var acc = document.getElementsByClassName("accordion");
|
var acc = document.getElementsByClassName("accordion");
|
||||||
|
@ -118,7 +118,7 @@ a h4 {
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: $secondary-color;
|
background: $secondary-color;
|
||||||
opacity: .8;
|
opacity: .7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ params:
|
|||||||
css:
|
css:
|
||||||
- https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.css
|
- https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.css
|
||||||
- https://assets.cantorgymnasium.de/slick/v1.8/slick.css
|
- https://assets.cantorgymnasium.de/slick/v1.8/slick.css
|
||||||
- https://assets.cantorgymnasium.de/animate/v3/animate.min.css
|
|
||||||
- https://assets.cantorgymnasium.de/venobox/v2/dist/venobox.min.css
|
- https://assets.cantorgymnasium.de/venobox/v2/dist/venobox.min.css
|
||||||
- https://assets.cantorgymnasium.de/fonts/mdi/v7/css/materialdesignicons.min.css
|
- https://assets.cantorgymnasium.de/fonts/mdi/v7/css/materialdesignicons.min.css
|
||||||
- https://assets.cantorgymnasium.de/fonts/fira/fira.css
|
- https://assets.cantorgymnasium.de/fonts/fira/fira.css
|
||||||
|
@ -16,71 +16,51 @@ slider:
|
|||||||
title: Das Georg-Cantor-Gymnasium
|
title: Das Georg-Cantor-Gymnasium
|
||||||
slider_item:
|
slider_item:
|
||||||
- content: Mathematisch-naturwissenschaftliche Spezialschule
|
- content: Mathematisch-naturwissenschaftliche Spezialschule
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
label: Über uns
|
label: Über uns
|
||||||
link: about
|
link: about
|
||||||
- content: Schule mit dem Gütesiegel "Begabungsfördernde Schule"
|
- content: Schule mit dem Gütesiegel "Begabungsfördernde Schule"
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
link: https://lisa.sachsen-anhalt.de/unterricht/projekte-und-paedagogische-entwicklungsvorhaben/begabungsfoerderung/netzwerk-begabungsfoerdernde-schulen-in-sachsen-anhalt/
|
link: https://lisa.sachsen-anhalt.de/unterricht/projekte-und-paedagogische-entwicklungsvorhaben/begabungsfoerderung/netzwerk-begabungsfoerdernde-schulen-in-sachsen-anhalt/
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
- content: Primegymnasium der Martin-Luther-Universität Halle-Wittenberg
|
- content: Primegymnasium der Martin-Luther-Universität Halle-Wittenberg
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
link: https://www.marketing.uni-halle.de/schulbuero/prime-gymnasien/
|
link: https://www.marketing.uni-halle.de/schulbuero/prime-gymnasien/
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
- content: Kooperationsschule der Hochschule Merseburg
|
- content: Kooperationsschule der Hochschule Merseburg
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
link: https://www.hs-merseburg.de/studium/vor-dem-studium/angebote-fuer-studieninteressierte
|
link: https://www.hs-merseburg.de/studium/vor-dem-studium/angebote-fuer-studieninteressierte
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
enable: true
|
enable: true
|
||||||
- content: Kooperationsschule der Hochschule Anhalt
|
- content: Kooperationsschule der Hochschule Anhalt
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
link: https://www.hs-anhalt.de/nc/studieren/orientierung/schulcampus/schulkooperationen.html
|
link: https://www.hs-anhalt.de/nc/studieren/orientierung/schulcampus/schulkooperationen.html
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
enable: true
|
enable: true
|
||||||
- content: Kooperationsschule der Dow Olefinverbund GmbH
|
- content: Kooperationsschule der Dow Olefinverbund GmbH
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: false
|
enable: false
|
||||||
label: ""
|
label: ""
|
||||||
link: ""
|
link: ""
|
||||||
- content: Mitglied im Netzwerk MINT-EC
|
- content: Mitglied im Netzwerk MINT-EC
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
link: https://mint-ec.de
|
link: https://mint-ec.de
|
||||||
- content: Projektschule LemaS
|
- content: Projektschule LemaS
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
link: https://www.leistung-macht-schule.de/
|
link: https://www.leistung-macht-schule.de/
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
- content: KMK "Jugend forscht"-Schule 2018
|
- content: KMK "Jugend forscht"-Schule 2018
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
link: https://www.kmk.org/aktuelles/artikelansicht/georg-cantor-gymnasium-halle-saale-ist-die-jugend-forscht-schule-2018.html
|
link: https://www.kmk.org/aktuelles/artikelansicht/georg-cantor-gymnasium-halle-saale-ist-die-jugend-forscht-schule-2018.html
|
||||||
label: Mehr erfahren
|
label: Mehr erfahren
|
||||||
- content: Mitglied im Netzwerk "Schule ohne Rassismus - Schule mit Courage"
|
- content: Mitglied im Netzwerk "Schule ohne Rassismus - Schule mit Courage"
|
||||||
animation_in: left
|
|
||||||
animation_out: right
|
|
||||||
button:
|
button:
|
||||||
enable: true
|
enable: true
|
||||||
link: https://www.schule-ohne-rassismus.org/
|
link: https://www.schule-ohne-rassismus.org/
|
||||||
|
@ -7,19 +7,21 @@
|
|||||||
<section class="hero-section overlay bg-cover hero-default" data-background="{{ .bg_image | absURL }}">
|
<section class="hero-section overlay bg-cover hero-default" data-background="{{ .bg_image | absURL }}">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="hero-slider">
|
<div class="hero-slider">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2 class="text-white">{{ $data.homepage.slider.title | markdownify }}</h2>
|
||||||
|
<div class="hero-slider-items">
|
||||||
{{ range .slider_item }}
|
{{ range .slider_item }}
|
||||||
<div class="hero-slider-item">
|
<div class="hero-slider-item">
|
||||||
<div class="row">
|
<p class="text-muted mb-4" >{{ .content | markdownify }}</p>
|
||||||
<div class="col-md-8">
|
|
||||||
<h2 class="text-white">{{ $data.homepage.slider.title | markdownify }}</h2>
|
|
||||||
<p class="text-muted mb-4" data-animation-out="fadeOut{{.animation_out | title }}" data-delay-out="5" data-duration-in=".3" data-animation-in="fadeIn{{.animation_in | title }}" data-delay-in="0">{{ .content | markdownify }}</p>
|
|
||||||
{{ if .button.enable }}
|
{{ if .button.enable }}
|
||||||
<a href="{{ .button.link | absLangURL }}" class="btn btn-primary" data-animation-out="fadeOut{{.animation_out | title }}" data-delay-out="5" data-duration-in=".3" data-animation-in="fadeIn{{.animation_in | title }}" data-delay-in="0">{{ .button.label }}</a>
|
<a href="{{ .button.link | absLangURL }}" class="btn btn-primary">{{ .button.label }}</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@ -33,20 +35,18 @@
|
|||||||
<section class="hero-section overlay bg-cover" style="background-image: url({{ $data.homepage.slider.bg_image | absURL }});">
|
<section class="hero-section overlay bg-cover" style="background-image: url({{ $data.homepage.slider.bg_image | absURL }});">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="hero-slider">
|
<div class="hero-slider">
|
||||||
{{ range first 1 $data.homepage.slider.slider_item }}
|
|
||||||
<div class="hero-slider-item">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-12">
|
||||||
<h1 class="text-white">{{ $data.homepage.slider.title | markdownify }}</h1>
|
<h1 class="text-white">{{ $data.homepage.slider.title | markdownify }}</h1>
|
||||||
|
{{ range first 1 $data.homepage.slider.slider_item }}
|
||||||
<p class="text-muted mb-4">{{ .content | markdownify }}</p>
|
<p class="text-muted mb-4">{{ .content | markdownify }}</p>
|
||||||
{{ if .button.enable }}
|
{{ if .button.enable }}
|
||||||
<a href="{{ .button.link | absLangURL }}" class="btn btn-primary" data-animation-out="fadeOut{{.animation_out | title }}" data-delay-out="5" data-duration-in=".3" data-animation-in="fadeIn{{.animation_in | title }}" data-delay-in=".7">{{ .button.label }}</a>
|
<a href="{{ .button.link | absLangURL }}" class="btn btn-primary">{{ .button.label }}</a>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
@ -74,16 +74,6 @@ collections:
|
|||||||
widget: "list"
|
widget: "list"
|
||||||
fields:
|
fields:
|
||||||
- {label: "Inhalt", name: "content", widget: "string", required: false}
|
- {label: "Inhalt", name: "content", widget: "string", required: false}
|
||||||
- label: "Einblendeanimation"
|
|
||||||
name: "animation_in"
|
|
||||||
widget: "select"
|
|
||||||
options: ["left", "right", "up", "down"]
|
|
||||||
required: false
|
|
||||||
- label: "Ausblendeanimation"
|
|
||||||
name: "animation_out"
|
|
||||||
widget: "select"
|
|
||||||
options: ["left", "right", "up", "down"]
|
|
||||||
required: false
|
|
||||||
- label: "Button"
|
- label: "Button"
|
||||||
name: "button"
|
name: "button"
|
||||||
widget: "object"
|
widget: "object"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user