This commit is contained in:
parent
2f400f5e48
commit
8214b7807c
@ -10,6 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
- run: mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }}
|
||||||
|
- run: echo "export const VERSION = '$(git rev-parse --short HEAD)'" > src/version.ts
|
||||||
- run: pnpm i
|
- run: pnpm i
|
||||||
- run: pnpm build
|
- run: pnpm build
|
||||||
- run: mc mirror $PWD/dist/ minio/ptools --overwrite
|
- run: mc mirror $PWD/dist/ minio/ptools --overwrite
|
||||||
|
@ -3,6 +3,7 @@ import { Editor as MonacoEditor } from "@monaco-editor/react";
|
|||||||
import { useRecoilState } from "recoil";
|
import { useRecoilState } from "recoil";
|
||||||
import { EditorValueState } from "../GlobalStates/EditorValueState";
|
import { EditorValueState } from "../GlobalStates/EditorValueState";
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
|
import { VERSION } from "../version";
|
||||||
|
|
||||||
import style from "./style.module.scss";
|
import style from "./style.module.scss";
|
||||||
|
|
||||||
@ -57,8 +58,9 @@ export const Editor: FC = () => {
|
|||||||
|
|
||||||
<div className={style.credit}>
|
<div className={style.credit}>
|
||||||
<div className={style.creditstr}>
|
<div className={style.creditstr}>
|
||||||
<p>The PTOOLS v2</p>
|
<p><b>The PTOOLS</b></p>
|
||||||
<p>Made by Minhyeok Park</p>
|
<p>v2-{VERSION}</p>
|
||||||
|
<p>© Minhyeok Park</p>
|
||||||
</div>
|
</div>
|
||||||
<img className={style.suika} src="/suika.webp" />
|
<img className={style.suika} src="/suika.webp" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
opacity: 0.25;
|
opacity: 0.25;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
|
b {
|
||||||
|
font-weight: 900;
|
||||||
|
}
|
||||||
|
|
||||||
.suika {
|
.suika {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
}
|
}
|
||||||
|
1
src/version.ts
Normal file
1
src/version.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export const VERSION = 'deadbeef'
|
Loading…
Reference in New Issue
Block a user