Skip to content

Commit

Permalink
feat: 주소 추가 페이지
Browse files Browse the repository at this point in the history
  • Loading branch information
jun0811 committed Sep 7, 2024
1 parent d46f735 commit 468953e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion src/app/my/address/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ManagedAddressPage = () => {
return (
<div>
<Header left={<BackButton />} center="주소 관리" />
<div className="p-4" onClick={() => router.push('/my/address/add')}>
<div className="p-4" onClick={() => router.push('/my/address/search')}>
<PlusCircledIcon className="my-1 mr-1 inline size-5 text-[#0FA5FA]" />새 주소 추가
</div>
<Separator className="h-2" />
Expand Down
21 changes: 21 additions & 0 deletions src/app/my/address/search/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
'use client'
import BackButton from '@/components/shared/BackButton'
import Header from '@/components/shared/Header'
import React from 'react'
import { MagnifyingGlassIcon } from '@radix-ui/react-icons'
import { Separator } from '@/components/ui/separator'

const AddressSearchPage = () => {
return (
<div>
<Header left={<BackButton />} center="주소 검색" />
<div className="p-4 text-gray-400" onClick={() => console.log('???')}>
<MagnifyingGlassIcon className="mr-1 inline size-5 text-black" />
도로명, 건물명 또는 지번으로 검색
</div>
<Separator className="h-2" />
</div>
)
}

export default AddressSearchPage

0 comments on commit 468953e

Please sign in to comment.