Linkeum פיתוח
| התחברות הרשמה

בדיקת Gemini 3: יצרו מייצר תפריט בית קפה באמצעות AI ללא כתיבת שורת קוד אחת

כיצד AI יוצרת כלי שלם בהנחיה אחת

Gemini 3 מייצג דור חדש של בינה מלאכותית המסוגלת להבין בקשות מורכבות ולייצר קוד המוכן לייצור תוך שניות ספורות. כדי לבדוק את היכולות האמיתיות שלו, החלטתי ליצור כלי מעשי ואוניברסלי ללא כתיבת שורת קוד אחת: מעצב תפריט בית קפה הניתן להתאמה אישית, ניתן לייצוא ל-PDF ומתאים לקובץ HTML יחיד. התוצאה? מרשימה.

ממשק Barista Designer - כלי ליצירת תפריט בית קפה עם Gemini 3
Linkeum.com
ממשיכים לאחר המודעה הזו

בדיקת Gemini 3: יצרו תפריט בית קפה באמצעות AI

Google הציגה גרסה חדשה של Gemini: גרסה 3. חזרה זו החדשה מבטיחה יכולות חדשות של הנמקה וייצור קוד. בואו נראה זאת בבדיקה פשוטה.

הצעד הראשון: התחלה

עבור ל- Gemini ובחר "הנמקה" בשורת הפקודה.

לבדיקה זו, החלטתי ליצור כלי ליצירה מהירה וקלה של תפריט בית קפה/בר הניתן לייצוא ל-PDF.

ההנחיה הראשונית

הנה ההנחיה ששימשה:

Create a single-file HTML tool for designing a coffee shop/bar menu.

FEATURES REQUIRED:

  1. Design Themes (user selectable):

    • Modern (minimalist, clean lines)
    • Nature (earthy, organic feel)
    • Futuristic (sleek, bold)
    • Zen (calm, balanced, minimal)
  2. Customization:

    • Editable menu items with names and prices
    • Add/remove menu categories (Coffee, Tea, Food, Desserts, etc.)
    • Text color selection from a palette
    • Theme color customization (primary accent color)
    • Option to add item descriptions
  3. Export:

    • PDF export in standard sizes: A4, A3, A5, Letter, Half Letter
    • Print-optimized layout
    • Maintain theme and colors in PDF
  4. Visual Elements:

    • Include an illustration/icon for each theme
    • Display theme preview on the left panel
    • Live preview of menu as user edits
  5. Technical:

    • Single HTML file (no dependencies, or use CDN links)
    • Use TailwindCSS via CDN
    • Include html2pdf library for PDF export
    • Fully responsive design
    • Save/load functionality (LocalStorage for user data)

STRUCTURE:

  • Left panel: Controls (theme, colors, export options)
  • Right panel: Live menu preview
  • Simple, intuitive UI

Make it production-ready, professional, and easy for non-developers to use.

תגובת Gemini 3

לאחר כמה דקות של חשיבה, Gemini עונה:

Here is a complete, single-file HTML solution. It uses TailwindCSS for styling, FontAwesome for icons, and html2pdf.js for generating the PDF. It requires no installation—just save the code below as an .html file (e.g., menu-maker.html) and open it in your browser.

ואחריו הקוד. אני לוקח את הקוד ומעתיקו לקובץ HTML שאני פותח בדפדפן שלי.

והנה התוצאה:

Barista Designer - התוצאה הראשונה עם Gemini 3

זה נקי ותפעולי. התוצאה מהנחיה יחידה מרשימה. אני לא מציב את הקוד כאן כי הוא קצת ארוך. אני מזמין אתכם לבדוק זאת בעצמכם.

השיפורים

יש כמה שיפורים מעשיים שצריך לעשות:

  • הפוך את גודל האלמנטים לניתן לשינוי
  • הפוך את הטקסט בתחתית התפריט לניתן לשינוי

בואו נמשיך ונשלים זאת בהנחיה זו השנייה:

Add the following features to the coffee menu designer:

  1. DRAG & DROP:

    • Drag categories to reorder them
    • Drag menu items within categories to reorder them
    • Visual feedback during drag (highlight, shadow, cursor)
    • Smooth animations
  2. SIZE CUSTOMIZATION:

    • Adjustable font size for:
      • Category titles (slider: 16px - 32px)
      • Menu item names (slider: 12px - 24px)
      • Menu item prices (slider: 10px - 20px)
      • Menu item descriptions (slider: 10px - 16px)
    • Show current size value next to each slider
    • Live preview as user adjusts
  3. SPACING CUSTOMIZATION (bonus):

    • Gap between menu items (slider: 8px - 24px)
    • Gap between categories (slider: 16px - 32px)
  4. FOOTER TEXT CUSTOMIZATION:

    • Editable footer text (currently "Menu created with Barista Designer")
    • Text input field to modify footer content
    • Option to toggle footer visibility (show/hide checkbox)
    • Footer font size slider (8px - 16px)
    • Footer text color selection from palette
  5. UX IMPROVEMENTS:

    • Add "Reset sizes to default" button
    • Add icons for drag handles (≡ icon)
    • Group font size controls in a dedicated panel
    • Disable text selection during dragging
    • Add delete buttons for categories and items
  6. PERSISTENCE:

    • Save all size settings and footer text to LocalStorage
    • Load them when user reopens the tool

Keep the single-file HTML structure and maintain all existing features (themes, colors, PDF export).

התגובה המשופרת

לאחר כמה דקות של הנמקה, הנה תגובת Gemini:

Here is the updated, single-file solution.

I have added SortableJS (via CDN) to handle robust drag-and-drop functionality, implemented CSS Variables for high-performance live font resizing, and added the requested Footer and Spacing controls.

ואחריו הקוד. אני מעתיק ודבק את הקוד לקובץ HTML חדש ופותח אותו בדפדפן.

הנה התוצאה:

Barista Designer - אחרי ההנחיה השנייה - לוחות בקרה

Barista Designer - אחרי ההנחיה השנייה - תצוגה מקדימה של התפריט

הגדלים ניתנים לשינוי, הכל עובד וחיסכון PDF עובד. התוצאה ב-2 הנחיות נקיה, תפעולית ומרשימה!

ממשיכים לאחר המודעה הזו

נקודות מפתח

בדיקה זו מראה שـ Gemini 3 אינו רק צ'אטבוט – זוהי כלי פיתוח אמיתית המסוגלת ליצור יישומים מקצועיים. מבתי קפה קטנים ועד למסעדות, דרך כלי אוכל, ניתן להשתמש בכלי זה ישירות. אם יש לך רעיון לכלי, אתר "פשוט", ואתה לא רוצה לצלול לקוד, Gemini יכול להביא את הדמיון שלך למציאות. התחל כעת!
צוות Linkeum
צוות של כותבי מומחיות לטכנולוגיה ופיננסים ב-Linkeum.

מילות מפתח קשורות

#Gemini 3 #בינה מלאכותית יוצרת #פיתוח אינטרנט #HTML #JavaScript #TailwindCSS #בית קפה #תפריט #PDF #ללא קוד #vibe coding