File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 1
1
import { clsx } from "clsx"
2
- import { Tag } from "@/app/conf/_design-system/tag"
3
2
import NextLink from "next/link"
4
3
5
4
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 "
7
6
8
7
import { BlogTags } from "./blog-tags"
9
- import { arrowsMoveSideways } from "@/app/conf/_design-system/utils/arrows-move-sideways "
8
+ import { BlogCardPicture } from "./blog-card-picture "
10
9
11
10
export interface BlogCardProps extends React . HTMLAttributes < HTMLElement > {
12
11
frontMatter : {
@@ -55,16 +54,6 @@ export function BlogCard({
55
54
)
56
55
}
57
56
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
-
68
57
export function BlogCardArrow ( { className } : { className ?: string } ) {
69
58
return (
70
59
< div className = { className } >
You can’t perform that action at this time.
0 commit comments