mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 23:49:59 -07:00
wip
This commit is contained in:
3
bin/web/src/app.css
Normal file
3
bin/web/src/app.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@import "tailwindcss/base";
|
||||
@import "tailwindcss/components";
|
||||
@import "tailwindcss/utilities"
|
||||
2
bin/web/src/app.d.ts
vendored
2
bin/web/src/app.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// See https://svelte.dev/docs/kit/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
|
||||
6
bin/web/src/routes/+layout.svelte
Normal file
6
bin/web/src/routes/+layout.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '../app.css';
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
{@render children()}
|
||||
@@ -1 +0,0 @@
|
||||
export const ssr = false;
|
||||
@@ -1,2 +1,2 @@
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
import { base } from '$app/paths';
|
||||
|
||||
export async function load({ fetch }) {
|
||||
|
||||
const url = base + "/hello?name=PageLoadFunction";
|
||||
const opts = {
|
||||
method: "get",
|
||||
headers: { "Content-Type": "application/json" }
|
||||
};
|
||||
const response = await fetch(url, opts);
|
||||
const hello = await response.text();
|
||||
console.log("Hello:", hello);
|
||||
|
||||
return {
|
||||
hello
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user