import type { SectionTitleContent } from "@/data/home/types";

/** Anchor IDs align with index-onepage.html section ids (e.g. #Pricing). */
export const onepageAnchors = {
  solutions: "Solutions",
  pricing: "Pricing",
  testimonial: "Testimonial",
  news: "News",
} as const;

export type OnepageSectionIntro = SectionTitleContent & { anchorId?: string };

export const onepageHeroIntro: OnepageSectionIntro = {
  title: "One-page landing",
  description: "Mapped from index-onepage.html — scroll sections with in-page anchors.",
  anchorId: undefined,
};

export const onepagePricingIntro: OnepageSectionIntro = {
  ...{
    eyebrow: "Pricing",
    title: "Plans on a single page",
    description: "Same pricing content pattern as the multi-page site.",
  },
  anchorId: onepageAnchors.pricing,
};
