File tree Expand file tree Collapse file tree 3 files changed +10
-24
lines changed
Expand file tree Collapse file tree 3 files changed +10
-24
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ import { Navigation } from '@/components/Navigation/Navigation'
33import { getPostDatabase } from '@/notionApi/getPostDatabase'
44import { Client } from '@notionhq/client'
55import { GetPageResponse } from '@notionhq/client/build/src/api-endpoints'
6- import Image from 'next/image'
76import { NotionToMarkdown } from 'notion-to-md'
8- import { container , content , coverImage } from './styles.css'
7+ import { container , content } from './styles.css'
98import { CustomMdxRemote } from '@/components/CustomMdxRemote/CustomMdxRemote'
109
1110interface 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 >
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
1313 title ,
1414} from './styles.css'
1515
16- import darkModeIcon from '@/public/icons/dark_mode.svg'
1716import githubLogo from '@/public/icons/github_logo.svg'
1817
1918export 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 >
You can’t perform that action at this time.
0 commit comments