-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
52 additions
and
57 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,18 +1,24 @@ | ||
import { useRouter } from "next/router"; | ||
import * as Styles from "./styles"; | ||
import MDEditorViewer from "./MDEditor/MdeditorViewer"; | ||
import Link from "next/link"; | ||
|
||
export default function ProjectComponents() { | ||
const router = useRouter(); | ||
const { id } = router.query; | ||
|
||
return ( | ||
<div> | ||
<h1> 프로젝트 제목: {id} </h1> | ||
<h1> 사진 사진 사진 사진</h1> | ||
<h1> 링크 링크 링크 </h1> | ||
<h1> Markdown Viewer </h1> | ||
|
||
<Styles.ProjectDetailContainer> | ||
<Styles.ProjectDetailTitle>프로젝트 제목: {id}</Styles.ProjectDetailTitle> | ||
<Styles.ProjectDetailText> | ||
한 줄 소개글 우리 프로젝트 좋아요 많관부 | ||
</Styles.ProjectDetailText> | ||
<Link href="https://github.com/team-pofo/frontend" legacyBehavior> | ||
<Styles.ProjectDetailLink target="_blank"> | ||
https://github.com/team-pofo/frontend | ||
</Styles.ProjectDetailLink> | ||
</Link> | ||
<MDEditorViewer /> | ||
</div> | ||
</Styles.ProjectDetailContainer> | ||
); | ||
} |
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,25 @@ | ||
import styled from "@emotion/styled"; | ||
|
||
export const ProjectDetailContainer = styled.div` | ||
max-width: 1200px; | ||
align-items: center; | ||
padding: 20px 20px 20px 20px; | ||
margin: auto; | ||
`; | ||
|
||
export const ProjectDetailTitle = styled.p` | ||
margin: 0px 0px 10px; | ||
font-size: 40px; | ||
font-weight: 700; | ||
`; | ||
|
||
export const ProjectDetailText = styled.p` | ||
margin: 0px 0px 10px; | ||
font-size: 20px; | ||
`; | ||
|
||
export const ProjectDetailLink = styled.a` | ||
padding: 0 0 10px; | ||
font-size: 20px; | ||
cursor: pointer; | ||
`; |