renamed dir client to web
This commit is contained in:
3
web/app.css
Normal file
3
web/app.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
16
web/app.html
Normal file
16
web/app.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/icon.png" type="image/png" />
|
||||
<link rel="icon" href="%sveltekit.assets%/icon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="%sveltekit.assets%/icon.png" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
0
web/assets/image/.keep
Normal file
0
web/assets/image/.keep
Normal file
14
web/assets/svg/ArrowRightOnRect.svelte
Normal file
14
web/assets/svg/ArrowRightOnRect.svelte
Normal file
@@ -0,0 +1,14 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
class="w-6"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"
|
||||
/>
|
||||
</svg>
|
After Width: | Height: | Size: 373 B |
0
web/lib/.keep
Normal file
0
web/lib/.keep
Normal file
3
web/lib/hello.js
Normal file
3
web/lib/hello.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function hello() {
|
||||
console.log("hello");
|
||||
}
|
1
web/public/.gitignore
vendored
Normal file
1
web/public/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
BIN
web/public/icon.png
Normal file
BIN
web/public/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
3
web/public/icon.svg
Normal file
3
web/public/icon.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="256" cy="256" r="256" fill="red"/>
|
||||
</svg>
|
After Width: | Height: | Size: 122 B |
1
web/public/robots.txt
Normal file
1
web/public/robots.txt
Normal file
@@ -0,0 +1 @@
|
||||
# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
6
web/routes/+layout.svelte
Normal file
6
web/routes/+layout.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
import "../app.css";
|
||||
const { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children()}
|
14
web/routes/+page.svelte
Normal file
14
web/routes/+page.svelte
Normal file
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
import ArrowRightOnRect from "$svg/ArrowRightOnRect.svelte";
|
||||
let count = $state(1);
|
||||
|
||||
setInterval(() => {
|
||||
count++;
|
||||
}, 1000);
|
||||
</script>
|
||||
|
||||
<h1 class="w-6">Welcome to SvelteKit</h1>
|
||||
<p>Tick: {count}</p>
|
||||
<button class="btn btn-primary">Button</button>
|
||||
<h1 class="text-3xl font-bold underline">Hello world!</h1>
|
||||
<ArrowRightOnRect />
|
Reference in New Issue
Block a user