diff --git a/src/components/theme.ts b/src/components/theme.ts index 3fa7389..d1cc479 100644 --- a/src/components/theme.ts +++ b/src/components/theme.ts @@ -63,7 +63,7 @@ export const makeTheme = (mode: "light" | "dark", theme?: AccentColor) => fontWeight: 500, }, h3: { - fontSize: "max(18px, min(22px, 2vw))", + fontSize: "max(16px, min(20px, 2vw))", fontWeight: 500, }, button: { diff --git a/src/pages/en-au.json b/src/pages/en-au.json index 50c1c58..7d751f3 100644 --- a/src/pages/en-au.json +++ b/src/pages/en-au.json @@ -1,5 +1,6 @@ { "org": "ShortestPathLab", + "orgUrl": "https://pathfinding.ai", "name": "Posthoc", "openAppLabel": "Open Posthoc Web", "logoUrl": "img/logo192.png", @@ -49,7 +50,7 @@ "featuresSectionTitle": "Features", "featuresSectionSubtitle": "featuresSectionSubtitle", "teamSectionTitle": "Team", - "teamSectionSubtitle": "teamSectionSubtitle", + "teamSectionSubtitle": "Built with passion by ShortestPathLab @ Monash University", "features": [ { "image": null, @@ -123,5 +124,25 @@ "links": [{ "label": "Home", "url": "https://www.monash.edu" }] } ], + "team": [ + { + "name": "Kevin Zheng", + "title": "Posthoc lead developer", + "avatar": null, + "github": "https://github.com/Spaaaacccee" + }, + { + "name": "Dr Daniel Harabor", + "title": "Associate Professor", + "avatar": null, + "github": "https://harabor.net/daniel" + }, + { + "name": "Dr Michael Wybrow", + "title": "Associate Professor", + "avatar": null, + "github": "https://harabor.net/daniel" + } + ], "footerCopyright": "Copyright © 2024 Monash University" } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f5b9fbe..93720bd 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -2,11 +2,13 @@ import { ArrowBack, ArrowForward, CloseOutlined as CloseIcon, + GitHub, DragHandleOutlined as MenuIcon, LaunchOutlined as OpenIcon, FilterTiltShiftOutlined as ShowVideoIcon, } from "@mui/icons-material"; import { + Avatar, Box, Button, ButtonBase, @@ -14,6 +16,7 @@ import { Divider, Fade, IconButton, + Link, Stack, StackProps, SxProps, @@ -257,7 +260,7 @@ function Hero({ showVideo, onShowVideo }: SV) { }} variant="overline" > - {l10n.org} / {l10n.name} + {l10n.org} / {l10n.name} {l10n.heroTitle} @@ -334,15 +337,15 @@ function Card({ image?: RN; title?: RN; subtitle?: RN; -} & StackProps) { +} & Omit) { const paper = usePaper(); return ( {image ?? } {title ?? "Title"} @@ -629,16 +632,26 @@ export default function Home() { subtitle={l10n.docsSectionSubtitle} /> */} - {/* - {times(3, () => ( - + {map(l10n.team, ({ avatar, name, title, github }) => ( + !!github && window.open(github)} + > + } + title={name} + subtitle={title} + /> + ))} - */} +