diff --git a/public/fonts/PretendardVariable.ttf b/public/fonts/PretendardVariable.ttf new file mode 100644 index 0000000..32b0811 Binary files /dev/null and b/public/fonts/PretendardVariable.ttf differ diff --git a/public/fonts/PretendardVariable.woff2 b/public/fonts/PretendardVariable.woff2 new file mode 100644 index 0000000..49c54b5 Binary files /dev/null and b/public/fonts/PretendardVariable.woff2 differ diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 2463024..d6d39ca 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,13 +1,11 @@ -import { Inter } from 'next/font/google'; +// import { Inter } from 'next/font/google'; import Image from 'next/image'; -const inter = Inter({ subsets: ['latin'] }); +// const inter = Inter({ subsets: ['latin'] }); export default function Home() { return ( -
+

Get started by editing  @@ -18,10 +16,8 @@ export default function Home() { className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0" href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" target="_blank" - rel="noopener noreferrer" - > - By - {' '} + rel="noopener noreferrer"> + By{' '} Vercel Logo

@@ -50,11 +45,9 @@ export default function Home() { href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" target="_blank" - rel="noopener noreferrer" - > + rel="noopener noreferrer">

- Docs - {' '} + Docs{' '} -> @@ -68,11 +61,9 @@ export default function Home() { href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" target="_blank" - rel="noopener noreferrer" - > + rel="noopener noreferrer">

- Learn - {' '} + Learn{' '} -> @@ -86,16 +77,14 @@ export default function Home() { href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" target="_blank" - rel="noopener noreferrer" - > + rel="noopener noreferrer">

- Templates - {' '} + Templates{' '} ->

-

+

Discover and deploy boilerplate example Next.js projects.

@@ -104,11 +93,9 @@ export default function Home() { href="https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app" className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30" target="_blank" - rel="noopener noreferrer" - > + rel="noopener noreferrer">

- Deploy - {' '} + Deploy{' '} -> diff --git a/src/styles/globals.css b/src/styles/globals.css index 875c01e..1dde46c 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -2,6 +2,25 @@ @tailwind components; @tailwind utilities; + + +@font-face { + font-family: 'Pretendard'; + src: url('/fonts/PretendardVariable.woff2') format('woff2'), + url('/fonts/PretendardVariable.ttf') format('ttf'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + + + :root { --foreground-rgb: 0, 0, 0; --background-start-rgb: 214, 219, 220; @@ -18,16 +37,19 @@ body { color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, + background: linear-gradient(to bottom, transparent, - rgb(var(--background-end-rgb)) - ) - rgb(var(--background-start-rgb)); + rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb)); + +} + +body { + font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, Roboto, + Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; } @layer utilities { .text-balance { text-wrap: balance; } -} +} \ No newline at end of file