-
Notifications
You must be signed in to change notification settings - Fork 3
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 #362 from MovieReviewComment/feature/issue-325/banner
- Loading branch information
Showing
2 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import Link from 'next/link'; | ||
|
||
import Banner from '@/components/common/client/banner'; | ||
|
||
export default function Home() { | ||
return ( | ||
<> | ||
<main className="container mx-auto flex max-w-5xl flex-col items-center"> | ||
<Banner /> | ||
|
||
<h1>This is Mr.C home</h1> | ||
<Link href="/review">review</Link> | ||
<br /> | ||
<Link href="/comment">comment</Link> | ||
</> | ||
</main> | ||
); | ||
} |
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,66 @@ | ||
'use client'; | ||
|
||
import Swiper from '@/components/common/client/swiper'; | ||
import Text from '@/components/common/server/text'; | ||
|
||
export default function Banner() { | ||
return ( | ||
<section className="w-screen "> | ||
<Swiper> | ||
<Swiper.Slide> | ||
<div className="bg-orange-200 h-64"> | ||
<div className="container max-w-5xl mx-auto py-10 px-6"> | ||
<Text size="xl" weight="bold" noselect> | ||
시네필을 위한 영화 커뮤니티 🎬 | ||
</Text> | ||
|
||
<div className="mt-6"> | ||
<Text size="lg" noselect> | ||
익명으로 자유롭게 ! | ||
</Text> | ||
<Text size="lg" noselect> | ||
영화에 대한 이야기를 마음껏 나누어요 | ||
</Text> | ||
</div> | ||
</div> | ||
</div> | ||
</Swiper.Slide> | ||
|
||
<Swiper.Slide> | ||
<div className="bg-orange-200 h-64"> | ||
<div className="container max-w-5xl mx-auto py-10 px-6"> | ||
<Text size="xl" weight="bold" noselect> | ||
리뷰 | ||
</Text> | ||
|
||
<div className="mt-6"> | ||
<Text size="lg" noselect> | ||
좋아하는 영화에 대한 이야기 ! | ||
</Text> | ||
<Text size="lg" noselect> | ||
아름다운 서식을 위한 에디터를 지원해요 | ||
</Text> | ||
</div> | ||
</div> | ||
</div> | ||
</Swiper.Slide> | ||
|
||
<Swiper.Slide> | ||
<div className="bg-orange-200 h-64"> | ||
<div className="container max-w-5xl mx-auto py-10 px-6"> | ||
<Text size="xl" weight="bold" noselect> | ||
코멘트 | ||
</Text> | ||
|
||
<div className="mt-6"> | ||
<Text size="lg" noselect> | ||
한줄평으로 촌철살인 ! | ||
</Text> | ||
</div> | ||
</div> | ||
</div> | ||
</Swiper.Slide> | ||
</Swiper> | ||
</section> | ||
); | ||
} |