-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Necesary for prerendering. In that context, there is no referer available, which is required for our public google key.
- Loading branch information
1 parent
e54b8fb
commit f394ae7
Showing
3 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,8 @@ | ||
<script setup> | ||
const googleKey = useRuntimeConfig().public.googleKey | ||
const mapUrl = `https://www.google.com/maps/embed/v1/place?key=${googleKey}&q=DWH, Delft` | ||
</script> | ||
|
||
<template> | ||
<iframe | ||
width="100%" | ||
height="550" | ||
style="border: 0" | ||
loading="lazy" | ||
allowfullscreen | ||
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyDwi_l2R3qDWkh2HN8_AmIpy7mk8Ij7nk8 | ||
&q=DWH, Delft" | ||
/> | ||
<iframe width="100%" height="550" style="border: 0" loading="lazy" allowfullscreen :src="mapUrl" /> | ||
</template> |
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