diff --git a/src/s2-homeworks/hw05/pages/JuniorPlus.tsx b/src/s2-homeworks/hw05/pages/JuniorPlus.tsx
index 6c94830..3a8979d 100644
--- a/src/s2-homeworks/hw05/pages/JuniorPlus.tsx
+++ b/src/s2-homeworks/hw05/pages/JuniorPlus.tsx
@@ -7,7 +7,6 @@ import HW13 from '../../hw13/HW13'
function JuniorPlus() {
return (
- junior plus page
diff --git a/src/s2-homeworks/hw10/HW10.tsx b/src/s2-homeworks/hw10/HW10.tsx
index 53a9e13..1f462e0 100644
--- a/src/s2-homeworks/hw10/HW10.tsx
+++ b/src/s2-homeworks/hw10/HW10.tsx
@@ -4,6 +4,7 @@ import { AppStoreType } from './bll/store'
import { loadingAC } from './bll/loadingReducer'
import SuperButton from '../hw04/common/c2-SuperButton/SuperButton'
import s2 from '../../s1-main/App.module.css'
+import { Loader } from './Loader'
const HW10 = () => {
// useSelector, useDispatch
@@ -24,22 +25,26 @@ const HW10 = () => {
}
return (
-
+
homeworks 10
{/*should work (должно работать)*/}
- {isLoading ? (
-
крутилка...
- ) : (
-
-
- set loading...
-
-
- )}
+
+ {isLoading ? (
+
+
+
+ ) : (
+
+
+ Set loading...
+
+
+ )}
+
)
}
diff --git a/src/s2-homeworks/hw10/Loader.module.css b/src/s2-homeworks/hw10/Loader.module.css
new file mode 100644
index 0000000..8e8c195
--- /dev/null
+++ b/src/s2-homeworks/hw10/Loader.module.css
@@ -0,0 +1,17 @@
+.loader {
+ border: 9px solid #f3f3f3;
+ border-top: 9px solid #512DE4;
+ border-radius: 50%;
+ width: 90px;
+ height: 90px;
+ animation: spin 1s linear infinite;
+}
+
+@keyframes spin {
+ 0% {
+ transform: rotate(0deg);
+ }
+ 100% {
+ transform: rotate(360deg);
+ }
+}
\ No newline at end of file
diff --git a/src/s2-homeworks/hw10/Loader.tsx b/src/s2-homeworks/hw10/Loader.tsx
new file mode 100644
index 0000000..8da0797
--- /dev/null
+++ b/src/s2-homeworks/hw10/Loader.tsx
@@ -0,0 +1,3 @@
+import s from './Loader.module.css'
+
+export const Loader = () =>