diff --git a/src/pages/breweries/index.tsx b/src/pages/breweries/index.tsx index ca89998..29cba00 100644 --- a/src/pages/breweries/index.tsx +++ b/src/pages/breweries/index.tsx @@ -7,7 +7,7 @@ import BreweryPostQueryResult from '@/services/BreweryPost/types/BreweryPostQuer import { NextPage } from 'next'; import Head from 'next/head'; import { useContext, MutableRefObject, useRef } from 'react'; -import { Link } from 'react-daisyui'; +import Link from 'next/link'; import { FaPlus, FaArrowUp } from 'react-icons/fa'; import { useInView } from 'react-intersection-observer'; import { z } from 'zod'; diff --git a/src/pages/breweries/map.tsx b/src/pages/breweries/map.tsx index b20b9c7..15147f6 100644 --- a/src/pages/breweries/map.tsx +++ b/src/pages/breweries/map.tsx @@ -12,6 +12,7 @@ import DBClient from '@/prisma/DBClient'; import LocationMarker from '@/components/ui/LocationMarker'; import Link from 'next/link'; +import Head from 'next/head'; type MapStyles = Record<'light' | 'dark', `mapbox://styles/mapbox/${string}`>; @@ -69,44 +70,53 @@ const BreweryMapPage: NextPage = ({ breweries }) => { [breweries], ); return ( -
- - - - - {pins} - {popupInfo && ( - setPopupInfo(null)} - > -
- - {popupInfo.name} - -

- {popupInfo.location.city} - {popupInfo.location.stateOrProvince - ? `, ${popupInfo.location.stateOrProvince}` - : ''} - {popupInfo.location.country ? `, ${popupInfo.location.country}` : ''} -

-
-
- )} -
-
+ <> + + Brewery Map | The Biergarten App + + +
+ + + + + {pins} + {popupInfo && ( + setPopupInfo(null)} + > +
+ + {popupInfo.name} + +

+ {popupInfo.location.city} + {popupInfo.location.stateOrProvince + ? `, ${popupInfo.location.stateOrProvince}` + : ''} + {popupInfo.location.country ? `, ${popupInfo.location.country}` : ''} +

+
+
+ )} +
+
+ ); };