diff --git a/public/images/budget_bird_logo.png b/public/images/budget_bird_logo.png new file mode 100644 index 0000000..a015a5d Binary files /dev/null and b/public/images/budget_bird_logo.png differ diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json index cb0f7fb..adf30af 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de/translation.json @@ -1,5 +1,6 @@ { "hello_world": "Hallo Welt", "download": "Download", - "continue": "Fortfahren" + "continue": "Fortfahren", + "task_1_info": "Ihr Flug wurde storniert und Sie möchten nun den Kunden-Support kontaktieren für eine Rückerstattung." } \ No newline at end of file diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 562fb5f..9f60696 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -1,5 +1,6 @@ { "hello_world": "Hello World", "download": "Download", - "continue": "Continue" + "continue": "Continue", + "task_1_info": "Your flight was cancelled and you want to contact customer support to get a refund." } \ No newline at end of file diff --git a/src/App.js b/src/App.js index 3aa50f0..267aa05 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import RouteTracker from "./core/log/RouteTracker"; import { createStore } from 'zustand/vanilla' import { persist, createJSONStorage } from 'zustand/middleware' import { PARTICIPANT_NUMBER } from "./core/Constants"; +import { StudySite } from "./components/webpage_container/StudySite"; const NoPageFound = React.lazy(() => import("./pages/NoPageFound")); const TestPage = React.lazy(() => import("./pages/TestPage")); @@ -12,6 +13,8 @@ const TestPage2 = React.lazy(() => import("./pages/TestPage2")); const TestInfoPage = React.lazy(() => import("./pages/TestInfoPage")); const TestInfoPage2 = React.lazy(() => import("./pages/TestInfoPage2")); const TestEndPage = React.lazy(() => import("./pages/TestEndPage")); +const StartPage1 = React.lazy(() => import("./pages/study_site_1/StartPage1")); + export const sensorLogState = createStore( persist( @@ -98,7 +101,7 @@ function App() { ...}>} /> ...}>} /> - ...}>} /> + ...}>} /> ...}>} /> ...}>} /> ...}>} /> diff --git a/src/pages/study_site_1/StartPage1.jsx b/src/pages/study_site_1/StartPage1.jsx new file mode 100644 index 0000000..30515ae --- /dev/null +++ b/src/pages/study_site_1/StartPage1.jsx @@ -0,0 +1,81 @@ +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 { Collapse, Text, Spacer, Grid } 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??? + // IS THAT OKAY??? + + return ( + + + BudgetBird Airlines Logo + +

Frequently Asked Questions

+ + + + You can change your flight bookings providing the fare conditions of your ticket permit this. + You can find out whether your ticket can be rebooked and whether there is a fee for this on your booking confirmation, or contact your travel agency or the Service Centre. + Alternatively, you can also rebook your flight details under My Bookings. + + + It is not possible to make a retroactive name change for a booking. Lufthansa 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. + + + The maximum weight limit for your flight can be checked + + The maximum size per piece of baggage is 158 cm (width X + height Y + depth Z). + + Larger, heavier or additional bags are carried as excess baggage. You can find the prices in our baggage calculator. + + + Since BudgetBird Airlines offers no flights outside the European Union the European Air Passenger Rights will apply. + + + You can change your flight bookings provided that the fare conditions of your ticket permit this. +You can find out whether your ticket can be rebooked and whether there is a fee for this on your booking confirmation, or contact your travel agency or the Service Centre. +Alternatively, you can also make a change to your flight details in the My Bookings section. Depending on the alternative flight you choose, there may be surcharges on a higher fare. The amount of the surcharge depends on the availability of the selected booking class and will be communicated to you during the rebooking process. + + + In principle, the refund is paid using the same method that you originally used to pay for the ticket, in other words, if you paid for your ticket by credit card, the refund will be credited to the same credit card account. + + + To make a reservation, please contact us in the following way: + Contact Details: + +31 99 999 9999 + Monday - Sunday open for 24 hours. + (Standard phone charges apply.) + reservation.budgetbird@example.com + + + When your ticket has not been used, the ticket price including all taxes and fees will be refunded to the original method of payment. +If you have already used one or more segments of the journey, the unused portion of the fare value, taxes and fees will be calculated and the ticket refunded accordingly on a pro rata basis. + + + Depending on your concern, you can contact Customer Support in the following ways: + + + + For every 100 kilometers travelled on any flight with BudgetBird Airlines, you will gain one BudgetBird Mile. These BudgetBird Miles can be used within the BudgetBird Miles Store, in exchange for goodies, discounts or free BudgetBird flight tickets. + + +
); +} + +export default StartPage1; \ No newline at end of file