-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from Team-INSERT/refactor/search
refactor: search 페이지
- Loading branch information
Showing
4 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Container from "@/components/Container"; | ||
import Link from "next/link"; | ||
import { FC } from "react"; | ||
import * as styles from "./style.css"; | ||
|
||
const SearchNotFound: FC<{ keyword: string }> = ({ keyword }) => { | ||
return ( | ||
<Container title={`검색결과#${decodeURI(keyword)}`} docsType="검색 결과"> | ||
<h1 className={styles.searchTitle}>검색 결과가 없습니다.</h1> | ||
<Link href="/create" className={styles.searchCreateLink}> | ||
직접 문서를 생성해보세요 | ||
</Link> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default SearchNotFound; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters