import { e as createAstro, c as createComponent, r as renderComponent, a as renderTemplate, m as maybeRenderHead, F as Fragment, u as unescapeHTML } from './astro/server_BfDhyAjM.mjs'; import 'kleur/colors'; import { $ as $$WidgetWrapper } from './WidgetWrapper_C6M78dTL.mjs'; import { $ as $$Headline } from './Headline_ClseMP2_.mjs'; import { b as $$Button } from './PageLayout_CDwIBOQs.mjs'; const $$Astro = createAstro("https://www.radio.org.tr"); const $$CallToAction = createComponent(async ($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$Astro, $$props, $$slots); Astro2.self = $$CallToAction; const { title = await Astro2.slots.render("title"), subtitle = await Astro2.slots.render("subtitle"), tagline = await Astro2.slots.render("tagline"), actions = await Astro2.slots.render("actions"), id, isDark = false, classes = {}, bg = await Astro2.slots.render("bg") } = Astro2.props; return renderTemplate`${renderComponent($$result, "WidgetWrapper", $$WidgetWrapper, { "id": id, "isDark": isDark, "containerClass": `max-w-6xl mx-auto ${classes?.container ?? ""}`, "bg": bg }, { "default": async ($$result2) => renderTemplate` ${maybeRenderHead()}
${renderComponent($$result2, "Headline", $$Headline, { "title": title, "subtitle": subtitle, "tagline": tagline, "classes": { container: "mb-0 md:mb-0", title: "text-4xl md:text-4xl font-bold tracking-tighter mb-4 font-heading", subtitle: "text-xl text-muted dark:text-slate-400" } })} ${actions && renderTemplate`
${Array.isArray(actions) ? actions.map((action) => renderTemplate`
${renderComponent($$result2, "Button", $$Button, { ...action || {}, "class": "w-full sm:mb-0" })}
`) : renderTemplate`${renderComponent($$result2, "Fragment", Fragment, {}, { "default": async ($$result3) => renderTemplate`${unescapeHTML(actions)}` })}`}
`}
` })}`; }, "/Users/bugracanata/Developer/[Telsiz]/ARC-Web-Sitesi/src/components/widgets/CallToAction.astro", void 0); export { $$CallToAction as $ };