A modern, responsive web application for AI-powered storytelling with an immersive user interface. Built with React, featuring authentication, routing, and a comprehensive suite of creative tools.
- Dark Theme: Purple gradient design with glowing effects
- Responsive Design: Works on desktop, tablet, and mobile
- Smooth Animations: CSS transitions and hover effects
- Custom Components: Tailored UI components for storytelling
- Secure Login: Email/password authentication
- Session Management: Persistent login across browser sessions
- Protected Routes: Automatic redirect to login for unauthorized access
- User Profile: Dropdown with user info and logout functionality
- Hero Section: Interactive image carousel with 5 images
- Story Cards: Previously played and shared stories
- Notification Banner: System updates and announcements
- Pagination: Easy navigation through story collections
- Rich Text Editor: AI-powered story writing interface
- Character Management: Create and manage story characters
- World Building: Design story settings and locations
- AI Assistant: Integrated chatbot for creative guidance
- Story Controls: Adjust creativity level, length, and tone
- Real-time Stats: Word count, reading time, and progress tracking
- AI Image Generation: Create visuals for your stories
- Art Style Selection: Multiple artistic styles (Fantasy, Realistic, etc.)
- Image Sizing: Square, Portrait, and Landscape formats
- Recent Images: Gallery of previously generated images
- Tab Navigation: Creatures, Characters, Locations, References, Library
- Theme Customization: Dark, Light, and Custom color themes
- Color Picker: Advanced color selection with presets
- Preferences: Animations, Particles, Sound Effects toggles
- Language & Region: Multi-language support and timezone settings
- Sidebar Navigation: Collapsible sidebar with smooth animations
- React Router: URL-based navigation with browser history
- Breadcrumb Navigation: Clear page hierarchy
- Mobile Responsive: Touch-friendly navigation on mobile devices
- Frontend: React 18 with Hooks
- Routing: React Router DOM v6
- Styling: CSS3 with custom properties
- State Management: React Context API
- Authentication: Custom AuthContext with localStorage
- Build Tool: Vite
- Package Manager: npm
- Node.js (v16 or higher)
- npm (v8 or higher)
- 
Clone the repository git clone <repository-url> cd Decipher 
- 
Install dependencies npm install 
- 
Start development server npm run dev 
- 
Open in browser http://localhost:5173
- Email: adminoradmin@decipher.com
- Password: admin
- Automatic Redirect: Unauthenticated users are redirected to login
- Session Persistence: Login state persists across browser sessions
- Secure Logout: Complete session cleanup on logout
- Desktop: 1280px and above
- Tablet: 768px - 1279px
- Mobile: Below 768px
- Touch Navigation: Swipe gestures for carousel
- Collapsible Sidebar: Overlay sidebar on mobile
- Optimized Forms: Touch-friendly input fields
- Responsive Images: Auto-scaling images
- Primary: #7738CB(Purple)
- Secondary: #4D70FF(Blue)
- Background: #3D1162(Dark Purple)
- Text: #FFFFFF(White)
- Accent: #925ED5(Light Purple)
- Font Family: Poppins (Google Fonts)
- Weights: 400, 500, 600, 700, 800
- Responsive Sizing: Fluid typography scales
- Buttons: Gradient backgrounds with glow effects
- Cards: Glass-morphism with subtle borders
- Forms: Custom styled inputs with validation
- Modals: Overlay popups with smooth animations
# Development
npm run dev          # Start development server
# Production
npm run build        # Build for production
npm run preview      # Preview production build
# Linting
npm run lint         # Run ESLintsrc/
βββ components/          # React components
β   βββ Home.jsx        # Dashboard page
β   βββ StoryCreator.jsx # Story creation interface
β   βββ ImageStudio.jsx # Image generation tools
β   βββ Settings.jsx    # User preferences
β   βββ Sidebar.jsx     # Navigation sidebar
β   βββ LoginForm.jsx   # Authentication form
βββ contexts/           # React Context providers
β   βββ AuthContext.jsx # Authentication state
βββ App.jsx            # Main application component
βββ App.css            # Global styles
βββ main.jsx           # Application entry point
Create a .env file in the root directory:
VITE_APP_NAME=Decipher
VITE_APP_VERSION=1.0.0- Colors: Modify CSS custom properties in App.css
- Fonts: Update font imports in index.html
- Images: Replace images in public/directory
- 
Login not working - Ensure you're using the correct credentials
- Check browser console for errors
- Clear localStorage and try again
 
- 
Images not loading - Verify image paths in public/directory
- Check file permissions
- Ensure correct file extensions
 
- Verify image paths in 
- 
Styling issues - Clear browser cache
- Check CSS file imports
- Verify responsive breakpoints
 
- Chrome: 90+
- Firefox: 88+
- Safari: 14+
- Edge: 90+
- Fork the repository
- Create a feature branch (git checkout -b feature/amazing-feature)
- Commit your changes (git commit -m 'Add amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Frontend Development: React & CSS
- UI/UX Design: Custom component library
- Authentication: Custom AuthContext implementation
For support and questions:
- Create an issue in the repository
- Check the troubleshooting section
- Review the documentation
Built with β€οΈ using React and modern web technologies