diff --git a/assets/js/script.js b/assets/js/script.js index a901b4a..24e8f1f 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -42,7 +42,7 @@ }); //Hero Slider - $('.hero-slider-items').slick({ + $('.hero-slider').slick({ autoplay: true, autoplaySpeed: 5000, pauseOnFocus: false, diff --git a/assets/scss/_common.scss b/assets/scss/_common.scss index e74009a..3797255 100644 --- a/assets/scss/_common.scss +++ b/assets/scss/_common.scss @@ -122,14 +122,6 @@ a h4 { } } -.outline-0 { - outline: 0 !important; -} - -.d-unset { - display: unset !important; -} - .bg-primary { background: $primary-color !important; } @@ -170,60 +162,6 @@ a h4 { font-family: $secondary-font; } -.mb-10 { - margin-bottom: 10px !important; -} - -.mb-20 { - margin-bottom: 20px !important; -} - -.mb-30 { - margin-bottom: 30px !important; -} - -.mb-40 { - margin-bottom: 40px !important; -} - -.mb-50 { - margin-bottom: 50px !important; -} - -.mb-60 { - margin-bottom: 60px !important; -} - -.mb-70 { - margin-bottom: 70px !important; -} - -.mb-80 { - margin-bottom: 80px !important; -} - -.mb-90 { - margin-bottom: 90px !important; -} - -.mb-100 { - margin-bottom: 100px !important; -} - -.pl-150 { - padding-left: 150px; -} - -.zindex-1 { - z-index: 1; -} - -.overflow-md-hidden { - @include desktop { - overflow: hidden; - } -} - .vertical-align-middle { vertical-align: middle; } @@ -464,101 +402,4 @@ details[open] summary { .fb-tile-icon { font-size: 96px; -} - -.img-slider{ - position: relative; - margin: 10px; - width: 95%; - height: 500px; - background: #1D212B; -} - -.img-slider .is-slide{ - z-index: 1; - position: absolute; - width: 100%; - clip-path: circle(0% at 0 50%); -} - -.img-slider .is-slide.active{ - clip-path: circle(150% at 0 50%); - transition: 2s; - transition-property: clip-path; -} - -.img-slider .is-slide img{ - z-index: 1; - width: 100%; - border-radius: 5px; -} - -.img-slider .is-navigation{ - z-index: 2; - position: absolute; - display: flex; - bottom: 20px; - left: 50%; - border-radius: 10px; - transform: translateX(-50%); - background-color: #1a1a37; -} - -.img-slider .is-navigation .is-btn{ - background: rgba(255, 255, 255, 0.5); - width: 12px; - height: 12px; - margin: 10px; - border-radius: 50%; - cursor: pointer; -} - -.img-slider .is-navigation .is-btn.active{ - background: #2696E9; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); -} - -@media (max-width: 820px){ - .img-slider{ - width: 600px; - height: 375px; - } - - .img-slider .is-navigation{ - bottom: 25px; - } - - .img-slider .is-navigation .is-btn{ - width: 10px; - height: 10px; - margin: 8px; - } -} - -@media (max-width: 620px){ - .img-slider{ - width: 400px; - height: 250px; - } - - .img-slider .is-navigation{ - bottom: 15px; - } - - .img-slider .is-navigation .is-btn{ - width: 8px; - height: 8px; - margin: 6px; - } -} - -@media (max-width: 420px){ - .img-slider{ - width: 320px; - height: 200px; - } - - .img-slider .is-navigation{ - bottom: 10px; - } -} +} \ No newline at end of file diff --git a/assets/scss/templates/_homepage.scss b/assets/scss/templates/_homepage.scss index c34aa70..a8f2079 100644 --- a/assets/scss/templates/_homepage.scss +++ b/assets/scss/templates/_homepage.scss @@ -1,4 +1,3 @@ -/* banner feature */ .feature-icon { font-size: 60px; color: $secondary-color; @@ -41,18 +40,6 @@ } } -/* /banner feature */ - -/* course */ -.card-btn { - font-size: 12px; - padding: 5px 10px; -} - -.flex-basis-33 { - flex-basis: 33.3333%; -} - .hover-shadow { transition: .3s ease; @@ -61,9 +48,6 @@ } } -/* /course */ - -/* success story */ .success-video { min-height: 300px; @@ -138,57 +122,6 @@ } } -/* /success story */ - -/* events */ -.card-date { - position: absolute; - background: $primary-color; - font-family: $secondary-font; - text-align: center; - padding: 10px; - color: $white; - top: 0; - left: 0; - text-transform: uppercase; - - span { - font-size: 40px; - } -} - -/* /events */ - -/* footer */ -.input-wrapper { - position: relative; - - button { - position: absolute; - right: 25px; - top: 50%; - transform: translateY(-50%); - } -} - -.form-control { - height: 60px; - background: $white; - border-radius: 0; - padding-left: 25px; - - &:focus { - border-color: $primary-color; - box-shadow: none; - } -} - -.newsletter-block { - .form-control { - height: 90px; - } -} - .bg-footer { background-color: #182b45; } @@ -202,5 +135,3 @@ border-color: #494a43 !important; padding-top: 75px; } - -/* /footer */ diff --git a/config.yml b/config.yml index ce7ccb4..94c0607 100644 --- a/config.yml +++ b/config.yml @@ -29,14 +29,14 @@ params: - media/zeichnung.webp plugins: css: - - https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.css + - https://assets.cantorgymnasium.de/bootstrap/v5/css/bootstrap.min.css - https://assets.cantorgymnasium.de/slick/v1.8/slick.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/fira/fira.css - https://assets.cantorgymnasium.de/fonts/tilt-warp/tilt-warp.css js: - - https://assets.cantorgymnasium.de/bootstrap/v4/bootstrap.min.js + - https://assets.cantorgymnasium.de/bootstrap/v5/js/bootstrap.min.js - https://assets.cantorgymnasium.de/slick/v1.8/slick.min.js - https://assets.cantorgymnasium.de/lazyload/v17/dist/lazyload.min.js head_js: diff --git a/content/german/projektwoche/2023.md b/content/german/projektwoche/2023.md index 774b8ee..b4b7a28 100644 --- a/content/german/projektwoche/2023.md +++ b/content/german/projektwoche/2023.md @@ -252,9 +252,7 @@ tiles: icon: mdi mdi-bank-outline font_color: white content: > - + - title: Wir fotografieren die Unendlichkeit bg_color: "#ccff66" icon: mdi mdi-camera-outline diff --git a/content/german/schulchronik/_index.md b/content/german/schulchronik/_index.md index bfcec28..fb05803 100644 --- a/content/german/schulchronik/_index.md +++ b/content/german/schulchronik/_index.md @@ -15,11 +15,11 @@ jedem Interessierten die wechselvolle Geschichte des GCG präsentiert. ---
-
+
-
-

"Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können."

+
+

"Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können."

aus 'David Hilbert, Über das Unendliche', Math. Ann. 95
diff --git a/i18n/de.yaml b/i18n/de.yaml index 1e6d120..8ce22af 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -10,9 +10,6 @@ - id: contact_info translation: Kontaktdaten -- id: subscribe_newsletter - translation: Newsletter abbonieren - - id: subscribe translation: Abbonieren diff --git a/layouts/_default/card-btn-ni.html b/layouts/_default/card-btn-ni.html index 415c802..4eb96dd 100644 --- a/layouts/_default/card-btn-ni.html +++ b/layouts/_default/card-btn-ni.html @@ -1,6 +1,6 @@ diff --git a/layouts/_default/card-ct.html b/layouts/_default/card-ct.html index 1891efd..bbf30b2 100644 --- a/layouts/_default/card-ct.html +++ b/layouts/_default/card-ct.html @@ -1,8 +1,8 @@
{{ .Title }}
-
{{ .Params.category }}
-

{{ .Title | truncate 20 }}

+
{{ .Params.category }}
+

{{ .Title | truncate 30 }}

{{ i18n "read_more"}}
diff --git a/layouts/_default/card.html b/layouts/_default/card.html index 6ea460d..aa0dc25 100644 --- a/layouts/_default/card.html +++ b/layouts/_default/card.html @@ -2,13 +2,13 @@ {{ .Title }}
-
{{ time.Format "02. Jan 2006" .PublishDate }}
+
{{ time.Format "02. Jan 2006" .PublishDate }}
-

{{ .Title }}

+

{{ .Title | truncate 30 }}

{{ .Summary | truncate 100 }}

{{ i18n "read_more" }}
diff --git a/layouts/_default/ganztag.html b/layouts/_default/ganztag.html index b619005..52d7cd2 100644 --- a/layouts/_default/ganztag.html +++ b/layouts/_default/ganztag.html @@ -2,8 +2,8 @@ {{ .Title }}
-
{{ .Params.schedule }}
-
{{ .Params.class }}
+
{{ .Params.schedule }}
+
{{ .Params.class }}

{{ .Title | truncate 20 }}

