Refactor font loading functions to implement caching for improved performance. The loadSiteOgFonts and loadRehberOgFonts functions now utilize promises to prevent redundant loading, enhancing efficiency. Additionally, minor adjustments were made to ensure consistent font data structure and style definitions.
All checks were successful
Deploy / deploy (push) Successful in 7m1s

This commit is contained in:
bilalgursen
2026-08-01 18:58:27 +03:00
parent b3dd36fa72
commit ff66480227
17 changed files with 601 additions and 81 deletions

View File

@@ -0,0 +1,18 @@
import {
createOgSayfaImage,
OG_CONTENT_TYPE,
OG_SIZE,
} from "@/lib/og-sayfa";
export const alt = "Tercih Rehberi 2026 — YKS tercih dönemi yazıları — KolayTercih";
export const size = OG_SIZE;
export const contentType = OG_CONTENT_TYPE;
export default async function Image() {
return createOgSayfaImage({
eyebrow: "Rehber",
title: "YKS tercih dönemi rehberi",
description:
"Tercih listesi, ölü tercih, ek yerleştirme ve sıralama — öğrenci diliyle",
});
}