-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from ScilifelabDataCentre/aboutpageupdate
About Pages update
- Loading branch information
Showing
15 changed files
with
447 additions
and
88 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+245 KB
pmp-frontend-app/src/assets/Partner logo/KI_digital_logotyp_positiv_RGB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.3 KB
pmp-frontend-app/src/assets/Partner logo/SciLifeLab_Logotype_Green_NEG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.5 KB
pmp-frontend-app/src/assets/Partner logo/SciLifeLab_Logotype_Green_POS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
288 changes: 288 additions & 0 deletions
288
pmp-frontend-app/src/assets/Partner logo/nbislogo_orange_txt_3cb0778d90.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import { ReactElement } from 'react'; | ||
import { ICardConfig, ICardContent } from '../interfaces/types'; | ||
import CardComponent from '../components/CardComponent'; | ||
import { TrackPageViewIfEnabled } from '../util/cookiesHandling'; | ||
import { TeamDescriptions } from '../content/content'; | ||
|
||
export default function AboutTeamPage(): ReactElement { | ||
TrackPageViewIfEnabled(); | ||
|
||
var cardConfig: { [id: string] : ICardConfig; } = { | ||
'teamCard': { | ||
cardClasses: "card w-96 bg-white shadow-xl", | ||
titleClasses: "card-title", | ||
subTitleClasses: "italic", | ||
textClasses: "", | ||
imgClasses: "object-cover h-96 w-96", | ||
buttonClasses: "", | ||
buttonPlacement: "", | ||
}, | ||
}; | ||
|
||
var cardContent: { [id: string] : ICardContent } = { | ||
'JanCard': { | ||
title: TeamDescriptions.teamMembers.jan.name, | ||
subTitle: TeamDescriptions.teamMembers.jan.title, | ||
text: TeamDescriptions.teamMembers.jan.description, | ||
buttonText: "", | ||
imageSrc: TeamDescriptions.teamMembers.jan.img, | ||
imageAlt: TeamDescriptions.teamMembers.jan.imgAlt, | ||
}, | ||
'NatCard': { | ||
title: TeamDescriptions.teamMembers.natashia.name, | ||
subTitle: TeamDescriptions.teamMembers.natashia.title, | ||
text: TeamDescriptions.teamMembers.natashia.description, | ||
buttonText: "", | ||
imageSrc: TeamDescriptions.teamMembers.natashia.img, | ||
imageAlt: TeamDescriptions.teamMembers.natashia.imgAlt, | ||
}, | ||
'SebCard': { | ||
title: TeamDescriptions.teamMembers.sebastian.name, | ||
subTitle: TeamDescriptions.teamMembers.sebastian.title, | ||
text: TeamDescriptions.teamMembers.sebastian.description, | ||
buttonText: "", | ||
imageSrc: TeamDescriptions.teamMembers.sebastian.img, | ||
imageAlt: TeamDescriptions.teamMembers.sebastian.imgAlt, | ||
}, | ||
'SamCard': { | ||
title: TeamDescriptions.teamMembers.saman.name, | ||
subTitle: TeamDescriptions.teamMembers.saman.title, | ||
text: TeamDescriptions.teamMembers.saman.description, | ||
buttonText: "", | ||
imageSrc: TeamDescriptions.teamMembers.saman.img, | ||
imageAlt: TeamDescriptions.teamMembers.saman.imgAlt, | ||
}, | ||
'MarCard': { | ||
title: TeamDescriptions.teamMembers.maria.name, | ||
subTitle: TeamDescriptions.teamMembers.maria.title, | ||
text: TeamDescriptions.teamMembers.maria.description, | ||
buttonText: "", | ||
imageSrc: TeamDescriptions.teamMembers.maria.img, | ||
imageAlt: TeamDescriptions.teamMembers.maria.imgAlt, | ||
}, | ||
}; | ||
|
||
return ( | ||
<> | ||
<div className="grid grid-cols-3 place-items-center gap-2"> | ||
{Object.keys(cardContent).map( key => ( | ||
<CardComponent cardConfig={cardConfig['teamCard']} cardContent={cardContent[key]} /> | ||
))} | ||
</div> | ||
</> | ||
); | ||
} |