-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from TripInfoWeb/dev_informations
Design: Floating 버튼 디자인 수정 & 정보 이미지 애니메이션 추가
- Loading branch information
Showing
13 changed files
with
167 additions
and
34 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import JournalList from "@/components/journals/JournalList"; | ||
import { Metadata } from "next"; | ||
|
||
export const metadata: Metadata = { | ||
title: "여행일기", | ||
description: "Solitour 여행일기 페이지", | ||
}; | ||
|
||
export default function page() { | ||
return ( | ||
<div className="flex flex-col items-center"> | ||
<JournalList /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import Image from "next/image"; | ||
|
||
const JournalCard = () => { | ||
return ( | ||
<div className="relative h-[38.9375rem] w-[29.375rem] rounded-2xl border-[0.0625rem] border-gray3 hover:border-main"> | ||
<Image | ||
className="-z-10" | ||
src="/journal-image1.svg" | ||
alt="journal-image" | ||
fill={true} | ||
style={{ objectFit: "cover" }} | ||
/> | ||
<div className="absolute bottom-9 left-9 flex flex-col gap-1 text-white"> | ||
<h2 className="text-2xl font-bold">나 홀로 제주여행</h2> | ||
<p className="text-lg">2024.06.07-2024.06.10</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default JournalCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import JournalCard from "./JournalCard"; | ||
|
||
const JournalList = () => { | ||
return ( | ||
<div className="w-[60rem] max-[1024px]:w-[39.75rem] max-[744px]:w-[calc(100%_-_48px)]"> | ||
<h1 className="py-[2.375rem] text-[1.75rem] font-bold">여행 일기</h1> | ||
<div className="flex flex-row justify-end pb-4"> | ||
<button className="h-[2.625rem] w-[7.6875rem] rounded-full bg-black text-white hover:scale-105"> | ||
일기 쓰기 | ||
</button> | ||
</div> | ||
<div className="flex flex-wrap justify-center gap-5"> | ||
{[1, 2, 3, 4].map((value) => ( | ||
<JournalCard key={value} /> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default JournalList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters