Skip to content

Commit 826c611

Browse files
committed
remove unused font
1 parent 102f1a0 commit 826c611

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import "./globals.css";
44
import "@/app/components/Navbar"
55
import Navbar from "./components/Navbar";
66

7-
// src: './fonts/futuraPT/FuturaCyrillicMedium.woff2'
8-
97
const futuraPT = localFont({
108
src: [
119
{

app/opengraph-image.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ export const size = {
99
}
1010

1111
export default async function OgImage() {
12-
const futurapt = await readFile(
13-
join(process.cwd(), 'app', 'fonts', 'FuturaPT', 'FuturaCyrillicMedium.ttf')
14-
);
15-
1612
const logoData = await readFile(
1713
join(process.cwd(), 'public', 'logo.png')
1814
);
@@ -35,15 +31,7 @@ export default async function OgImage() {
3531
</div>
3632
),
3733
{
38-
...size,
39-
fonts: [
40-
{
41-
name: 'FuturaPT',
42-
data: futurapt,
43-
style: 'normal',
44-
weight: 400
45-
}
46-
]
34+
...size
4735
}
4836
)
4937
}

0 commit comments

Comments
 (0)