{{ i18n "show_more"}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 88ac1b2..4958f46 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,17 +11,17 @@
- {{ i18n "posted_by" }}: + {{ i18n "posted_by" }}: {{ .Params.author | title }}
- {{ i18n "date" }}: + {{ i18n "date" }}: {{ time.Format "02. Jan 2006" .PublishDate }}
- {{ i18n "category" }}: + {{ i18n "category" }}: {{ range $index, $elements:= .Params.categories }} {{ if ne $index 0 }}, {{ end }} {{ . | title }} diff --git a/layouts/anmeldeformular/list.html b/layouts/anmeldeformular/list.html index 181bc92..2a1db74 100644 --- a/layouts/anmeldeformular/list.html +++ b/layouts/anmeldeformular/list.html @@ -6,37 +6,54 @@
-
+ - - - - -
- +
+ +
- -
- +
+ Geburtsdatum + +
+ +
+ + +
+
+ +
-
- +
+ +
- - - - - - - - - +
+ + Zeugnis (Vorderseite) +
+
+ + Zeugnis (Rückseite) +
+
+ + Schullaufbahnempfehlung +
+
+
+ +
+ Hiermit melden wir unser Kind verbindlich zur Aufnahmeprüfung an. + +
diff --git a/layouts/author/list.html b/layouts/author/list.html index e365ad8..0126fb0 100644 --- a/layouts/author/list.html +++ b/layouts/author/list.html @@ -18,7 +18,7 @@ {{ .Title }}

{{ .Summary | truncate 100 }}

- diff --git a/layouts/author/single.html b/layouts/author/single.html index 450d66e..fff3de0 100644 --- a/layouts/author/single.html +++ b/layouts/author/single.html @@ -12,7 +12,7 @@ {{ end }}
-

{{ .Title }}

+

{{ .Title }}


diff --git a/layouts/forms/list.html b/layouts/forms/list.html index 6e16aea..76a99f5 100644 --- a/layouts/forms/list.html +++ b/layouts/forms/list.html @@ -11,7 +11,7 @@ {{ .Title }}

{{ .Summary | truncate 100 }}

- +
{{ end }}
diff --git a/layouts/forms/single.html b/layouts/forms/single.html index f01a673..7ca6004 100644 --- a/layouts/forms/single.html +++ b/layouts/forms/single.html @@ -8,7 +8,7 @@
-
+
{{ range .Params.files }}
diff --git a/layouts/ganztagsangebote/single.html b/layouts/ganztagsangebote/single.html index e65b0b5..16b190d 100644 --- a/layouts/ganztagsangebote/single.html +++ b/layouts/ganztagsangebote/single.html @@ -4,7 +4,7 @@
-
@@ -16,8 +16,8 @@
- -
+ +
{{ i18n "schedule" | upper }}

{{ .Params.schedule }}

@@ -25,8 +25,8 @@
- -
+ +
{{ i18n "duration" | upper }}

{{ .Params.duration }}

@@ -34,8 +34,8 @@
- -
+ +
{{ i18n "class" | upper }}

{{ .Params.class }}

@@ -43,8 +43,8 @@
- -
+ +
{{ i18n "room" | upper }}

{{ .Params.room }}

diff --git a/layouts/index.html b/layouts/index.html index 11aec55..a156b10 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,11 +6,10 @@ {{ with $data.homepage.slider }}
-
-

{{ $data.homepage.slider.title | markdownify }}

-
+

{{ $data.homepage.slider.title | markdownify }}

+
{{ range .slider_item }}

{{ .content | markdownify }}

@@ -21,7 +20,6 @@ {{ end }}
-
@@ -102,7 +100,7 @@ {{ end }} {{ if $data.homepage.blog.enable }} -
+
@@ -115,7 +113,7 @@ {{ $data.ausblick.title }}

{{ $data.ausblick.title }}

@@ -143,7 +141,7 @@
{{ range .feature_item }} -
+
{{ with .image }} {{ end }} @@ -170,10 +168,10 @@
-

{{ $data.homepage.ganztagsangebote.title }}

+

{{ $data.homepage.ganztagsangebote.title }}

@@ -224,10 +222,10 @@
-

{{ $data.homepage.termine.title }}

+

{{ $data.homepage.termine.title }}

@@ -244,7 +242,7 @@ {{ end }} {{ range first 3 $events }} -
  • +
  • {{ time.Format "2" .date}} {{ time.Format "Jan 2006" .date}} @@ -257,9 +255,9 @@

    {{ .title }}

    {{ with .location }} -
    +

    - + {{ . | markdownify }}

    diff --git a/layouts/kontakt/list.html b/layouts/kontakt/list.html index 52f7b7b..f7e9487 100644 --- a/layouts/kontakt/list.html +++ b/layouts/kontakt/list.html @@ -22,7 +22,7 @@ crossorigin=""/>
    -
    + diff --git a/layouts/partials/blog-sidebar.html b/layouts/partials/blog-sidebar.html index 989e107..b8c2307 100644 --- a/layouts/partials/blog-sidebar.html +++ b/layouts/partials/blog-sidebar.html @@ -28,9 +28,9 @@

    {{ i18n "latest_article" }}

    {{ range first 5 ( where .Site.Pages "Type" "post" )}} -
    - -
    +
    + +
    {{ .Title }}
    diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1c0629f..4315ac4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -48,10 +48,10 @@