diff --git a/Websites/jefes-nextjs/app/components/Reviews/page.tsx b/Websites/jefes-nextjs/app/components/Reviews/page.tsx index 85ba6f3..749c109 100644 --- a/Websites/jefes-nextjs/app/components/Reviews/page.tsx +++ b/Websites/jefes-nextjs/app/components/Reviews/page.tsx @@ -2,7 +2,7 @@ import React from 'react'; import GoogleReviews from './google_reviews'; const App = () => { - const apiKey = 'AIzaSyDO7qlVQWRJGsW7dX1D9DFEMlTO4YsKBLI'; // Replace with your Google API key + const apiKey = 'AIzaSyClfOGrkQNRjDFzvnTk-W7Oeh-yyDNCXN0'; // Replace with your Google API key const placeId = 'ChIJQ-7Uc0BitocRQZASTWUyN04'; // Replace with the Google Place ID of the location return ( diff --git a/Websites/jefes-nextjs/app/page.tsx b/Websites/jefes-nextjs/app/page.tsx index dddea14..85c6345 100644 --- a/Websites/jefes-nextjs/app/page.tsx +++ b/Websites/jefes-nextjs/app/page.tsx @@ -182,7 +182,6 @@ export default function Home() { priority fill style={{ - width: "100%", objectPosition: "center", objectFit: "contain", }} @@ -239,7 +238,6 @@ export default function Home() { priority fill style={{ - width: "100%", objectPosition: "center", objectFit: "contain", }} @@ -277,7 +275,6 @@ export default function Home() { priority fill style={{ - width: "100%", objectPosition: "center", objectFit: "contain", }} @@ -288,7 +285,7 @@ export default function Home() {
- + {/* */}
{/*
diff --git a/Websites/jefes-nextjs/components/Maps/MapComponent.tsx b/Websites/jefes-nextjs/components/Maps/MapComponent.tsx index e59783f..7732c65 100644 --- a/Websites/jefes-nextjs/components/Maps/MapComponent.tsx +++ b/Websites/jefes-nextjs/components/Maps/MapComponent.tsx @@ -1,3 +1,4 @@ +"use client"; import React from 'react' import { GoogleMap, useJsApiLoader } from '@react-google-maps/api'; @@ -7,14 +8,15 @@ const containerStyle = { }; const center = { - lat: -3.745, - lng: -38.523 + lat: 36.10787615076762, + lng: -95.70694833561868, }; + function MyComponent() { const { isLoaded } = useJsApiLoader({ id: 'google-map-script', - googleMapsApiKey: "YOUR_API_KEY" + googleMapsApiKey: "AIzaSyClfOGrkQNRjDFzvnTk-W7Oeh-yyDNCXN0" }) const [map, setMap] = React.useState(null)