From b66e5165a89dd99c48da612568af6cc508b01847 Mon Sep 17 00:00:00 2001 From: Laurens Date: Wed, 8 May 2024 09:46:15 +0200 Subject: [PATCH] event list messing around again --- assets/scss/custom.scss | 15 +- hugo_stats.json | 2 + layouts/events/list.html | 37 +- layouts/index.html | 4 +- public/authors/laurens-hof/index.html | 6 +- public/categories/event/index.html | 6 +- public/categories/event/index.xml | 4 +- public/categories/webinar/index.html | 6 +- public/categories/webinar/index.xml | 4 +- public/css/style.css | 13 +- public/events/index.html | 352 ++---------------- .../waag-state-internet-2024/index.html | 2 + public/index.html | 4 +- public/sitemap.xml | 4 +- 14 files changed, 93 insertions(+), 366 deletions(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 0b073f27..45785653 100755 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -82,7 +82,7 @@ display: flex; justify-content: center; align-items: center; - height: 100vh; /* Adjust height as needed */ + } .grid-container-small { @@ -90,3 +90,16 @@ grid-template-columns: repeat(2, 1fr); gap: 20px; } + + .hr-list { + margin-top: 0; + margin-bottom: 0; + margin-right: .5rem; + } + + .center-layout { + display: flex; + justify-content: center; + + + } \ No newline at end of file diff --git a/hugo_stats.json b/hugo_stats.json index 17b7eac7..e75df135 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -65,6 +65,8 @@ "btn-primary", "btn-sm", "capitalize", + "center", + "center-layout", "center-wrapper", "col-12", "column", diff --git a/layouts/events/list.html b/layouts/events/list.html index 615fc45d..960c619d 100644 --- a/layouts/events/list.html +++ b/layouts/events/list.html @@ -1,22 +1,23 @@ {{ define "main" }} {{ partial "page-header" . }} - -
-
-
- -
-
- {{ $paginator:= .Paginate .RegularPages }} {{ range $paginator.Pages - }} -
- {{ partial "components/blog-card" . }} -
- {{ end }} +
+
    + {{ if gt (len (where .Site.RegularPages "Section" "events")) 0 }} +
    +

    Upcoming Events

    +
      + {{ range (first 5 (where .Site.RegularPages "Section" "events").ByDate.Reverse) }} +
    • + - {{ partial "components/pagination.html" . }} -
