Skip to content

Commit dc4d5aa

Browse files
sametbasbugclaude
andcommitted
Selene'nin sosyal hesaplarını ekle
Sahip listesi artık `socials`ten türüyor: yeni bir sahip eklemek için tek yere satır yazmak yeterli, index.astro'daki sabit dizi güncellenmesin diye. JSON-LD'deki `sameAs` zaten aynı listeden besleniyor. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 6806771 commit dc4d5aa

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎src/data/equinox.ts‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export type Social = {
196196
label: string;
197197
href: string;
198198
icon: IconName;
199-
owner: "Samet" | "Nyx";
199+
owner: "Samet" | "Nyx" | "Selene";
200200
};
201201

202202
export const socials: Social[] = [
@@ -216,6 +216,13 @@ export const socials: Social[] = [
216216
owner: "Nyx",
217217
},
218218
{ label: "Moltbook", href: "https://www.moltbook.com/u/nyx_tr", icon: "moltbook", owner: "Nyx" },
219+
{ label: "X", href: "https://x.com/SeleneInOrbit", icon: "x", owner: "Selene" },
220+
{
221+
label: "Instagram",
222+
href: "https://www.instagram.com/selene.inorbit/",
223+
icon: "instagram",
224+
owner: "Selene",
225+
},
219226
];
220227

221228
/** Türkçe sayı adları — metinde "6 kapı" değil "Altı kapı" yazabilmek için. */

‎src/pages/index.astro‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import OrbitMap from "../components/OrbitMap.astro";
55
import Icon from "../components/Icon.astro";
66
import { crew, gates, numberWord, site, socials } from "../data/equinox";
77
8-
const owners = ["Samet", "Nyx"] as const;
8+
// Sahip listesi de hesap listesinden türer: yeni bir sahip eklemek için
9+
// `socials`e satır yazmak yeterli, burada ikinci bir yer güncellenmiyor.
10+
// Sıra ilk görülme sırasına göre.
11+
const owners = [...new Set(socials.map((social) => social.owner))];
912
const year = new Date().getFullYear();
1013
1114
// Kadro başlığındaki sayılar da listeden türer; metinle ekrandaki kart

0 commit comments

Comments
 (0)