From dd84d57bac679b0ae722b8d7dc7f85a87f281b6c Mon Sep 17 00:00:00 2001 From: luandro Date: Wed, 9 Oct 2024 12:36:36 -0300 Subject: [PATCH] Add credits to map provider and use base_url for links --- src/pages/Home.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx index feb335b..db645b9 100644 --- a/src/pages/Home.jsx +++ b/src/pages/Home.jsx @@ -4,6 +4,7 @@ import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet'; import { motion, useScroll, useTransform } from 'framer-motion'; import { Search, Menu, X, ChevronDown } from 'lucide-react'; import 'leaflet/dist/leaflet.css'; +const baseUrl = import.meta.env.BASE_URL || '/'; const fetchPartners = async () => { // Simulated API call @@ -125,8 +126,10 @@ const Home = () => {
{filteredPartners.map((partner) => ( @@ -137,7 +140,7 @@ const Home = () => {

{partner.description}