Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaAmaju committed Mar 4, 2024
1 parent 14312a2 commit 629dded
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 58 deletions.
6 changes: 6 additions & 0 deletions playground/basic/src/count.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
</script>

<span>count {count}</span>

<style>
span {
background-color: red;
}
</style>
2 changes: 1 addition & 1 deletion playground/basic/src/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Hono } from "hono";
import { Render } from "@leanweb/fullstack/runtime";

import Home from "./views/home.svelte?ssr";
import About from "./views/about.svx?ssr";
// import About from "./views/about.svx?ssr";

const app = new Hono();

Expand Down
9 changes: 4 additions & 5 deletions playground/basic/src/views/footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
});
</script>

<link rel="stylesheet" href="./footer.css" id="footer-css" />
<!-- <link rel="stylesheet" href="./footer.css" id="footer-css" /> -->

<!-- <p>double: {doubled}</p>
<p>double: {doubled}</p>

<button on:click={click}>click</button>
<button on:click="{click}">click</button>

<footer>footer <Count {count} /></footer>

<style>
footer {
background-color: yellow;
}
</style> -->
</style>
53 changes: 1 addition & 52 deletions playground/basic/src/views/home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,55 +20,4 @@
const href = "./style.css";
</script>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="icon" href="/favicon.png" />
<!-- <link rel="stylesheet" href="./main.css" />
<link rel="stylesheet" href="./style.css" /> -->
<link rel="stylesheet" href="./main.css" />
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" id="mustache" {href} />
<script type="module" src="./script.ts"></script>
<title>40 Document</title>
<Footer {count} />
</head>
<body>
<!-- <p class="w-full">Hello 3000</p>
<ion-button>Default</ion-button>
<ion-button disabled="true">Disabled</ion-button> -->

<div>ages: {JSON.stringify({ age: list })}</div>

<img src="/favicon.png" alt="favicon" />

<!-- <Island count={0} /> -->

<!-- <Footer {count} /> -->

<!-- <custom-button __island aria></custom-button> -->

{#each num as n}
<p>{n}</p>
{/each}

<!-- <section use:hydrate>
<h1>Footer here</h1>
<Footer count={5} />
</section>
<div class="counter">
{@html counter}
</div>
{@html `<script id="data" type="application/json">${data}</script>`} -->

<p>
<script type="module" src="./script.ts"></script>
</p>
</body>
</html>
<Footer {count} />

0 comments on commit 629dded

Please sign in to comment.