Skip to content

Commit

Permalink
Adds google event data
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Kawelke <[email protected]>
  • Loading branch information
seb-kw committed Aug 12, 2024
1 parent d991121 commit d347d8a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Binary file added public/teilnehmende-2023.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@ export const metadata: Metadata = {

const env = process.env.NODE_ENV

const structuredData = {
'@context': 'https://schema.org',
'@type': 'Event',
name: 'Cybersecurity Hackathon 2024',
startDate: '2024-11-08T17:00',
endDate: '2024-11-10T23:00',
eventAttendanceMode: 'https://schema.org/OfflineEventAttendanceMode',
eventStatus: 'https://schema.org/EventScheduled',
location: {
'@type': 'Place',
name: 'DIGITALHUB.DE',
address: {
'@type': 'PostalAddress',
streetAddress: 'Am Hauptbahnhof 6',
addressLocality: 'Bonn',
postalCode: '53111',
addressRegion: 'NRW',
addressCountry: 'DE',
},
},
image: ['https://cybersecurity-hackathon.de/teilnehmende-2023.jpg'],
description:
'Nimm am Cybersecurity Hackathon 2024 in Bonn vom 8. - 10. November teil! Entwickle Lösungen für OSS Sicherheit, vernetze dich mit Experten und gewinne 3k € Preisgeld. Kostenlose Teilnahme, spannende Workshops und eine großartige Atmosphäre erwarten dich.',
organizer: {
'@type': 'Organization',
name: 'L3montree Cybersecurity',
url: 'https://l3montree.com',
},
}

export default function RootLayout({
children,
}: {
Expand All @@ -52,6 +82,10 @@ export default function RootLayout({
></script>
)}
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
></script>
</head>
<body className="flex min-h-full">
<div className="flex w-full flex-col">{children}</div>
Expand Down

0 comments on commit d347d8a

Please sign in to comment.