-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/next' into task/OV-162-play-butt…
…on-control-cursor
- Loading branch information
Showing
22 changed files
with
458 additions
and
140 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
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
14 changes: 14 additions & 0 deletions
14
frontend/src/bundles/common/components/not-found-animation/constants/constants.ts
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,14 @@ | ||
const CIRCLE_VARIANTS = { | ||
animate: { | ||
r: [1, 5, 10, 15, 20], | ||
opacity: [0.9, 0.3, 0.2, 0.1, 0], | ||
}, | ||
}; | ||
|
||
const CIRCLE_TRANSITION = { | ||
repeat: Number.POSITIVE_INFINITY, | ||
ease: 'easeOut', | ||
duration: 2, | ||
}; | ||
|
||
export { CIRCLE_TRANSITION, CIRCLE_VARIANTS }; |
62 changes: 62 additions & 0 deletions
62
frontend/src/bundles/common/components/not-found-animation/not-found-animation.tsx
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,62 @@ | ||
import { motion } from 'framer-motion'; | ||
|
||
import { | ||
CIRCLE_TRANSITION, | ||
CIRCLE_VARIANTS, | ||
} from '../not-found-animation/constants/constants.js'; | ||
|
||
const NotFoundAnimation: React.FC = () => ( | ||
<motion.svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 200 82.7" | ||
width="500" | ||
height="400" | ||
aria-hidden="true" | ||
> | ||
<g> | ||
<text | ||
transform="matrix(1.2187 0 0 1 13 75.6393)" | ||
fill="white" | ||
fontSize="83" | ||
fontFamily="FootlightMTLight" | ||
aria-hidden="true" | ||
> | ||
4 | ||
</text> | ||
<text | ||
transform="matrix(1.2187 0 0 1 133 73.6393)" | ||
fill="white" | ||
fontSize="83" | ||
fontFamily="FootlightMTLight" | ||
aria-hidden="true" | ||
> | ||
4 | ||
</text> | ||
</g> | ||
<g> | ||
<motion.path | ||
d="M81.8,29.2c4.1-5.7,10.7-9.4,18.3-9.4c6.3,0,12.1,2.7,16.1,6.9c0.6-0.4,1.1-0.7,1.7-1.1 | ||
c-4.4-4.8-10.8-7.9-17.8-7.9c-8.3,0-15.6,4.2-20,10.6C80.7,28.5,81.3,28.8,81.8,29.2z" | ||
fill="white" | ||
aria-hidden="true" | ||
/> | ||
<motion.path | ||
d="M118.1,53.7c-4,5.7-10.7,9.5-18.2,9.5c-6.3,0-12.1-2.6-16.2-6.8c-0.6,0.4-1.1,0.7-1.7,1.1 | ||
c4.4,4.8,10.8,7.8,17.9,7.8c8.3,0,15.6-4.3,19.9-10.7C119.2,54.5,118.6,54.1,118.1,53.7z" | ||
fill="white" | ||
aria-hidden="true" | ||
/> | ||
<motion.circle | ||
cx="100" | ||
cy="41" | ||
r="1" | ||
fill="white" | ||
variants={CIRCLE_VARIANTS} | ||
animate="animate" | ||
transition={CIRCLE_TRANSITION} | ||
/> | ||
</g> | ||
</motion.svg> | ||
); | ||
|
||
export { NotFoundAnimation }; |
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
6 changes: 2 additions & 4 deletions
6
...ideo-modal-content/components/generate-script-placeholder/generate-script-placeholder.tsx
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
Oops, something went wrong.