import legacyHeroImage from './hero.png';

export const visualAssets = {
  hero: {
    /**
     * Use T03 public hero assets first so runtime matches the new visual pack.
     * Keep legacy/src fallback as a last resort to avoid broken hero rendering.
     */
    primary: '/assets/hero/hero-kitchen-light.svg',
    fallbacks: [
      '/assets/hero/hero-fresh-produce.svg',
      legacyHeroImage,
      '/assets/food/placeholder-recipe.svg',
    ],
    alt: 'Fresh ingredients and plated food',
  },
} as const;

export function heroImageChain(): string[] {
  return [visualAssets.hero.primary, ...visualAssets.hero.fallbacks];
}
