import { site } from "@/config/site";

export const BLOG_AUTHORS = {
  advance: {
    name: "Advance Manufacturers",
    avatar: site.blog.authorAvatar,
    // role/bio are localized via i18n (BlogPage.authors.<id>.role / .bio)
  },
} as const;

export type AuthorId = keyof typeof BLOG_AUTHORS;

export function isAuthorId(value: string): value is AuthorId {
  return value in BLOG_AUTHORS;
}
