export type LifePostImage = {
  src: string;
  alt: string;
  caption?: string;
  display?: "cover" | "original";
  align?: "left" | "center" | "right";
  width?: number;
  height?: number;
};

export type LifeContentBlock =
  | {
      type: "paragraph";
      text: string;
    }
  | ({
      type: "image";
    } & LifePostImage);

export type LifePost = {
  slug: string;
  date: string;
  title: string;
  description: string;
  content: LifeContentBlock[];
};
