import { dataJsonUrl } from "../config/site.js";

export let SOCIAL = [];

export async function loadSocial() {
  const r = await fetch(dataJsonUrl("social.json"), { cache: "no-store" });
  if (!r.ok) throw new Error("Sosyal verisi y???klenemedi");
  SOCIAL = await r.json();
}
