diff --git a/src/app/blog/Card13.tsx b/src/app/blog/Card13.tsx new file mode 100644 index 0000000..826f21f --- /dev/null +++ b/src/app/blog/Card13.tsx @@ -0,0 +1,57 @@ +import React, { FC } from "react"; +import PostCardMeta from "@/components/PostCardMeta"; +import { PostDataType } from "@/data/types"; +import PostTypeFeaturedIcon from "@/components/PostTypeFeaturedIcon"; +import Link from "next/link"; +import Image from "next/image"; + +export interface Card13Props { + className?: string; + post: PostDataType; +} + +const Card13: FC = ({ className = "", post }) => { + const { title, href, desc, featuredImage, date, postType } = post; + + return ( +
+
+

+ + {title} + +

+ + {desc} + + + {date} + +
+ +
+
+ + + {title} + + +
+ ); +}; + +export default Card13; diff --git a/src/app/blog/layout.tsx b/src/app/blog/layout.tsx new file mode 100644 index 0000000..f628112 --- /dev/null +++ b/src/app/blog/layout.tsx @@ -0,0 +1,7 @@ +export default function DashboardLayout({ + children, // will be a page or nested layout +}: { + children: React.ReactNode; +}) { + return
{children}
; +}