From 799784bb20c375eec53923e528cb31a7250f23c2 Mon Sep 17 00:00:00 2001 From: wish0ne Date: Sun, 17 Dec 2023 22:54:13 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=9B=B9=ED=8F=B0=ED=8A=B8=20?= =?UTF-8?q?=EA=B8=80=EB=A1=9C=EB=B2=8C=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/GlobalStyles.tsx | 2 ++ src/pages/index.tsx | 12 +----------- src/pages/posts/index.tsx | 6 +++++- src/pages/posts/{mdx.frontmatter__slug}.tsx | 6 ------ tsconfig.json | 3 ++- 5 files changed, 10 insertions(+), 19 deletions(-) diff --git a/src/components/GlobalStyles.tsx b/src/components/GlobalStyles.tsx index ea135fe..490cefd 100644 --- a/src/components/GlobalStyles.tsx +++ b/src/components/GlobalStyles.tsx @@ -3,6 +3,8 @@ import { Global, css } from "@emotion/react"; import { Link, type HeadFC, type PageProps } from "gatsby"; const globalStyles = css` + @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"); + html { font-size: 62.5%; background-color: #fbfbfb; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 33aa816..2e65dc8 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -239,14 +239,4 @@ export const query = graphql` export default HomePage; -export const Head: HeadFC = () => ( - <> - dev-wish.com - - -); +export const Head: HeadFC = () => dev-wish.com; diff --git a/src/pages/posts/index.tsx b/src/pages/posts/index.tsx index adcfef4..39079c2 100644 --- a/src/pages/posts/index.tsx +++ b/src/pages/posts/index.tsx @@ -41,4 +41,8 @@ const PostPage: React.FC = () => { export default PostPage; -export const Head: HeadFC = () => dev-wish.com; +export const Head = () => ( + <> + dev-wish.com + +); diff --git a/src/pages/posts/{mdx.frontmatter__slug}.tsx b/src/pages/posts/{mdx.frontmatter__slug}.tsx index a2a9af6..47c5723 100644 --- a/src/pages/posts/{mdx.frontmatter__slug}.tsx +++ b/src/pages/posts/{mdx.frontmatter__slug}.tsx @@ -253,12 +253,6 @@ export const query = graphql` export const Head = ({ data }: PageProps) => ( <> {data.mdx.frontmatter.title} - ); diff --git a/tsconfig.json b/tsconfig.json index ee2d383..ac56590 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -106,6 +106,7 @@ "./src/**/*", "./gatsby-node.ts", "./gatsby-config.ts", - "./plugins/**/*" + "./plugins/**/*", + "gatsby-browser.tsx" ] }