File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
77on :
88 # Runs on pushes targeting the default branch
Original file line number Diff line number Diff 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 } ` ;
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments