-
+
+ {/* Support for many styles */}
+
-
-
+
+
John Doe
-
-
- john@doe.com
-
+
);
}`
@@ -30,7 +28,7 @@ export function CodeBoard() {
p="20px 30px"
>
-
+
-
-
-
- code menu
-
-
-
- code menu
-
-
-
-
- code menu
-
-
-
>
)
diff --git a/apps/landing/src/components/Discord.tsx b/apps/landing/src/components/Discord.tsx
index 6c6a5f0e..c8a25f72 100644
--- a/apps/landing/src/components/Discord.tsx
+++ b/apps/landing/src/components/Discord.tsx
@@ -1,25 +1,32 @@
-import { Center, css, Flex, Image, Text, VStack } from '@devup-ui/react'
+import { css, Flex, Image, Text, VStack } from '@devup-ui/react'
import Link from 'next/link'
import { URL_PREFIX } from '../constants'
export function Discord() {
return (
-
-
-
+
+
Join our community
-
- Etiam sit amet feugiat turpis. Proin nec ante a sem vestibulum
- sodales non ut ex. Morbi diam turpis, fringilla vitae enim et,
- egestas consequat nibh.
+
+ Join our Discord and help build the future of frontend with
+ CSS-in-JS!
-
+
)
}
diff --git a/apps/landing/src/components/Footer.tsx b/apps/landing/src/components/Footer.tsx
index 34012645..6e389b2c 100644
--- a/apps/landing/src/components/Footer.tsx
+++ b/apps/landing/src/components/Footer.tsx
@@ -4,9 +4,9 @@ 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
diff --git a/apps/landing/src/components/Header/HeaderInput.tsx b/apps/landing/src/components/Header/HeaderInput.tsx
new file mode 100644
index 00000000..221e0527
--- /dev/null
+++ b/apps/landing/src/components/Header/HeaderInput.tsx
@@ -0,0 +1,29 @@
+import { Flex, Image, Input } from '@devup-ui/react'
+
+import { URL_PREFIX } from '../../constants'
+
+export function HeaderInput() {
+ return (
+
+
+
+
+ )
+}
diff --git a/apps/landing/src/components/Header/HeaderInputWrap.tsx b/apps/landing/src/components/Header/HeaderInputWrap.tsx
new file mode 100644
index 00000000..4703d0a5
--- /dev/null
+++ b/apps/landing/src/components/Header/HeaderInputWrap.tsx
@@ -0,0 +1,12 @@
+'use client'
+import { usePathname } from 'next/navigation'
+
+interface HeaderInputWrapProps {
+ children: React.ReactNode
+}
+
+export function HeaderInputWrap({ children }: HeaderInputWrapProps) {
+ const path = usePathname()
+ const root = path === '/'
+ return root ? null : children
+}
diff --git a/apps/landing/src/components/Header/HeaderWrap.tsx b/apps/landing/src/components/Header/HeaderWrap.tsx
index b59de9a9..0ccbe22d 100644
--- a/apps/landing/src/components/Header/HeaderWrap.tsx
+++ b/apps/landing/src/components/Header/HeaderWrap.tsx
@@ -10,7 +10,7 @@ export function HeaderWrap({ children }: { children: React.ReactNode }) {
{children}
diff --git a/apps/landing/src/components/Header/Menu.tsx b/apps/landing/src/components/Header/Menu.tsx
new file mode 100644
index 00000000..a955532e
--- /dev/null
+++ b/apps/landing/src/components/Header/Menu.tsx
@@ -0,0 +1,22 @@
+'use client'
+import { Text } from '@devup-ui/react'
+import { usePathname } from 'next/navigation'
+
+interface MenuProps {
+ children?: React.ReactNode
+ keyword: string
+}
+
+export function Menu({ children, keyword }: MenuProps) {
+ const path = usePathname()
+ const selected = path.startsWith(`/${keyword}`)
+ return (
+
+ {children}
+
+ )
+}
diff --git a/apps/landing/src/components/Header/ThemeSwitch.tsx b/apps/landing/src/components/Header/ThemeSwitch.tsx
index f13df572..941b23e3 100644
--- a/apps/landing/src/components/Header/ThemeSwitch.tsx
+++ b/apps/landing/src/components/Header/ThemeSwitch.tsx
@@ -5,16 +5,11 @@ import { Box, getTheme, setTheme } from '@devup-ui/react'
export function ThemeSwitch() {
return (
{
- setTheme(getTheme() === 'dark' ? 'default' : 'dark')
+ setTheme(getTheme() === 'dark' ? 'light' : 'dark')
}}
>