diff --git a/src/hmndata/jams.go b/src/hmndata/jams.go index 96a7f1b..db53eea 100644 --- a/src/hmndata/jams.go +++ b/src/hmndata/jams.go @@ -28,7 +28,7 @@ var WRJ2021 = Jam{ var WRJ2022 = Jam{ Name: "Wheel Reinvention Jam 2022", Slug: "WRJ2022", - StartTime: time.Date(2022, 8, 15, 8, 0, 0, 0, utils.Must1(time.LoadLocation("America/Los_Angeles"))), + StartTime: time.Date(2022, 8, 3, 8, 0, 0, 0, utils.Must1(time.LoadLocation("America/Los_Angeles"))), EndTime: time.Date(2022, 8, 22, 8, 0, 0, 0, utils.Must1(time.LoadLocation("America/Los_Angeles"))), } diff --git a/src/templates/src/layouts/wheeljam_2022_base.html b/src/templates/src/layouts/wheeljam_2022_base.html new file mode 100644 index 0000000..13797dc --- /dev/null +++ b/src/templates/src/layouts/wheeljam_2022_base.html @@ -0,0 +1,286 @@ +{{/* + This is a copy-paste from base.html because we want to preserve the unique + style of this page no matter what future changes we make to the base. +*/}} + + + + + + + + + + {{ if .CanonicalLink }}{{ end }} + {{ range .OpenGraphItems }} + {{ if .Property }} + + {{ else }} + + {{ end }} + {{ end }} + {{ if .Title }} + {{ .Title }} | Handmade Network + {{ else }} + Handmade Network + {{ end }} + + + + + + + + + + + + + + + + +
+
+ {{ template "header.html" . }} +
+ + {{ block "content" . }}{{ end }} + +
+ {{ template "footer.html" . }} +
+
+ + + diff --git a/src/templates/src/wheeljam_2022_feed.html b/src/templates/src/wheeljam_2022_feed.html index 75cb5a2..fd9eeff 100644 --- a/src/templates/src/wheeljam_2022_feed.html +++ b/src/templates/src/wheeljam_2022_feed.html @@ -1,280 +1,75 @@ -{{/* - This is a copy-paste from base.html because we want to preserve the unique - style of this page no matter what future changes we make to the base. -*/}} - - - - - - - - - - {{ if .CanonicalLink }}{{ end }} - {{ range .OpenGraphItems }} - {{ if .Property }} - - {{ else }} - - {{ end }} - {{ end }} - {{ if .Title }} - {{ .Title }} | Handmade Network - {{ else }} - Handmade Network - {{ end }} - - - - - - - +{{ template "wheeljam_2022_base.html" . }} +{{ define "content" }} - - -
-
- {{ template "header.html" . }} -
- -
-

Wheel Reinvention Jam

-

August 15 - 21, 2O22

-
- A one-week jam to change the status quo. -
-
- - -
-
-

Projects

-
- {{ range .JamProjects }} -
- {{ template "project_card.html" projectcarddata . "" }} -
- {{ end }} -
-
-
- -
-

Recent activity

-
- {{ range .TimelineItems }} - {{ template "timeline_item.html" . }} - {{ end }} -
-
- -
- {{ template "footer.html" . }} +
+

Wheel Reinvention Jam

+

August 15 - 21, 2O22

+
+ A one-week jam to change the status quo.
- - - +
+
+
+ {{ if eq .DaysUntilEnd 0 }} +

Project updates

+ {{ else }} +

Recent updates

+ {{ end }} +
+ {{ range .TimelineItems }} + {{ template "timeline_item.html" . }} + {{ end }} +
+
+
+

Projects

+
+ {{ range .JamProjects }} + {{ template "project_card.html" projectcarddata . "" }} + {{ end }} +
+
+
+
+{{ end }} diff --git a/src/templates/src/wheeljam_2022_index.html b/src/templates/src/wheeljam_2022_index.html index ad25c52..5210bea 100644 --- a/src/templates/src/wheeljam_2022_index.html +++ b/src/templates/src/wheeljam_2022_index.html @@ -1,512 +1,232 @@ -{{/* - This is a copy-paste from base.html because we want to preserve the unique - style of this page no matter what future changes we make to the base. -*/}} - - - - - +{{ template "wheeljam_2022_base.html" . }} - - +{{ define "content" }} + {{ $discordInviteURL := "https://discord.gg/zFt8Rf59?event=1004511448107602031" }} - {{ if .CanonicalLink }}{{ end }} - {{ range .OpenGraphItems }} - {{ if .Property }} - - {{ else }} - - {{ end }} - {{ end }} - {{ if .Title }} - {{ .Title }} | Handmade Network - {{ else }} - Handmade Network - {{ end }} - - - - - - - - - - - - - - - - -
-
- {{ template "header.html" . }} -
- - {{ $discordInviteURL := "https://discord.gg/zFt8Rf59?event=1004511448107602031" }} - -
- -

Wheel Reinvention Jam

-

August 15 - 21, 2O22

-
- A one-week jam to change the status quo. - {{ if gt .DaysUntilEnd 0 }} - {{ if eq .DaysUntilStart 0 }} - Happening now. - {{ else if eq .DaysUntilStart 1 }} - Starting tomorrow. - {{ else }} - In {{ .DaysUntilStart }} days. - {{ end }} - {{ end }} -
-
- {{ if gt .DaysUntilStart 0 }} - Choose a project +
+ +

Wheel Reinvention Jam

+

August 15 - 21, 2O22

+
+ A one-week jam to change the status quo. + {{ if gt .DaysUntilEnd 0 }} + {{ if eq .DaysUntilStart 0 }} + Happening now. + {{ else if eq .DaysUntilStart 1 }} + Starting tomorrow. {{ else }} - {{ if gt .DaysUntilEnd 0 }} - {{ if .SubmittedProjectUrl }} - Share your progress - {{ else }} - Choose a project - Create a jam project - {{ end }} + In {{ .DaysUntilStart }} days. + {{ end }} + {{ end }} +
+
+ {{ if gt .DaysUntilStart 0 }} + Find a project + {{ else }} + {{ if gt .DaysUntilEnd 0 }} + {{ if .SubmittedProjectUrl }} + Share your progress + {{ else }} + Create your project {{ end }} {{ end }} - Join the Discord -
+ {{ end }} + Join the Discord
+
-
-

- The Wheel Reinvention Jam is a one-week-long jam where we turn a fresh eye to "solved problems". -

-

- The tools we use every day are broken. Software is slow, unreliable, and bloated with thoughtless features. It disrespects the user and forces settings that no one wants. And yet, people defend the status quo, claiming that what we have is fine, and that trying to change software is "reinventing the wheel". -

-

- Screw that. Progress is only made by inventing new things. It's not "reinventing" to break new ground. Nor is it "reinventing" to take a broken thing and design something better. -

-

- This is your chance to reinvent something. -

-
+
+

+ The Wheel Reinvention Jam is a one-week-long jam where we turn a fresh eye to "solved problems". +

+

+ The tools we use every day are broken. Software is slow, unreliable, and bloated with thoughtless features. It disrespects the user and forces settings that no one wants. And yet, people defend the status quo, claiming that what we have is fine, and that trying to change software is "reinventing the wheel". +

+

+ Screw that. Progress is only made by inventing new things. It's not "reinventing" to break new ground. Nor is it "reinventing" to take a broken thing and design something better. +

+

+ This is your chance to reinvent something. +

+
- {{ if .ShowcaseJson }} -
-
- {{ if gt .DaysUntilEnd 0 }} -

Recent updates

-

- These screenshots and videos were shared by jam participants in #project-showcase on our Discord. Join us and share what you're working on! -

- {{ else }} -

Community showcase

-

- These screenshots and videos were shared by jam participants in #project-showcase on our Discord during the jam. Join us and chat about your favorites! -

- {{ end }} -
-
- See more -
+ {{ if not (eq .ShowcaseJson "[]") }} +
+
+ {{ if gt .DaysUntilEnd 0 }} +

Recent updates

+

+ These screenshots and videos were shared by jam participants in #project-showcase on our Discord. Join us and share what you're working on! +

+ {{ else }} +

Community showcase

+

+ These screenshots and videos were shared by jam participants in #project-showcase on our Discord during the jam. Join us and chat about your favorites! +

+ {{ end }} +
+
- {{ end }} +
+ {{ else }} +
+
+

Last year's entries

+

+ We had many incredible entries last year. Here are a few of our favorites: +

- {{ if gt .DaysUntilStart 0 }} -
-
-

Last year's entries

-

- We had many incredible entries last year. Here are a few of our favorites: -

- -