Skip to content

Commit 1d97305

Browse files
committed
fix(web): Font component usage in copy-paste components layout
1 parent 598fe95 commit 1d97305

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

apps/web/components/_components/layout.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,27 @@ export const Layout = ({
2424
fontStyle="normal"
2525
fontWeight={400}
2626
webFont={{
27-
url: "https://fonts.googleapis.com/css2?family=Inter&display=swap",
27+
url: "https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2",
28+
format: "woff2",
29+
}}
30+
/>
31+
<Font
32+
fallbackFontFamily="Helvetica"
33+
fontFamily="Inter"
34+
fontStyle="normal"
35+
fontWeight={600}
36+
webFont={{
37+
url: "https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_fjbvMwCp50PDca1ZL7.woff2",
38+
format: "woff2",
39+
}}
40+
/>
41+
<Font
42+
fallbackFontFamily="Helvetica"
43+
fontFamily="Inter"
44+
fontStyle="normal"
45+
fontWeight={700}
46+
webFont={{
47+
url: "https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_fjbvMwCp50BTca1ZL7.woff2",
2848
format: "woff2",
2949
}}
3050
/>

0 commit comments

Comments
 (0)