mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-05-08 18:08:32 +00:00
Move font export from layout to seperated comp
This commit is contained in:
28
src/components/Vipnagorgialla.tsx
Normal file
28
src/components/Vipnagorgialla.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import localFont from 'next/font/local';
|
||||
|
||||
// Style 'only' has normal and italic for some reason.
|
||||
// It uses the weight to determine the style used.
|
||||
export const vipnagorgialla = localFont({
|
||||
src: [
|
||||
{
|
||||
path: '../app/fonts/vipnagorgialla/Vipnagorgialla-Rg.otf',
|
||||
weight: '400',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../app/fonts/vipnagorgialla/Vipnagorgialla-Rg-It.otf',
|
||||
weight: '400',
|
||||
style: 'italic',
|
||||
},
|
||||
{
|
||||
path: '../app/fonts/vipnagorgialla/Vipnagorgialla-Bd.otf',
|
||||
weight: '700',
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
path: '../app/fonts/vipnagorgialla/Vipnagorgialla-Bd-It.otf',
|
||||
weight: '700',
|
||||
style: 'italic',
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user