Skip to content

Commit

Permalink
finished merge into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Zausinger committed Aug 31, 2024
1 parent 003ecf8 commit 5109f9b
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 97 deletions.
13 changes: 7 additions & 6 deletions app/e-lab/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function Page({params: {id}}: { params: { id: string } }) {
familyName: person.lastName,
description: person.description,
image: 'https://www.tum-ai.com' + person.imgSrc,
email: person.email,
email: person.socialMedia.email,
worksFor: {
'@type': 'EmployeeRole',
roleName: person.role,
Expand All @@ -67,11 +67,11 @@ export default function Page({params: {id}}: { params: { id: string } }) {
},
url: 'https://www.tum-ai.com/e-lab/' + person.id,
sameAs: [
person.linkedin,
person.x ? person.x : "",
person.instagram ? person.instagram : "",
person.youtube ? person.youtube : "",
person.website ? person.website : "",
person.socialMedia.linkedin,
person.socialMedia.x ? person.socialMedia.x : "",
person.socialMedia.instagram ? person.socialMedia.instagram : "",
person.socialMedia.youtube ? person.socialMedia.youtube : "",
person.socialMedia.website ? person.socialMedia.website : "",
],
},
}
Expand Down Expand Up @@ -170,6 +170,7 @@ export default function Page({params: {id}}: { params: { id: string } }) {
</div>
</div>
</Section>
</div>
);
}

67 changes: 66 additions & 1 deletion app/e-lab/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import Link from "next/link";
import { Hero } from "./hero";
import type { Metadata } from "next";
import VentureTeam from "@components/VentureTeam";
import {Organization, WithContext} from "schema-dts";
import {startups} from "@data/e-lab-startups";
import StartupList from "@components/ELabStartupList";

export const metadata: Metadata = {
title: "TUM.ai - AI Entrepreneurship Lab",
Expand All @@ -38,8 +41,70 @@ export const metadata: Metadata = {
};

export default function Page() {
const jsonLd: WithContext<Organization> = {
'@context': 'https://schema.org',
'@type': 'Organization',
name: 'Venture Department',
alternateName: [
'AI Entrepreneurship Lab',
'AI E-Lab',
'AI E-Lab by TUM.ai',
'AI Entrepreneurship Lab by TUM.ai',
],
description: 'The Venture Department is the entrepreneurial arm of TUM.ai and organizes the AI Entrepreneurship Lab, a 14-week equity-free AI startup incubator.',
url: 'https://www.tum-ai.com/e-lab',
email: 'venture@tum-ai.com',
sameAs: [
'https://www.startbase.de/organization/ai-e-lab/',
'https://www.startup-insider.com/investor/ai-e-lab-by-tum-ai',
'https://www.munich-startup.de/startups/tum-ai-entrepreneurship-lab/',
],
parentOrganization: {
'@type': 'Organization',
name: 'TUM.ai',
legalName: 'TUM.ai e.V.',
alternateName: 'TUM.ai Student Initiative',
url: 'https://www.tum-ai.com',
logo: 'https://upload.wikimedia.org/wikipedia/commons/a/a2/TUM.ai_Logo_Blue_%26_Violet.svg',
email: 'contact@tum-ai.com',
},
contactPoint: {
'@type': 'ContactPoint',
email: 'venture@tum-ai.com',
contactType: 'Venture Department',
},
employee: {
'@type': 'EmployeeRole',
roleName: 'Head of Venture Department',
employee: {
'@type': 'Person',
name: 'Laurenz Sommerlad',
identifier: 'laurenz-sommerlad',
email: 'laurenz.sommerlad@tum-ai.com',
url: 'https://www.tum-ai.com/e-lab/laurenz-sommerlad',
sameAs: [
'https://laurenzsommerlad.com',
'https://www.linkedin.com/in/laurenzsommerlad/',
],
contactPoint: {
'@type': 'ContactPoint',
email: 'laurenz.sommerlad@tum-ai.com',
contactType: 'Head of Venture Department',
}
},
},
}


return (
<>
<>
<section>
{/* Add JSON-LD to your page */}
<script
type="application/ld+json"
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
/>
</section>
<Hero />
{/*
<Section className="items-center justify-center bg-purple-950 text-white">
Expand Down
6 changes: 6 additions & 0 deletions components/SocialMediaLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faLinkedin}
size="lg"
className={props.iconClassNames}
title="LinkedIn Profile"
/>
</Link>
{props.socialMedia.x ? (
Expand All @@ -19,6 +20,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faXTwitter}
size="lg"
className={props.iconClassNames}
title="X (former Twitter) Account"
/>
</Link>
) : null}
Expand All @@ -28,6 +30,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faInstagram}
size="lg"
className={props.iconClassNames}
title="Instagram Page"
/>
</Link>
) : null}
Expand All @@ -37,6 +40,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faYoutube}
size="lg"
className={props.iconClassNames}
title="YouTube Channel"
/>
</Link>
) : null}
Expand All @@ -46,6 +50,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faLink}
size="lg"
className={props.iconClassNames}
title="Website"
/>
</Link>
) : null}
Expand All @@ -55,6 +60,7 @@ function SocialMediaLinks(props: { socialMedia: SocialMedia, iconClassNames: str
icon={faEnvelope}
size="lg"
className={props.iconClassNames}
title="Send E-Mail"
/>
</Link>
) : null}
Expand Down
Loading

0 comments on commit 5109f9b

Please sign in to comment.