Go to file
Michael Mainguy 92672f77e3 feat: implement absolute positioning for slide editor with viewport-aware layout
## Major Improvements:

### Absolute Positioning System
- Implemented fixed positioning for slide editor to break out of DOM flow
- Editor uses full viewport (top: 80px; left: 0; right: 0; bottom: 0)
- Fixed header at top with z-index layering for proper overlap
- Background overlay to separate from underlying content

### Viewport-Optimized Layout
- True 50/50 split using full available viewport width
- Height calculations based on actual viewport (100vh) not container constraints
- Responsive top positioning (80px desktop, 60px tablet, 50px mobile)
- No scrolling issues - content always fits within viewport boundaries

### Enhanced Live Preview
- Applied presentation aspect ratio classes to preview container
- Dynamic aspect ratio detection (16:9, 4:3, 16:10)
- Viewport-aware sizing with proper aspect ratio preservation
- Added aspect ratio indicator in preview meta information

### Improved User Experience
- Compact header design with reduced padding and font sizes
- Internal scrolling for content fields while keeping actions visible
- Better space utilization with reduced margins and gaps
- Consistent behavior across all screen sizes and orientations

### Technical Enhancements
- Z-index management for proper layering (header: 20, content: 10)
- Flexbox structure for optimal space distribution
- Overflow handling for different content types
- Mobile-responsive design with appropriate scaling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 16:54:27 -05:00
public feat: implement complete presentation management system with aspect ratio support 2025-08-20 16:34:00 -05:00
scripts Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
src feat: implement absolute positioning for slide editor with viewport-aware layout 2025-08-20 16:54:27 -05:00
.gitignore Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
CLAUDE.md Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00
ERROR_HANDLING_STANDARDS.md Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00
eslint.config.js Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
IMPORT_STANDARDS.md Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00
index.html Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
package-lock.json Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
package.json Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
REACT19_IMPLEMENTATION.md Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00
README.md updated README.md, removed boilersplate and added instructions for using 2025-08-20 10:26:23 -05:00
tsconfig.app.json Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
tsconfig.json Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
tsconfig.node.json Add comprehensive theme routing and browsing system 2025-08-20 10:17:55 -05:00
USERFLOWS.md feat: implement complete presentation management system with aspect ratio support 2025-08-20 16:34:00 -05:00
VITE_PERFORMANCE.md Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00
vite.config.ts Add full-screen layout preview route and fix iframe sandbox issue 2025-08-20 13:48:13 -05:00

Online slide presentation editor and viewer built with React and Vite


A web application for creating, editing, and presenting slide presentations with customizable themes and layouts.

Features

  • Create new presentations with a selection of built-in themes
  • Add slides with various layouts based on the selected theme
  • Add text and images to slide layout "slots"
  • Add presentation notes to slides
  • Present slides in full-screen mode
  • Easily switch themes and update presentations accordingly
  • Modular and reusable React components
  • Customizable themes with support for CSS, fonts, colors, and images
  • Support for "master slides" with non-overridable content
  • Responsive design for various screen sizes
  • Export presentations to PDF or HTML format

Getting Started

Prerequisites

  • Node.js (v20 or later)
  • npm (v9 or later)
  • Git (for cloning the repository)
  • A modern web browser (for running the application)
  • A code editor (e.g., VSCode) for development
  • Basic knowledge of React, TypeScript, HTML, and CSS
  • Familiarity with Vite and npm package management

Installation

  • Clone the repository:
    git clone https://git.dasfad.com/mmainguy/slideshare.git
    
  • Navigate to the project directory:
    cd slideshare
    
  • Install dependencies:

npm install ```

  • Start the development server:

npm run dev ```

  • Open your web browser and navigate to http://localhost:5173 to view the application.