setShowMenu(!showMenu)}
+ style={{ cursor: 'pointer' }}
+ >

+ {/* Profile Section */}
{
- navigate('/company-profile');
- setShowMenu(false);
+ style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '12px',
+ padding: '16px',
+ borderBottom: '1px solid #eee',
}}
>
- Profile
+

+
+
+
+ ABC Security
+
+
+
+ {localStorage.getItem('email') || 'User'}
+
+
+ {/* Language Section */}
+
+
+ 🌐 Language
+
+
+ {[
+ { code: 'en', label: 'English' },
+ { code: 'hi', label: 'Hindi' },
+ { code: 'pa', label: 'Punjabi' },
+ { code: 'zh', label: 'Chinese' },
+ ].map((item) => (
+
setLanguage(item.code)}
+ style={{
+ padding: '7px 0',
+ cursor: 'pointer',
+ fontSize: '14px',
+ color:
+ language === item.code ? '#274B93' : '#333',
+ fontWeight:
+ language === item.code ? '700' : '400',
+ }}
+ >
+ {item.label}
+
+ ))}
+
+
+ {/* Logout */}
Logout
diff --git a/app-frontend/employer-panel/src/i18n/translations.js b/app-frontend/employer-panel/src/i18n/translations.js
new file mode 100644
index 00000000..d59d0de9
--- /dev/null
+++ b/app-frontend/employer-panel/src/i18n/translations.js
@@ -0,0 +1,79 @@
+const translations = {
+ en: {
+ home: "Home",
+ shifts: "Shifts",
+ guard: "Guard",
+ timesheet: "Timesheet",
+ email: "Email",
+ overview: "Overview",
+ incidentReports: "Incident Reports",
+ manageShifts: "Manage Shifts",
+ guardProfiles: "Guard Profiles",
+ timesheets: "Timesheets",
+ dailyMonitoring: "Activity",
+ backDashboard: "Back to Dashboard",
+ searchGuard: "Search guard or site...",
+ recentReview: "Recent Review",
+ expressionInterest: "Expression of Interest",
+ login: "Login",
+ },
+
+ hi: {
+ home: "होम",
+ shifts: "शिफ्ट",
+ guard: "गार्ड",
+ timesheet: "टाइमशीट",
+ email: "ईमेल",
+ overview: "अवलोकन",
+ incidentReports: "घटना रिपोर्ट",
+ manageShifts: "शिफ्ट प्रबंधित करें",
+ guardProfiles: "गार्ड प्रोफाइल",
+ timesheets: "टाइमशीट",
+ dailyMonitoring: "गतिविधि",
+ backDashboard: "डैशबोर्ड पर वापस जाएं",
+ searchGuard: "गार्ड या साइट खोजें...",
+ recentReview: "हाल की समीक्षा",
+ expressionInterest: "रुचि की अभिव्यक्ति",
+ login: "लॉगिन",
+ },
+
+ pa: {
+ home: "ਹੋਮ",
+ shifts: "ਸ਼ਿਫਟਾਂ",
+ guard: "ਗਾਰਡ",
+ timesheet: "ਟਾਈਮਸ਼ੀਟ",
+ email: "ਈਮੇਲ",
+ overview: "ਸੰਖੇਪ",
+ incidentReports: "ਘਟਨਾ ਰਿਪੋਰਟਾਂ",
+ manageShifts: "ਸ਼ਿਫਟਾਂ ਸੰਭਾਲੋ",
+ guardProfiles: "ਗਾਰਡ ਪ੍ਰੋਫਾਈਲ",
+ timesheets: "ਟਾਈਮਸ਼ੀਟ",
+ dailyMonitoring: "ਗਤੀਵਿਧੀ",
+ backDashboard: "ਡੈਸ਼ਬੋਰਡ ਤੇ ਵਾਪਸ ਜਾਓ",
+ searchGuard: "ਗਾਰਡ ਜਾਂ ਸਾਈਟ ਖੋਜੋ...",
+ recentReview: "ਤਾਜ਼ਾ ਸਮੀਖਿਆ",
+ expressionInterest: "ਰੁਚੀ ਦਾ ਪ੍ਰਗਟਾਵਾ",
+ login: "ਲਾਗਇਨ",
+ },
+
+ zh: {
+ home: "首页",
+ shifts: "班次",
+ guard: "保安",
+ timesheet: "工时表",
+ email: "电子邮件",
+ overview: "概览",
+ incidentReports: "事件报告",
+ manageShifts: "管理班次",
+ guardProfiles: "保安档案",
+ timesheets: "工时表",
+ dailyMonitoring: "活动",
+ backDashboard: "返回仪表板",
+ searchGuard: "搜索保安或地点...",
+ recentReview: "最近评价",
+ expressionInterest: "意向表达",
+ login: "登录",
+ },
+ };
+
+ export default translations;
\ No newline at end of file
diff --git a/app-frontend/employer-panel/src/pages/DailyMonitoring.js b/app-frontend/employer-panel/src/pages/DailyMonitoring.js
index f62a8cce..3f8b0292 100644
--- a/app-frontend/employer-panel/src/pages/DailyMonitoring.js
+++ b/app-frontend/employer-panel/src/pages/DailyMonitoring.js
@@ -1,6 +1,7 @@
import React, { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import './DailyMonitoring.css';
+import translations from '../i18n/translations';
const IconLocation = () => (