Skip to content

Commit

Permalink
Merge pull request #367 from TripInfoWeb/dev_refactoring
Browse files Browse the repository at this point in the history
Design: 여행일기 디자인 수정
  • Loading branch information
HyunJinNo authored Sep 22, 2024
2 parents e221996 + 99952dc commit 4a47992
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
12 changes: 12 additions & 0 deletions public/diary/calendar-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/common/TopList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function getTopInformationList() {
`${process.env.BACKEND_URL}/api/informations/ranks`,
{
method: "GET",
next: { revalidate: 3600, tags: ["getTopInformationList"] },
next: { revalidate: 60, tags: ["getTopInformationList"] },
},
);

Expand Down
2 changes: 1 addition & 1 deletion src/components/diary/list/DiaryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const DiaryCard = ({ diaryData, flag, isFlipped, flip }: Props) => {
</Link>
</motion.div>
<motion.p
className="mt-3 text-lg text-gray1"
className="mt-3 text-lg text-gray1 max-[1024px]:mt-2 max-[744px]:mt-1"
initial={{ opacity: 0 }}
whileInView={{ opacity: 1 }}
transition={{ delay: 0.5 }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/diary/write/DiaryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const DiaryEditor = ({
<div className="flex flex-row items-center gap-2">
{"YYYY.MM.DD"}
<Image
src={"/gathering/calendar-icon.svg"}
src={"/diary/calendar-icon.svg"}
alt={"calendar-icon"}
width={16}
height={16}
Expand Down
2 changes: 0 additions & 2 deletions src/containers/diary/detail/DiaryViewerContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ const DiaryViewerContainer = ({ data }: Props) => {
?.querySelectorAll("img")
.forEach((img) => {
img.style.borderRadius = "1rem";
img.style.boxShadow =
"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)";
});
}, 100);
}, []);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ body {
color: rgba(0, 0, 0, 0);
opacity: 1;
display: block;
background: url("/gathering/calendar-icon.svg") no-repeat;
background: url("/diary/calendar-icon.svg") no-repeat;
width: 0.75rem;
height: 0.75rem;
border-width: thin;
Expand Down

0 comments on commit 4a47992

Please sign in to comment.