Once the AI completes the page generation, you will be redirected to the interactive HTML Editor workspace:
1. Dual Mode Conversion
Toggle between Preview (displays the compiled page live render) and Design (allows double-clicking elements to directly modify texts, links, or image sources).
2. Responsive View Check
Click Desktop or Mobile buttons in the top navbar to instantly test responsiveness.
3. AI Designer Sidebar
Type prompts to the inline AI Assistant (e.g. Change the second section background to dark blue, move the pricing card to the top) to rebuild layout structures automatically. Click "Save" to commit draft progress.
Interactive Design Mode Guide
Switching the editor to Design mode enables click-to-edit capabilities directly on your landing page. When you select any page block, a blue border indicator appears alongside our contextual toolkits.
1. Floating Toolbox Functions
Clicking any element displays our floating toolbar options (from left to right):
- Layers Select ancestor container blocks (e.g., Title → Div container → Section parent grids) to adjust wider parent containers easily.
- Text Edit (T) Activates direct typewriting mode to modify, delete, or rewrite textual copy on the spot.
- Text Color (A) Opens color palettes or accepts custom Hex color codes to change the selected text color.
- Link Management (🔗) Opens target URL settings to bind redirection paths or delete hyperlinked structures.
- Style Settings (🖌️) Opens style models to configure custom colors, cover images, and overlays.
- Move Up (↑) / Down (↓) Re-orders components or child tags within their parent containers.
- Duplicate (+) Copies and inserts a duplicate container layout alongside the chosen element.
- Delete (🗑️) Instantly removes selected blocks or elements from the landing page.
- AI Smart Edit (✦) Triggers context-aware Gemini prompts to rephrase, shorten, or polish selected copy segments.
2. Sidebar Navigator Tree
Click the Grid icon in the upper-right corner to toggle the HTML structural hierarchy panel:
- DOM Tree Structure Collapses or expands child layout nodes (Headers, Sections, Titles, Images, Forms, Buttons) to inspect clean skeletons.
- Hover Highlights Moving your cursor over navigation nodes creates dashed purple borders around corresponding page layouts in real-time.
- Quick Focus Anchor Click navigation tree elements to scroll the viewport and anchor focus on selected blocks automatically.
3. Image Replacement Modal
Selecting any image block opens the upload and generation settings:
- Local Upload Upload local images. Sgen AI compresses files and hosts them on cloud Firebase storage buckets.
- AI Generation Describe your illustration concepts (e.g., "high quality mockup laptop on a desk, tech blue theme"). Sgen AI calls Gemini models to draw license-free HD assets.
- Size Bounds Set layout dimensions in pixels (e.g., 350px) or percentage multipliers (50%, 100%, Auto).
4. Background Styles & Text Legibility overlays
Clicking the paint brush 🖌️ tool on parent Section grids opens background settings:
- Background Colors Select Tailwind classes or input custom Hex hexes.
- Cover Images Upload texture backdrops or generate abstract patterns via AI prompts to wrap blocks in cover mode.
- Opacity & Dark Overlays (Legibility Protection) Enable dark color overlays and drag opacity sliders (10% to 90%) to darken backgrounds. This secures contrast requirements so white overlay copy remains highly readable.
5. AI Modify (LITE) Local Polish Tool
The sparkles ✦ icon button on the far right of the floating toolbox triggers our inline text optimizer:
- Activation Prompt Select any text box on the canvas, then click the sparkles ✦ icon to toggle the AI Quick Edit Box.
- Instruction Entry Type your specific rephrasing or translating command (e.g., "rewrite this heading to sound more professional", "translate this line to Chinese").
- LITE Model Apply Click "Apply" to let our lightweight (LITE) model run instant local rewrites without re-rendering the whole page layout.