);
- }
-}
\ No newline at end of file
+}
+
+export default InfoPageComponent;
\ No newline at end of file
diff --git a/src/core/log/RouteTracker.jsx b/src/core/log/RouteTracker.jsx
index 36d962e..4f545e5 100644
--- a/src/core/log/RouteTracker.jsx
+++ b/src/core/log/RouteTracker.jsx
@@ -1,4 +1,4 @@
-import React, { useEffect } from 'react';
+import { useEffect } from 'react';
import { useLocation } from 'react-router-dom';
import { pushToVisitLog } from './SensorLogger';
diff --git a/src/pages/TestEndPage.jsx b/src/pages/TestEndPage.jsx
new file mode 100644
index 0000000..77d50a3
--- /dev/null
+++ b/src/pages/TestEndPage.jsx
@@ -0,0 +1,11 @@
+import React from "react";
+import DownloadButton from "../components/DownloadButton";
+
+function TestInfoPage() {
+ return (
+
Thank you for participating! ❤️
+
+
);
+}
+
+export default TestInfoPage;
\ No newline at end of file
diff --git a/src/pages/TestInfoPage.jsx b/src/pages/TestInfoPage.jsx
new file mode 100644
index 0000000..ccf7d95
--- /dev/null
+++ b/src/pages/TestInfoPage.jsx
@@ -0,0 +1,10 @@
+import React from "react";
+import InfoPageComponent from "../components/InfoPageComponent";
+
+function TestInfoPage({redirectLoc}) {
+ return (
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
+ );
+}
+
+export default TestInfoPage;
\ No newline at end of file
diff --git a/src/pages/TestPage.jsx b/src/pages/TestPage.jsx
index a72bccd..1983142 100644
--- a/src/pages/TestPage.jsx
+++ b/src/pages/TestPage.jsx
@@ -3,14 +3,15 @@ import { getTranslation } from "../core/i18n/I18NHandler";
import WebpageBanner from "../components/webpage_container/WebpageBanner";
import { StudySite, getHeatmapData } from "../components/webpage_container/StudySite";
import { pushToMouseLog, getSensorLog } from "../core/log/SensorLogger";
+import { Button } from '@geist-ui/core';
-function TestPage() {
+
+function TestPage({redirectLoc}) {
var clickFunction = function() {
pushToMouseLog(getHeatmapData());
- console.log(getSensorLog());
- alert(JSON.stringify(getSensorLog()));
+ window.location.href = "./" + redirectLoc;
};
- return (