-
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.
- Loading branch information
Showing
12 changed files
with
187 additions
and
10 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.
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,6 +1,21 @@ | ||
:root { | ||
/* color */ | ||
--main-color: #ff0211; | ||
--main-red-color: #ff0211; | ||
--main-black-color: #000000; | ||
--main-white-color: #ffffff; | ||
|
||
/* fontSize */ | ||
--small-font: 12px; | ||
--medium-font: 16px; | ||
--large-font: 22px; | ||
} | ||
|
||
html { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} |
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,4 @@ | ||
.main { | ||
margin: 0; | ||
padding: 0; | ||
} |
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,15 +1,16 @@ | ||
import Hero from "@/components/organisms/Hero"; | ||
import styles from "./page.module.css"; | ||
|
||
// components import | ||
|
||
import Hero from "@/components/organisms/Hero"; | ||
import Header from "@/components/organisms/Header"; | ||
import About from "@/components/organisms/About"; | ||
|
||
export default function Home() { | ||
return ( | ||
<main className={styles.main}> | ||
<Header /> | ||
<Hero /> | ||
<About /> | ||
</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,34 @@ | ||
import React from 'react' | ||
import Link from 'next/link' | ||
|
||
// scss import | ||
import styles from './styles/MoreButton.module.scss' | ||
|
||
// type | ||
export type MoreButtonProps = { | ||
id: number | ||
text?: string | ||
link: string | ||
size?: 'small' | 'medium' | 'large' | ||
color?: 'red' | 'white' | 'black' | ||
} | ||
|
||
|
||
const MoreButton = ({ | ||
id, | ||
text = 'View More', | ||
link, | ||
size = 'medium', | ||
color = 'red' | ||
}: MoreButtonProps) => { | ||
return ( | ||
<Link | ||
className={`${styles.moreButton} ${styles[size]} ${styles[color]}`} | ||
href={link} | ||
> | ||
{text} | ||
</Link> | ||
) | ||
} | ||
|
||
export default MoreButton |
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,26 @@ | ||
.moreButton { | ||
|
||
} | ||
.moreButton:hover { | ||
|
||
} | ||
|
||
// props | ||
.small { | ||
|
||
} | ||
.medium { | ||
|
||
} | ||
.large { | ||
|
||
} | ||
.red { | ||
color: var(--main-red-color); | ||
} | ||
.white { | ||
color: var(--main-white-color); | ||
} | ||
.black { | ||
color: var(--main-black-color); | ||
} |
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,51 @@ | ||
import React from 'react' | ||
|
||
// scss import | ||
import styles from './styles/About.module.scss' | ||
|
||
// components import | ||
import MoreButton from '../atoms/MoreButton' | ||
import Image from 'next/image' | ||
|
||
const About = () => { | ||
return ( | ||
<div className={styles.about}> | ||
<div className={styles.container}> | ||
<div className={styles.box}> | ||
<div className={styles.leftBox}> | ||
<p className={styles.subTitle}>ここごはんについて</p> | ||
<h1 className={styles.title}>ABOUT</h1> | ||
<p className={styles.mainText}> | ||
これまでの地図は情報がすでにあるのが当たり前。<br /> | ||
このサービスでは自分たちの会社・団体で地図を1から作り上げます。<br /> | ||
<br /> | ||
行きつけのおすすめのご飯やさん。ランチで穴場のお店。<br /> | ||
自分の属している会社・団体ごとにその地図はどんどん進化します。<br /> | ||
<br /> | ||
あなたも地図を作るメンバーになりませんか?<br /> | ||
</p> | ||
<MoreButton | ||
id={1} | ||
text='View More' | ||
link='/about' | ||
size='medium' | ||
color='white' | ||
/> | ||
</div> | ||
<div className={styles.rightBox}> | ||
<Image | ||
className={styles.image} | ||
width={1100} | ||
height={900} | ||
quality={100} | ||
src={'/assets/images/tech.png'} | ||
alt='phoneImage' | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default About |
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,45 @@ | ||
.about { | ||
width: 100%; | ||
height: 1500px; | ||
margin-top: -90px; | ||
border-radius: 40px 40px 0 0; | ||
background-color: var(--main-red-color); | ||
.container { | ||
width: 90%; | ||
margin: 0 auto; | ||
.box { | ||
padding-top: calc(100vh - 600px); | ||
box-sizing: border-box; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
.leftBox { | ||
.subTitle { | ||
display: block; | ||
font-size: 18px; | ||
line-height: 24px; | ||
margin: 0; | ||
font-weight: 600; | ||
color: var(--main-white-color); | ||
} | ||
.title { | ||
color: var(--main-white-color); | ||
font-size: 90px; | ||
line-height: 100px; | ||
margin: 0; | ||
} | ||
.mainText { | ||
color: #FFF; | ||
font-family: Inter; | ||
font-size: 23px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
} | ||
} | ||
.rightBox { | ||
|
||
} | ||
} | ||
} | ||
} |
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,6 +1,7 @@ | ||
.header { | ||
width: 100%; | ||
height: 80px; | ||
padding: 10px 0; | ||
background-color: #fff; | ||
.container { | ||
width: 95%; | ||
|
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