changed from hexo to custom react stuff #1

Merged
developomp merged 73 commits from dev into master 2021-06-27 14:37:56 +09:00
Showing only changes of commit cb3582dce0 - Show all commits

View file

@ -19,6 +19,8 @@ interface SpinnerProps {
} }
export default class Spinner extends React.Component<SpinnerProps> { export default class Spinner extends React.Component<SpinnerProps> {
balls: unknown[] = []
motion = keyframes` motion = keyframes`
from { from {
transform: scale(1, 1); transform: scale(1, 1);
@ -91,12 +93,12 @@ export default class Spinner extends React.Component<SpinnerProps> {
animation: ${this.spin} 10s infinite; animation: ${this.spin} 10s infinite;
` `
balls: unknown[] = []
constructor(props) { constructor(props) {
super(props) super(props)
let keyValue = 0 let keyValue = 0
const countBallsInLine = 3 const countBallsInLine = 3
for (let i = 0; i < countBallsInLine; i++) { for (let i = 0; i < countBallsInLine; i++) {
for (let j = 0; j < countBallsInLine; j++) { for (let j = 0; j < countBallsInLine; j++) {
this.balls.push( this.balls.push(