-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into GGFE-216-관리자-컴포넌트-css-리팩토링
- Loading branch information
Showing
14 changed files
with
228 additions
and
187 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Test Deploy to Vercel | ||
|
||
# action을 돌리기 전에 secret을 설정해야 한다. | ||
# - TEST_DEPLOY_REPO_OWNER : vercel과 연결된 repository의 owner | ||
# - TEST_DEPLOY_REPO_OWNER_TOKEN : vercel과 연결된 repository의 owner의 token (repo 권한 필요) | ||
|
||
on: | ||
push: | ||
branches: | ||
- test-deploy | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: create build.sh | ||
run: | | ||
touch build.sh | ||
echo "#!/bin/sh" >> build.sh | ||
echo "cd ../" >> build.sh | ||
echo "mkdir output" >> build.sh | ||
echo "cp -R ./42gg.client/* ./output" >> build.sh | ||
echo "cp -R ./output ./42gg.client/" >> build.sh | ||
chmod +x build.sh | ||
- name: run build.sh | ||
run: sh ./build.sh | ||
|
||
- name: Pushes to another repository | ||
uses: cpina/github-action-push-to-another-repository@main | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.TEST_DEPLOY_REPO_OWNER_TOKEN }} | ||
with: | ||
source-directory: 'output' | ||
destination-github-username: ${{ secrets.TEST_DEPLOY_REPO_OWNER }} | ||
destination-repository-name: '42gg.client' | ||
target-branch: 'test-deploy' | ||
commit-message: '[Test-Deploy] Update from 42gg.client' |
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,17 @@ | ||
import Image from 'next/image'; | ||
import styles from 'styles/store/CoinImage.module.scss'; | ||
|
||
export default function CoinImage({ | ||
amount, | ||
size, | ||
}: { | ||
amount: number; | ||
size: number; | ||
}) { | ||
return ( | ||
<div className={styles.ggCoin}> | ||
<Image src='/image/coinImage.svg' alt='coin' width={size} height={size} /> | ||
{amount.toLocaleString()} | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
|
@@ -20,8 +20,5 @@ | |
font-size: 1.3rem; | ||
color: #ffffff; | ||
justify-content: space-between; | ||
.currentCoin { | ||
@include ggCoin; | ||
} | ||
} | ||
} |
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,9 @@ | ||
@import 'styles/common.scss'; | ||
|
||
.ggCoin { | ||
color: $coin-yellow; | ||
img { | ||
margin-right: 0.2rem; | ||
transform: translateY(0.2rem); | ||
} | ||
} |
Oops, something went wrong.