Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/fonts/inter-v19-latin-100.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-100italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-200.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-200italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-300.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-300italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-500.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-500italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-600.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-600italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-700.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-700italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-800.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-800italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-900.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-900italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-italic.woff2
Binary file not shown.
Binary file added public/fonts/inter-v19-latin-regular.woff2
Binary file not shown.
30 changes: 26 additions & 4 deletions src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,33 @@ export const Route = createRootRouteWithContext<{
},
{ rel: 'manifest', href: '/site.webmanifest', color: '#fffff' },
{ rel: 'icon', href: '/favicon.ico' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: '' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
rel: 'preload',
href: '/fonts/inter-v19-latin-regular.woff2',
as: 'font',
type: 'font/woff2',
crossOrigin: '',
},
{
rel: 'preload',
href: '/fonts/inter-v19-latin-700.woff2',
as: 'font',
type: 'font/woff2',
crossOrigin: '',
},
{
rel: 'preload',
href: '/fonts/inter-v19-latin-800.woff2',
as: 'font',
type: 'font/woff2',
crossOrigin: '',
},
{
rel: 'preload',
href: '/fonts/inter-v19-latin-900.woff2',
as: 'font',
type: 'font/woff2',
crossOrigin: '',
},
],
scripts: [
Expand Down
144 changes: 144 additions & 0 deletions src/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -531,3 +531,147 @@ mark {
/* svg g[aria-label='crosshair text'] {
stroke: none;
} */

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 100;
src: url('/fonts/inter-v19-latin-100.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 100;
src: url('/fonts/inter-v19-latin-100italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 200;
src: url('/fonts/inter-v19-latin-200.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 200;
src: url('/fonts/inter-v19-latin-200italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 300;
src: url('/fonts/inter-v19-latin-300.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 300;
src: url('/fonts/inter-v19-latin-300italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url('/fonts/inter-v19-latin-regular.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 400;
src: url('/fonts/inter-v19-latin-italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
src: url('/fonts/inter-v19-latin-500.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 500;
src: url('/fonts/inter-v19-latin-500italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: url('/fonts/inter-v19-latin-600.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 600;
src: url('/fonts/inter-v19-latin-600italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: url('/fonts/inter-v19-latin-700.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 700;
src: url('/fonts/inter-v19-latin-700italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 800;
src: url('/fonts/inter-v19-latin-800.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 800;
src: url('/fonts/inter-v19-latin-800italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: normal;
font-weight: 900;
src: url('/fonts/inter-v19-latin-900.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'Inter';
font-style: italic;
font-weight: 900;
src: url('/fonts/inter-v19-latin-900italic.woff2') format('woff2');
}
Loading