Skip to content
Snippets Groups Projects
Commit 04586bdc authored by Katarína Sieklová's avatar Katarína Sieklová
Browse files

feat: treatment chapter

parent e26c4e86
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -12,6 +12,9 @@ const Chapters = () => { ...@@ -12,6 +12,9 @@ const Chapters = () => {
case 'chpt3': case 'chpt3':
window.location.href = '/symptoms'; window.location.href = '/symptoms';
break; break;
case 'chpt4':
window.location.href = '/treatment';
break;
default: default:
break; break;
} }
...@@ -46,6 +49,12 @@ const Chapters = () => { ...@@ -46,6 +49,12 @@ const Chapters = () => {
className="absolute w-44 h-44 left-[35%] bottom-[10%] z-10 cursor-pointer" className="absolute w-44 h-44 left-[35%] bottom-[10%] z-10 cursor-pointer"
onClick={() => handleChapterClick('chpt3')} onClick={() => handleChapterClick('chpt3')}
></div> ></div>
<div
id="chpt4"
className="absolute w-44 h-44 left-[25%] top-[40%] z-10 cursor-pointer"
onClick={() => handleChapterClick('chpt4')}
></div>
</div> </div>
</> </>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment