From be8b6043aa61dd1f162691af244176cad1e44e1b Mon Sep 17 00:00:00 2001 From: Denis Thiessen Date: Wed, 5 Jun 2024 23:08:51 +0200 Subject: [PATCH] fix: Cleanup/Formatting --- src/pages/study_site_1/StartPage1.jsx | 11 ++++------- src/pages/study_site_2/tab_content/HotelLocation.jsx | 2 +- src/pages/study_site_2/tab_content/HotelRatings.jsx | 4 ++-- src/pages/study_site_6/StartPage6.jsx | 3 +-- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/pages/study_site_1/StartPage1.jsx b/src/pages/study_site_1/StartPage1.jsx index 53774e9..bd29653 100644 --- a/src/pages/study_site_1/StartPage1.jsx +++ b/src/pages/study_site_1/StartPage1.jsx @@ -1,18 +1,15 @@ import React from "react"; -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 { pushToMouseLog } from "../../core/log/SensorLogger"; import { Collapse, Text, Spacer } from "@geist-ui/core"; -//import {logo} from "/public/images/budget_bird_logo.png"; function StartPage1({ redirectLoc }) { var saveMouseLog = function () { pushToMouseLog(getHeatmapData()); - //window.location.href = "./" + redirectLoc; }; // TODO THINK IF I WANT TO JUST USE AN OVERLAY FOR OTHER DUMMY LINKS, WHICH ARENT CORRECT??? @@ -44,9 +41,9 @@ function StartPage1({ redirectLoc }) { It is not possible to make a retroactive name change for a booking. - BudgetBird Airlines shall provide the transport service to the passenger named - in the ticket only. The BudgetBird Service Team will be happy to - help you if you require further information. + BudgetBird Airlines shall provide the transport service to the + passenger named in the ticket only. The BudgetBird Service Team will + be happy to help you if you require further information. diff --git a/src/pages/study_site_2/tab_content/HotelLocation.jsx b/src/pages/study_site_2/tab_content/HotelLocation.jsx index f72be3e..012fede 100644 --- a/src/pages/study_site_2/tab_content/HotelLocation.jsx +++ b/src/pages/study_site_2/tab_content/HotelLocation.jsx @@ -1,4 +1,4 @@ -import { Text, Image } from "@geist-ui/core"; +import { Text } from "@geist-ui/core"; import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet"; function HotelLocation() { diff --git a/src/pages/study_site_2/tab_content/HotelRatings.jsx b/src/pages/study_site_2/tab_content/HotelRatings.jsx index eb7b1c5..eafbc09 100644 --- a/src/pages/study_site_2/tab_content/HotelRatings.jsx +++ b/src/pages/study_site_2/tab_content/HotelRatings.jsx @@ -1,5 +1,5 @@ import React from "react"; -import { Card, Text, Grid, Avatar, Divider } from "@geist-ui/core"; +import { Card, Text, Grid, Avatar } from "@geist-ui/core"; import { Star } from "@geist-ui/icons"; const RatingCard = ({ name, avatar, rating, review }) => { @@ -16,7 +16,7 @@ const RatingCard = ({ name, avatar, rating, review }) => { - {name} +

{name}