تمام، هنعمل برومبت دقيق جدًا لصفحة الديجيتال منيو (Digital Menu) بنفس المستوى من التفصيل اللي عملناه في اللانديج بيدج. هنراعي إن الصفحة تكون موجهة للموبايل، سهلة الاستخدام، وفيها كل الخصائص اللي تجعلها احترافية ومناسبة لمطعم أو كافيه. هنضيف كمان دعم اللغتين (عربي/إنجليزي)، Dark/Light Mode، وتنظيم الملفات لسهولة التعديل.
لنبدأ بجمع التفاصيل:
عشان نعمل برومبت دقيق، لازم نحدد كل التفاصيل الخاصة بصفحة الديجيتال منيو. لو فيه أي نقطة مش واضحة، هسألك عليها. إليك الأسئلة الأساسية اللي هنبني عليها البرومبت:
-
هيكل القائمة:
- هل القائمة مقسمة إلى فئات (Categories)؟ (مثال: مشروبات ساخنة، مشروبات باردة، حلويات، أطباق رئيسية).
- هل كل صنف (Item) هيكون فيه تفاصيل زي: السعر، الوصف، الصورة، أو خيارات إضافية (مثل إضافة سكر أو اختيار حجم المشروب)؟
-
التصميم:
- هل عايز كل فئة تكون في تاب (Tab) منفصلة، ولا قائمة واحدة طويلة مع عناوين فرعية؟
- هل عايز صور لكل صنف، ولا مجرد نصوص وأسعار؟
- هل عايز فلتر أو بحث (Search/Filter) عشان العميل يلاقي الصنف بسرعة؟
-
التفاعلية:
- هل عايز زر لكل صنف عشان العميل يضيفه للسلة (Add to Cart) أو يطلب مباشرة؟
- هل عايز أنيميشن معين (مثل ظهور الصنف تدريجيًا أو تأثير عند الضغط على زر)؟
-
اللغة والمظهر:
- نفس دعم اللغتين (عربي/إنجليزي) مع RTL للعربية؟
- نفس دعم Dark/Light Mode؟
- نفس الألوان والخطوط بتاعة اللانديج بيدج عشان يكون التصميم متسق؟
-
إضافات أخرى:
- هل عايز قسم "العروض الخاصة" (Special Offers) يظهر في الأعلى؟
- هل عايز قسم "الأكثر طلبًا" (Most Popular)؟
- هل عايز إمكانية إضافة تقييمات (Ratings) أو تعليقات للأصناف؟
برومبت أولي (Draft):
إليك برومبت أولي بناءً على افتراضاتي الأولية. لو فيه أي حاجة عايز تضيفها أو تغيرها، قولّي وهنعدل البرومبت فورًا.
Create a professional digital menu page for a restaurant/café, optimized for mobile devices, to be accessed via QR codes on tables. The design should be luxurious, professional, and simple, matching the style of the landing page.
## Core Requirements:
- Fully responsive design (mobile-first approach)
- Bilingual support (Arabic/English) with a language toggle
- Strong RTL (right-to-left) support for Arabic language with proper text alignment and UI direction
- Dark/light mode toggle
- Well-structured configuration files for easy customization of all brand elements
- Optimized performance with lazy loading for images
- Accessibility features for all users
- "Back to Top" button that appears when scrolling
- Built with HTML, CSS, Bootstrap, and minimal JavaScript for easy customization
## Page Structure:
### Header:
- Fixed at the top
- Contains: Brand logo, language toggle (AR/EN), dark/light mode toggle, and a "Back to Landing Page" link
- Subtle animation on page load
### Menu Categories Section:
- Display menu items categorized into sections (e.g., Hot Drinks, Cold Drinks, Desserts, Main Dishes)
- Each category has a title and a list of items
- Categories can be displayed as tabs or collapsible sections (accordions) for easy navigation
- Fade-in animation as the user scrolls to each category
### Menu Item Details:
- Each item should include:
* Item name
* Short description
* Price
* Optional image (lazy-loaded)
- Subtle hover/tap animation on each item card
- Optional "Add to Cart" or "Order Now" button for each item
### Footer:
- Contact information including location (with map link if possible)
- Social media links (Facebook, Instagram, TikTok)
- Copyright notice
- Back to Top button
## Technical Specifications:
### Design Aesthetics:
- Luxurious and professional look and feel
- Rounded buttons (8px border-radius)
- Smooth transitions between elements
- Consistent spacing and alignment
- High contrast for readability
- Use the same color palette and typography as the landing page for consistency
### Performance Optimizations:
- Lazy loading for images
- Minified CSS and JS
- Optimized asset loading
- Browser caching recommendations
### Accessibility:
- Proper semantic HTML
- ARIA attributes where needed
- Touch-friendly tap targets (minimum 44x44px)
- High contrast text
- Screen reader compatible
### Configuration Files:
1. Create a config.js file with:
* Restaurant name and slogan in both languages
* Social media links
* Menu categories and items (name, description, price, image path)
* Location coordinates/address
* Contact information
2. Create a variables.css file with:
* Brand colors (primary, secondary, accent)
* Typography settings (font family, sizes, weights)
* Spacing variables
* Breakpoints
3. Create an assets.js file with:
* Logo path (for both light/dark modes if applicable)
* All image sources (menu item images, etc.)
* Icons paths
* Any other media assets
### Project Structure:
- Organize files in a clear folder structure:
* /css (main.css, variables.css, rtl.css)
* /js (main.js, config.js, assets.js)
* /img (all image assets)
* /fonts (if using custom fonts)
* menu.html (main menu page)
* ar-menu.html (Arabic version if not using dynamic translation)
### RTL Support:
- Proper text alignment for Arabic (right-aligned)
- Mirrored UI elements and layouts when in Arabic mode
- Direction switching for all elements including padding and margins
- Properly aligned icons and interactive elements
### Animations:
- Subtle fade-in animations on page load
- Scroll-triggered animations for content sections
- Smooth transitions for dark/light mode toggle
- Responsive hover/tap states for interactive elements
### Language Support:
- Complete RTL layout support for Arabic
- Language toggle with flag/icon indicator
- All text content should be in variables for easy translation
- Direction attributes that change dynamically with language switch
Please provide clean, well-commented code that can be easily modified. The design should work across all mobile devices and be tested on both iOS and Android. Ensure all components render properly in both LTR and RTL modes.
أسئلة للتوضيح:
- هيكل القائمة: هل عايز القائمة تكون مقسمة بطريقة معينة (مثل Tabs أو Accordions)؟ وهل فيه عدد معين للفئات أو الأصناف؟
- الصور: هل هيكون فيه صور لكل صنف، ولا مجرد نصوص وأسعار؟
- التفاعلية: هل عايز زر "Add to Cart" أو "Order Now" لكل صنف؟ ولو نعم، هل عايز الطلبات تتجمع في صفحة منفصلة (مثل صفحة السلة)؟
- إضافات: هل عايز قسم "Special Offers" أو "Most Popular"؟ وهل عايز فلتر أو بحث داخل القائمة؟
- التصميم: هل عايز التصميم يكون مشابه تمامًا للانديج بيدج من حيث الألوان والخطوط، ولا فيه اختلافات معينة؟
الخطوة القادمة:
بعد ما تجاوبني على الأسئلة دي، هعدل البرومبت عشان يناسب احتياجاتك بالضبط. لو عندك أي أفكار إضافية أو تفاصيل، قولّي وهنضيفها فورًا! 😊