Lansman videosu (Remotion) projesi eklendi

video/ ayrı bir Remotion projesi; Docker imajı, ESLint ve tsc kapsamı dışında.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bilalgursen
2026-10-04 14:00:33 +03:00
parent 9c02b810e7
commit d2359d3f3a
55 changed files with 7492 additions and 1 deletions

38
video/src/fontlar.ts Normal file
View File

@@ -0,0 +1,38 @@
import { loadFont as yerelFont } from "@remotion/fonts";
import { loadFont as bricolageYukle } from "@remotion/google-fonts/BricolageGrotesque";
import { loadFont as calSansYukle } from "@remotion/google-fonts/CalSans";
import { staticFile } from "remotion";
// Sitenin dört yazı tipinden üçü (DESIGN.md §3): Cal Sans başlık ve iri sayı,
// Clarity City gövde/buton, Bricolage vurgu. Geist Mono arayüzde yok.
const cal = calSansYukle("normal", {
weights: ["400"],
subsets: ["latin", "latin-ext"],
});
const bricolage = bricolageYukle("normal", {
weights: ["300", "400", "600", "700", "800"],
subsets: ["latin", "latin-ext"],
});
const CLARITY = "Clarity City";
for (const [dosya, agirlik] of [
["Regular", "400"],
["Medium", "500"],
["SemiBold", "600"],
["Bold", "700"],
["ExtraBold", "800"],
] as const) {
yerelFont({
family: CLARITY,
url: staticFile(`fonts/ClarityCity-${dosya}.woff2`),
weight: agirlik,
});
}
export const FONT = {
/** Cal Sans yalnız 400; site `font-bold` ile sentetik kalınlık kullanıyor,
* video da aynı görünsün diye başlıklarda fontWeight 700 verilir. */
baslik: cal.fontFamily,
govde: CLARITY,
vurgu: bricolage.fontFamily,
} as const;