-
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 pull request #438 from BinaryStudioAcademy/task/OV-403-create-v…
…oices-page OV-403: Create voices page
- Loading branch information
Showing
32 changed files
with
481 additions
and
12 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export { Logo } from './logo.js'; | ||
export { LogoText } from './logo-text.js'; | ||
export { OpenAi } from './open-ai.js'; | ||
export { Voice } from './voice.js'; |
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 @@ | ||
import { createIcon } from '@chakra-ui/react'; | ||
|
||
const Voice = createIcon({ | ||
displayName: 'Voice', | ||
viewBox: '0 0 22 19', | ||
path: ( | ||
<path | ||
d="M18.95 13.9249L17.4 12.3749C18.1333 11.6916 18.7083 10.8832 19.125 9.9499C19.5417 9.01657 19.75 8.0249 19.75 6.9749C19.75 5.9249 19.5417 4.94157 19.125 4.0249C18.7083 3.10824 18.1333 2.30824 17.4 1.6249L18.95 0.0249023C19.8833 0.908236 20.625 1.9499 21.175 3.1499C21.725 4.3499 22 5.6249 22 6.9749C22 8.3249 21.725 9.5999 21.175 10.7999C20.625 11.9999 19.8833 13.0416 18.95 13.9249ZM15.75 10.7249L14.15 9.1249C14.45 8.84157 14.6917 8.52074 14.875 8.1624C15.0583 7.80407 15.15 7.40824 15.15 6.9749C15.15 6.54157 15.0583 6.14574 14.875 5.7874C14.6917 5.42907 14.45 5.10824 14.15 4.8249L15.75 3.2249C16.2833 3.70824 16.7 4.27074 17 4.9124C17.3 5.55407 17.45 6.24157 17.45 6.9749C17.45 7.70824 17.3 8.39574 17 9.0374C16.7 9.67907 16.2833 10.2416 15.75 10.7249ZM8 10.9749C6.9 10.9749 5.95833 10.5832 5.175 9.7999C4.39167 9.01657 4 8.0749 4 6.9749C4 5.8749 4.39167 4.93324 5.175 4.1499C5.95833 3.36657 6.9 2.9749 8 2.9749C9.1 2.9749 10.0417 3.36657 10.825 4.1499C11.6083 4.93324 12 5.8749 12 6.9749C12 8.0749 11.6083 9.01657 10.825 9.7999C10.0417 10.5832 9.1 10.9749 8 10.9749ZM0 18.9749V16.1749C0 15.6249 0.141667 15.1082 0.425 14.6249C0.708333 14.1416 1.1 13.7749 1.6 13.5249C2.45 13.0916 3.40833 12.7249 4.475 12.4249C5.54167 12.1249 6.71667 11.9749 8 11.9749C9.28333 11.9749 10.4583 12.1249 11.525 12.4249C12.5917 12.7249 13.55 13.0916 14.4 13.5249C14.9 13.7749 15.2917 14.1416 15.575 14.6249C15.8583 15.1082 16 15.6249 16 16.1749V18.9749H0ZM2 16.9749H14V16.1749C14 15.9916 13.9542 15.8249 13.8625 15.6749C13.7708 15.5249 13.65 15.4082 13.5 15.3249C12.9 15.0249 12.1292 14.7249 11.1875 14.4249C10.2458 14.1249 9.18333 13.9749 8 13.9749C6.81667 13.9749 5.75417 14.1249 4.8125 14.4249C3.87083 14.7249 3.1 15.0249 2.5 15.3249C2.35 15.4082 2.22917 15.5249 2.1375 15.6749C2.04583 15.8249 2 15.9916 2 16.1749V16.9749ZM8 8.9749C8.55 8.9749 9.02083 8.77907 9.4125 8.3874C9.80417 7.99574 10 7.5249 10 6.9749C10 6.4249 9.80417 5.95407 9.4125 5.5624C9.02083 5.17074 8.55 4.9749 8 4.9749C7.45 4.9749 6.97917 5.17074 6.5875 5.5624C6.19583 5.95407 6 6.4249 6 6.9749C6 7.5249 6.19583 7.99574 6.5875 8.3874C6.97917 8.77907 7.45 8.9749 8 8.9749Z" | ||
fill="currentColor" | ||
/> | ||
), | ||
}); | ||
|
||
export { Voice }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
export { type Voice } from '~/bundles/home/types/voice.type.js'; | ||
export { | ||
type GenerateSpeechRequestDto, | ||
type GenerateSpeechResponseDto, | ||
type GetVoicesResponseDto, | ||
type VideoGetAllItemResponseDto, | ||
type VideoGetAllResponseDto, | ||
} from 'shared'; |
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,7 @@ | ||
import { type Voice as SharedVoice } from 'shared'; | ||
|
||
type Voice = SharedVoice & { | ||
isLiked: boolean; | ||
}; | ||
|
||
export { type Voice }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { MainContent } from './main-content/main-content.js'; | ||
export { VoiceCard } from './voice-card/voice-card.js'; | ||
export { VoiceSection } from './voice-section/voice-section.js'; |
Oops, something went wrong.