-
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-401-fix-scrip…
…t-scroll
- Loading branch information
Showing
30 changed files
with
232 additions
and
88 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export { CODEC } from './codec.constant.js'; | ||
export { COMPOSITION_ID } from './composition-id.constant.js'; | ||
export { DOWNLOAD_BEHAVIOR } from './download-behavior.constant.js'; | ||
export { DOWNLOADED_FILE_NAME } from './downloaded-file-name.constant.js'; | ||
export { REQUEST_DELAY } from './request-delay.constant.js'; |
3 changes: 3 additions & 0 deletions
3
backend/src/common/services/remotion/constants/download-behavior.constant.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,3 @@ | ||
const DOWNLOAD_BEHAVIOR = 'download'; | ||
|
||
export { DOWNLOAD_BEHAVIOR }; |
3 changes: 3 additions & 0 deletions
3
backend/src/common/services/remotion/constants/downloaded-file-name.constant.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,3 @@ | ||
const DOWNLOADED_FILE_NAME = 'download.mp4'; | ||
|
||
export { DOWNLOADED_FILE_NAME }; |
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export { FormError } from './form-error/form-error.js'; | ||
export { FormHeader } from './form-header/form-header.js'; | ||
export { PasswordInput } from './password-input/password-input.js'; |
19 changes: 0 additions & 19 deletions
19
frontend/src/bundles/auth/components/common/form-error/form-error.tsx
This file was deleted.
Oops, something went wrong.
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
1 change: 1 addition & 0 deletions
1
frontend/src/bundles/common/components/player/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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export { ASPECT_RATIO_LANDSCAPE } from './aspect-ratio-landscape.constant.js'; | ||
export { ASPECT_RATIO_PORTRAIT } from './aspect-ratio-portrait.constant.js'; | ||
export { FPS } from './fps.constant.js'; | ||
export { MIN_DURATION_IN_FRAMES } from './min-duration-in-frames.js'; |
3 changes: 3 additions & 0 deletions
3
frontend/src/bundles/common/components/player/constants/fps.constant.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,3 @@ | ||
const FPS = 30; | ||
|
||
export { FPS }; |
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
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
38 changes: 38 additions & 0 deletions
38
frontend/src/bundles/create-avatar/components/consent/consent.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,38 @@ | ||
import { | ||
Box, | ||
Button, | ||
Flex, | ||
Icon, | ||
Text, | ||
} from '~/bundles/common/components/components.js'; | ||
import { IconName } from '~/bundles/common/icons/icons.js'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
const Consent: React.FC = () => { | ||
return ( | ||
<Flex className={styles['flex-container']}> | ||
<Text variant={'title'} color={'background.600'} marginTop={'2vh'}> | ||
Concent | ||
</Text> | ||
<Text variant={'body1'} color="typography.600" mb={3}> | ||
To prevent misuse of technology, we just need to confirm the | ||
person in the video is you. | ||
</Text> | ||
<Box | ||
className={styles['recordSection']} | ||
borderColor={'background.50'} | ||
> | ||
<Icon | ||
as={IconName.VIDEO_CAMERA} | ||
boxSize={100} | ||
color={'background.600'} | ||
/> | ||
<Button label="Record a consent" width="220px" /> | ||
</Box> | ||
<Button label="Generate Avatar" width="220px" /> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export { Consent }; |
32 changes: 32 additions & 0 deletions
32
frontend/src/bundles/create-avatar/components/consent/styles.module.css
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,32 @@ | ||
.flex-container { | ||
flex-direction: column; | ||
background-color: white; | ||
padding: 30px; | ||
border-radius: 10px; | ||
align-items: center; | ||
padding-bottom: 80px; | ||
} | ||
|
||
.inner-flex { | ||
color: var(--chakra-colors-typography-600); | ||
font-size: 14px; | ||
justify-content: center; | ||
gap: 40px; | ||
} | ||
|
||
.recordSection { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
border-width: 2px; | ||
border-radius: 11px; | ||
padding: 8vh; | ||
padding-left: 20vh; | ||
padding-right: 20vh; | ||
justify-content: center; | ||
margin-bottom: 5vh; | ||
} | ||
|
||
.icon { | ||
margin-bottom: 16px; | ||
} |
Oops, something went wrong.