|
|
@ -31,26 +31,21 @@ import ProgrammeEvents from "./tab_content/ProgrammeEvents"; |
|
|
|
import StudentLife from "./tab_content/StudentLife"; |
|
|
|
import AboutUVV from "./tab_content/AboutUVV"; |
|
|
|
|
|
|
|
|
|
|
|
const tabContent = [ |
|
|
|
(<ProgrammeOverview />), |
|
|
|
(<StudyProgramme />), |
|
|
|
(<ProgrammeCareers />), |
|
|
|
(<ApplicationAndAdmissions />), |
|
|
|
(<TuitionFee />), |
|
|
|
(<ProgrammeMeetThePeople />), |
|
|
|
(<ProgrammeContact />), |
|
|
|
(<ProgrammeEvents />), |
|
|
|
(<StudentLife />), |
|
|
|
(<AboutUVV />) |
|
|
|
]; |
|
|
|
|
|
|
|
function StartPage3({ redirectLoc }) { |
|
|
|
const [activeTabIndex, setActiveTabIndex] = useState(0); |
|
|
|
|
|
|
|
var saveMouseLog = function () { |
|
|
|
pushToMouseLog(getHeatmapData()); |
|
|
|
}; |
|
|
|
const tabContent = [ |
|
|
|
<ProgrammeOverview />, |
|
|
|
<StudyProgramme />, |
|
|
|
<ProgrammeCareers />, |
|
|
|
<ApplicationAndAdmissions />, |
|
|
|
<TuitionFee />, |
|
|
|
<ProgrammeMeetThePeople />, |
|
|
|
<ProgrammeEvents />, |
|
|
|
<StudentLife />, |
|
|
|
<ProgrammeContact redirectLoc={redirectLoc} />, |
|
|
|
<AboutUVV />, |
|
|
|
]; |
|
|
|
|
|
|
|
const onActiveTabChange = (index) => { |
|
|
|
setActiveTabIndex(index); |
|
|
@ -67,8 +62,10 @@ function StartPage3({ redirectLoc }) { |
|
|
|
src="/images/uvv_logo.png" |
|
|
|
width="150px" |
|
|
|
alt="Universiteit van Voorbeeldhuizen Logo" |
|
|
|
className="centeredLogo" |
|
|
|
/> |
|
|
|
<Spacer h={3} /> |
|
|
|
<Spacer h={1} /> |
|
|
|
<h2>Software Engineering</h2> |
|
|
|
{tabContent[activeTabIndex]} |
|
|
|
<ScrollableTab onActiveTabChange={onActiveTabChange}> |
|
|
|
<Tab actionType="text"> |
|
|
@ -76,7 +73,7 @@ function StartPage3({ redirectLoc }) { |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Overview |
|
|
|
</Tab> |
|
|
|
<Tab actionType="button" redirectLoc={redirectLoc}> |
|
|
|
<Tab actionType="text"> |
|
|
|
<Book viewBox="0 -8 24 32" size={18} /> |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Study Programme |
|
|
@ -101,11 +98,6 @@ function StartPage3({ redirectLoc }) { |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Meet the people |
|
|
|
</Tab> |
|
|
|
<Tab actionType="text"> |
|
|
|
<MessageCircle viewBox="0 -8 24 32" size={18} /> |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Contact |
|
|
|
</Tab> |
|
|
|
<Tab actionType="text"> |
|
|
|
<Calendar viewBox="0 -8 24 32" size={18} /> |
|
|
|
<Spacer inline w={0.35} /> |
|
|
@ -116,6 +108,11 @@ function StartPage3({ redirectLoc }) { |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Student Life |
|
|
|
</Tab> |
|
|
|
<Tab actionType="text"> |
|
|
|
<MessageCircle viewBox="0 -8 24 32" size={18} /> |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|
Contact |
|
|
|
</Tab> |
|
|
|
<Tab actionType="text"> |
|
|
|
<Info viewBox="0 -8 24 32" size={18} /> |
|
|
|
<Spacer inline w={0.35} /> |
|
|
|