+
+ -
-
-
+ + {{ end }} + + + {{ end }} + + {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 91c5cf9b..ed3a25fe 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -136,7 +136,9 @@ - +
+
+
{{ if gt (len (where .Site.RegularPages "Section" "blog")) 0 }} diff --git a/public/authors/laurens-hof/index.html b/public/authors/laurens-hof/index.html index 3cdc814f..0903742b 100644 --- a/public/authors/laurens-hof/index.html +++ b/public/authors/laurens-hof/index.html @@ -1201,7 +1201,7 @@ loading="lazy" decoding="async" src="/images/image-placeholder_huf5f2d24635a285cfc2259aa9741acb2a_4881_1110x0_resize_lanczos_3.png" class=" mb-6 w-full rounded img" - alt="eventdateState of the Internet 2024" + alt="State of the Internet 2024" width="1096" height="480" /> @@ -1216,7 +1216,7 @@

- eventdateState of the Internet 2024 + State of the Internet 2024

-

blabla eventinfo Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

+

Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

Read More diff --git a/public/categories/event/index.html b/public/categories/event/index.html index 08eed781..7a5a649c 100644 --- a/public/categories/event/index.html +++ b/public/categories/event/index.html @@ -969,7 +969,7 @@ loading="lazy" decoding="async" src="/images/image-placeholder_huf5f2d24635a285cfc2259aa9741acb2a_4881_1110x0_resize_lanczos_3.png" class=" mb-6 w-full rounded img" - alt="eventdateState of the Internet 2024" + alt="State of the Internet 2024" width="1096" height="480" /> @@ -984,7 +984,7 @@

- eventdateState of the Internet 2024 + State of the Internet 2024

-

blabla eventinfo Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

+

Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

Read More diff --git a/public/categories/event/index.xml b/public/categories/event/index.xml index 9129aee9..fb1f7837 100644 --- a/public/categories/event/index.xml +++ b/public/categories/event/index.xml @@ -9,11 +9,11 @@ Tue, 02 Apr 2024 16:00:00 +0000 - eventdateState of the Internet 2024 + State of the Internet 2024 //localhost:1313/events/waag-state-internet-2024-copy/ Tue, 02 Apr 2024 16:00:00 +0000 //localhost:1313/events/waag-state-internet-2024-copy/ - blabla eventinfo Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm. + Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm. State of the Internet 2024 diff --git a/public/categories/webinar/index.html b/public/categories/webinar/index.html index 1c342233..219000e6 100644 --- a/public/categories/webinar/index.html +++ b/public/categories/webinar/index.html @@ -969,7 +969,7 @@ loading="lazy" decoding="async" src="/images/image-placeholder_huf5f2d24635a285cfc2259aa9741acb2a_4881_1110x0_resize_lanczos_3.png" class=" mb-6 w-full rounded img" - alt="eventdateState of the Internet 2024" + alt="State of the Internet 2024" width="1096" height="480" /> @@ -984,7 +984,7 @@

- eventdateState of the Internet 2024 + State of the Internet 2024

    @@ -1011,7 +1011,7 @@
-

blabla eventinfo Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

+

Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

Read More diff --git a/public/categories/webinar/index.xml b/public/categories/webinar/index.xml index d583d445..869a19ed 100644 --- a/public/categories/webinar/index.xml +++ b/public/categories/webinar/index.xml @@ -9,11 +9,11 @@ Tue, 02 Apr 2024 16:00:00 +0000 - eventdateState of the Internet 2024 + State of the Internet 2024 //localhost:1313/events/waag-state-internet-2024-copy/ Tue, 02 Apr 2024 16:00:00 +0000 //localhost:1313/events/waag-state-internet-2024-copy/ - blabla eventinfo Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm. + Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm. State of the Internet 2024 diff --git a/public/css/style.css b/public/css/style.css index 645cb4e6..967cd55e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -3087,15 +3087,22 @@ input#nav-toggle:checked ~ #nav-menu { .center-wrapper { display: flex; justify-content: center; - align-items: center; - height: 100vh; - /* Adjust height as needed */ } + align-items: center; } .grid-container-small { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } +.hr-list { + margin-top: 0; + margin-bottom: 0; + margin-right: .5rem; } + +.center-layout { + display: flex; + justify-content: center; } + @media (min-width: 540px) { .sm\:col-10 { diff --git a/public/events/index.html b/public/events/index.html index 1c368a82..0e602719 100644 --- a/public/events/index.html +++ b/public/events/index.html @@ -855,338 +855,36 @@ - -
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+
    - - - - - - - - - - +
    +

    Upcoming Events

    +
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - State of the Internet 2024 - - - - - - - - - - - -

- State of the Internet 2024 -

- - - -

Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm.

- - Read More - -
- -
- +
  • + - +
    + +
  • + +
  • + +
    + - - - - - - - - - -
  • - -
    -
    -
    + + + + + + + diff --git a/public/events/waag-state-internet-2024/index.html b/public/events/waag-state-internet-2024/index.html index 55abea6e..1bd3cf9c 100644 --- a/public/events/waag-state-internet-2024/index.html +++ b/public/events/waag-state-internet-2024/index.html @@ -845,10 +845,12 @@ Start: +
  • End:
  • +
  • Location: diff --git a/public/index.html b/public/index.html index 766e1571..2e5e3641 100644 --- a/public/index.html +++ b/public/index.html @@ -1259,7 +1259,9 @@ - +
    +
    +
    diff --git a/public/sitemap.xml b/public/sitemap.xml index 70a5d410..d476e630 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -20,10 +20,10 @@ //localhost:1313/categories/event/ 2024-04-02T16:00:00+00:00 - //localhost:1313/events/waag-state-internet-2024-copy/ + //localhost:1313/events/ 2024-04-02T16:00:00+00:00 - //localhost:1313/events/ + //localhost:1313/events/waag-state-internet-2024-copy/ 2024-04-02T16:00:00+00:00 //localhost:1313/events/waag-state-internet-2024/