Skip to content

Commit

Permalink
fix: title next/head로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchaehyun committed Dec 7, 2023
1 parent 3d4f844 commit eb73a97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { globalStyle, style } from "@vanilla-extract/css";
import { style } from "@vanilla-extract/css";

import { flex } from "../../../design-system/tokens/utils.css";

Expand All @@ -10,7 +10,4 @@ const badgeGroupLayout = style([
},
]);

globalStyle(`${badgeGroupLayout} a`, {
textDecoration: "underline",
});
export default badgeGroupLayout;
8 changes: 8 additions & 0 deletions packages/frontend/src/pages/_app.page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import "../design-system/styles/global.css";

import type { AppProps } from "next/app";
import Head from "next/head";
import React from "react";

import "react-toastify/dist/ReactToastify.min.css";
Expand All @@ -16,6 +17,13 @@ export default function App({ Component, pageProps }: AppProps) {
return (
<>
<React.StrictMode>
<Head>
<title>Git Challenge</title>
<meta
name="description"
content="Git Challenge는 Git에 대한 문제를 실제 상황처럼 구현된 환경에서 학습할 수 있는 서비스입니다. 실제 프로젝트나 시나리오에서 발생할 수 있는 다양한 상황들을 경험하고 실전에서 해결할 수 있도록 도움을 드리는 것을 목표로 하고 있습니다."
/>
</Head>
<Layout>
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
<Component {...pageProps} />
Expand Down
1 change: 0 additions & 1 deletion packages/frontend/src/pages/_document.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default function Document() {
return (
<Html data-theme="light" lang="en">
<Head>
<title>Git Challenge</title>
<link
rel="apple-touch-icon"
sizes="180x180"
Expand Down

0 comments on commit eb73a97

Please sign in to comment.