Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 0 additions & 7 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Metadata } from 'next';
import localFont from 'next/font/local';
// import { Montserrat } from 'next/font/google';
import './variables.css';
import './reset.css';

Expand All @@ -11,12 +10,6 @@ const pretendard = localFont({
variable: '--font-pretendard',
});

// export const montserrat = Montserrat({
// display: 'swap',
// subsets: ['latin'],
// variable: '--font-montserrat',
// });

export const metadata: Metadata = {
title: 'Taskify',
description: 'Task management application',
Expand Down
158 changes: 0 additions & 158 deletions src/app/page.module.css

This file was deleted.

6 changes: 1 addition & 5 deletions src/app/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
box-sizing: border-box;
}

html,
body {
min-height: 100vh;
}

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

ul,
Expand Down
4 changes: 2 additions & 2 deletions src/components/ImageWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import styles from './ImageWrapper.module.css';
interface Props {
src: string;
alt: string;
className?: string;
className: string;
priority?: boolean;
}

export default function ImageWrapper({ src, alt, className, priority }: Props) {
return (
<div className={`${styles.imgWrapper} ${className}`}>
<Image src={src} alt={alt} fill priority={priority} />
<Image src={src} alt={alt} fill priority={priority || false} />
</div>
);
}
8 changes: 5 additions & 3 deletions src/components/landing/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import styles from './Header.module.css';
export default function Header() {
return (
<header className={styles.header}>
<Link href="/" aria-label="ν™ˆμœΌλ‘œ 이동">
<CustomLogo className={styles.logo} />
</Link>
<div>
<Link href="/" aria-label="ν™ˆμœΌλ‘œ 이동">
<CustomLogo className={styles.logo} />
</Link>
</div>
<nav className={styles.nav}>
<Link href="/login" className={styles.navLink}>
둜그인
Expand Down
5 changes: 2 additions & 3 deletions src/components/landing/Section/HeroSection.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
}

.homeBrand {
font-family: var(--font-montserrat);
font-size: 90px;
font-weight: 700;
color: var(--violet);
Expand All @@ -38,9 +37,9 @@
}

.homeLoginBtn {
display: inline-flex;
flex-shrink: 0;
display: flex;
align-items: center;
width: 280px;
height: 54px;
padding: 9px 101px;
border-radius: 8px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/landing/Section/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function HeroSection() {
<div className={styles.homeTitle}>μƒˆλ‘œμš΄ 일정관리</div>
<div className={styles.homeBrand}>Taskify</div>
</div>
<Link href="/login" className={styles.homeLoginBtn}>
<Link role="button" href="/login" className={styles.homeLoginBtn}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

였🧐 μ΄κ±΄λ­μ—μš”? button처럼 λ™μž‘ν•˜λΌλŠ”κ±΄κ°€μš”?
button μΌμ„λ•Œλž‘ λ‹€λ₯Έμ μ΄λ­μ—μš”..!?

Copy link
Author

Choose a reason for hiding this comment

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

λ²„νŠΌ vs 링크둜 κ³ λ―Όν–ˆμ—ˆλŠ”λ° κΈ°λŠ₯적으둜 링크가 λ§žλŠ” 것 κ°™μ•„μ„œ 링크둜 μ“°λ˜, μ›Ή μ ‘κ·Όμ„± κ³ λ €ν•΄μ„œ λ²„νŠΌμœΌλ‘œ 읽히게 넣은 κ±°μ˜ˆμš”

λ‘œκ·ΈμΈν•˜κΈ°
</Link>
</section>
Expand Down
1 change: 0 additions & 1 deletion src/components/landing/layout.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.page {
height: 100%;
background-color: black;
color: white;
}
Expand Down
Loading