Skip to content

Commit 96f11db

Browse files
committed
Add kakao button in header
1 parent 20b11d7 commit 96f11db

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import { css } from '@devup-ui/react'
2+
import Link from 'next/link'
3+
4+
export function Kakao() {
5+
return (
6+
<Link
7+
className={css({
8+
textDecoration: 'none',
9+
})}
10+
href="#"
11+
target="_blank"
12+
>
13+
<svg
14+
className={css({
15+
color: '$text',
16+
})}
17+
fill="none"
18+
height="24"
19+
viewBox="0 0 24 24"
20+
width="24"
21+
xmlns="http://www.w3.org/2000/svg"
22+
>
23+
<path
24+
clipRule="evenodd"
25+
d="M12.0001 3C5.92457 3 1 6.76292 1 11.4039C1 14.2901 2.90472 16.8346 5.80521 18.348L4.58483 22.7571C4.477 23.1467 4.92752 23.4572 5.27347 23.2314L10.623 19.7396C11.0745 19.7827 11.5332 19.8078 12.0001 19.8078C18.0751 19.8078 23 16.045 23 11.4039C23 6.76292 18.0751 3 12.0001 3Z"
26+
fill="#1A1A1A"
27+
fillRule="evenodd"
28+
/>
29+
</svg>
30+
</Link>
31+
)
32+
}

apps/landing/src/components/Header/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Github } from './Github'
99
import { HeaderInput } from './HeaderInput'
1010
import { HeaderInputWrap } from './HeaderInputWrap'
1111
import { HeaderWrap } from './HeaderWrap'
12+
import { Kakao } from './Kakao'
1213
import { Menu } from './Menu'
1314
import { MobMenu } from './MobMenu'
1415
import { MobMenuButton } from './MobMenuButton'
@@ -32,6 +33,9 @@ export function Header() {
3233
<Flex alignItems="center" px="10px">
3334
<Discord />
3435
</Flex>
36+
<Flex alignItems="center" px="10px">
37+
<Kakao />
38+
</Flex>
3539
<Flex alignItems="center" px="10px">
3640
<ThemeSwitch />
3741
</Flex>

0 commit comments

Comments
 (0)