Skip to content
Snippets Groups Projects
Commit 40cd3722 authored by Matt Kirby's avatar Matt Kirby
Browse files

Simplified feed page

parent c52191c3
No related branches found
No related tags found
1 merge request!8create "Basic components"
......@@ -16,7 +16,7 @@ const Post:FC<PropsWithChildren<PostProps>> = ({
<>
<div className="flex w-full py-4 flex-col">
<div className="flex m-2 items-center bg-white">
<div className="flex m-2 items-center">
<div className="flex h-12 w-12 max-w-xs items-center justify-center rounded-full bg-c-pink text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-pink-400 mr-2">
<img className="h-12 w-12 rounded-full" src={post.User.Avatar} alt="" />
</div>
......@@ -30,17 +30,10 @@ const Post:FC<PropsWithChildren<PostProps>> = ({
</div>
<div className="flex-1 rounded-3xl bg-c-pink font-white md:ml-16">
<div className="m-2 text-sm px-2 font-bold text-c-green">
This is my amazing question of the day?
</div>
<div className="flex-1 rounded-3xl font-white md:ml-16">
<AnswerCard post={post}/>
</div>
<div className="md:ml-16 m-2">
</div>
</div>
......
......@@ -26,12 +26,6 @@ const Feed = () => {
<div className={`p-8 bg-c-pink`}>
<h1 className="text-4xl font-bold tracking-tight text-c-green text-center">This is my question of the day</h1>
</div>
<p className="text-c-green">Most recent answer</p>
<div className="rounded-full my-4 w-xl">
<div className="flex w-full justify-center flex-col items-center mx-auto p-3 sm:px-6 lg:px-8 max-w-4xl">
<AnswerCard post={{User: user, Content: "This is my post"}}/>
</div>
</div>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment