Skip to content

Commit

Permalink
Merge pull request #155 from Step3-kakao-tech-campus/feat/#138
Browse files Browse the repository at this point in the history
fix: 보호소 프로필 로그인상태 확인 추가
  • Loading branch information
LimSumi authored Nov 5, 2023
2 parents 607adfa + b0e939f commit fb80d35
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 25 deletions.
26 changes: 17 additions & 9 deletions src/pages/profileList/ProfileListHomeSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ const ProfileListHomeSkeleton = () => {
더보기
</a>
</h2>
<div className="grid grid-cols-1 gap-1 md:grid-cols-2 my-10 w-full whitespace-nowrap">
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="grid grid-cols-1 gap-1 md:grid-cols-2 my-5 w-full whitespace-nowrap">
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
</div>
<h2 className="flex w-full font-bold text-xl sm:text-2xl justify-center items-center whitespace-nowrap">
신규 애니모리 친구들
Expand All @@ -26,10 +30,14 @@ const ProfileListHomeSkeleton = () => {
</a>
</h2>
<div className="grid grid-cols-1 gap-1 md:grid-cols-2 my-10 w-full whitespace-nowrap">
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
</div>
</div>
);
Expand Down
16 changes: 8 additions & 8 deletions src/pages/profileList/newList/NewListSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ const NewListSkeleton = () => {
신규 애니모리 친구들
</h2>
<div className="grid grid-cols-1 gap-1 md:grid-cols-2 my-10 w-full whitespace-nowrap">
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
</div>
<div className="flex justify-center mb-11 sm:mb-28"></div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/pages/profileList/urgentList/UrgentListSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ const UrgentListSkeleton = () => {
긴급 도움이 필요해요!
</h2>
<div className="grid grid-cols-1 gap-1 md:grid-cols-2 my-10 w-full whitespace-nowrap">
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-3/4 h-28 bg-gray-200 m-2" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
<div className="w-52 h-24 bg-gray-200 m-2 flex items-center gap-6 ml-20" />
</div>
<div className="flex justify-center mb-11 sm:mb-28"></div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/pages/shelterInfo/VShelterInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const VShelterInfo = (props: Props) => {
/>
<button
className={`${
loginAccount &&
loginAccount.role === 'SHELTER' &&
loginAccount.id === props.shelterInfoProps.id
? ' bg-slate-200 text-sm h-fit w-fit p-1 rounded-xl '
Expand Down

0 comments on commit fb80d35

Please sign in to comment.