diff --git a/package.json b/package.json
index 8826748..d09ba0e 100644
--- a/package.json
+++ b/package.json
@@ -8,10 +8,10 @@
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types",
"build:payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build",
"build:server": "tsc --project tsconfig.server.json",
- "build:next": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NEXT_BUILD=true node dist/server.js",
+ "build:next": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NEXT_BUILD=true node dist/server.js",
"build": "cross-env NODE_ENV=production pnpm build:payload && pnpm build:server && pnpm copyfiles && pnpm build:next",
"start": "copyfiles -u dist/next.config.js /app && cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
- "copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/ && copyfiles next.config.js dist/ ",
+ "copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/ && copyfiles next.config.js dist/ ",
"lint": "next lint"
},
"resolutions": {
@@ -52,6 +52,7 @@
"lucide-react": "^0.363.0",
"next": "14.1.4",
"payload": "^2.11.2",
+ "pigeon-maps": "^0.21.4",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.51.2",
@@ -64,6 +65,7 @@
"zustand": "^4.5.2"
},
"devDependencies": {
+ "@types/leaflet": "^1.9.8",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
diff --git "a/public/DALL\302\267E 2024-03-31 15.32.04 - Create a wide horizontal image suitable for a hero background on a healthcare website. The scene should depict a welcoming medical environment with a .webp:Zone.Identifier" "b/public/DALL\302\267E 2024-03-31 15.32.04 - Create a wide horizontal image suitable for a hero background on a healthcare website. The scene should depict a welcoming medical environment with a .webp:Zone.Identifier"
new file mode 100644
index 0000000..a08c312
--- /dev/null
+++ "b/public/DALL\302\267E 2024-03-31 15.32.04 - Create a wide horizontal image suitable for a hero background on a healthcare website. The scene should depict a welcoming medical environment with a .webp:Zone.Identifier"
@@ -0,0 +1,3 @@
+[ZoneTransfer]
+ZoneId=3
+HostUrl=https://chat.openai.com/
diff --git a/public/hero.webp b/public/hero.webp
new file mode 100644
index 0000000..43187d3
Binary files /dev/null and b/public/hero.webp differ
diff --git a/src/app/consult/page.tsx b/src/app/consult/page.tsx
new file mode 100644
index 0000000..0ecc1d6
--- /dev/null
+++ b/src/app/consult/page.tsx
@@ -0,0 +1,62 @@
+"use client"
+
+import MapContainer from "@/components/MapContainer"
+import MaxWidthWrapper from "@/components/MaxWidthWrapper"
+import { Button, buttonVariants } from "@/components/ui/button"
+import { cn } from "@/lib/utils"
+import Image from "next/image"
+import Link from "next/link"
+
+const Page = () => {
+ return (
+ <>
+
+
+ Find your ideal health ally with us, where personalized care meets expertise. Start your journey to wellness today with a consultation that understands you.
+
+ Let us guide you to your
+ Perfect Health Partner
+
+
+
If you'd like to sell high-quality diff --git a/src/components/MapContainer.tsx b/src/components/MapContainer.tsx new file mode 100644 index 0000000..bdaea23 --- /dev/null +++ b/src/components/MapContainer.tsx @@ -0,0 +1,35 @@ +import React, { useState } from 'react'; +import { Map, Marker } from 'pigeon-maps'; +import COORDS from '@/config'; +import { Button } from './ui/button'; + +export function MapContainer() { + const [showPrompt, setShowPrompt] = useState(true); + + const hidePrompt = () => { + setShowPrompt(false); + }; + + return ( +
Find your nearest clinic
+ +