File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import GetStart from "@/components/landing/get-start" ;
1+ import Link from "next/link" ;
2+
23import SampleGraph from "@/components/landing/sample-graph" ;
34
45export default function LandingPage ( ) {
@@ -16,7 +17,26 @@ export default function LandingPage() {
1617 </ p >
1718 </ div >
1819 </ div >
19- < GetStart />
20+ < div className = "hidden flex-1 space-y-7 md:block" >
21+ < div className = "space-y-2 text-end" >
22+ < Link href = "/bookmarks" className = "text-2xl" >
23+ 시작페이지
24+ </ Link >
25+ < p className = "text-sm text-gray7" >
26+ 북마크 정보와 관리된 노드들을 볼 수 있는 페이지 입니다
27+ </ p >
28+ </ div >
29+ < div className = "space-y-2 text-end" >
30+ < Link
31+ className = "text-2xl"
32+ href = "https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=ko"
33+ target = "_blank"
34+ >
35+ 크롬 익스텐션 다운로드
36+ </ Link >
37+ < p className = "text-sm text-gray7" > 크롬 익스텐션을 다운 받을 수 있는 곳 입니다</ p >
38+ </ div >
39+ </ div >
2040 </ section >
2141 < SampleGraph />
2242 </ main >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { getTrendKeywords } from "@/service/keyword";
44export default async function TrendPage ( ) {
55 const { result } = await getTrendKeywords ( ) ;
66
7- const keywords : Keyword [ ] = result . mostUsedKeywordList
7+ const keywords : Keyword [ ] = result ? .mostUsedKeywordList
88 . sort ( ( a , b ) => b . usedCnt - a . usedCnt )
99 . map ( ( item , idx ) => ( {
1010 word : item . keywordName ,
@@ -16,7 +16,7 @@ export default async function TrendPage() {
1616 < main className = "max-w-with-header flex min-h-body flex-1 flex-col gap-2.5 px-10" >
1717 < h1 className = "text-3xl font-semibold text-white" > 트렌드 키워드</ h1 >
1818 < h2 className = "mb-10 text-gray7" > 많이 검색되는 키워드를 살펴보세요.</ h2 >
19- < WordCloud keywords = { keywords } />
19+ < WordCloud keywords = { keywords || [ ] } />
2020 </ main >
2121 ) ;
2222}
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,13 +2,8 @@ import Image from "next/image";
22import Link from "next/link" ;
33
44import logo from "@/assets/icons/logo.svg" ;
5- import { getCookie } from "@/utils/cookies" ;
6-
7- import LoginButton from "./login-button" ;
85
96const Header = async ( ) => {
10- const token = await getCookie ( "accessToken" ) ;
11-
127 return (
138 < header className = "flex justify-between px-10 py-6 text-white" >
149 < Link href = "/" className = "flex items-center gap-2" >
@@ -18,7 +13,6 @@ const Header = async () => {
1813 < div className = "flex items-center gap-6" >
1914 < Link href = "/trending" > Trending</ Link >
2015 < Link href = "/history" > History</ Link >
21- < LoginButton token = { token ?. value || "" } />
2216 </ div >
2317 </ header >
2418 ) ;
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments