I will list the files in the project to see the existing structure and locate the key files like src/App.tsx and index.html.
I will inspect the contents of src/App.tsx to understand the existing setup.
I will check the package.json file to see what dependencies are available (like lucide-react or others).
I will install lucide-react to provide beautiful icons for our iOS UI, like the back button, chat icons, locations, search icon, star reviews, limit locks, and navigation items.
I will read src/index.css to see how the Tailwind styles are imported.
I will search for high-quality stock photos of Mersin, Turkey, and Kızkalesi to use for our slow-zooming header images.
I will create a helper file src/cityData.ts containing the detailed city guides for Mersin (as the primary city requested), as well as Antalya, Cappadocia, and Istanbul as alternative options so the designer can see how the template dynamically accommodates different types of city content. This data structure lists all necessary fields requested: overview, history, country information, transit details, weather, sleep guides, food scenes, practical tips, touchable spot list locations with maps, and festivals, for absolute completeness. Let's create this file.
I will now design the complete, fully interactive React application in src/App.tsx.
It will feature:
- The Ultimate iOS Mobile Simulator: A physical-feeling mockup of an iPhone 16 Pro with active safe areas, interactive status bar (battery level, Wi-Fi, time), scrolling interactions, and a beautiful sleek glassmorphism shell.
- Dynamic Cover with Ken Burns Slow-Zoom Slider: An automatic image carousal that transitions smoothly between high-quality photos of Mersin, featuring an elegant, slow-zooming animation.
- The 7 Crucial Interactive UI States:
- Normal Guide View: Full details of Mersin, Turkey.
- Loading State (Skeleton/Shimmer): Beautiful glowing placeholders plus the text
"Writing your guide...".
- Daily Limit Reached (Paywall Lock): A gorgeous lock screen offering Pro Upgrade, pricing plans, and details.
- Error State: A clean, iOS-native style failure message with
"Couldn't load the guide" and an active "Try Again" button.
- All Interactive Elements fully functional:
- "Plan a Trip" button: Opens an interactive modal allowing designers to step through choosing trip length (2, 3, or 5 days) and interest types, rendering a customized, day-by-day itinerary right inside the device!
- "Ask" button & Draggable Bottom Drawer: Slides up beautifully from the bottom with dynamic ready-made question chips, real-time simulated AI messaging with auto-typing responses, and custom chat input.
- Touchable spots: Tap on any location to open a custom mock "Google Maps" preview card inside the device with location details, ratings, and a button to actually open the Google Maps route on their phone!
- "Good to Know", "Events", and "Etiquette" sections beautifully rendered.
- A Designer's Interactive Companion Panel (Sidebar):
- Contains a complete, copy-pasteable layout checklist as requested (divided clearly into Kapak, Aksiyonlar, İçerik, Dokunulabilir Mekanlar, Madde Listeleri, Ask Paneli, and Ara Durumlar).
- Shows detailed CSS tokens, font sizes, colors, margins, and transition curves so the developer can hand it directly to a frontend coder.
- Live Event Logs showing what actions were tapped in real-time.
Let's write the complete code in src/App.tsx.
I will now clean up the unused imports in src/App.tsx to ensure that our build succeeds without any TypeScript errors. I'll replace the top import blocks with only the active elements.
I will now add custom CSS keyframes and animations to src/index.css for the shimmer effects, slide-up drawers, slow-spinning icons, and fade-in states, to make the iOS simulator experience feel dynamic and physical. This will provide a professional touch to the designer hand-off.
I will inspect index.html to find the page title and update it to something appropriate for an iOS City Guide & Design Reference app.
I will edit index.html to update the title to a premium, fitting title: "Mersin iOS City Guide & Design Specification System". This will provide clear context to anyone viewing the web project.
I will now run the project build to ensure everything compiles correctly and all TypeScript declarations are 100% sound.
I have successfully built and compiled the single-page iOS City Guide Application & Design Specification System.
Here is a summary of what I did:
🌟 Key Enhancements Implemented
-
Pixel-Perfect iPhone 16 Pro Simulator (Main Center Panel):
- Beautiful glassmorphism chassis with dynamic islands, simulated network signal, 5G labels, and an interactive system clock.
- Kapak (Cover Page): Transitions smoothly between 3 high-quality Pexels photos of Mersin, featuring a beautiful Ken Burns slow-zoom effect.
- Interactive Back Button: Resets active drawers, maps, or planner flows, logging actions instantly.
- "Plan a Trip" Wizard: Multi-step interactive flow allowing users to pick the trip length (2, 3, or 5 days) and interest (e.g., Gastronomy, Ancient Ruins, Nature) to generate a customized day-by-day Mersin itinerary inside the device.
- Touchable Spots: Click on any destination under Where to Stay, Food & Drink, Worth Finding, Photo Spots, and Day Trips to open a simulated Google Maps preview featuring exact coordinates, ratings, and a button that opens real Google Maps directions.
- "Ask" Concierge bottom drawer: Slides up dynamically from the bottom of the screen with a native draggable handlebar. Features ready-made quick question chips, active typing-simulation, and user chat history.
-
Designer's Specification Companion Panel (Left/Right Sidebars):
- State Switcher (Ara Durumlar): Allows designers to toggle between states to preview and test layouts:
- Normal View: The default premium city guide.
- Loading View: Skeleton cards with a shimmering gradient animation and
"Writing your guide..." caption.
- Daily Limit Reached: A clean locking screen with monthly and lifetime upgrade subscription pricing models.
- Error State: Native-looking error dialogue with a functional
"Try Again" button.
- Tasarımcıya Özel Sıralı Liste (Design Checklist): An itemized copy-pasteable breakdown of every section and sub-section matching the exact request.
- Action Stream Log: Shows live developer telemetry on what you tapped in the simulator (such as maps, prompts, or state modifications).
- Design Token Specifier: Outlines standard iOS screen properties, color tokens, and SF Pro equivalent sizing charts for immediate handoff to frontend or native Swift developers.
-
Production-Ready Optimization:
Files built: src/cityData.ts, src/App.tsx, src/index.css, index.html