├── v0-user-next.config.js ├── app ├── find-doctor │ └── loading.tsx ├── components │ ├── CTA.tsx │ ├── HealthCentersMap.tsx │ ├── ProductPreview.tsx │ ├── Header.tsx │ ├── Hero.tsx │ ├── Testimonials.tsx │ ├── Features.tsx │ ├── Navbar.tsx │ ├── Pricing.tsx │ ├── HealthCentersMapComponent.tsx │ └── Footer.tsx ├── hero │ └── page.tsx ├── layout.tsx ├── globals.css ├── page.tsx ├── health-insights │ └── page.tsx └── our-team │ └── page.tsx ├── requirements.txt ├── pnpm-lock.yaml ├── postcss.config.mjs ├── lib └── utils.ts ├── components ├── ui │ ├── aspect-ratio.tsx │ ├── skeleton.tsx │ ├── collapsible.tsx │ ├── use-mobile.tsx │ ├── textarea.tsx │ ├── label.tsx │ ├── input.tsx │ ├── separator.tsx │ ├── progress.tsx │ ├── toaster.tsx │ ├── sonner.tsx │ ├── checkbox.tsx │ ├── slider.tsx │ ├── switch.tsx │ ├── badge.tsx │ ├── tooltip.tsx │ ├── hover-card.tsx │ ├── popover.tsx │ ├── avatar.tsx │ ├── radio-group.tsx │ ├── toggle.tsx │ ├── alert.tsx │ ├── scroll-area.tsx │ ├── resizable.tsx │ ├── toggle-group.tsx │ ├── tabs.tsx │ ├── button.tsx │ ├── card.tsx │ ├── accordion.tsx │ ├── input-otp.tsx │ ├── calendar.tsx │ ├── breadcrumb.tsx │ ├── pagination.tsx │ ├── table.tsx │ ├── drawer.tsx │ ├── dialog.tsx │ ├── use-toast.ts │ ├── sheet.tsx │ ├── form.tsx │ ├── alert-dialog.tsx │ ├── toast.tsx │ ├── command.tsx │ ├── navigation-menu.tsx │ └── select.tsx ├── theme-provider.tsx ├── charts │ ├── HealthcareAccessMap.tsx │ ├── ChildMortalityRate.tsx │ ├── HealthConditionsChart.tsx │ ├── LifeExpectancyTrend.tsx │ ├── UrbanRuralDisparity.tsx │ ├── AreaChartComponent.tsx │ ├── LineChartComponent.tsx │ ├── BarChartComponent.tsx │ ├── PieChartComponent.tsx │ └── MapComponent.tsx ├── cta.tsx ├── mouse-move-effect.tsx ├── features.tsx ├── footer.tsx ├── hero.tsx └── navbar.tsx ├── .gitignore ├── components.json ├── public ├── placeholder-logo.png ├── placeholder.jpg ├── placeholder-user.jpg ├── placeholder-logo.svg └── placeholder.svg ├── hooks ├── use-mobile.tsx └── use-toast.ts ├── tsconfig.json ├── next.config.mjs ├── tailwind.config.js ├── package.json ├── styles ├── globals.css ├── HealthCheck.module.css └── FindDoctor.module.css ├── README.md └── backend.py /v0-user-next.config.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/find-doctor/loading.tsx: -------------------------------------------------------------------------------- 1 | export default function Loading() { 2 | return null 3 | } 4 | 5 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | flask 2 | flask-cors 3 | python-dotenv 4 | requests 5 | langdetect 6 | aixplain 7 | regex 8 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: '6.0' 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false 6 | -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | const config = { 3 | plugins: { 4 | tailwindcss: {}, 5 | }, 6 | }; 7 | 8 | export default config; 9 | -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- 1 | import { clsx, type ClassValue } from "clsx" 2 | import { twMerge } from "tailwind-merge" 3 | 4 | export function cn(...inputs: ClassValue[]) { 5 | return twMerge(clsx(inputs)) 6 | } 7 | -------------------------------------------------------------------------------- /components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" 4 | 5 | const AspectRatio = AspectRatioPrimitive.Root 6 | 7 | export { AspectRatio } 8 | -------------------------------------------------------------------------------- /components/ui/skeleton.tsx: -------------------------------------------------------------------------------- 1 | import { cn } from "@/lib/utils" 2 | 3 | function Skeleton({ 4 | className, 5 | ...props 6 | }: React.HTMLAttributes) { 7 | return ( 8 |
12 | ) 13 | } 14 | 15 | export { Skeleton } 16 | -------------------------------------------------------------------------------- /components/theme-provider.tsx: -------------------------------------------------------------------------------- 1 | 'use client' 2 | 3 | import * as React from 'react' 4 | import { 5 | ThemeProvider as NextThemesProvider, 6 | type ThemeProviderProps, 7 | } from 'next-themes' 8 | 9 | export function ThemeProvider({ children, ...props }: ThemeProviderProps) { 10 | return {children} 11 | } 12 | -------------------------------------------------------------------------------- /components/ui/collapsible.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as CollapsiblePrimitive from "@radix-ui/react-collapsible" 4 | 5 | const Collapsible = CollapsiblePrimitive.Root 6 | 7 | const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger 8 | 9 | const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent 10 | 11 | export { Collapsible, CollapsibleTrigger, CollapsibleContent } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | 6 | # next.js 7 | /.next/ 8 | /out/ 9 | 10 | # production 11 | /build 12 | 13 | # debug 14 | npm-debug.log* 15 | yarn-debug.log* 16 | yarn-error.log* 17 | .pnpm-debug.log* 18 | 19 | # env files 20 | .env* 21 | 22 | # vercel 23 | .vercel 24 | 25 | # typescript 26 | *.tsbuildinfo 27 | next-env.d.ts -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://ui.shadcn.com/schema.json", 3 | "style": "default", 4 | "rsc": true, 5 | "tsx": true, 6 | "tailwind": { 7 | "config": "tailwind.config.ts", 8 | "css": "app/globals.css", 9 | "baseColor": "neutral", 10 | "cssVariables": true, 11 | "prefix": "" 12 | }, 13 | "aliases": { 14 | "components": "@/components", 15 | "utils": "@/lib/utils", 16 | "ui": "@/components/ui", 17 | "lib": "@/lib", 18 | "hooks": "@/hooks" 19 | }, 20 | "iconLibrary": "lucide" 21 | } -------------------------------------------------------------------------------- /public/placeholder-logo.png: -------------------------------------------------------------------------------- 1 | �PNG 2 |  3 | IHDR�M��0PLTEZ? tRNS� �@��`P0p���w �IDATx��ؽJ3Q�7'��%�|?� ���E�l�7���(X�D������w`����[�*t����D���mD�}��4; ;�DDDDDDDDDDDD_�_İ��!�y�`�_�:�� ;Ļ�'|� ��;.I"����3*5����J�1�� �T��FI�� ��=��3܃�2~�b���0��U9\��]�4�#w0��Gt\&1 �?21,���o!e�m��ĻR�����5�� ؽAJ�9��R)�5�0.FFASaǃ�T�#|�K���I�������1� 4 | M������N"��$����G�V�T� ��T^^��A�$S��h(�������G]co"J׸^^�'�=���%� �W�6Ы�W��w�a�߇*�^^�YG�c���`'F����������������^5_�,�S�%IEND�B`� -------------------------------------------------------------------------------- /hooks/use-mobile.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | const MOBILE_BREAKPOINT = 768 4 | 5 | export function useIsMobile() { 6 | const [isMobile, setIsMobile] = React.useState(undefined) 7 | 8 | React.useEffect(() => { 9 | const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) 10 | const onChange = () => { 11 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 12 | } 13 | mql.addEventListener("change", onChange) 14 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 15 | return () => mql.removeEventListener("change", onChange) 16 | }, []) 17 | 18 | return !!isMobile 19 | } 20 | -------------------------------------------------------------------------------- /app/components/CTA.tsx: -------------------------------------------------------------------------------- 1 | import { Button } from "@/components/ui/button" 2 | 3 | export default function CTA() { 4 | return ( 5 |
6 |
7 |

