Skip to content

Commit

Permalink
Merge pull request #3 from sjproctor/maps-api
Browse files Browse the repository at this point in the history
✨ addes google map of basque center
  • Loading branch information
sjproctor authored Mar 21, 2024
2 parents 9cdc85c + cae2184 commit 591ded9
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/GoogleMap.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const GoogleMap = () => {
return (
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2888.656877202617!2d-116.20506237345882!3d43.61368540498516!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x54aef8fb2f9e4577%3A0x51618f9ed9c28459!2sThe%20Basque%20Center!5e0!3m2!1sen!2sus!4v1711048099024!5m2!1sen!2sus"
width="600"
height="450"
className="h-80 w-screen"
loading="lazy"
></iframe>
)
}

export default GoogleMap
38 changes: 38 additions & 0 deletions src/pages/PartyTime.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import React, { Suspense } from "react"
import { Link } from "react-router-dom"
const GoogleMap = React.lazy(() => import("../components/GoogleMap"))

const PartTime = () => {
return (
<>
<div className="m-4" id="party">
<Link to="/" className="hover:cursor-pointer">
<h2 className="m-3 text-center font-moontime text-6xl">
Celebration
</h2>
</Link>
</div>
<div className="mb-7">
<div className="m-4">
<p>Location: Basque Center</p>
<p>Address: 601 W Grove St, Boise, Idaho 83702</p>
<p>Time: TBA</p>
<p>
Dress code: Casual, please wear whatever makes you feel most
comfortable.
</p>
<p>What to bring: Yourself!</p>
<p>Parking: Lorem ipsum.</p>
<p>Transportation: Lorem ipsum.</p>
</div>
<div className="w-screen">
<Suspense fallback={<p>loading...</p>}>
<GoogleMap />
</Suspense>
</div>
</div>
</>
)
}

export default PartTime

0 comments on commit 591ded9

Please sign in to comment.