Skip to content

Commit

Permalink
Update language selector modal with close button and improved styling
Browse files Browse the repository at this point in the history
- Added an "X" close button in the top-right corner of the language selector modal.
- Improved modal styling for better visibility and user experience.
- Enhanced language selection buttons with flag icons and hover effects.
- Added JavaScript functionality to close the modal on "X" click and "Esc" key press.
  • Loading branch information
Fumez-DEV authored Nov 4, 2024
1 parent b85096c commit ca015a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ async function convertVideoToGif(videoPath, outputPath) {
function openEmail(packageType) {
const email = "arikmelku3@gmail.com";
const englishMessage = `Hello Arik,\n\nI am interested in the ${packageType} package offered by Fumez Web Designs. Please provide me with more details about this package and the next steps to proceed.\n\nHere are my details:\n\nName: [Your Name]\nEmail: [Your Email]\nPhone: [Your Phone Number]\n\nAdditional Information or Requirements:\n[Please add any specific details you would like to share]\n\nThank you for your assistance!\n\nBest regards,\n[Your Name]`;
const hebrewMessage = `שלום אריק,\n\nאני מעוניין/ת בחבילה ${packageType === 'Basic' ? 'בסיסית' : packageType === 'Standard' ? 'סטנדרטית' : 'פרימיום'} שמוצעת ב-Fumez Web Designs. אשמח לקבל פרטים נוספים לגבי החבילה ואת הצעדים הבאים להמשך.\n\nהנה הפרטים שלי:\n\nשם: [השם שלך]\nאימייל: [האימייל שלך]\nטלפון: [מספר הטלפון שלך]\n\nמידע נוסף או דרישות:\n[אנא הוסף/הוסיפי כל פרט נוסף שתרצה/תרצי לשתף]\n\nתודה על העזרה שלך!\n\nבברכה,\n[השם שלך]`;

const hebrewMessage = `שלום אריק,\n\nאני מעוניין/ת בחבילה ${packageType === 'Basic' ? 'בסיסית' : packageType === 'Standard' ? 'סטנדרטית' : 'פרימיום'} שמוצעת ב-פיומז - עיצובי אתרים. אשמח לקבל פרטים נוספים לגבי החבילה ואת הצעדים הבאים להמשך.\n\nהנה הפרטים שלי:\n\nשם: [השם שלך]\nאימייל: [האימייל שלך]\nטלפון: [מספר הטלפון שלך]\n\nמידע נוסף או דרישות:\n[אנא הוסף/הוסיפי כל פרט נוסף שתרצה/תרצי לשתף]\n\nתודה על העזרה שלך!\n\nבברכה,\n[השם שלך]`;
const modal = document.getElementById('languageModal');
modal.style.display = 'flex'; // Show the modal

Expand Down

0 comments on commit ca015a2

Please sign in to comment.