Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
258 changes: 103 additions & 155 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,162 +6,110 @@ Redesign all images, placeholders, icons, and SVG assets to align with Monynha S
## Brand Guidelines

### Color Palette
- **Purple (Primary)**: `#5B2C6F`
- **Blue**: `#4A90E2`
- **Pink**: `#E06666`
- **Orange**: `#F7B500`
- **Brand Gradient**: `linear-gradient(135deg, #5B2C6F 0%, #4A90E2 25%, #E06666 75%, #F7B500 100%)`

### Typography
- **Primary Font**: Inter (300, 400, 500, 600, 700)
- **Brand Font**: Quicksand (400, 500, 600, 700)
- **Primary Purple**: `#5b2c6f` - Main brand color
- **Primary Blue**: `#4a90e2` - Secondary brand color
- **Accent Pink**: `#e06666` - Accent color
- **Accent Orange**: `#f7b500` - Highlight color
- **Brand Gradient**: `linear-gradient(135deg, #5b2c6f 0%, #4a90e2 25%, #e06666 75%, #f7b500 100%)`
- **Hero Gradient**: `linear-gradient(135deg, #5b2c6f 0%, #4a90e2 100%)`

### Design Principles
- Corner radius: 0.75rem (12px)
- Consistent line weights
- Accessibility: WCAG AA contrast standards
- Support for light and dark themes

## Asset Inventory

### Public Assets (SVG)
- [x] `/public/favicon.svg` - Site favicon (64x64)
- [x] `/public/placeholder.svg` - Generic placeholder (1200x1200)
- [x] `/public/safari-pinned-tab.svg` - Safari pinned tab icon (100x100)
- [x] `/public/site.webmanifest` - PWA manifest with icon references

### Lucide Icons Usage (35 files)
Current icons being used throughout the application:
- AlertTriangle, ArrowLeft, ArrowRight, ArrowUp
- Award, Brain, Check, CheckCircle
- ChevronDown, ChevronLeft, ChevronRight, ChevronUp
- Circle, Clock, Dot, Eye, EyeOff
- GripVertical, Heart, Linkedin, Loader2
- LogOut, Mail, MapPin, Menu
- MoreHorizontal, PanelLeft, Phone, RefreshCcw
- Search, Send, Target, User, Users, X
- Zap, Shield, Globe, Laptop

### Components Using Icons
#### Pages (11 files)
- `/src/pages/Index.tsx` - Home page
- `/src/pages/About.tsx` - About page
- `/src/pages/Contact.tsx` - Contact page
- `/src/pages/Auth.tsx` - Authentication
- `/src/pages/Projects.tsx` - Projects showcase
- `/src/pages/Solutions.tsx` - Solutions listing
- `/src/pages/Blog.tsx` - Blog listing
- `/src/pages/Dashboard.tsx` - User dashboard
- `/src/pages/blog/[slug].tsx` - Blog post detail
- `/src/pages/solutions/[slug].tsx` - Solution detail

#### Layout Components (4 files)
- `/src/components/Header.tsx` - Navigation header with logo
- `/src/components/Footer.tsx` - Footer with logo
- `/src/components/BackToTop.tsx` - Scroll to top button
- `/src/components/NewsletterSection.tsx` - Newsletter signup
- `/src/components/TeamSection.tsx` - Team member display
- `/src/components/blog/CommentsSection.tsx` - Blog comments

#### UI Components (18 shadcn/ui files)
- All standard shadcn/ui components using lucide icons

## Implementation Tasks

### Phase 1: Core Assets ✅
- [x] Create TODO.md asset inventory
- [x] Redesign favicon.svg with brand colors
- [x] Redesign placeholder.svg with brand identity
- [x] Redesign safari-pinned-tab.svg
- [x] Update site.webmanifest with new icon data

### Phase 2: Custom Icon System ✅
- [x] Create `/src/components/icons/` directory
- [x] Design custom Heart icon (brand signature)
- [x] Create custom LogoIcon component
- [x] Export icons via index.ts

### Phase 3: Logo Components ✅
- [x] Update Header logo component
- [x] Update Footer logo component
- [x] Ensure responsive logo sizing
- [x] Test logo visibility in light/dark modes

### Phase 4: Optimization ✅
- [x] Install svgo for SVG optimization
- [x] Optimize all SVG assets
- [x] Validate SVG accessibility attributes
- [x] Check file sizes and compression

### Phase 5: Testing & Validation ✅
- [x] Run local build
- [x] Test in multiple browsers
- [x] Verify responsive behavior
- [x] Check PWA icon display
- [x] Validate color contrast ratios
- [x] Test dark mode compatibility

## Design Standards

### SVG Optimization Rules
- Remove unnecessary metadata
- Combine paths where possible
- Use relative units
- Remove default values
- Minimize decimal places (2 max)
- Include viewBox attribute
- Add aria-labels for accessibility

### Icon Specifications
- **Size**: 24x24px default viewport
- **Stroke Width**: 2px (consistent)
- **Corner Radius**: 2px (when applicable)
- **Color**: Currentcolor (inherit from parent)
- **Format**: Inline SVG or React components

### Image Specifications
- **Format**: SVG (preferred), PNG (fallback)
- **Compression**: Optimized for web
- **Alt Text**: Descriptive and meaningful
- **Responsive**: Scalable without quality loss

