-
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 #30 from sulianova/VladimirFyodorov/change-hw-imag…
…e-types Vladimir fyodorov/change hw image types
- Loading branch information
Showing
87 changed files
with
2,381 additions
and
763 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export default Edit; | ||
|
||
function Edit() { | ||
return ( | ||
<svg viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<g clip-path="url(#clip0_2240_49)"> | ||
<path d="M3.10003 24.32L0.0600304 33.17C-0.20997 33.96 0.54003 34.71 1.33003 34.44L10.17 31.4L3.10003 24.33V24.32Z"/> | ||
<path d="M24.5422 2.88216L4.50989 22.9145L11.581 29.9856L31.6133 9.95322L24.5422 2.88216Z"/> | ||
<path d="M33.03 1.46C31.08 -0.490002 27.91 -0.490002 25.96 1.46L33.03 8.53C34.98 6.58 34.98 3.41 33.03 1.46Z"/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_2240_49"> | ||
<rect width="34.5" height="34.5" fill="white"/> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} |
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,16 @@ | ||
export default Trash; | ||
|
||
function Trash() { | ||
return ( | ||
<svg viewBox="0 0 19 24" xmlns="http://www.w3.org/2000/svg"> | ||
<g clip-path="url(#clip0_2235_44)"> | ||
< path d="M5.98225 6.23489V19.7693M9.14028 6.23489V19.7693M12.2983 6.23489V19.7693M2.12944 3.4107V21.6912C2.12944 22.1875 2.53548 22.5935 3.03174 22.5935L15.2579 22.5484C15.7541 22.5484 16.1601 22.1424 16.1601 21.6461V3.4107M0.451172 3.15806H18.0189M12.181 2.67082V1.35347C12.181 0.857205 11.775 0.451172 11.2787 0.451172H6.88454C6.38828 0.451172 5.98225 0.857205 5.98225 1.35347V2.67082" stroke-linecap="round" stroke-linejoin="round"/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_2235_44"> | ||
<rect width="18.47" height="23.0446"/> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} |
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,18 @@ | ||
export default Upload; | ||
|
||
function Upload() { | ||
return ( | ||
<svg viewBox="0 0 52 40" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<g clip-path="url(#clip0_2241_11)"> | ||
<path d="M30.15 33.22C46.15 33.22 50.23 30.21 49.65 22.72C49.15 16.22 41.65 15.72 41.65 15.72C41.65 15.72 44.63 6.88001 34.65 2.72001C22.65 -2.27999 17.65 9.72001 17.65 9.72001C8.64996 5.72001 7.64996 14.72 7.64996 14.72C0.149957 16.22 0.939957 24.54 2.64996 27.72C5.63996 33.28 11.15 33.22 18.15 33.22" stroke-linecap="round" stroke-linejoin="round"/> | ||
<path d="M24.25 16.79V37.91" stroke-linecap="round" stroke-linejoin="round"/> | ||
<path d="M18.25 22.22L24.25 16.25L30.12 22.22" stroke-linecap="round" stroke-linejoin="round"/> | ||
</g> | ||
<defs> | ||
<clipPath id="clip0_2241_11"> | ||
<rect width="51.2" height="39.41" fill="white"/> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,15 @@ | ||
import { useEffect, useState } from 'react'; | ||
import { BehaviorSubject } from 'rxjs'; | ||
|
||
export function useBehaviourSubjectValue<T>(subject: BehaviorSubject<T>, initialValue?: T) { | ||
const [value, setValue] = useState(initialValue !== undefined ? initialValue : subject.getValue()); | ||
|
||
useEffect(() => { | ||
const s = subject.subscribe(v => { | ||
setValue(v); | ||
}); | ||
return () => s.unsubscribe(); | ||
}, [subject]); | ||
|
||
return value; | ||
} |
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
81 changes: 0 additions & 81 deletions
81
src/pages/Course/Lesson/Components/LessonContent/LessonContent.tsx
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
src/pages/Course/Lesson/Components/LessonContent/LessonUppload/File.module.scss
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
src/pages/Course/Lesson/Components/LessonContent/LessonUppload/File.tsx
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/pages/Course/Lesson/Components/LessonContent/LessonUppload/Input.tsx
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
src/pages/Course/Lesson/Components/LessonContent/LessonUppload/LessonUppload.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.