// Place any global data in this file.
// You can import this data from anywhere in your site by using the `import` keyword.

import { ACTIVE_BLOG_SITE } from "./blog-sites.js";

export const SITE_TITLE = ACTIVE_BLOG_SITE.title;
export const SITE_DESCRIPTION = ACTIVE_BLOG_SITE.description;
export const SITE_URL = ACTIVE_BLOG_SITE.url;

export const SITE_METADATA = {
  title: {
    default: SITE_TITLE,
    template: `%s | ${SITE_TITLE}`,
  },
  description: SITE_DESCRIPTION,
  keywords: ["Neeldhara", "blog", SITE_TITLE, "research", "writing"],
  authors: [{ name: "Neeldhara" }],
  creator: "Neeldhara",
  publisher: "Neeldhara",
  robots: {
    index: true,
    follow: true,
  },
  icons: {
    icon: [
      { url: "/favicon/favicon.ico", sizes: "48x48" },
      { url: "/favicon/favicon.svg", type: "image/svg+xml" },
      { url: "/favicon/favicon-96x96.png", sizes: "96x96", type: "image/png" },
      { url: "/favicon/favicon.svg", type: "image/svg+xml" },
      { url: "/favicon/favicon.ico" },
    ],
    apple: [{ url: "/favicon/apple-touch-icon.png", sizes: "180x180" }],
    shortcut: [{ url: "/favicon/favicon.ico" }],
  },
  openGraph: {
    title: SITE_TITLE,
    description: SITE_DESCRIPTION,
    siteName: SITE_TITLE,
    images: [
      {
        url: "/og-image.jpg",
        width: 1200,
        height: 630,
        alt: SITE_TITLE,
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: SITE_TITLE,
    description: SITE_DESCRIPTION,
    images: ["/og-image.jpg"],
    creator: "@neeldhara",
  },
};
