diff --git a/src/App.tsx b/src/App.tsx
index ea2ce461..9ba7c81d 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -78,6 +78,15 @@ function App() {
const toSecondLesson = () => {
setPage("lesson/tcp_lesson");
};
+
+ const toThirdLesson = () => {
+ setPage("lesson/dns_lesson");
+ };
+
+ const toFourthLesson = () => {
+ setPage("lesson/ip_lesson");
+ };
+
return (
@@ -183,6 +192,8 @@ function App() {
backToHomeHandler={backToHome}
goToFirstLesson={toFirstLesson}
goToSecondLesson={toSecondLesson}
+ goToThirdLesson={toThirdLesson}
+ goToFourthLesson={toFourthLesson}
SettingsHandler={toSettingsPage}
/>
}
diff --git a/src/Components/Progress.tsx b/src/Components/Progress.tsx
index fe5955b7..62502349 100644
--- a/src/Components/Progress.tsx
+++ b/src/Components/Progress.tsx
@@ -17,6 +17,8 @@ interface Props {
backToHomeHandler: () => void;
goToFirstLesson: () => void;
goToSecondLesson: () => void;
+ goToThirdLesson: () => void;
+ goToFourthLesson: () => void;
}
function Progress({ ProfileHandler,
@@ -26,11 +28,13 @@ function Progress({ ProfileHandler,
backToHomeHandler,
SettingsHandler,
goToFirstLesson,
- goToSecondLesson }: Props) {
+ goToSecondLesson,
+ goToThirdLesson,
+ goToFourthLesson }: Props) {
return (
-
-
@@ -93,11 +97,21 @@ function Progress({ ProfileHandler,
-
+
-
+
LESSON 3
-
"Topic"
+
DNS
+
+
+
+
+
+
diff --git a/src/Styles/Progress.modules.css b/src/Styles/Progress.modules.css
index 27a1fb27..3ca2e827 100644
--- a/src/Styles/Progress.modules.css
+++ b/src/Styles/Progress.modules.css
@@ -169,6 +169,14 @@
top: 105%;
}
+#lesson4-box {
+ position: absolute;
+ width: 20%;
+ height: 18%;
+ left: 10%;
+ top: 140%;
+}
+
#unlocked-border {
box-sizing: border-box;