import type { BuilderScreen } from "@/lib/admin/builder/types";
import {
  buildDefaultHeader,
  buildDefaultTitle,
  buildDefaultSubtitle,
  buildDefaultBottomActionButton,
  buildDefaultNavigation,
  buildDefaultSpecialOfferText,
  buildDefaultSpecialOfferAdvantages,
} from "./blocks";

export function buildSpecialOfferDefaults(id: string): BuilderScreen {
  return {
    id,
    template: "specialOffer",
    header: buildDefaultHeader({
      showProgress: false,
    }),
    title: buildDefaultTitle({
      show: false,
    }),
    subtitle: buildDefaultSubtitle({
      show: false,
    }),
    text: buildDefaultSpecialOfferText(),
    advantages: buildDefaultSpecialOfferAdvantages(),
    bottomActionButton: buildDefaultBottomActionButton({
      text: "GET {{trialPeriod}} TRIAL",
    }),
    navigation: buildDefaultNavigation(),
  } as BuilderScreen;
}
