File tree Expand file tree Collapse file tree 7 files changed +21
-19
lines changed
Expand file tree Collapse file tree 7 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 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" ,
4040 "mysql2" : " ^3.14.1" ,
4141 "svelte-adapter-azure-swa" : " ^0.22.0"
4242 }
43- }
43+ }
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ) {
Original file line number Diff line number Diff line change 77
88 // ========================
99 // functions
10-
1110 function toggleTag(tag : ETag ) {
1211 if (SlangProject .tags .includes (tag )) {
1312 SlangProject .tags = SlangProject .tags .filter (
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments