This commit is contained in:
rei
2022-12-28 20:24:15 +01:00
parent bc51e625b4
commit e3d98b4e32
7 changed files with 128 additions and 9 deletions

View File

@@ -4,11 +4,12 @@ import { BlogPost, getAllFilesFrontMatter } from "../../utils/markdown";
import { FrontMatter } from "../../types/types";
import Link from "next/link";
interface BasicBlogProps extends FrontMatter {
export interface BasicBlogProps extends FrontMatter {
title: string;
description: string;
date: string;
author: string;
authorLink: string;
}
const BlogCard = ({ blog, slug }: { blog: BasicBlogProps; slug: string }) => {