Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 0 additions & 158 deletions src/app/page.module.css

This file was deleted.

131 changes: 9 additions & 122 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,129 +1,16 @@
'use client';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋žœ๋”ฉํŽ˜์ด์ง€๋ผ์„œ ๋ธŒ๋ผ์šฐ์ € ์ธํ„ฐ๋ ‰์…˜์ด ์—†์„ ๊ฒƒ ๊ฐ™์€๋ฐ
'use client';๋Š” ์™œ ์žˆ๋Š”๊ฑด๊ฐ€์š”???

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ถ”ํ›„ ์ถ”๊ฐ€๋  ๊ฒƒ ๊ฐ™์•„์„œ ๋„ฃ์–ด๋’€๋Š”๋ฐ ์šฐ์„ ์€ ๋ถˆํ•„์š”ํ•˜๋‹ˆ๊นŒ ์ œ๊ฑฐํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค ๐Ÿซก


import Link from 'next/link';
import EmailIcon from '/public/icons/email.svg';
import FacebookIcon from '/public/icons/facebook.svg';
import InstagramIcon from '/public/icons/instagram.svg';
import CustomLogo from '@/components/root/CustomLogo';
import ImageWrapper from '@/components/root/ImageWrapper';
import styles from './page.module.css';
import MainCard from '@/components/root/MainCard';
import MiniCard from '@/components/root/MiniCard';
import Layout from '@/components/landing/layout';
import HeroSection from '@/components/landing/Section/HeroSection';
import PrimarySection from '@/components/landing/Section/PrimarySection';
import SecondarySection from '@/components/landing/Section/SecondarySection';

export default function Home() {
return (
<div className={styles.page}>
<header className={styles.header}>
<Link href="/" aria-label="ํ™ˆ์œผ๋กœ ์ด๋™">
<CustomLogo className={styles.logo} />
</Link>
<nav className={styles.nav}>
<Link href="/login" className={styles.navLink}>
๋กœ๊ทธ์ธ
</Link>
<Link href="/signup" className={styles.navLink}>
ํšŒ์›๊ฐ€์ž…
</Link>
</nav>
</header>
<main className={styles.main}>
<section className={styles.section}>
<ImageWrapper
src="/images/home.png"
alt="์ผ์ • ๊ด€๋ฆฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜"
className={styles.homeImg}
priority={true}
/>
<div className={styles.homeTitleWrapper}>
<div className={styles.homeTitle}>์ƒˆ๋กœ์šด ์ผ์ •๊ด€๋ฆฌ</div>
<div className={styles.homeBrand}>Taskify</div>
</div>
<Link href="/login" className={styles.homeLoginBtn}>
๋กœ๊ทธ์ธํ•˜๊ธฐ
</Link>
</section>
<section className={styles.section}>
<MainCard
title="์ผ์˜ ์šฐ์„ ์ˆœ์œ„๋ฅผ ๊ด€๋ฆฌํ•˜์„ธ์š”"
subTitle="Point 1"
src="/images/landing_lg_1.png"
alt="์šฐ์„ ์ˆœ์œ„ ์„ค์ • ๊ธฐ๋Šฅ ์†Œ๊ฐœ"
className={styles.cardLg1}
/>
<MainCard
title="ํ•ด์•ผ ํ•  ์ผ์„ ๋“ฑ๋กํ•˜์„ธ์š”"
subTitle="Point 2"
src="/images/landing_lg_2.png"
alt="ํ•  ์ผ ์นด๋“œ ์ƒ์„ฑ ๊ธฐ๋Šฅ ์†Œ๊ฐœ"
className={styles.cardLg2}
imgFirst={true}
/>
</section>
<section>
<div className={styles.supplementTitle}>
์ƒ์‚ฐ์„ฑ์„ ๋†’์ด๋Š” ๋‹ค์–‘ํ•œ ์„ค์ • โšก
</div>
<div className={styles.cardSmalls}>
<MiniCard
src="/images/landing_sm_1.png"
alt="๋Œ€์‹œ๋ณด๋“œ ์„ค์ • ๊ธฐ๋Šฅ ์†Œ๊ฐœ"
title="๋Œ€์‹œ๋ณด๋“œ ์„ค์ •"
desc="๋Œ€์‹œ๋ณด๋“œ ์‚ฌ์ง„๊ณผ ์ด๋ฆ„์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์–ด์š”."
className={styles.cardSm1}
/>
<MiniCard
src="/images/landing_sm_2.png"
alt="์ดˆ๋Œ€ํ•˜๊ธฐ ๊ธฐ๋Šฅ ์†Œ๊ฐœ"
title="์ดˆ๋Œ€"
desc="์ƒˆ๋กœ์šด ํŒ€์›์„ ์ดˆ๋Œ€ํ•  ์ˆ˜ ์žˆ์–ด์š”."
className={styles.cardSm2}
/>
<MiniCard
src="/images/landing_sm_3.png"
alt="๊ตฌ์„ฑ์› ๊ธฐ๋Šฅ ์†Œ๊ฐœ"
title="๊ตฌ์„ฑ์›"
desc="๊ตฌ์„ฑ์›์„ ์ดˆ๋Œ€ํ•˜๊ณ  ๋‚ด๋ณด๋‚ผ ์ˆ˜ ์žˆ์–ด์š”."
className={styles.cardSm3}
/>
</div>
</section>
</main>
<footer className={styles.footer}>
<div>ยฉcodeit - 2023</div>
<div className={styles.legalLinks}>
<Link href="/privacy-policy">Privacy Policy</Link>
<Link href="/faq">FAQ</Link>
</div>
<div className={styles.socialLinks}>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="์ด๋ฉ”์ผ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<EmailIcon aria-hidden="true" />
</a>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="ํŽ˜์ด์Šค๋ถ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<FacebookIcon aria-hidden="true" />
</a>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="์ธ์Šคํƒ€๊ทธ๋žจ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<InstagramIcon aria-hidden="true" />
</a>
</div>
</footer>
</div>
<Layout>
<HeroSection />
<PrimarySection />
<SecondarySection />
</Layout>
);
}
1 change: 0 additions & 1 deletion src/app/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ body {

body {
font-family: var(--font-pretendard), sans-serif;
height: 100vh;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑฐ @devmanta ๋‹˜์ด ์ถ”๊ฐ€ํ•˜์‹ ๊ฑฐ ๊ฐ™์€๋ฐ
์ง€์šฐ์‹  ์ด์œ ๊ฐ€ ๋ญ”๊ฐ€์š”??

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์œผ์•… ใ…  ์ด๊ฑฐ ์—†์–ด์ง€๋ฉด ์•ˆ๋Œ€๋Š”๋ฐใ… ใ…œ

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋‹ค์‹œ ๋„ฃ์—ˆ์–ด์š” ๐Ÿ˜‚

}

ul,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styles from './ImageWrapper.module.css';
import Image from 'next/image';
import styles from './ImageWrapper.module.css';

interface Props {
src: string;
Expand Down
31 changes: 31 additions & 0 deletions src/components/landing/Footer/Footer.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px 140px;
font-size: 16px;
font-weight: 400;
color: var(--gray-400);
}

.legalLinks {
display: flex;
gap: 32px;
}

.socialLinks {
display: flex;
align-items: center;
gap: 14px;
}

.socialLink:first-child {
width: 20px;
height: 20px;
}

.socialLink {
width: 22px;
height: 22px;
fill: white;
}
46 changes: 46 additions & 0 deletions src/components/landing/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import Link from 'next/link';
import EmailIcon from '/public/icons/email.svg';
import FacebookIcon from '/public/icons/facebook.svg';
import InstagramIcon from '/public/icons/instagram.svg';
import styles from './Footer.module.css';

export default function Footer() {
return (
<footer className={styles.footer}>
<div>ยฉcodeit - 2023</div>
<div className={styles.legalLinks}>
<Link href="/privacy-policy">Privacy Policy</Link>
<Link href="/faq">FAQ</Link>
</div>
<div className={styles.socialLinks}>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="์ด๋ฉ”์ผ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<EmailIcon aria-hidden="true" />
</a>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="ํŽ˜์ด์Šค๋ถ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<FacebookIcon aria-hidden="true" />
</a>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
className={styles.socialLink}
aria-label="์ธ์Šคํƒ€๊ทธ๋žจ ๋ฐ”๋กœ๊ฐ€๊ธฐ"
>
<InstagramIcon aria-hidden="true" />
</a>
</div>
</footer>
);
}
Loading