Skip to content

Commit 3a28fe2

Browse files
Update layout.tsx and Remove tailwind.config.ts
1 parent 0d710ce commit 3a28fe2

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

examples/nextjs/src/app/layout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const pretendard = localFont({
66
src: '../fonts/PretendardVariable.woff2',
77
display: 'swap',
88
weight: '45 920',
9-
variable: '--font-pretendard',
109
});
1110

1211
export const metadata: Metadata = {
@@ -21,7 +20,7 @@ export default function RootLayout({
2120
}>) {
2221
return (
2322
<html lang="ko">
24-
<body className={`${pretendard.variable} font-pretendard`}>
23+
<body className={`${pretendard.className}`}>
2524
{children}
2625
</body>
2726
</html>

examples/nextjs/tailwind.config.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)