From 04586bdcf0c7022d38d5cb6f9c61e7101df85362 Mon Sep 17 00:00:00 2001 From: xsieklov <xsieklov@fi.muni.cz> Date: Wed, 1 Nov 2023 16:22:26 +0100 Subject: [PATCH] feat: treatment chapter --- src/components/Chapters.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/Chapters.tsx b/src/components/Chapters.tsx index 1c64e3c..6ddaf18 100644 --- a/src/components/Chapters.tsx +++ b/src/components/Chapters.tsx @@ -12,6 +12,9 @@ const Chapters = () => { case 'chpt3': window.location.href = '/symptoms'; break; + case 'chpt4': + window.location.href = '/treatment'; + break; default: break; } @@ -46,6 +49,12 @@ const Chapters = () => { className="absolute w-44 h-44 left-[35%] bottom-[10%] z-10 cursor-pointer" onClick={() => handleChapterClick('chpt3')} ></div> + + <div + id="chpt4" + className="absolute w-44 h-44 left-[25%] top-[40%] z-10 cursor-pointer" + onClick={() => handleChapterClick('chpt4')} + ></div> </div> </> ); -- GitLab