| [ | |
| { | |
| "id": "ui_sinhala_001", | |
| "description": "Modern e-commerce product card with pastel colors and hover effects", | |
| "sinhala_description": "පැස්ටල් වර්ණ සහ hover effects සහිත නවීන e-commerce නිෂ්පාදන කාඩ් එකක්", | |
| "html": "<div class='bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition duration-300'><img src='product.jpg' alt='Product' class='w-full h-48 object-cover rounded'><h3 class='text-lg font-semibold mt-4'>නිෂ්පාදනය</h3><p class='text-gray-600'>රු. 2500</p><button class='mt-4 bg-pink-400 text-white px-4 py-2 rounded hover:bg-pink-500' aria-label='Add to cart'>කරත්තයට එකතු කරන්න</button></div>", | |
| "framework": "Tailwind CSS", | |
| "color_scheme": ["#FBCFE8", "#FFFFFF", "#4B5563"], | |
| "category": "e-commerce", | |
| "responsive": true, | |
| "accessibility": ["ARIA labels", "High-contrast text"], | |
| "image_path": "screenshots/ui_sinhala_001.png", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "ui_sinhala_002", | |
| "description": "Sticky navbar with blue gradient", | |
| "sinhala_description": "නිල් පැහැ gradient සහ sticky positioning සහිත navbar එකක්", | |
| "html": "<nav class='bg-gradient-to-r from-blue-500 to-blue-700 sticky top-0 p-4 text-white'><div class='container mx-auto flex justify-between items-center'><a href='#' class='text-2xl font-bold'>Logo</a><ul class='flex space-x-6'><li><a href='#' class='hover:underline'>මුල් පිටුව</a></li><li><a href='#' class='hover:underline'>ගැන</a></li></ul></div></nav>", | |
| "framework": "Tailwind CSS", | |
| "color_scheme": ["#3B82F6", "#1E3A8A"], | |
| "category": "modern", | |
| "responsive": true, | |
| "accessibility": ["ARIA labels"], | |
| "image_path": "screenshots/ui_sinhala_002.png", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "nav-01", | |
| "description": "Responsive navigation bar with dropdown menus", | |
| "sinhala_description": "විවිධ පරිශීලක උපකරණ සඳහා ගැලපෙන පතන මෙනු සහිත සංචාලන තීරුව", | |
| "html": "<nav class='main-nav'><ul><li><a href='#'>Home</a></li><li class='dropdown'><a href='#'>Services</a><ul class='dropdown-content'><li><a href='#'>Service 1</a></li><li><a href='#'>Service 2</a></li></ul></li><li><a href='#'>Contact</a></li></ul></nav>", | |
| "framework": "vanilla", | |
| "color_scheme": ["blue-gray"], | |
| "category": "navigation", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/nav-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "hero-01", | |
| "description": "Full-width hero section with call-to-action", | |
| "sinhala_description": "ක්රියාකාරී බොත්තම් සහිත පූර්ණ පළල ප්රධාන පෙදෙස", | |
| "html": "<section class='hero'><div class='hero-content'><h1>Welcome to our website</h1><p>Learn more about our services and offerings</p><button class='cta-button'>Get Started</button></div></section>", | |
| "framework": "vanilla", | |
| "color_scheme": ["blue-white"], | |
| "category": "hero", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/hero-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "card-01", | |
| "description": "Product card with image, title and price", | |
| "sinhala_description": "රූපය, මාතෘකාව සහ මිල සහිත නිෂ්පාදන කාඩ්පත", | |
| "html": "<div class='product-card'><img src='product.jpg' alt='Product Image'><h3>Product Title</h3><p class='price'>$19.99</p><button>Add to Cart</button></div>", | |
| "framework": "bootstrap", | |
| "color_scheme": ["white-accent"], | |
| "category": "card", | |
| "responsive": true, | |
| "accessibility": ["WCAG A"], | |
| "image_path": "/assets/images/components/card-01.jpg", | |
| "sinhala_font": "Abhaya Libre" | |
| }, | |
| { | |
| "id": "form-01", | |
| "description": "Contact form with validation", | |
| "sinhala_description": "වලංගුකරණය සහිත සම්බන්ධතා පෝරමය", | |
| "html": "<form class='contact-form'><div class='form-group'><label for='name'>Name</label><input type='text' id='name' required></div><div class='form-group'><label for='email'>Email</label><input type='email' id='email' required></div><div class='form-group'><label for='message'>Message</label><textarea id='message' rows='5'></textarea></div><button type='submit'>Submit</button></form>", | |
| "framework": "vanilla", | |
| "color_scheme": ["neutral"], | |
| "category": "form", | |
| "responsive": true, | |
| "accessibility": ["WCAG AAA"], | |
| "image_path": "/assets/images/components/form-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "footer-01", | |
| "description": "Simple footer with links and copyright", | |
| "sinhala_description": "සබැඳි සහ ප්රකාශන හිමිකම් සහිත සරල පාදකය", | |
| "html": "<footer class='site-footer'><div class='footer-links'><a href='#'>About</a><a href='#'>Services</a><a href='#'>Contact</a><a href='#'>Privacy Policy</a></div><p class='copyright'>© 2025 Company Name. All rights reserved.</p></footer>", | |
| "framework": "vanilla", | |
| "color_scheme": ["dark"], | |
| "category": "footer", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/footer-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "table-01", | |
| "description": "Responsive data table with sorting", | |
| "sinhala_description": "වර්ගීකරණය කිරීමේ හැකියාව සහිත ප්රතිචාරාත්මක දත්ත වගුව", | |
| "html": "<table class='data-table sortable'><thead><tr><th>ID</th><th>Name</th><th>Date</th><th>Status</th></tr></thead><tbody><tr><td>001</td><td>John Doe</td><td>2025-01-15</td><td>Active</td></tr><tr><td>002</td><td>Jane Smith</td><td>2025-02-20</td><td>Pending</td></tr></tbody></table>", | |
| "framework": "jquery", | |
| "color_scheme": ["neutral"], | |
| "category": "table", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/table-01.jpg", | |
| "sinhala_font": "Abhaya Libre" | |
| }, | |
| { | |
| "id": "gallery-01", | |
| "description": "Image gallery with lightbox", | |
| "sinhala_description": "ලයිට්බොක්ස් සහිත රූප ගැලරිය", | |
| "html": "<div class='image-gallery'><a href='large-image-1.jpg' class='gallery-item'><img src='thumbnail-1.jpg' alt='Gallery Image 1'></a><a href='large-image-2.jpg' class='gallery-item'><img src='thumbnail-2.jpg' alt='Gallery Image 2'></a><a href='large-image-3.jpg' class='gallery-item'><img src='thumbnail-3.jpg' alt='Gallery Image 3'></a></div>", | |
| "framework": "jquery", | |
| "color_scheme": ["light"], | |
| "category": "gallery", | |
| "responsive": true, | |
| "accessibility": ["WCAG A"], | |
| "image_path": "/assets/images/components/gallery-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "testimonial-01", | |
| "description": "Customer testimonial slider", | |
| "sinhala_description": "පාරිභෝගික ප්රශංසා ස්ලයිඩරය", | |
| "html": "<div class='testimonial-slider'><div class='testimonial'><p class='quote'>This product has completely transformed our business operations!</p><p class='author'>- Sarah Johnson, CEO</p></div><div class='testimonial'><p class='quote'>The customer service was exceptional and the product exceeded our expectations.</p><p class='author'>- Michael Chen, Director</p></div></div>", | |
| "framework": "slick", | |
| "color_scheme": ["light-accent"], | |
| "category": "testimonial", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/testimonial-01.jpg", | |
| "sinhala_font": "Abhaya Libre" | |
| }, | |
| { | |
| "id": "pricing-01", | |
| "description": "Pricing table with multiple tiers", | |
| "sinhala_description": "විවිධ මට්ටම් සහිත මිල වගුව", | |
| "html": "<div class='pricing-table'><div class='pricing-plan'><h3>Basic</h3><p class='price'>$19<span>/month</span></p><ul><li>Feature 1</li><li>Feature 2</li><li>Feature 3</li></ul><button>Select Plan</button></div><div class='pricing-plan featured'><h3>Pro</h3><p class='price'>$49<span>/month</span></p><ul><li>All Basic Features</li><li>Feature 4</li><li>Feature 5</li></ul><button>Select Plan</button></div></div>", | |
| "framework": "vanilla", | |
| "color_scheme": ["blue-white"], | |
| "category": "pricing", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/pricing-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| }, | |
| { | |
| "id": "accordion-01", | |
| "description": "Collapsible accordion for FAQs", | |
| "sinhala_description": "නිතර අසන ප්රශ්න සඳහා හැකිළිය හැකි අකෝඩියනය", | |
| "html": "<div class='accordion'><div class='accordion-item'><h3 class='accordion-header'>Question 1?</h3><div class='accordion-content'><p>Answer to question 1 goes here with detailed explanation.</p></div></div><div class='accordion-item'><h3 class='accordion-header'>Question 2?</h3><div class='accordion-content'><p>Answer to question 2 goes here with detailed explanation.</p></div></div></div>", | |
| "framework": "jquery", | |
| "color_scheme": ["neutral"], | |
| "category": "accordion", | |
| "responsive": true, | |
| "accessibility": ["WCAG AA"], | |
| "image_path": "/assets/images/components/accordion-01.jpg", | |
| "sinhala_font": "Noto Sans Sinhala" | |
| } | |
| ] | |