Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: 사진목록 마크업 #65

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
feat: 사진목록 헤더 마크업
  • Loading branch information
yeynii committed Nov 12, 2023
commit e3bb1d329090a26736775bfe02f4da29512534dd
3 changes: 3 additions & 0 deletions src/assets/share.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 27 additions & 1 deletion src/domain/photo/PhotoList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
import { ReactComponent as ShareIcon } from '@/assets/share.svg';
import { ReactComponent as VerticalEllipsis } from '@/assets/vertical-ellipsis.svg';
import { Avatar, Dropdown } from '@/domain/_common/components';
import MainTemplate from '@/domain/_common/layouts/MainTemplate';

export default function PhotoList() {
return <MainTemplate title="사진목록" content={'hi'} showFooter />;
return (
<MainTemplate
title="사진목록"
headerTools={
<div className="flex gap-1.5">
<Avatar.ProfilePhoto size="small" />
<Avatar.ProfilePhoto size="small" />
<Avatar.ProfilePhoto size="small" />
<ShareIcon className=" fill-grey-placeholder" />
<Dropdown>
<Dropdown.Trigger>
<VerticalEllipsis className="stroke-grey-placeholder fill-grey-placeholder" />
</Dropdown.Trigger>
<Dropdown.List>
<Dropdown.Item>수정하기</Dropdown.Item>
<Dropdown.Item className="text-red-500">삭제하기</Dropdown.Item>
</Dropdown.List>
</Dropdown>
</div>
}
content={'hi'}
showFooter
/>
);
}