summaryrefslogtreecommitdiff
path: root/src/components/Title.tsx
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-07 20:45:47 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-07 20:45:47 -0700
commite6e29440563e33bb67e0ad51f9fb6c5c2c3fe809 (patch)
tree5deaee322ff1a039dc44a3cb52ecc48a671fda2a /src/components/Title.tsx
parent823620b2a6ebb7ece619991e47a37ad46542b69f (diff)
downloadthe-abstraction-engine-e6e29440563e33bb67e0ad51f9fb6c5c2c3fe809.tar.gz
the-abstraction-engine-e6e29440563e33bb67e0ad51f9fb6c5c2c3fe809.zip
level one (applications prototype finished!)
Diffstat (limited to 'src/components/Title.tsx')
-rw-r--r--src/components/Title.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/Title.tsx b/src/components/Title.tsx
new file mode 100644
index 0000000..99c7584
--- /dev/null
+++ b/src/components/Title.tsx
@@ -0,0 +1,17 @@
+export interface TitleProps {
+ setReady: (ready: boolean) => void;
+}
+
+export const Title = ({ setReady }: TitleProps) => {
+ return (
+ <div style={{ textAlign: "center" }}>
+ <h1>the abstraction engine</h1>
+ <p>a game based on the lambda calculus</p>
+
+ <br />
+ <hr />
+ <br />
+ <button onClick={() => setReady(true)}>ready</button>
+ </div>
+ );
+};