-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assignment: 한슬희 #1
Open
hanseulhee
wants to merge
10
commits into
dogVelopers:main
Choose a base branch
from
hanseulhee:assignment/06
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3d8326e
feat: install npm, emotion
hanseulhee 13fc08c
env: add img files
hanseulhee 4799a1b
feat: apply nav
hanseulhee 4a2f474
feat: apply comment component
hanseulhee 1368179
feat: apply Card component
hanseulhee 1d182fc
feat: apply Inform component
hanseulhee feeab8b
feat: apply components
hanseulhee bc162b2
docs: Update README
hanseulhee 8801337
delete: optional chaining
hanseulhee ec9bac9
feat: 피드백 수정
hanseulhee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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,9 +1,113 @@ | ||
/** @jsxImportSource @emotion/react */ | ||
import { css } from "@emotion/react"; | ||
import Card from "./components/Card"; | ||
import Inform from "./components/Inform"; | ||
import Nav from "./components/Nav"; | ||
import profile from "./image/profile.jpg"; | ||
import Comment from "./components/Comment"; | ||
|
||
function App() { | ||
return ( | ||
<div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 시맨틱 태그에 대해서 공부해보고 적용해보시면 좋을 거 같아용 👍 |
||
<h1>Hello world 03</h1> | ||
<Nav /> | ||
<div css={contentWrapper}> | ||
<div css={inWrapper}> | ||
<h1 css={title}>한슬희 | dogvelopers</h1> | ||
<div css={informWrapper}> | ||
<div css={imgSize}> | ||
<img src={profile} css={profileImg} alt="profile" /> | ||
</div> | ||
<div css={informWrapperSort}> | ||
<Inform title="🎁 Date of birth" summary="2001.03.26" /> | ||
<Inform title="✍🏻 Student ID" summary="202014135" /> | ||
<Inform title="✉️ E-mail" summary="[email protected]" /> | ||
Comment on lines
+21
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이모티콘 활용을 정말 잘 하시는 것 같아요! |
||
</div> | ||
</div> | ||
<div css={introduceSort}> | ||
<h2>🙋🏻♀️ Introduce</h2> | ||
<span css={summary}> | ||
• 소프트웨어 공학과에 재학중인 한슬희입니다. | ||
</span> | ||
<span css={summary}>• 🍔햄버거와 🎞️영화를 좋아합니다. 😊</span> | ||
</div> | ||
<h2>🎈 Experience</h2> | ||
<div css={expreienceWrapper}> | ||
<Card /> | ||
<div css={commentWrapper}> | ||
<Comment /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; | ||
|
||
const title = css` | ||
font-size: 2.7rem; | ||
`; | ||
|
||
const inWrapper = css` | ||
max-width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
line-height: 1.5; | ||
`; | ||
|
||
const contentWrapper = css` | ||
position: relative; | ||
width: 100%; | ||
margin: 4rem 0; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
const informWrapper = css` | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
margin-top: 2rem; | ||
`; | ||
|
||
const informWrapperSort = css` | ||
display: flex; | ||
flex-direction: column; | ||
margin-left: 8rem; | ||
height: auto; | ||
`; | ||
|
||
const imgSize = css` | ||
width: 17rem; | ||
height: 17rem; | ||
border-radius: 70%; | ||
overflow: hidden; | ||
`; | ||
|
||
const profileImg = css` | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
`; | ||
|
||
const introduceSort = css` | ||
display: flex; | ||
flex-direction: column; | ||
margin: 3.7rem 7rem 3rem 0; | ||
`; | ||
|
||
const summary = css` | ||
font-size: 1rem; | ||
font-weight: 300; | ||
`; | ||
|
||
const expreienceWrapper = css` | ||
display: flex; | ||
flex-direction: row; | ||
`; | ||
|
||
const commentWrapper = css` | ||
margin-left: 2rem; | ||
`; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
과제라서 이렇게 하셨겠지만, 이런 경우 emotion global style로 처리하시는게 좋을 거 가타용