feat: add cutie koishi and credits
All checks were successful
/ deploy_site (push) Successful in 2m21s

This commit is contained in:
Minhyeok Park 2024-10-30 21:17:21 +09:00
parent 1a936aa112
commit f73b1a7e0b
Signed by: pmh_only
SSH Key Fingerprint: SHA256:g/OyGvi2pcd8ub9mqge/ohmDP0fZX/xOPWPIcM+9XpI
3 changed files with 32 additions and 0 deletions

BIN
public/koishi.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -4,6 +4,8 @@ import { useRecoilState } from "recoil";
import { EditorValueState } from "../GlobalStates/EditorValueState";
import { motion } from "framer-motion";
import style from "./style.module.scss";
export const Editor: FC = () => {
const [value, setValue] = useRecoilState(EditorValueState)
const ref = useRef<any>()
@ -25,6 +27,7 @@ export const Editor: FC = () => {
return (
<motion.div
className={style.container}
ref={containerRef}
transition={{ delay: 1.5 }}
initial={{ opacity: 0 }}
@ -51,6 +54,14 @@ export const Editor: FC = () => {
cursorStyle: 'line'
}}
theme="vs-dark" />
<div className={style.credit}>
<div className={style.creditstr}>
<p>The PTOOLS v2</p>
<p>Made by Minhyeok Park</p>
</div>
<img className={style.koishi} src="/koishi.webp" />
</div>
</motion.div>
)
}

View File

@ -0,0 +1,21 @@
.container {
position: relative;
.credit {
padding: 1px 0px;
position: absolute;
z-index: 99999;
bottom: 0;
right: 0;
box-sizing: border-box;
display: flex;
align-items: flex-end;
text-align: right;
opacity: 0.25;
.koishi {
width: 140px;
}
}
}