-
Notifications
You must be signed in to change notification settings - Fork 945
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7a6360
commit a931d6c
Showing
4 changed files
with
49 additions
and
159 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.mapContainer { | ||
display: flex; | ||
margin-top: 50px; | ||
margin-bottom: 20px; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from "react"; | ||
import styles from "./GoogleMaps.module.css"; // Assuming you have a separate CSS module for this component | ||
|
||
const GoogleMaps = () => { | ||
return ( | ||
<div className={styles.mapContainer}> | ||
<div | ||
style={{ | ||
maxWidth: "968px", | ||
transition: "none", | ||
overflow: "hidden", | ||
width: "100%", | ||
height: "500px", | ||
}} | ||
> | ||
<div | ||
id="my-map-canvas" | ||
style={{ height: "100%", width: "100%", maxWidth: "100%" }} | ||
> | ||
<iframe | ||
style={{ height: "100%", width: "100%", border: "0" }} | ||
src="https://www.google.com/maps/embed/v1/place?q=Remotion,+Hohlstrasse+186,+8004+Zurich&key=AIzaSyBFw0Qbyq9zTFTd-tUY6dZWTgaQzuU17R8" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default GoogleMaps; |
This file was deleted.
Oops, something went wrong.
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