From b5cb97d4aa02e3e3eacf3a27da4547a84d746ada Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Sat, 11 Mar 2023 21:41:01 +0000 Subject: [PATCH] Added feedpage --- daily-thought-frontend/src/pages/feed.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 daily-thought-frontend/src/pages/feed.tsx diff --git a/daily-thought-frontend/src/pages/feed.tsx b/daily-thought-frontend/src/pages/feed.tsx new file mode 100644 index 00000000..fda8cd9d --- /dev/null +++ b/daily-thought-frontend/src/pages/feed.tsx @@ -0,0 +1,22 @@ +import HiddenPost from "@/components/post/HiddenPost"; +import Post from "@/components/post/Post"; + +const Feed = () => { + + let colors = ["#ffd0d2","#fffdd0","#d0fffd","#d0d2ff"]; + + return ( + <div> + <Post + User={{FirstName: "John", LastName: "Smith", Username: "JohnSmith", Avatar: null, Colors: [colors[0], colors[1]]}} + Likes={[]} + Post="This is my amazing post" + TimeStamp='Just now' + /> + + <HiddenPost UserColors={colors}/> + </div> + ) +} + +export default Feed; \ No newline at end of file -- GitLab