-
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
1 parent
c9d4847
commit 600ed8a
Showing
21 changed files
with
306 additions
and
94 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,9 +1,109 @@ | ||
# 11th_5team_fe | ||
# 🌡 Moodpic Front-end | ||
 | ||
|
||
## Quick Start | ||
<img width="1016" alt="스크린샷 2022-06-29 오후 9 50 31" src="https://user-images.githubusercontent.com/29244798/176440486-a98d6aad-b62b-4246-9253-e03ac5cc21e3.png"> | ||
|
||
``` | ||
git clone https://github.com/depromeet/11th_5team_fe | ||
<br /> | ||
|
||
<b>[무드픽 접속하기 ✏️](https://www.moodpic.kr/)</b> | ||
|
||
## 🌡 Installation | ||
|
||
```bash | ||
$ git clone https://github.com/depromeet/11th_5team_fe | ||
$ npm i | ||
$ npm run dev | ||
``` | ||
``` | ||
|
||
<br> | ||
|
||
## 🌡 Feature | ||
|
||
<img width="1045" alt="스크린샷 2022-06-29 오후 9 51 47" src="https://user-images.githubusercontent.com/29244798/176440677-63e21223-0592-4140-8137-f9530be079b1.png"> | ||
|
||
<br/> | ||
|
||
|
||
## 🌡 Tech Stacks | ||
|
||
### ⚒️ Development Tools | ||
|
||
|
||
<br/> | ||
|
||
<div align="center"> | ||
<img src="https://img.shields.io/badge/React.js-v17.0.2-61DAFB?logo=react"/> | ||
<img src="https://img.shields.io/badge/Styled components-v2.6.3-DB7093?logo=styled-components"/> | ||
<img src="https://img.shields.io/badge/Recoil-v0.7.26-61DAFB?logo=recoil"/> | ||
<img src="https://img.shields.io/badge/Prettier-v2.6.2-F7B93E?logo=prettier"/> | ||
<img src="https://img.shields.io/badge/Eslint-v8.12.0-4B32C3?logo=eslint"/> | ||
</br> | ||
<img src="https://img.shields.io/badge/Storybook-v6.4.21-FF4785?logo=storybook"/> | ||
<img src="https://img.shields.io/badge/Jest-v.27.5.1-C21325?logo=jest"/> | ||
<img src="https://img.shields.io/badge/Testing Library-v13.3.0-E33332?logo=testing-library"/> | ||
</div> | ||
|
||
<br/> | ||
|
||
### ⚒️ Infra | ||
|
||
<div align="center"> | ||
<img src="https://img.shields.io/badge/Vercel-232F3E?logo=vercel"/> | ||
<img src="https://img.shields.io/badge/GithubActions-CI/CD-232F3E?logo=githubactions"/> | ||
</div> | ||
|
||
<br/> | ||
|
||
|
||
## 🌡 Project Structure | ||
|
||
``` | ||
🗂 11th_5team_fe | ||
🗂 components | ||
🗂 hooks | ||
🗂 mocks | ||
🗂 pages | ||
🗂 login | ||
🗂 mypage | ||
🗂 oauth | ||
🗂 posts | ||
🗂 ready | ||
🗂 search | ||
🗂 share | ||
🗂 write | ||
... | ||
🗂 public | ||
🗂 images | ||
🗂 svgs | ||
🗂 category-images | ||
🗂 service | ||
🗂 apis | ||
🗂 shared | ||
🗂 api | ||
🗂 constants | ||
🗂 type | ||
🗂 utils | ||
🗂 store | ||
🗂 styles | ||
... | ||
- jest.config.js | ||
- package.json | ||
- tsconfig.json | ||
``` | ||
<br/> | ||
|
||
## 🌡 Back-end Repository | ||
|
||
https://github.com/depromeet/11th_5team | ||
|
||
<br /> | ||
|
||
## 🌡 Contributors | ||
|
||
| ```Lead``` 박수진 | 박상범 | 조기문 | | ||
| :-: | :-: | :-: | | ||
| [@sujin-park](https://github.com/sujin-park) | [@sangbooom](https://github.com/sangbooom) | [@guymoon](https://github.com/guymoon) | | ||
| <img src="https://user-images.githubusercontent.com/29244798/176429437-f2b203a9-aa98-4bca-96e0-eada8d909cca.png" width="350px" height="350px"> | <img src="https://user-images.githubusercontent.com/29244798/176429400-43d3cf65-c29e-43c1-a5f7-d530a0c77fb2.png" width="350px" height="100%"> | <img src="https://user-images.githubusercontent.com/29244798/176429443-191b6bc8-2d40-470c-999f-7c08a8eedf4e.png" width="350px" height="100%"> | | ||
|
||
<br/> | ||
<br/> |
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
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React from 'react'; | ||
import { useRouter } from 'next/router'; | ||
import styled from 'styled-components'; | ||
import { CommonWritingButton } from '@/components/Common'; | ||
|
||
const WritingButton = () => { | ||
const router = useRouter(); | ||
const goToWritePage = () => router.push('/write'); | ||
|
||
return ( | ||
<FloatingContainer> | ||
<ButtonContainer> | ||
<CommonWritingButton onClick={goToWritePage} /> | ||
</ButtonContainer> | ||
</FloatingContainer> | ||
); | ||
}; | ||
|
||
export const FloatingContainer = styled.div` | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
`; | ||
|
||
export const ButtonContainer = styled.div` | ||
position: relative; | ||
max-width: 48rem; | ||
margin: 0 auto; | ||
button { | ||
position: absolute; | ||
right: 2.4rem; | ||
bottom: 8rem; | ||
} | ||
`; | ||
|
||
export default WritingButton; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// lib/gtag.js | ||
export const GA_TRACKING_ID = 'G-H4Y31JE5GW'; | ||
|
||
// https://developers.google.com/analytics/devguides/collection/gtagjs/pages | ||
export const pageview = (url) => { | ||
window.gtag('config', GA_TRACKING_ID, { | ||
page_path: url, | ||
}); | ||
}; | ||
|
||
// https://developers.google.com/analytics/devguides/collection/gtagjs/events | ||
export const event = ({ action, category, label, value }) => { | ||
window.gtag('event', action, { | ||
event_category: category, | ||
event_label: label, | ||
value: value, | ||
}); | ||
}; |
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.
600ed8a
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.
Successfully deployed to the following URLs:
11th-5team-fe – ./
11th-5team-fe-dpm5gzoo-gmailcom.vercel.app
www.moodpic.kr
11th-5team-fe-git-main-dpm5gzoo-gmailcom.vercel.app
11th-5team-fe.vercel.app
moodpic.kr