-
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.
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
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
28 changes: 28 additions & 0 deletions
28
packages/frontend/src/components/layouts/search/Search.tsx
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,28 @@ | ||
import { Button } from '@/components/ui/button'; | ||
import { Input } from '@/components/ui/input'; | ||
import { cn } from '@/utils/cn'; | ||
|
||
interface SearchProps { | ||
className?: string; | ||
} | ||
|
||
export const Search = ({ className }: SearchProps) => { | ||
const searchResult = ['']; | ||
|
||
return ( | ||
<div className={cn('bg-white p-10 shadow', className)}> | ||
<h3 className="display-bold24 mb-2">검색</h3> | ||
<p className="display-medium16 text-dark-gray mb-10"> | ||
주식을 검색하세요. | ||
</p> | ||
<div className="mb-8 flex gap-4"> | ||
<Input placeholder="검색어" /> | ||
<Button size="sm">검색</Button> | ||
</div> | ||
{searchResult.map((word) => ( | ||
// TODO: 추후 Link로 수정 | ||
<p className="text-dark-gray leading-7">{word}</p> | ||
))} | ||
</div> | ||
); | ||
}; |
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 @@ | ||
export * from './Search'; |