Skip to content

Commit

Permalink
Docs tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
LankyMoose committed Sep 3, 2023
1 parent 3982fab commit a5aa43f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
18 changes: 18 additions & 0 deletions docs/getting-started.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/cinnabun/Cinnabun-Happy.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cinnabun - Getting Started</title>
<script
type="module"
crossorigin
src="/cinnabun/assets/index-c8876f04.js"
></script>
<link rel="stylesheet" href="/cinnabun/assets/index-45e36068.css" />
</head>
<body>
<div id="app"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/Cinnabun-Happy.svg" />
<link rel="icon" type="image/svg+xml" href="/cinnabun/Cinnabun-Happy.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cinnabun</title>
<script
Expand Down
14 changes: 8 additions & 6 deletions sandbox/docs/src/components/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export const Docs = () => {
return (
<div>
<p className="text-subtext">
A lightweight library for building reactive web applications with no
(zero!) dependencies sent to the client and weighing less than 5kb.
A lightweight framework/library for building reactive web applications
with no (zero!) dependencies sent to the client and weighing less than
5kb.
</p>
<br />
<hr style="opacity:.3" />
Expand Down Expand Up @@ -112,8 +113,8 @@ const App = () => {
<input
type="checkbox"
checked={showText}
onchange={(e: Event) => {
showText.value = (e.target as HTMLInputElement).checked;
onchange={(e) => {
showText.value = e.target.checked
clicks.value++
}}
/>
Expand All @@ -122,8 +123,9 @@ const App = () => {
type="checkbox"
watch={showText}
bind:checked={() => showText.value}
onchange={(e: Event) => {
showText.value = (e.target as HTMLInputElement).checked
onchange={(e) => {
showText.value = e.target.checked
clicks.value++
}}
/> */}
<span watch={showText} bind:visible={() => showText.value}>
Expand Down

0 comments on commit a5aa43f

Please sign in to comment.