added color accents to cards, underlines to subheaders
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Has been cancelled
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Has been cancelled
Build and Release Docker Images / create-release (push) Has been cancelled
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Has been cancelled
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Has been cancelled
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Has been cancelled
Build and Release Docker Images / create-release (push) Has been cancelled
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Has been cancelled
This commit is contained in:
1 parent
fb071df6e4
commit
82cf30447b
6 files changed
+38
-15
No files matched your search
@@ -3,15 +3,19 @@ import { Post } from "../types/index.ts";
|
||||
|
||||
interface PostOpts {
|
||||
posts: Post[];
|
||||
colorValue: string;
|
||||
}
|
||||
|
||||
export const PostCarousel = function PostCarousel({ posts }: PostOpts) {
|
||||
export const PostCarousel = function PostCarousel({
|
||||
posts,
|
||||
colorValue,
|
||||
}: PostOpts) {
|
||||
return (
|
||||
<div className="flex w-full justify-start items-start bg-[#313244] p-8">
|
||||
<div className="max-w-7xl mx-auto">
|
||||
<div className="flex flex-wrap justify-center gap-3">
|
||||
{posts.map((post: Post) => (
|
||||
<PostCard key={post.post_id} post={post} />
|
||||
<PostCard key={post.post_id} post={post} colorValue={colorValue} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user