-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from prgrms-fe-devcourse/feature/Deploy-1.1.0
Deploy/version-1.1.0
- Loading branch information
Showing
78 changed files
with
1,693 additions
and
652 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 |
---|---|---|
|
@@ -4,7 +4,9 @@ | |
|
||
![logo](https://github.com/prgrms-fe-devcourse/FEDC5_looky_heejin/assets/90549862/ceb789a7-3811-4231-b705-1016345d7fbb) | ||
|
||
### [์๋น์ค ์ฃผ์](https://www.looky.kr/) | ||
### [๋ฉ์ธ ์๋น์ค ์ฃผ์](https://www.looky.kr/) | ||
|
||
##### [๋๋ฉ์ธ ๋ง๋ฃ ์ ์๋น์ค ์ฃผ์](https://looky-working.vercel.app/) | ||
|
||
--- | ||
|
||
|
@@ -18,8 +20,10 @@ | |
|
||
## ํ์ ์๊ฐ | ||
|
||
| [๊น์์ฃผ](https://github.com/SoJuSo) | [์ ์์](https://github.com/joyswim) | [์ค์์ฃผ](https://github.com/OhWonJu) | [ํฉ๋ฏผํธ](https://github.com/hellosonic-r) | | ||
| ํ์ฅ & COO | CKO | CTO | CAO | | ||
| :-: | :-: | :-: | :-: | | ||
| **โจ์ต๊ณ ์ด์ ์ฑ ์์** | **โจ์ต๊ณ ์ง์๊ฒฝ์ ์ฑ ์์** | **โจ์ต๊ณ ๊ธฐ์ ์ฑ ์์** | **โจ์ต๊ณ ๊ด๋ฆฌ ์ฑ ์์** | | ||
| [๊น์์ฃผ](https://github.com/SoJuSo) | [์ ์์](https://github.com/joyswim) | [์ค์์ฃผ](https://github.com/OhWonJu) | [ํฉ๋ฏผํธ](https://github.com/hellosonic-r) | | ||
| [email protected] | [email protected] | [email protected] | [email protected] | | ||
| <img src="https://github.com/SoJuSo.png" /> | <img src="https://github.com/joyswim.png" /> | <img src="https://github.com/OhWonJu.png" /> | <img src="https://github.com/hellosonic-r.png" /> | | ||
|
||
|
@@ -33,6 +37,16 @@ npm install | |
npm run dev | ||
``` | ||
|
||
## ํ๊ฒฝ ๋ณ์ ๋ชฉ๋ก | ||
|
||
``` | ||
VITE_BASE_URL= | ||
VITE_CRYPTO_KEY= | ||
VITE_ADMIN_ID= | ||
VITE_ADMIN_EMAIL= | ||
VITE_ADMIN_PASSWORD= | ||
``` | ||
|
||
## ํ ๋ฌธํ & ์ปจ๋ฒค์ | ||
|
||
[looky Convention ์ํค](https://github.com/prgrms-fe-devcourse/FEDC5_looky_heejin/wiki/Convention) | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,14 @@ | |
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<link | ||
href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta property="og:title" content="looky" /> | ||
<meta property="og:url" content="https://looky.kr/" /> | ||
|
@@ -12,10 +20,6 @@ | |
property="og:description" | ||
content="ํจ์ ์ ๊ด์ฌ ์๋ lookys๋ค์ ์ํ SNS ์๋น์ค. looky" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" | ||
/> | ||
<title>looky</title> | ||
</head> | ||
<body> | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
import { _POST } from "@/api"; | ||
import { ICreateChannelParams } from "@/types/channel"; | ||
|
||
export const _CREATE_CHANNEL = async (params: ICreateChannelParams) => { | ||
const result = await _POST("/channels/create", params); | ||
return result?.data; | ||
}; |
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,26 @@ | ||
import { useMe } from "@/hooks/useMe"; | ||
import { Button } from "../common"; | ||
import { useUI } from "../common/uiContext"; | ||
|
||
const { VITE_ADMIN_ID } = import.meta.env; | ||
|
||
const Admin = () => { | ||
const { id } = useMe(); | ||
const { setModalView, openModal } = useUI(); | ||
|
||
const onClick = () => { | ||
setModalView("CREATE_CHANNEL_VIEW"); | ||
openModal(); | ||
}; | ||
|
||
if (id === VITE_ADMIN_ID) | ||
return ( | ||
<div style={{ margin: "10px 5px", marginBottom: "0" }}> | ||
<Button variant="symbol" onClick={onClick}> | ||
<span style={{ fontWeight: "bold" }}>์ฑ๋ ์ถ๊ฐํ๊ธฐ</span> | ||
</Button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Admin; |
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 @@ | ||
export { default as Admin } from "./Admin"; |
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
Oops, something went wrong.