diff --git a/apps/landing/src/app/(detail)/docs/LeftMenu.tsx b/apps/landing/src/app/(detail)/docs/LeftMenu.tsx index fbc79520..ce3a5bec 100644 --- a/apps/landing/src/app/(detail)/docs/LeftMenu.tsx +++ b/apps/landing/src/app/(detail)/docs/LeftMenu.tsx @@ -4,7 +4,7 @@ export function LeftMenu() { return ( - + 개요 @@ -16,89 +16,89 @@ export function LeftMenu() { p="6px 10px" > - + 설치 - + 개념 - + - + 유틸리티 퍼스트 - + 하이브리드 접근 방식 - + 헤드리스 컴포넌트 - + 구성 요소 - + API - + - + 스타일이 지정됨 - + CSS - + 테마 - + - + 테마 사용자 정의 - + 테마 토큰 - + 중단점 - + 구성 요소 테마 diff --git a/apps/landing/src/app/(detail)/docs/RightIndex.tsx b/apps/landing/src/app/(detail)/docs/RightIndex.tsx index 72a633a3..02c6705e 100644 --- a/apps/landing/src/app/(detail)/docs/RightIndex.tsx +++ b/apps/landing/src/app/(detail)/docs/RightIndex.tsx @@ -5,7 +5,7 @@ export function RightIndex() { - + Contents @@ -13,7 +13,7 @@ export function RightIndex() { @@ -21,39 +21,34 @@ export function RightIndex() { - + General Guides - + Framework Guides - + Next Steps - + Playground - + Acknowledgement - + Edit this page - + Lorem ipsum dolor sit amet,
@@ -31,7 +31,7 @@ export default function HomePage() { className={css` text-decoration: none; `} - href="/docs/overview" + href={URL_PREFIX + '/docs/overview'} > Get started
- +
@@ -69,18 +69,18 @@ export default function HomePage() { - + - + Feature title - + Lorem ipsum dolor sit amet. @@ -88,18 +88,18 @@ export default function HomePage() { - + - + Feature title - + Lorem ipsum dolor sit amet. Etiam sit amet feugiat turpis. Proin nec ante a sem vestibulum sodales non ut ex. @@ -110,18 +110,18 @@ export default function HomePage() { - + - + Feature title - + Lorem ipsum dolor sit amet. Etiam sit amet feugiat turpis. Proin nec ante a sem vestibulum. @@ -130,18 +130,18 @@ export default function HomePage() { - + - + Feature title - + Lorem ipsum dolor sit amet. Etiam sit amet feugiat turpis. diff --git a/apps/landing/src/components/CodeBoard.tsx b/apps/landing/src/components/CodeBoard.tsx index a4665196..95179f0d 100644 --- a/apps/landing/src/components/CodeBoard.tsx +++ b/apps/landing/src/components/CodeBoard.tsx @@ -62,7 +62,7 @@ export function CodeBoard() { code menu @@ -70,7 +70,7 @@ export function CodeBoard() { @@ -80,7 +80,7 @@ export function CodeBoard() { diff --git a/apps/landing/src/components/Discord.tsx b/apps/landing/src/components/Discord.tsx index eb6690bf..0f2fde55 100644 --- a/apps/landing/src/components/Discord.tsx +++ b/apps/landing/src/components/Discord.tsx @@ -1,13 +1,13 @@ import { Center, css, Flex, Image, Text, VStack } from '@devup-ui/react' import Link from 'next/link' -import { IMAGE_PREFIX } from '../constants' +import { URL_PREFIX } from '../constants' export function Discord() { return (
@@ -39,7 +39,7 @@ export function Discord() { Join our Discord - + diff --git a/apps/landing/src/components/Footer.tsx b/apps/landing/src/components/Footer.tsx index f0feee84..34012645 100644 --- a/apps/landing/src/components/Footer.tsx +++ b/apps/landing/src/components/Footer.tsx @@ -1,12 +1,12 @@ import { Flex, Image, Text, VStack } from '@devup-ui/react' -import { IMAGE_PREFIX } from '../constants' +import { URL_PREFIX } from '../constants' export function Footer() { return ( - + 메뉴 타이틀 1 @@ -28,7 +28,7 @@ export function Footer() { - + 메뉴 타이틀 2 @@ -39,7 +39,7 @@ export function Footer() { 상세 메뉴 2 - + 메뉴 타이틀 3 @@ -59,7 +59,7 @@ export function Footer() { - white-logo + white-logo diff --git a/apps/landing/src/components/Header/index.tsx b/apps/landing/src/components/Header/index.tsx index b4ccc0cb..3d3b1712 100644 --- a/apps/landing/src/components/Header/index.tsx +++ b/apps/landing/src/components/Header/index.tsx @@ -1,7 +1,7 @@ import { css, Flex, Image, Text } from '@devup-ui/react' import Link from 'next/link' -import { IMAGE_PREFIX } from '../../constants' +import { URL_PREFIX } from '../../constants' import { HeaderWrap } from './HeaderWrap' export function Header() { @@ -12,9 +12,9 @@ export function Header() { className={css` text-decoration: none; `} - href="/" + href={URL_PREFIX + '/'} > - + @@ -23,7 +23,7 @@ export function Header() { className={css` text-decoration: none; `} - href="/docs/overview" + href={URL_PREFIX + '/docs/overview'} > Docs @@ -35,7 +35,7 @@ export function Header() { className={css` text-decoration: none; `} - href="/team" + href={URL_PREFIX + '/team'} > Team @@ -51,7 +51,7 @@ export function Header() { href="https://github.com/dev-five-git/devup-ui" target="_blank" > - + @@ -62,11 +62,11 @@ export function Header() { href="https://discord.gg/BtNffusw" target="_blank" > - + - + diff --git a/apps/landing/src/constants.ts b/apps/landing/src/constants.ts index 53527804..02b411ba 100644 --- a/apps/landing/src/constants.ts +++ b/apps/landing/src/constants.ts @@ -1,2 +1,2 @@ -export const IMAGE_PREFIX = +export const URL_PREFIX = process.env.NODE_ENV === 'production' ? '/devup-ui' : ''