|
@ -11,6 +11,7 @@ import DetailElement from "../../components/DetailElement"; |
|
|
|
|
|
|
|
|
function StartPage4({ redirectLoc }) { |
|
|
function StartPage4({ redirectLoc }) { |
|
|
const [modalVisible, setModalVisible] = useState(false); |
|
|
const [modalVisible, setModalVisible] = useState(false); |
|
|
|
|
|
const [sonificationEnabled, setSonificationEnabled] = useState(true); |
|
|
|
|
|
|
|
|
var saveMouseLog = function () { |
|
|
var saveMouseLog = function () { |
|
|
pushToMouseLog(getHeatmapData()); |
|
|
pushToMouseLog(getHeatmapData()); |
|
@ -18,6 +19,7 @@ function StartPage4({ redirectLoc }) { |
|
|
|
|
|
|
|
|
const closeModal = () => { |
|
|
const closeModal = () => { |
|
|
setModalVisible(false); |
|
|
setModalVisible(false); |
|
|
|
|
|
setSonificationEnabled(true); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const icelandicPhrasebook = ( |
|
|
const icelandicPhrasebook = ( |
|
@ -85,7 +87,10 @@ function StartPage4({ redirectLoc }) { |
|
|
bannerTranslationKey; |
|
|
bannerTranslationKey; |
|
|
|
|
|
|
|
|
const collapseGroup = ( |
|
|
const collapseGroup = ( |
|
|
<DetailElement sonificationType="model"> |
|
|
|
|
|
|
|
|
<DetailElement |
|
|
|
|
|
sonificationType="model" |
|
|
|
|
|
sonificationEnabled={sonificationEnabled} |
|
|
|
|
|
> |
|
|
<Collapse title="Regions and Cities" id="testElement"> |
|
|
<Collapse title="Regions and Cities" id="testElement"> |
|
|
<Text> |
|
|
<Text> |
|
|
Iceland is divided into several regions, each with its own unique |
|
|
Iceland is divided into several regions, each with its own unique |
|
@ -140,6 +145,7 @@ function StartPage4({ redirectLoc }) { |
|
|
<button |
|
|
<button |
|
|
onClick={() => { |
|
|
onClick={() => { |
|
|
setModalVisible(true); |
|
|
setModalVisible(true); |
|
|
|
|
|
setSonificationEnabled(false); |
|
|
}} |
|
|
}} |
|
|
> |
|
|
> |
|
|
Icelandic Phrasebook |
|
|
Icelandic Phrasebook |
|
|