From 6402001a8d9f92554d587864061ad25ea1ab9566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 14 May 2022 21:37:14 +0200 Subject: [PATCH] thurtle: Move about text to header --- src/web/thurtle/thurtle.tsx | 19 +++++++++++++++---- tsconfig.json | 1 + 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/web/thurtle/thurtle.tsx b/src/web/thurtle/thurtle.tsx index 7d38dc8..5abea7e 100644 --- a/src/web/thurtle/thurtle.tsx +++ b/src/web/thurtle/thurtle.tsx @@ -6,6 +6,15 @@ import logo from "../../../doc/logo.svg"; import thurtleFS from "./thurtle.fs"; import examples from "./examples"; +function About() { + return ( + <> + Interactive, Logo-like Turtle graphics language, using Forth (powered by{" "} + WAForth) + + ); +} + const rootEl = (
-
+
diff --git a/tsconfig.json b/tsconfig.json index c0a0f70..57c890b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "target": "es2015", "jsx": "react", "jsxFactory": "jsx.createElement", + "jsxFragmentFactory": "jsx.createFragment", "typeRoots": ["./src/web/types"], "types": ["node"], "baseUrl": "./src/web",