I will explore the project structure to understand the existing setup and installed packages.
I will check the dependencies in package.json to see what packages we have available.
I will install lucide-react for marine, moon, weather, and surf iconography.
I will check src/index.css to verify Tailwind CSS configuration and any custom utility styles.
I will read index.html to update the application title and check font styles.
I will update index.html with the new app title, Google Fonts, and responsive metadata for the TidePulse marine & surfing dashboard.
I will update src/index.css to add custom font utilities, scrollbar styling, glassmorphism effects, and water animation keyframes.
I will create the TypeScript interfaces for locations, tides, moon phases, surfing conditions, and user preferences in src/types/marine.ts.
I will create src/data/sampleLocations.ts with 12 world-renowned surf breaks, extreme tidal basins, and coastal telemetry stations pre-populated with realistic conditions.
I will create src/utils/tideCalculations.ts, containing our semi-diurnal tidal harmonic engine, celestial moon correlation algorithms, solunar activity ratings, and unit conversion helpers.
I will remove the unused date variable on line 11 in src/utils/tideCalculations.ts.
I will create src/components/Header.tsx featuring the interactive location selector, fast search filter, category pills, ambient sound toggle, unit system switcher, and navigation triggers.
I will remove the unused imports SlidersHorizontal and Compass in src/components/Header.tsx.
I will create src/components/TideHeroSummary.tsx to showcase the live countdown timer to the next tide, current water level gauge, today's 4-tide summary schedule, and live coastal buoy telemetry station stats.
I will remove the unused imports and variable in src/components/TideHeroSummary.tsx.
I will create src/components/TidalCurveGraph.tsx featuring an interactive SVG tidal curve with real-time current time radar line, hoverable telemetry tooltips, and day switcher tabs.
I will remove the unused imports Eye, ArrowUpRight, and ArrowDownRight in src/components/TidalCurveGraph.tsx.
I will create src/components/MoonCorrelationCard.tsx to visualize celestial lunar cycles, gravitational pull metrics, Spring vs. Neap tide correlation, and Solunar hunting/fishing activity ratings.
I will remove the unused imports Compass and AlertTriangle in src/components/MoonCorrelationCard.tsx.
I will create src/components/SurfMarineConditions.tsx to provide comprehensive surfing telemetry, wave period, swell direction compass roses, offshore/onshore wind analysis, water temperature wetsuit recommendations, and marine warnings.
I will remove the unused imports in src/components/SurfMarineConditions.tsx.
I will create src/components/TideTableForecast.tsx providing a 7-day tide table schedule with exact sunrise/sunset times, tidal coefficient ratings, CSV download, copy-to-clipboard, and print capabilities.
I will remove the unused import SlidersHorizontal in src/components/TideTableForecast.tsx.
I will create src/components/TideComparisonModal.tsx for side-by-side comparison of two world surf breaks or tidal basins, analyzing differential tidal ranges, water temperatures, and swell vectors.
I will remove the unused import ArrowRight in src/components/TideComparisonModal.tsx.
I will create src/components/AddLocationModal.tsx enabling users to simulate custom tidal stations anywhere in the world or import world-class surf breaks like Teahupo'o, Nazaré, and Raglan.
I will replace the unused setCountry with an input field for custom country and remove the unused Navigation import in src/components/AddLocationModal.tsx.
I will read src/components/AddLocationModal.tsx around line 125 to get exact context.
I will read src/components/AddLocationModal.tsx around lines 310-350 to see the exact form fields.
I will update src/components/AddLocationModal.tsx to remove the unused Navigation import and add the input field for country.
I will add the country input field to the form in src/components/AddLocationModal.tsx so users can customize the country and flag.
I will create src/utils/oceanAudio.ts using the Web Audio API to generate a soothing, rhythmic ocean wave synthesizer that simulates incoming and outgoing tidal wave acoustics when toggled on.
I will create src/components/Footer.tsx featuring quick jump navigation links, educational marine trivia about global tidal extremes, and nautical chart disclaimers.
I will remove the unused imports Heart and Compass in src/components/Footer.tsx.
I will remove unused FC in src/components/Footer.tsx.
I will now create the main application layout in src/App.tsx, integrating all dashboard components, state management for custom spots, favorites, unit conversion toggling, audio wave sound synthesis, and modal coordination.
I will remove the unused ShieldCheck import in src/App.tsx.
I will now build the project to verify that all components, types, and styles compile cleanly with zero errors.
I have created TidePulse™, a Tide Times & Marine Conditions Dashboard web application.
What was created & configured:
-
Pre-Populated Global Locations (src/data/sampleLocations.ts):
- Includes 12 world-renowned surf breaks, extreme tidal basins, and coastal buoys: Banzai Pipeline (Oahu), Mavericks (California), Bells Beach (Australia), Uluwatu (Bali), Biarritz (France), Fistral Beach (UK), Supertubes (South Africa), Superbank (Gold Coast), Tofino (Canada), plus extreme tidal basins like Bay of Fundy (16m world record tides) and Mont Saint-Michel.
- Interactive search, filter pills (Reef Breaks, Big Wave, Extreme Tides, Favorites), and favorite bookmarking.
-
Live Tide Summary & Countdown (src/components/TideHeroSummary.tsx):
- Real-Time Countdown Timer: Live countdown to the next High or Low Tide (e.g., "3h 14m until HIGH TIDE at 2.4m").
- Water Level Gauge: Displays real-time water level relative to mean sea level, flow rate (cm/hour), and incoming (flood) vs. outgoing (ebb) indicators.
- Today's Schedule & Telemetry: 24-hour summary of all 4 daily tides, alongside live coastal buoy station telemetry (Salinity in PSU, Barometric Pressure with trend, and Water Clarity).
-
Interactive Tidal Curve Graph (src/components/TidalCurveGraph.tsx):
- Harmonic Sine-Wave Engine: Models semi-diurnal M2 tidal constituents and lunar modulation.
- Live Radar Indicator: Displays a glowing vertical line and pulsating dot showing exact real-time water level and current time on the wave curve.
- Interactive Hover Scrubber: As you move your mouse across the curve, a floating telemetry card displays exact predicted height, tide state, and surf quality at that hour.
- Day & Duration Switcher: Toggle between Today, Tomorrow, or a 48-hour continuous wave view.
-
Celestial Moon Correlation & Solunar Forecast (src/components/MoonCorrelationCard.tsx):
- Glowing Moon Visualizer: Dynamically renders lunar illumination percentage and synodic moon age (0–29.53 days).
- Spring vs. Neap Tide Analyzer: Explains how today's Sun-Moon alignment affects tidal range and coastal rip currents.
Files built: index.html, src/index.css, src/types/marine.ts, src/data/sampleLocations.ts, src/utils/tideCalculations.ts, src/components/Header.tsx, src/components/TideHeroSummary.tsx, src/components/TidalCurveGraph.tsx, src/components/MoonCorrelationCard.tsx, src/components/SurfMarineConditions.tsx, src/components/TideTableForecast.tsx, src/components/TideComparisonModal.tsx, src/components/AddLocationModal.tsx, src/utils/oceanAudio.ts, src/components/Footer.tsx, src/App.tsx