Skip to content

Commit 1381d13

Browse files
committed
wip
1 parent e2641c0 commit 1381d13

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { clsx } from "clsx"
2+
3+
export function BlogCardPicture({
4+
children,
5+
className,
6+
}: {
7+
children?: React.ReactNode
8+
className?: string
9+
}) {
10+
return <div className={clsx("bg-neu-50 p-4", className)}>{children}</div>
11+
}

src/components/blog-page/blog-card.tsx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { clsx } from "clsx"
2-
import { Tag } from "@/app/conf/_design-system/tag"
32
import NextLink from "next/link"
43

54
import ArrowDown from "@/app/conf/_design-system/pixelarticons/arrow-down.svg?svgr"
6-
import { Button } from "@/app/conf/_design-system/button"
5+
import { arrowsMoveSideways } from "@/app/conf/_design-system/utils/arrows-move-sideways"
76

87
import { BlogTags } from "./blog-tags"
9-
import { arrowsMoveSideways } from "@/app/conf/_design-system/utils/arrows-move-sideways"
8+
import { BlogCardPicture } from "./blog-card-picture"
109

1110
export interface BlogCardProps extends React.HTMLAttributes<HTMLElement> {
1211
frontMatter: {
@@ -55,16 +54,6 @@ export function BlogCard({
5554
)
5655
}
5756

58-
export function BlogCardPicture({
59-
children,
60-
className,
61-
}: {
62-
children?: React.ReactNode
63-
className?: string
64-
}) {
65-
return <div className={clsx("bg-neu-50 p-4", className)}>{children}</div>
66-
}
67-
6857
export function BlogCardArrow({ className }: { className?: string }) {
6958
return (
7059
<div className={className}>

0 commit comments

Comments
 (0)