Skip to content

Commit 7f536c3

Browse files
authored
Merge pull request #15 from wpsimon09/wpsimon09-hotfix
Small hotfix
2 parents 1e81e0e + 89a1011 commit 7f536c3

File tree

7 files changed

+21
-19
lines changed

7 files changed

+21
-19
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "slang-in-wild",
33
"private": false,
4-
"version": "1.1",
4+
"version": "1.3.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite dev",
@@ -40,4 +40,4 @@
4040
"mysql2": "^3.14.1",
4141
"svelte-adapter-azure-swa": "^0.22.0"
4242
}
43-
}
43+
}

src/app.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8" />
5-
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<meta name="theme-color" content="#f4f4f5" >
8-
<title>Slang In Wild</title>
9-
%sveltekit.head%
10-
</head>
11-
<body class="h-screen" data-sveltekit-preload-data="hover">
12-
<div class="h-full" style="display: contents">%sveltekit.body%</div>
13-
</body>
14-
</html>
3+
4+
<head>
5+
<meta charset="utf-8" />
6+
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1" />
8+
<title>Slang In Wild</title>
9+
%sveltekit.head%
10+
</head>
11+
12+
<body class="h-screen dark:bg-zinc-800 bg-zinc-100" data-sveltekit-preload-data="hover">
13+
<div class="h-full" style="display: contents">%sveltekit.body%</div>
14+
</body>
15+
16+
</html>

src/lib/EntryData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export enum ETag{
77
GasuianSplatting = "Splatting",
88
Scientific = "Scientific",
99
Games = "Games",
10-
GameEngine = "Game Engine",
10+
Engine = "Engine",
1111
SlangPy = "SlangPy",
1212
Cuda = "Cuda",
1313
Optix = "OptiX",
1414
WgSL = "WgSL",
1515
WebGPU = "WebGPU",
16-
PlayGround = "Play Ground"
16+
Playground = "Playground"
1717
}
1818

1919

src/lib/components/Entry.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
>
8787
{#each SlangProject.tags as tag, i}
8888
<button
89-
class=" justify-around {num % 2 == 0
89+
class="justify-center {num % 2 == 0
9090
? 'bg-amber-600 text-white'
9191
: ' bg-teal-700 text-white'} p-1 shadow-md rounded-2xl h-8"
9292
>{tag}</button

src/lib/components/Header.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
onMount(() => {
99
darkMode = window.matchMedia("(prefers-color-scheme: dark)").matches;
10+
1011
window
1112
.matchMedia("(prefers-color-scheme: dark)")
1213
.addListener(function (e) {

src/lib/components/TagView.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
88
//========================
99
// functions
10-
1110
function toggleTag(tag: ETag) {
1211
if (SlangProject.tags.includes(tag)) {
1312
SlangProject.tags = SlangProject.tags.filter(

src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
const SlangProjectFilter = $state(createEmptySlangProject());
1919
20-
console.log("Hello, there ! Have a nice day :) ");
20+
console.log("Hello there ! Have a nice day :) ");
2121
2222
//==========================================
2323
// initial variables

0 commit comments

Comments
 (0)