Skip to content

Commit 17bf0e8

Browse files
committed
test
1 parent 2dd1587 commit 17bf0e8

File tree

3 files changed

+10
-24
lines changed

3 files changed

+10
-24
lines changed

app/page.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ export default async function Home() {
1414
<Navigation />
1515

1616
<div className={content}>
17-
<div className={header}>
18-
<button className={tagDropdownTrigger}>
19-
전체
20-
<Image src={dropDownArrow} alt="화살표" />
21-
</button>
22-
</div>
23-
2417
<ul className={postList}>
2518
{response.results.map((database: any) => (
2619
<PostListItem

app/post/[postId]/page.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import { Navigation } from '@/components/Navigation/Navigation'
33
import { getPostDatabase } from '@/notionApi/getPostDatabase'
44
import { Client } from '@notionhq/client'
55
import { GetPageResponse } from '@notionhq/client/build/src/api-endpoints'
6-
import Image from 'next/image'
76
import { NotionToMarkdown } from 'notion-to-md'
8-
import { container, content, coverImage } from './styles.css'
7+
import { container, content } from './styles.css'
98
import { CustomMdxRemote } from '@/components/CustomMdxRemote/CustomMdxRemote'
109

1110
interface PageCoverType {
@@ -53,7 +52,7 @@ export default async function PostPage({
5352
<div className={container}>
5453
<div className={content}>
5554
<article style={{ position: 'relative' }}>
56-
<Image
55+
{/* <Image
5756
src={
5857
notionPage.cover.type === 'file'
5958
? notionPage.cover.file.url
@@ -62,7 +61,7 @@ export default async function PostPage({
6261
alt="포스트 커버 이미지"
6362
className={coverImage}
6463
fill
65-
/>
64+
/> */}
6665

6766
<CustomMdxRemote source={markdown.parent} />
6867
</article>

components/Navigation/Navigation.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
title,
1414
} from './styles.css'
1515

16-
import darkModeIcon from '@/public/icons/dark_mode.svg'
1716
import githubLogo from '@/public/icons/github_logo.svg'
1817

1918
export function Navigation() {
@@ -29,19 +28,14 @@ export function Navigation() {
2928

3029
<ul className={navControlList}>
3130
<li className={navControlListItem}>
32-
<Link href="/" className={aboutLink}>
33-
About
34-
</Link>
35-
</li>
36-
<li className={navControlListItem}>
37-
<button className={iconButton}>
38-
<Image src={darkModeIcon} alt="다크모드" />
39-
</button>
40-
</li>
41-
<li className={navControlListItem}>
42-
<button className={iconButton}>
31+
<a
32+
href="https://github.com/ppippi-dev"
33+
target="_blank"
34+
rel="noopener noreferrer"
35+
className={iconButton}
36+
>
4337
<Image src={githubLogo} alt="깃허브" />
44-
</button>
38+
</a>
4539
</li>
4640
</ul>
4741
</div>

0 commit comments

Comments
 (0)