Skip to content

Commit 474bbb9

Browse files
Cleanup Nature event page.
1 parent 66da5d6 commit 474bbb9

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

src/pages/events/mod-garden/nature.astro

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import ProjectCard from "../../../components/ProjectCard.astro";
66
import natureLogo from "../../../icons/events/nature/logo-full.png";
77
import type { Project } from "../../../ts/ModGardenAPI";
88
import { getEventProjects, getModrinthModDataForEvent } from "../../../ts/ModGardenAPI";
9-
import { formatTime, isoTime } from "../../../ts/TimeHelper";
109
import { type Mod } from "../../../ts/ModrinthHelper";
1110
1211
type ProjectAndMod = {
@@ -134,44 +133,44 @@ const showcaseEnd = "2025-10-10T00:00:00Z";
134133
<ol class="relative border-s border-leaf-600 dark:border-leaf-200">
135134
<li class="mb-[19.5%] ms-4">
136135
<div class="absolute w-3 h-3 bg-pine-500 rounded-full mt-1.5 -start-1.5 dark:bg-pine-700"></div>
137-
<time datetime={isoTime(planningStart)} data-start-time={planningStart} data-end-time={planningEnd}
138-
class="mb-1 text-sm font-normal leading-none italic">{formatTime(planningStart)} - {formatTime(planningEnd)}</time>
136+
<time datetime={planningStart} data-start-time={planningStart} data-end-time={planningEnd}
137+
class="mb-1 text-sm font-normal leading-none italic"></time>
139138
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Planning Stage</h3>
140139
<p class="text-base font-normal">
141140
Here you can sign up, and start planning your project. This is the time to start forming teams, planning ideas and general brainstorming.
142141
</p>
143142
</li>
144143
<li class="mb-[19.5%] ms-4">
145144
<div class="absolute w-3 h-3 bg-pine-500 rounded-full mt-1.5 -start-1.5 dark:bg-pine-700"></div>
146-
<time datetime={isoTime(developmentStart)} data-start-time={developmentStart} data-end-time={tweakStart}
147-
class="mb-1 text-sm font-normal leading-none italic">{formatTime(developmentStart)} - {formatTime(tweakStart)}</time>
145+
<time datetime={developmentStart} data-start-time={developmentStart} data-end-time={tweakStart}
146+
class="mb-1 text-sm font-normal leading-none italic"> </time>
148147
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Development Stage</h3>
149148
<p class="text-base font-normal">
150149
This is when you start working on your project(s). You should be submitted to Modrinth by the end of this stage.
151150
</p>
152151
</li>
153152
<li class="mb-[19.5%] ms-4">
154153
<div class="absolute w-3 h-3 bg-pine-500 rounded-full mt-1.5 -start-1.5 dark:bg-pine-700"></div>
155-
<time datetime={isoTime(tweakStart)} data-start-time={tweakStart} data-end-time={buildStart}
156-
class="mb-1 text-sm font-normal leading-none italic">{formatTime(tweakStart)} - {formatTime(buildStart)}</time>
154+
<time datetime={tweakStart} data-start-time={tweakStart} data-end-time={buildStart}
155+
class="mb-1 text-sm font-normal leading-none italic"> </time>
157156
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Tweak Stage</h3>
158157
<p class="text-base font-normal">
159158
This period is all about fixing bugs, and integrating with other mods to have cross compatibility. Extensions will last until the end of the first week of this phase.
160159
</p>
161160
</li>
162161
<li class="mb-[19.5%] ms-4">
163162
<div class="absolute w-3 h-3 bg-pine-500 rounded-full mt-1.5 -start-1.5 dark:bg-pine-700"></div>
164-
<time datetime={isoTime(buildStart)} data-start-time={buildStart} data-end-time={buildEnd}
165-
class="mb-1 text-sm font-normal leading-none italic">{formatTime(buildStart)} - {formatTime(buildEnd)}</time>
163+
<time datetime={buildStart} data-start-time={buildStart} data-end-time={buildEnd}
164+
class="mb-1 text-sm font-normal leading-none italic"> </time>
166165
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Building Stage</h3>
167166
<p class="text-base font-normal">
168167
This stage is optional, but if you want to build a booth for your project, this is the time to do it.
169168
</p>
170169
</li>
171170
<li class="ms-4">
172171
<div class="absolute w-3 h-3 bg-pine-500 rounded-full mt-1.5 -start-1.5 dark:bg-pine-700"></div>
173-
<time datetime={isoTime(showcaseStart)} data-start-time={showcaseStart} data-end-time={showcaseEnd}
174-
class="mb-1 text-sm font-normal leading-none italic">{formatTime(showcaseStart)} - {formatTime(showcaseEnd)}</time>
172+
<time datetime={showcaseStart} data-start-time={showcaseStart} data-end-time={showcaseEnd}
173+
class="mb-1 text-sm font-normal leading-none italic"></time>
175174
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Showcase Stage</h3>
176175
<p class="text-base font-normal">
177176
This is when the event server is up and running, where you and players can visit booths for all the projects. Players may vote for mods and awards are given in this stage. The server will still be up for some time after this phase ends.

src/ts/TimeHelper.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)