From 568707ffbe8eacd8c67392f149af3f187c0a9b2a Mon Sep 17 00:00:00 2001 From: FearsomeRover Date: Fri, 1 Mar 2024 18:23:57 +0100 Subject: [PATCH] added location tile --- src/app/contact/page.tsx | 2 + src/components/tiles/location-tile.tsx | 55 ++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/components/tiles/location-tile.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 8ea3bb1..402f817 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,5 +1,6 @@ import { redirect } from 'next/navigation'; +import { LocationTile } from '@/components/tiles/location-tile'; import { OrganiserTile } from '@/components/tiles/organizer-tile'; import { getIndexData } from '@/models/get-index-data'; @@ -29,6 +30,7 @@ export default async function asyncontact() { {org.other.map((organiser) => ( ))} + diff --git a/src/components/tiles/location-tile.tsx b/src/components/tiles/location-tile.tsx new file mode 100644 index 0000000..37b91e1 --- /dev/null +++ b/src/components/tiles/location-tile.tsx @@ -0,0 +1,55 @@ +import { FaWaze } from 'react-icons/fa'; +import { SiGooglemaps } from 'react-icons/si'; + +import { Tile } from './tile'; + +const mapLinks = { + google: 'https://goo.gl/maps/dkXw1AjgX351WY4J6', + waze: 'https://ul.waze.com/ul?preview_venue_id=12517851.124916363.422156&navigate=yes', +}; + +export function LocationTile() { + return ( + + +
+

Helyszín

+
+ I épület + Budapest 1117 + Magyar Tudósok Körútja 2. + Budapest, Magyarország +
+ +
+
+