/*
 * SPDX-FileCopyrightText: 2024 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 */

import Head from '@docusaurus/Head';

import SiteMetadata from '@theme-original/SiteMetadata';

import fontURL from '@site/src/fonts/recursive-latin.woff2?url';

export default function SiteMetadataWrapper(props) {
  return (
    <>
      <Head>
        <link
          rel="preload"
          href={fontURL}
          as="font"
          type="font/woff2"
          crossOrigin="anonymous"
        />
      </Head>
      <SiteMetadata {...props} />
    </>
  );
}
