Skip to content

Commit 8750e53

Browse files
committed
update deployment
1 parent 9d42abc commit 8750e53

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# To get started with Astro see: https://docs.astro.build/en/getting-started/
44
#
5-
name: Deploy Astro site to Pages
5+
name: Deploy to Production
66

77
on:
88
# Runs on pushes targeting the default branch

src/components/docs/Doc.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ function color(): string {
132132
.filter(x => x !== null)
133133
.map(x => <Code code={`${x.map(y => {
134134
const name = y.name;
135-
if (name.includes(" ")) {
136-
const parts = name.split(" ");
135+
if (name.includes("past ") || name.includes("future ")) {
136+
const parts = name.split(" ", 2);
137137
return `${parts[0]} event-${parts[1]}`;
138138
} else {
139139
return `event-${name}`;

src/components/nav/NavLogo.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import docs from "../../assets/docs/docs.json";
77
href={`https://github.com/SkriptLang/Skript/releases/tag/${docs.skriptVersion}`}
88
class="my-auto hover:underline">{docs.skriptVersion}</a>
99
<div class="my-auto h-fit px-2 py-1 font-bold rounded-md text-xs text-white bg-skript select-none">
10-
Beta
10+
Preview
1111
</div>
1212
<a href="/" class="-m-2 p-2 flex flex-row text-5xl">
1313
<span>sk</span>

0 commit comments

Comments
 (0)