## Progress Tracking
- **Started**: 2025-11-01
- **Current Phase**: Completed
- **Completion**: 100%

## Summary of Changes

### Visual Assets Redesigned
1. **favicon.svg** - Updated with brand gradient (Purple → Blue → Pink → Orange) and new M logo design
2. **placeholder.svg** - Created branded placeholder with logo, decorative patterns, and brand text
3. **safari-pinned-tab.svg** - Redesigned with brand gradient and simplified logo

### Custom Icon Components Created
1. **HeartIcon.tsx** - Custom heart icon in brand pink (#EA33F7)
2. **LogoIcon.tsx** - Reusable logo component with gradient/solid variants
3. **icons/index.ts** - Central export file for all custom icons

### Component Updates
1. **Header.tsx** - Updated to use LogoIcon and HeartIcon components
2. **Footer.tsx** - Updated to use LogoIcon and HeartIcon components

### Optimizations
- All SVG files optimized with svgo (12-18% size reduction)
- Added proper aria-labels for accessibility
- Maintained consistent stroke widths and corner radius

## Technical Details
- **Build Status**: ✅ Successful
- **Linter Status**: ✅ Pass (3 pre-existing warnings unrelated to changes)
- **File Sizes**:
- favicon.svg: 686 bytes
- placeholder.svg: 1.7 KB
- safari-pinned-tab.svg: 662 bytes
- **Border Radius**: Base `0.75rem` (12px), XL `1rem`, 2XL `1.5rem`
- **Typography**: Inter (sans), Quicksand (brand headings)
- **Shadows**: Soft elevation with minimal opacity
- **Accessibility**: WCAG AA compliant contrast ratios
- **Consistency**: Uniform line weights, corner radius, and proportions

## Asset Inventory & Redesign Tasks

### Public Assets
- [x] **favicon.svg** - App icon used in browsers
- ✅ Updated with brand gradient (purple-blue-pink-orange)
- ✅ Clean "M" monogram in white
- ✅ Size: 64x64px viewBox with 12px border radius
- ✅ Optimized: 0.599 KiB (1% increase for better compatibility)

- [x] **safari-pinned-tab.svg** - Safari pinned tab icon
- ✅ Monochrome "M" symbol design
- ✅ Bold, recognizable silhouette
- ✅ Size: 100x100px viewBox
- ✅ Optimized: 0.13 KiB (26.5% reduction)

- [x] **placeholder.svg** - Generic image placeholder
- ✅ Subtle brand gradient background
- ✅ Custom camera icon in brand colors
- ✅ Monynha Softwares watermark
- ✅ Size: 1200x1200px (responsive)
- ✅ Optimized: 1.211 KiB (17.4% reduction)

- [x] **favicon.ico** - ICO format for legacy browsers
- ✅ Multi-resolution ICO generated from favicon.svg
- ✅ Sizes: 16x16, 32x32, 48x48
- ✅ File size: 15 KiB

### Icons & Illustrations
- [x] **Lucide React Icons** - No custom redesign needed
- Using standard lucide-react library throughout
- Consistent styling applied via className props

### Optimization Tasks
- [x] Run SVG optimization on all redesigned assets
- ✅ Tool: SVGO
- ✅ Removed unnecessary attributes
- ✅ Minimized file sizes (17-26% reduction)
- ✅ Preserved visual quality

### Verification Tasks
- [x] Visual verification in browser
- ✅ Favicon renders correctly in HTML (via /favicon.svg)
- ✅ Placeholder.svg referenced in Open Graph tags
- ✅ Build process copies assets to dist folder correctly
- Note: site.webmanifest still uses base64 PNG icons (future enhancement)

- [x] Theme compatibility
- ✅ Brand colors work in both light and dark themes
- ✅ SVG opacity and gradients provide proper contrast
- ✅ Placeholder design adapts well to different contexts

- [x] Build & deployment
- ✅ Local build completed successfully
- ✅ All asset references resolved properly
- ✅ No broken links or missing files
- ✅ Production bundle generated without errors

## Design Asset Specifications

### Favicon Design Elements
- Background: Brand gradient
- Foreground: White "M" monogram
- Style: Bold, geometric, modern
- Stroke width: 6-8px for visibility
- Corner radius: 8px for rounded rect background

### Safari Pinned Tab Design Elements
- Monochrome: Single color (will be rendered by Safari)
- Icon: Simplified "M" or Monynha symbol
- Fill: Solid shape, no strokes
- Style: Bold, recognizable silhouette

### Placeholder Design Elements
- Background: Subtle brand gradient or solid neutral
- Icon: Custom image/camera icon in brand colors
- Border: Subtle border for definition
- Opacity: Semi-transparent for elegance

## Progress Summary
- **Total Assets**: 4 items
- **Completed**: 4 items ✅
- **In Progress**: 0 items
- **Remaining**: 0 items (verification pending)

## Notes
- All assets must support both light and dark themes
- Maintain WCAG AA accessibility standards
- Keep consistent with Monynha Softwares brand identity
- Use the heart (♥) symbol as a brand signature element
- Purple to Blue gradient is primary brand gradient
- All assets must maintain accessibility standards
- SVGs should be optimized for web delivery
- Test on multiple devices and browsers
- Ensure assets work with both light and dark themes
- Document any special implementation requirements

---
*Last Updated: 2025-11-01*
Loading
Loading