apps/web: add local font Inter

This commit is contained in:
vchikalkin 2023-11-20 12:37:57 +03:00
parent 773f1a355f
commit ec49ee4683
2 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,16 @@
import './globals.css';
import { Auth, Logo } from '@/components/layout';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import localFont from 'next/font/local';
import { Content, Header } from 'ui';
const inter = Inter({ subsets: ['latin'] });
const inter = localFont({
src: [
{
path: '../public/fonts/Inter/Inter-VariableFont_slnt,wght.ttf',
},
],
});
export const metadata: Metadata = {
description: 'External | Эволюция',