Ready to Streamline Your Workflow?

8 |

9 | Join thousands of teams already using StreamLine to boost their productivity. 10 |

11 | 14 |
15 |
16 | ) 17 | } 18 | 19 | -------------------------------------------------------------------------------- /components/ui/use-mobile.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | const MOBILE_BREAKPOINT = 768 4 | 5 | export function useIsMobile() { 6 | const [isMobile, setIsMobile] = React.useState(undefined) 7 | 8 | React.useEffect(() => { 9 | const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) 10 | const onChange = () => { 11 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 12 | } 13 | mql.addEventListener("change", onChange) 14 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 15 | return () => mql.removeEventListener("change", onChange) 16 | }, []) 17 | 18 | return !!isMobile 19 | } 20 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "lib": ["dom", "dom.iterable", "esnext"], 4 | "allowJs": true, 5 | "target": "ES6", 6 | "skipLibCheck": true, 7 | "strict": true, 8 | "noEmit": true, 9 | "esModuleInterop": true, 10 | "module": "esnext", 11 | "moduleResolution": "bundler", 12 | "resolveJsonModule": true, 13 | "isolatedModules": true, 14 | "jsx": "preserve", 15 | "incremental": true, 16 | "plugins": [ 17 | { 18 | "name": "next" 19 | } 20 | ], 21 | "paths": { 22 | "@/*": ["./*"] 23 | } 24 | }, 25 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], 26 | "exclude": ["node_modules"] 27 | } 28 | -------------------------------------------------------------------------------- /components/charts/HealthcareAccessMap.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useState, useEffect } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the map components with no SSR 7 | const MapWithNoSSR = dynamic(() => import("./MapComponent"), { ssr: false }) 8 | 9 | export function HealthcareAccessMap() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading map...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /components/charts/ChildMortalityRate.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useState, useEffect } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the chart component with no SSR 7 | const AreaChartWithNoSSR = dynamic(() => import("./AreaChartComponent"), { ssr: false }) 8 | 9 | export function ChildMortalityRate() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading chart...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /components/charts/HealthConditionsChart.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useState, useEffect } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the chart component with no SSR 7 | const PieChartWithNoSSR = dynamic(() => import("./PieChartComponent"), { ssr: false }) 8 | 9 | export function HealthConditionsChart() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading chart...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /components/charts/LifeExpectancyTrend.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useState, useEffect } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the chart component with no SSR 7 | const LineChartWithNoSSR = dynamic(() => import("./LineChartComponent"), { ssr: false }) 8 | 9 | export function LifeExpectancyTrend() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading chart...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /components/charts/UrbanRuralDisparity.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useState, useEffect } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the chart component with no SSR 7 | const BarChartWithNoSSR = dynamic(() => import("./BarChartComponent"), { ssr: false }) 8 | 9 | export function UrbanRuralDisparity() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading chart...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /app/components/HealthCentersMap.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { useEffect, useState } from "react" 4 | import dynamic from "next/dynamic" 5 | 6 | // Dynamically import the map component with no SSR 7 | const MapComponentWithNoSSR = dynamic(() => import("./HealthCentersMapComponent"), { ssr: false }) 8 | 9 | export default function HealthCentersMap() { 10 | const [isMounted, setIsMounted] = useState(false) 11 | 12 | useEffect(() => { 13 | setIsMounted(true) 14 | }, []) 15 | 16 | if (!isMounted) { 17 | return ( 18 |
19 |

Loading map...

20 |
21 | ) 22 | } 23 | 24 | return 25 | } 26 | 27 | -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | import { cn } from "@/lib/utils" 4 | 5 | const Textarea = React.forwardRef< 6 | HTMLTextAreaElement, 7 | React.ComponentProps<"textarea"> 8 | >(({ className, ...props }, ref) => { 9 | return ( 10 |