-
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.
Browse files
Browse the repository at this point in the history
[feat] #36 header button을 url에 따라 조정
- Loading branch information
Showing
15 changed files
with
255 additions
and
232 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<h1 align="center">Welcome to MojimojiMemoji 👋</h1> | ||
<p align="center"> | ||
<img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" /> | ||
<a href="#" target="_blank"> | ||
<img alt="License: ISC" src="https://img.shields.io/badge/License-ISC-yellow.svg" /> | ||
</a> | ||
<img alt="language count" src="https://img.shields.io/github/languages/count/sewonkimm/MojimojiMemoji" /> | ||
<img alt="top language" src="https://img.shields.io/github/languages/top/sewonkimm/MojimojiMemoji" /> | ||
</p> | ||
<p align="center"> | ||
<img alt="icon" src="https://user-images.githubusercontent.com/30452963/79701905-c56e2480-82db-11ea-8272-0689437f6045.png" /> | ||
</p> | ||
<p align="center"> | ||
웨일 브라우저 확장앱🐋 모지모지메모지📝 | ||
</p> | ||
|
||
## Install🔮 | ||
|
||
```sh | ||
yarn install | ||
``` | ||
|
||
## Usage🥁 | ||
|
||
```sh | ||
yarn start | ||
``` | ||
|
||
## Show your support✨ | ||
|
||
Give a ⭐️ if this project helped you! | ||
|
||
--- | ||
|
||
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ | ||
<h1 align="center">Welcome to MojimojiMemoji 👋</h1> | ||
<p align="center"> | ||
<img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" /> | ||
<a href="#" target="_blank"> | ||
<img alt="License: ISC" src="https://img.shields.io/badge/License-ISC-yellow.svg" /> | ||
</a> | ||
<img alt="language count" src="https://img.shields.io/github/languages/count/sewonkimm/MojimojiMemoji" /> | ||
<img alt="top language" src="https://img.shields.io/github/languages/top/sewonkimm/MojimojiMemoji" /> | ||
</p> | ||
<p align="center"> | ||
<img alt="icon" src="https://user-images.githubusercontent.com/30452963/79701905-c56e2480-82db-11ea-8272-0689437f6045.png" /> | ||
</p> | ||
<p align="center"> | ||
웨일 브라우저 확장앱🐋 모지모지메모지📝 | ||
</p> | ||
|
||
## Install🔮 | ||
|
||
```sh | ||
yarn install | ||
``` | ||
|
||
## Usage🥁 | ||
|
||
```sh | ||
yarn start | ||
``` | ||
|
||
## Show your support✨ | ||
|
||
Give a ⭐️ if this project helped you! | ||
|
||
--- | ||
|
||
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ |
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,24 +1,24 @@ | ||
import React from 'react'; | ||
|
||
import styles from './styles.scss'; | ||
|
||
type FolderProps = { | ||
color: string | ||
}; | ||
|
||
const Folder = (props: FolderProps) => { | ||
const { color } = props; | ||
|
||
return ( | ||
<div className={styles.folder_container}> | ||
<div className={styles.folder_header} style={{ backgroundColor:color }} /> | ||
<div className={styles.folder_body} style={{ backgroundColor:color }} /> | ||
</div> | ||
); | ||
}; | ||
|
||
Folder.defaultProps = { | ||
color: '#ffc928' | ||
}; | ||
|
||
export default Folder; | ||
import React from 'react'; | ||
|
||
import styles from './styles.scss'; | ||
|
||
type FolderProps = { | ||
color: string | ||
}; | ||
|
||
const Folder = (props: FolderProps) => { | ||
const { color } = props; | ||
|
||
return ( | ||
<div className={styles.folder_container}> | ||
<div className={styles.folder_header} style={{ backgroundColor:color }} /> | ||
<div className={styles.folder_body} style={{ backgroundColor:color }} /> | ||
</div> | ||
); | ||
}; | ||
|
||
Folder.defaultProps = { | ||
color: '#ffc928' | ||
}; | ||
|
||
export default Folder; |
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,37 +1,37 @@ | ||
.folder_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
width: 100px; | ||
height: 80px; | ||
|
||
.folder_header { | ||
position: absolute; | ||
top: 5px; | ||
left: 10px; | ||
width: 30px; | ||
height: 30px; | ||
background-color: #ffc928; | ||
border-radius: 10px 0px 0px 0px; | ||
|
||
&:after { | ||
position: absolute; | ||
top: 6.5px; | ||
left: 15px; | ||
width: 30px; | ||
height: 30px; | ||
transform: rotateZ(45deg); | ||
background-color: inherit; | ||
content:''; | ||
} | ||
} | ||
|
||
.folder_body { | ||
position: absolute; | ||
width: 80px; | ||
height: 50px; | ||
background-color: #ffc928; | ||
border-radius: 10px; | ||
} | ||
.folder_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
width: 100px; | ||
height: 80px; | ||
|
||
.folder_header { | ||
position: absolute; | ||
top: 5px; | ||
left: 10px; | ||
width: 30px; | ||
height: 30px; | ||
background-color: #ffc928; | ||
border-radius: 10px 0px 0px 0px; | ||
|
||
&:after { | ||
position: absolute; | ||
top: 6.5px; | ||
left: 15px; | ||
width: 30px; | ||
height: 30px; | ||
transform: rotateZ(45deg); | ||
background-color: inherit; | ||
content:''; | ||
} | ||
} | ||
|
||
.folder_body { | ||
position: absolute; | ||
width: 80px; | ||
height: 50px; | ||
background-color: #ffc928; | ||
border-radius: 10px; | ||
} | ||
} |
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,9 @@ | ||
// This file is automatically generated. | ||
// Please do not change this file! | ||
interface CssExports { | ||
'folder_body': string; | ||
'folder_container': string; | ||
'folder_header': string; | ||
} | ||
export const cssExports: CssExports; | ||
export default cssExports; | ||
// This file is automatically generated. | ||
// Please do not change this file! | ||
interface CssExports { | ||
'folder_body': string; | ||
'folder_container': string; | ||
'folder_header': string; | ||
} | ||
export const cssExports: CssExports; | ||
export default cssExports; |
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,16 +1,16 @@ | ||
// This file is automatically generated. | ||
// Please do not change this file! | ||
interface CssExports { | ||
'buttons': string; | ||
'color': string; | ||
'color_btn': string; | ||
'color_picker': string; | ||
'delete_btn': string; | ||
'delete_icon': string; | ||
'folder_setting': string; | ||
'picker': string; | ||
'rename_btn': string; | ||
'rename_icon': string; | ||
} | ||
export const cssExports: CssExports; | ||
export default cssExports; | ||
// This file is automatically generated. | ||
// Please do not change this file! | ||
interface CssExports { | ||
'buttons': string; | ||
'color': string; | ||
'color_btn': string; | ||
'color_picker': string; | ||
'delete_btn': string; | ||
'delete_icon': string; | ||
'folder_setting': string; | ||
'picker': string; | ||
'rename_btn': string; | ||
'rename_icon': string; | ||
} | ||
export const cssExports: CssExports; | ||
export default cssExports; |
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
Oops, something went wrong.