From 29dc79359a5bd85f492854c2bd6df320904dfdd2 Mon Sep 17 00:00:00 2001
From: Lizzy Hunt <elizabeth.hunt@simponic.xyz>
Date: Thu, 1 Feb 2024 22:48:49 -0700
Subject: itinerary

---
 src/scenes/itinerary.tsx | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 src/scenes/itinerary.tsx

(limited to 'src/scenes/itinerary.tsx')

diff --git a/src/scenes/itinerary.tsx b/src/scenes/itinerary.tsx
new file mode 100644
index 0000000..c480b7f
--- /dev/null
+++ b/src/scenes/itinerary.tsx
@@ -0,0 +1,25 @@
+import { Layout, Txt, makeScene2D } from "@motion-canvas/2d";
+import {
+  Direction,
+  beginSlide,
+  fadeTransition,
+  slideTransition,
+  waitFor,
+} from "@motion-canvas/core";
+import { theme } from "../theme";
+
+export default makeScene2D(function* (view) {
+  view.add(
+    <Layout layout direction="column" alignItems="center">
+      <Txt fontFamily={theme.font} fontSize={100} fill={theme.text.hex}>
+        Part One
+      </Txt>
+      <Txt fontFamily={theme.font} fill={theme.text.hex}>
+        Exploring the Functional Programming World
+      </Txt>
+    </Layout>
+  );
+
+  yield* slideTransition(Direction.Right);
+  yield* beginSlide("hi");
+});
-- 
cgit v1.3

