import { Head } from "$fresh/runtime.ts"; import { Post } from "../types/index.ts"; import { convertUtc } from "../lib/convertUtc.ts"; export const PostHeader = function PostHeader({ post }: PostHeaderOpts) { return ( <> Wyatt J. Miller | {post.title}

{post.title}

by {post.first_name} {post.last_name} posted on{" "} {convertUtc(post.created_at)}

); }; export type PostHeaderOpts = { post: Post; };