From ae65581901984fe35eabf4c2f5a85b0ea6d998fa Mon Sep 17 00:00:00 2001 From: SeieunYoo <101736358+SeieunYoo@users.noreply.github.com> Date: Sun, 24 Nov 2024 23:34:41 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EB=84=A4=EB=B9=84=EA=B2=8C=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EB=B0=8F=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95=20(#181)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: action/checkout 버전업 * feat: 초기 설정 및 overview 페이지 마크업 * feat: 필요없는 파일 삭제, panda preset 에 textStyle 추가 * feat: build-docs 액션 추가 * feat: 타이포 추가 * feat: 액션 삭제 * feat: styled-system 반영 * feat: wow-ui에도 반영 * chore: changset 추가 * feat: title 컴포넌트 생성 및 디자인 수정 * fix: font-family 명 수정 * fix: 페이지 라우팅 경로 수정 * feat: components 절대경로 추가, Text 컴포넌트 위치 변경 * feat: 사이드 바 완성 * feat: 네비게이션 바 * feat: components 경로 panda config에 추가, constant 절대경로 추가 --- apps/wow-docs/app/overview/page.tsx | 3 +-- apps/wow-docs/app/page.tsx | 3 +-- apps/wow-docs/components/NavItem.tsx | 2 +- apps/wow-docs/constants/routePath.ts | 5 +++++ apps/wow-docs/panda.config.ts | 2 +- apps/wow-docs/tsconfig.json | 3 ++- 6 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 apps/wow-docs/constants/routePath.ts diff --git a/apps/wow-docs/app/overview/page.tsx b/apps/wow-docs/app/overview/page.tsx index b9f65bcf..4eea568f 100644 --- a/apps/wow-docs/app/overview/page.tsx +++ b/apps/wow-docs/app/overview/page.tsx @@ -1,12 +1,11 @@ import Space from "@components/Space"; import Text from "@components/Text"; +import { routePath } from "@constants/routePath"; import { css } from "@styled-system/css"; import Image from "next/image"; import Link from "next/link"; import { RightArrow } from "wowds-icons"; -import { routePath } from "@/constants/routePath"; - import OverviewBackgroundImage from "../../public/overview-background.png"; const OverviewPage = () => { diff --git a/apps/wow-docs/app/page.tsx b/apps/wow-docs/app/page.tsx index fcdbaad2..1f4df605 100644 --- a/apps/wow-docs/app/page.tsx +++ b/apps/wow-docs/app/page.tsx @@ -1,7 +1,6 @@ +import { routePath } from "@constants/routePath"; import { redirect } from "next/navigation"; -import { routePath } from "@/constants/routePath"; - const Home = () => { return redirect(routePath.overview); }; diff --git a/apps/wow-docs/components/NavItem.tsx b/apps/wow-docs/components/NavItem.tsx index 85b1f3d5..8e2ac0c3 100644 --- a/apps/wow-docs/components/NavItem.tsx +++ b/apps/wow-docs/components/NavItem.tsx @@ -61,7 +61,7 @@ const NavItem = ({ href, icon: Icon, alt, label, children }: NavItemProps) => {