From bb2e8c150ca582fd65628504d3cdda69202a4b2b Mon Sep 17 00:00:00 2001 From: Danny Cho Date: Wed, 6 Dec 2023 10:22:00 +1300 Subject: [PATCH] feat:initial navigation and recompose testing --- src/App/Landing.jsx | 1 + src/App/Main.jsx | 1 + src/HelloWorld.jsx | 9 ++++++++- src/RootContent.jsx | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/App/Landing.jsx create mode 100644 src/App/Main.jsx create mode 100644 src/RootContent.jsx diff --git a/src/App/Landing.jsx b/src/App/Landing.jsx new file mode 100644 index 0000000..81bfe50 --- /dev/null +++ b/src/App/Landing.jsx @@ -0,0 +1 @@ +return

Landing Page!

; diff --git a/src/App/Main.jsx b/src/App/Main.jsx new file mode 100644 index 0000000..411272f --- /dev/null +++ b/src/App/Main.jsx @@ -0,0 +1 @@ +return

Main Page

; diff --git a/src/HelloWorld.jsx b/src/HelloWorld.jsx index 984a7ca..b431360 100644 --- a/src/HelloWorld.jsx +++ b/src/HelloWorld.jsx @@ -1 +1,8 @@ -return

Hello world!

; +return ( + <> +

Hello world

+ Click here to navigate to landing page + Click here to navigate to main page + + +); diff --git a/src/RootContent.jsx b/src/RootContent.jsx new file mode 100644 index 0000000..23d6431 --- /dev/null +++ b/src/RootContent.jsx @@ -0,0 +1,3 @@ +return ( +

Something to display as root content

+); \ No newline at end of file