Skip to content

Commit

Permalink
feat: 뚱뚱세로, 뚱뚱가로 마크업
Browse files Browse the repository at this point in the history
  • Loading branch information
yeynii committed Nov 12, 2023
1 parent 51b22f6 commit 24ea120
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
Binary file added public/4cut-horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
39 changes: 38 additions & 1 deletion src/domain/photo/PhotoList/components/AlbumInsidePages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function ThinVertical() {
return (
<div className="flex flex-1 p-8 gap-5">
<div className="flex flex-col flex-1 gap-5">
<img src="4cut-long.png" alt="" className="w-full object-fill h-3/4" />
<img src="4cut-vertical.png" alt="" className="w-full object-fill h-3/4" />
<div className="flex-1">
<div className="text-[18px] text-white">23.03.01</div>
<div className="text-[14px] text-white">#태그1 #태그2</div>
Expand All @@ -31,7 +31,44 @@ function ThinVertical() {
);
}

function FatVertical() {
return (
<div className="flex flex-1 p-8">
<div className="flex flex-col flex-1 gap-5">
<img src="4cut-vertical.png" alt="" className="w-full object-fill h-3/4" />
<div className="flex-1">
<div className="text-[18px] text-white">23.03.01</div>
<div className="text-[14px] text-white">#태그1 #태그2</div>
<div className="text-[14px] text-white whitespace-pre-line">
scrambled it to make a type specimen book. It has survived not only five centuries, but also the scrambled
it to make a t
</div>
</div>
</div>
</div>
);
}

function FatHorizontal() {
return (
<div className="flex flex-1 p-8 items-center">
<div className="flex flex-col flex-1 gap-5">
<img src="4cut-horizontal.png" alt="" className="w-full object-fill" />
<div className="flex-1">
<div className="text-[18px] text-white">23.03.01</div>
<div className="text-[14px] text-white">#태그1 #태그2</div>
<div className="text-[14px] text-white whitespace-pre-line">
scrambled it to make a type specimen book. It has survived not only five centuries, but also the scrambled
it to make a t
</div>
</div>
</div>
</div>
);
}
export const AlbumPages = Object.assign(AlbumPagesContainer, {
AlbumPages: AlbumPagesContainer,
ThinVertical,
FatVertical,
FatHorizontal,
});
4 changes: 3 additions & 1 deletion src/domain/photo/PhotoList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export default function PhotoList() {
}
content={
<AlbumPages>
<AlbumPages.ThinVertical />
{/* <AlbumPages.ThinVertical /> */}
{/* <AlbumPages.FatVertical /> */}
<AlbumPages.FatHorizontal />
</AlbumPages>
}
showFooter
Expand Down

0 comments on commit 24ea120

Please sign in to comment.