Page Not Found
-- Visit{" "} - - start.solidjs.com - {" "} - to learn how to build SolidStart apps. -
-diff --git a/lightning/package.json b/lightning/package.json
index 401648a..6489559 100644
--- a/lightning/package.json
+++ b/lightning/package.json
@@ -1,30 +1,30 @@
{
- "name": "lightning",
- "scripts": {
- "dev": "solid-start dev",
- "build": "solid-start build",
- "start": "solid-start start"
- },
- "type": "module",
- "devDependencies": {
- "@types/node": "^18.11.18",
- "esbuild": "^0.14.54",
- "postcss": "^8.4.21",
- "solid-start-node": "^0.2.19",
- "typescript": "^4.9.4",
- "vite": "^4.1.4"
- },
- "dependencies": {
- "@solidjs/meta": "^0.28.2",
- "@solidjs/router": "^0.8.2",
- "mapbox-gl": "npm:empty-npm-package@1.0.0",
- "maplibre-gl": "^2.4.0",
- "solid-js": "^1.7.2",
- "solid-map-gl": "^1.7.2",
- "solid-start": "^0.2.26",
- "undici": "^5.15.1"
- },
- "engines": {
- "node": ">=16.8"
- }
-}
\ No newline at end of file
+ "name": "lightning",
+ "scripts": {
+ "dev": "solid-start dev",
+ "build": "solid-start build",
+ "start": "solid-start start"
+ },
+ "type": "module",
+ "devDependencies": {
+ "@types/node": "^18.11.18",
+ "esbuild": "^0.14.54",
+ "postcss": "^8.4.21",
+ "solid-start-node": "^0.2.19",
+ "typescript": "^4.9.4",
+ "vite": "^4.1.4"
+ },
+ "dependencies": {
+ "@solidjs/meta": "^0.28.2",
+ "@solidjs/router": "^0.8.2",
+ "mapbox-gl": "npm:empty-npm-package@1.0.0",
+ "maplibre-gl": "^2.4.0",
+ "solid-js": "^1.7.2",
+ "solid-map-gl": "^1.7.2",
+ "solid-start": "^0.2.26",
+ "undici": "^5.15.1"
+ },
+ "engines": {
+ "node": ">=16.8"
+ }
+}
diff --git a/lightning/public/5Q14.gif b/lightning/public/5Q14.gif
new file mode 100644
index 0000000..971fcea
Binary files /dev/null and b/lightning/public/5Q14.gif differ
diff --git a/lightning/src/components/Counter.css b/lightning/src/components/Counter.css
new file mode 100644
index 0000000..8bd0eb3
--- /dev/null
+++ b/lightning/src/components/Counter.css
@@ -0,0 +1,20 @@
+.increment {
+ font-family: inherit;
+ font-size: inherit;
+ padding: 1em 2em;
+ color: #335d92;
+ background-color: rgba(68, 107, 158, 0.1);
+ border-radius: 2em;
+ border: 2px solid rgba(68, 107, 158, 0);
+ outline: none;
+ width: 200px;
+ font-variant-numeric: tabular-nums;
+}
+
+.increment:focus {
+ border: 2px solid #335d92;
+}
+
+.increment:active {
+ background-color: rgba(68, 107, 158, 0.2);
+}
\ No newline at end of file
diff --git a/lightning/src/components/Counter.tsx b/lightning/src/components/Counter.tsx
new file mode 100644
index 0000000..55a4e67
--- /dev/null
+++ b/lightning/src/components/Counter.tsx
@@ -0,0 +1,11 @@
+import { createSignal } from "solid-js";
+import "./Counter.css";
+
+export default function Counter() {
+ const [count, setCount] = createSignal(0);
+ return (
+
+ );
+}
diff --git a/lightning/src/entry-server.tsx b/lightning/src/entry-server.tsx
index 86898c9..a796995 100644
--- a/lightning/src/entry-server.tsx
+++ b/lightning/src/entry-server.tsx
@@ -1,9 +1,9 @@
import {
- createHandler,
- renderAsync,
- StartServer,
+ createHandler,
+ renderAsync,
+ StartServer,
} from "solid-start/entry-server";
export default createHandler(
- renderAsync((event) =>
- Visit{" "} - - start.solidjs.com - {" "} - to learn how to build SolidStart apps. -
-+ Visit{" "} + + start.solidjs.com + {" "} + to learn how to build SolidStart apps. +
+Click and drag to watch me explode!