feat: add cutie koishi and credits
All checks were successful
/ deploy_site (push) Successful in 2m21s
All checks were successful
/ deploy_site (push) Successful in 2m21s
This commit is contained in:
parent
1a936aa112
commit
f73b1a7e0b
BIN
public/koishi.webp
Normal file
BIN
public/koishi.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@ -4,6 +4,8 @@ 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 style from "./style.module.scss";
|
||||||
|
|
||||||
export const Editor: FC = () => {
|
export const Editor: FC = () => {
|
||||||
const [value, setValue] = useRecoilState(EditorValueState)
|
const [value, setValue] = useRecoilState(EditorValueState)
|
||||||
const ref = useRef<any>()
|
const ref = useRef<any>()
|
||||||
@ -25,6 +27,7 @@ export const Editor: FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<motion.div
|
||||||
|
className={style.container}
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
transition={{ delay: 1.5 }}
|
transition={{ delay: 1.5 }}
|
||||||
initial={{ opacity: 0 }}
|
initial={{ opacity: 0 }}
|
||||||
@ -51,6 +54,14 @@ export const Editor: FC = () => {
|
|||||||
cursorStyle: 'line'
|
cursorStyle: 'line'
|
||||||
}}
|
}}
|
||||||
theme="vs-dark" />
|
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>
|
</motion.div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
21
src/Editor/style.module.scss
Normal file
21
src/Editor/style.module.scss
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user