Enable KeyStatic CMS for production
Changes: - Added Netlify adapter for server-side rendering - Changed output mode from static to server - Updated KeyStatic storage from local to GitHub - Removed SKIP_KEYSTATIC from Netlify build - KeyStatic Admin UI will be available at /keystatic Features: - Server-side rendering with Netlify Functions - GitHub integration for content management - Production-ready KeyStatic Admin UI Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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 $$Headline } from './Headline_ClseMP2_.mjs';
|
||||
import { $ as $$ItemGrid } from './ItemGrid_D66zVols.mjs';
|
||||
import { $ as $$WidgetWrapper } from './WidgetWrapper_C6M78dTL.mjs';
|
||||
import { $ as $$Image } from './Image_vHu_ShFT.mjs';
|
||||
|
||||
const $$Astro = createAstro("https://www.radio.org.tr");
|
||||
const $$Features3 = createComponent(async ($$result, $$props, $$slots) => {
|
||||
const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
|
||||
Astro2.self = $$Features3;
|
||||
const {
|
||||
title = await Astro2.slots.render("title"),
|
||||
subtitle = await Astro2.slots.render("subtitle"),
|
||||
tagline = await Astro2.slots.render("tagline"),
|
||||
image,
|
||||
items = [],
|
||||
columns,
|
||||
defaultIcon,
|
||||
isBeforeContent,
|
||||
isAfterContent,
|
||||
id,
|
||||
isDark = false,
|
||||
classes = {},
|
||||
bg = await Astro2.slots.render("bg")
|
||||
} = Astro2.props;
|
||||
return renderTemplate`${renderComponent($$result, "WidgetWrapper", $$WidgetWrapper, { "id": id, "isDark": isDark, "containerClass": `${isBeforeContent ? "md:pb-8 lg:pb-12" : ""} ${isAfterContent ? "pt-0 md:pt-0 lg:pt-0" : ""} ${classes?.container ?? ""}`, "bg": bg }, { "default": async ($$result2) => renderTemplate` ${renderComponent($$result2, "Headline", $$Headline, { "title": title, "subtitle": subtitle, "tagline": tagline, "classes": classes?.headline })} ${maybeRenderHead()}<div aria-hidden="true" class="aspect-w-16 aspect-h-7"> ${image && renderTemplate`<div class="w-full h-80 object-cover rounded-xl mx-auto bg-gray-500 shadow-lg"> ${typeof image === "string" ? renderTemplate`${renderComponent($$result2, "Fragment", Fragment, {}, { "default": async ($$result3) => renderTemplate`${unescapeHTML(image)}` })}` : renderTemplate`${renderComponent($$result2, "Image", $$Image, { "class": `w-full h-80 object-cover rounded-xl mx-auto shadow-lg ${image.alt?.toLowerCase().includes("logo") || image.src?.includes("logo") ? "bg-transparent" : "bg-gray-500"}`, "width": "auto", "height": 320, "widths": [400, 768], "layout": "fullWidth", ...image })}`} </div>`} </div> ${renderComponent($$result2, "ItemGrid", $$ItemGrid, { "items": items, "columns": columns, "defaultIcon": defaultIcon, "classes": {
|
||||
container: "mt-12",
|
||||
panel: "max-w-full sm:max-w-md",
|
||||
title: "text-lg font-semibold",
|
||||
description: "mt-0.5",
|
||||
icon: "flex-shrink-0 mt-1 text-primary w-6 h-6",
|
||||
...classes?.items ?? {}
|
||||
} })} ` })}`;
|
||||
}, "/Users/bugracanata/Developer/[Telsiz]/ARC-Web-Sitesi/src/components/widgets/Features3.astro", void 0);
|
||||
|
||||
export { $$Features3 as $ };
|
||||
Reference in New Issue
Block a user