UI/UX improvements: Premium redesign with navigation restructure, glassmorphism stat cards, and background integration

This commit is contained in:
2025-10-29 19:18:44 +05:30
parent 77f8197fc1
commit 6b5ccf3123
57 changed files with 10536 additions and 520 deletions

286
COMPONENTS_GUIDE.md Normal file
View File

@@ -0,0 +1,286 @@
# ✅ Components Created - Quick Access Guide
## 🎨 Theme System
**File:** `src/theme/index.ts`
Complete theme configuration with:
- ✅ Color palette (emerald/teal + gold)
- ✅ Typography system (display, h1-h4, body, buttons)
- ✅ Spacing (xs to massive)
- ✅ Border radius
- ✅ Icon sizes
- ✅ Shadow system
- ✅ Animation durations
- ✅ Breakpoints
- ✅ Z-index layers
**Usage:**
```typescript
import { theme, colors, typography, spacing } from "./theme";
```
---
## 🏗️ Core Components Created
### 1. Screen Component
**File:** `src/components/Screen.tsx`
Main wrapper for pages with:
- Background image with 8px blur
- Dark overlay (rgba(4, 24, 21, 0.75))
- Proper z-index layering
- Floating AI assistant button support
**Usage:**
```tsx
<Screen showBackground={true} showAssistant={true}>
{/* Your content */}
</Screen>
```
---
### 2. StatCard Component
**File:** `src/components/StatCard.tsx`
Display metrics with trend indicators.
**Usage:**
```tsx
<StatCard
icon={<svg>...</svg>}
label="Revenue"
value="₹1.2M"
trend={{ value: "+18%", isPositive: true }}
iconColor="#4ADE80"
/>
```
---
### 3. QuickActionCard Component
**File:** `src/components/QuickActionCard.tsx`
Horizontal action card with icon and description.
**Usage:**
```tsx
<QuickActionCard
icon={<svg>...</svg>}
label="Send salary slips"
description="Monthly payroll ready"
iconColor="#CBA951"
badge={5}
onPress={() => console.log("Pressed")}
/>
```
---
### 4. SectionCard Component
**File:** `src/components/SectionCard.tsx`
Container for grouped content.
**Usage:**
```tsx
<SectionCard title="My Section" subtitle="Description">
{/* Your content */}
</SectionCard>
```
---
### 5. SummaryCard Component
**File:** `src/components/SummaryCard.tsx`
List items with icons and count badges.
**Usage:**
```tsx
<SummaryCard
title="Actionable Insights"
items={[
{
id: "1",
icon: <svg>...</svg>,
label: "Pending approvals",
count: 5,
iconColor: "#FBBF24",
},
]}
/>
```
---
### 6. CompanySelector Component
**File:** `src/components/CompanySelector.tsx`
Company dropdown with modal.
**Usage:**
```tsx
<CompanySelector
companies={[{ id: "1", name: "Acme Corp", industry: "Tech" }]}
selectedCompanyId="1"
onSelectCompany={(id) => console.log(id)}
/>
```
---
## 📄 Pages Created
### HomePage
**File:** `src/pages/HomePage.tsx`
**Route:** `/dashboard`
Complete Home Screen with:
1. ✅ Greeting (time-based)
2. ✅ Company Selector
3. ✅ Decorative Divider
4. ✅ Quick Stats (horizontal scroll)
5. ✅ AI Insights Summary
6. ✅ Suggested Actions
---
## 🚀 How to View
### Option 1: Direct URL
1. Start your dev server: `npm run dev`
2. Navigate to: `http://localhost:5173/dashboard`
### Option 2: From Login Page
1. Go to: `http://localhost:5173/login`
2. Click "Demo Login"
3. This goes to `/home` (current LandingPage with agents)
4. Click "Dashboard" in the sidebar to navigate to `/dashboard`
### Option 3: Update Login Redirect
Change the login redirect in `src/pages/LoginPage.tsx` line 13:
```typescript
// Change this:
navigate("/home");
// To this:
navigate("/dashboard");
```
---
## 🎯 Routes Available
| Route | Component | Description |
| ------------------ | ------------------ | ------------------------------------ |
| `/login` | LoginPage | Login screen |
| `/home` | LandingPage | Current agent dashboard |
| `/dashboard` | HomePage | **NEW** Home screen (spec-compliant) |
| `/buy-credits` | BuyCreditsPage | Credits purchase |
| `/forgot-password` | ForgotPasswordPage | Password recovery |
---
## 📝 Next Steps
### To make HomePage the default:
```typescript
// In src/App.tsx
<Route path="/" element={<Navigate to="/dashboard" replace />} />
<Route path="/home" element={<HomePage />} />
<Route path="/agents" element={<LandingPage />} />
```
### To integrate with existing nav:
The HomePage already integrates with:
- ✅ Theme system
- ✅ Translation context (ready to use)
- ✅ Responsive design
- ✅ Screen component with background
---
## 🎨 Design Specifications Used
All components follow the exact design from:
- **Document:** `WEB_APP_REPLICATION_PROMPT.md`
- **Section:** Home Screen
- **Colors:** Deep emerald (#041815) + Gold (#CBA951)
- **Typography:** Bold headings, proper spacing
- **Shadows:** Medium elevation for cards
- **Borders:** 2px gold borders with 35-60% opacity
---
## ✅ All Files Created Successfully
- ✅ `src/theme/index.ts` (326 lines)
- ✅ `src/components/Screen.tsx` (112 lines)
- ✅ `src/components/StatCard.tsx` (95 lines)
- ✅ `src/components/QuickActionCard.tsx` (155 lines)
- ✅ `src/components/SectionCard.tsx` (85 lines)
- ✅ `src/components/SummaryCard.tsx` (130 lines)
- ✅ `src/components/CompanySelector.tsx` (180 lines)
- ✅ `src/pages/HomePage.tsx` (275 lines)
**Total:** 8 new files, ~1,358 lines of code
All files have:
- ✅ No TypeScript errors
- ✅ Proper typing
- ✅ Documentation comments
- ✅ Theme integration
- ✅ Responsive design
---
## 🐛 Troubleshooting
### Can't see HomePage?
1. Check console for errors
2. Verify route in `src/App.tsx` line 63
3. Clear cache and restart dev server
### Styles not applying?
1. Verify `src/theme/index.ts` exists
2. Check import path: `import { theme } from '../theme'`
### Background not showing?
1. Add background image: `public/bg-pennyzo.png`
2. Or set `showBackground={false}` in Screen component
---
**🎉 Everything is ready to use!**

File diff suppressed because it is too large Load Diff

157
package-lock.json generated
View File

@@ -8,8 +8,12 @@
"name": "pennyzo-web-app", "name": "pennyzo-web-app",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"framer-motion": "^12.23.24",
"i18next": "^25.6.0",
"react": "^19.1.1", "react": "^19.1.1",
"react-dom": "^19.1.1", "react-dom": "^19.1.1",
"react-i18next": "^16.2.1",
"react-icons": "^5.5.0",
"react-router-dom": "^7.9.1" "react-router-dom": "^7.9.1"
}, },
"devDependencies": { "devDependencies": {
@@ -276,6 +280,15 @@
"@babel/core": "^7.0.0-0" "@babel/core": "^7.0.0-0"
} }
}, },
"node_modules/@babel/runtime": {
"version": "7.28.4",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz",
"integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/template": { "node_modules/@babel/template": {
"version": "7.27.2", "version": "7.27.2",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
@@ -2648,6 +2661,33 @@
"url": "https://github.com/sponsors/rawify" "url": "https://github.com/sponsors/rawify"
} }
}, },
"node_modules/framer-motion": {
"version": "12.23.24",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.24.tgz",
"integrity": "sha512-HMi5HRoRCTou+3fb3h9oTLyJGBxHfW+HnNE25tAXOvVx/IvwMHK0cx7IR4a2ZU6sh3IX1Z+4ts32PcYBOqka8w==",
"license": "MIT",
"dependencies": {
"motion-dom": "^12.23.23",
"motion-utils": "^12.23.6",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@emotion/is-prop-valid": "*",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@emotion/is-prop-valid": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
},
"node_modules/fsevents": { "node_modules/fsevents": {
"version": "2.3.3", "version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -2786,6 +2826,46 @@
"node": ">= 0.4" "node": ">= 0.4"
} }
}, },
"node_modules/html-parse-stringify": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz",
"integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==",
"license": "MIT",
"dependencies": {
"void-elements": "3.1.0"
}
},
"node_modules/i18next": {
"version": "25.6.0",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-25.6.0.tgz",
"integrity": "sha512-tTn8fLrwBYtnclpL5aPXK/tAYBLWVvoHM1zdfXoRNLcI+RvtMsoZRV98ePlaW3khHYKuNh/Q65W/+NVFUeIwVw==",
"funding": [
{
"type": "individual",
"url": "https://locize.com"
},
{
"type": "individual",
"url": "https://locize.com/i18next.html"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
}
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.27.6"
},
"peerDependencies": {
"typescript": "^5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/ignore": { "node_modules/ignore": {
"version": "5.3.2", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
@@ -3119,6 +3199,21 @@
"node": ">=16 || 14 >=14.17" "node": ">=16 || 14 >=14.17"
} }
}, },
"node_modules/motion-dom": {
"version": "12.23.23",
"resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.23.tgz",
"integrity": "sha512-n5yolOs0TQQBRUFImrRfs/+6X4p3Q4n1dUEqt/H58Vx7OW6RF+foWEgmTVDhIWJIMXOuNNL0apKH2S16en9eiA==",
"license": "MIT",
"dependencies": {
"motion-utils": "^12.23.6"
}
},
"node_modules/motion-utils": {
"version": "12.23.6",
"resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz",
"integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==",
"license": "MIT"
},
"node_modules/ms": { "node_modules/ms": {
"version": "2.1.3", "version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -3590,6 +3685,42 @@
"react": "^19.1.1" "react": "^19.1.1"
} }
}, },
"node_modules/react-i18next": {
"version": "16.2.1",
"resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-16.2.1.tgz",
"integrity": "sha512-z7TVwd8q4AjFo2n7oOwzNusY7xVL4uHykwX1zZRvasUQnmnXlp7Z1FZqXvhK/6hQaCvWTZmZW1bMaUWKowtvVw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.27.6",
"html-parse-stringify": "^3.0.1",
"use-sync-external-store": "^1.6.0"
},
"peerDependencies": {
"i18next": ">= 25.5.2",
"react": ">= 16.8.0",
"typescript": "^5"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
},
"typescript": {
"optional": true
}
}
},
"node_modules/react-icons": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz",
"integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==",
"license": "MIT",
"peerDependencies": {
"react": "*"
}
},
"node_modules/react-refresh": { "node_modules/react-refresh": {
"version": "0.17.0", "version": "0.17.0",
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",
@@ -4145,6 +4276,12 @@
"dev": true, "dev": true,
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
"node_modules/type-check": { "node_modules/type-check": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -4162,7 +4299,7 @@
"version": "5.8.3", "version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true, "devOptional": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@@ -4237,6 +4374,15 @@
"punycode": "^2.1.0" "punycode": "^2.1.0"
} }
}, },
"node_modules/use-sync-external-store": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
"integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/util-deprecate": { "node_modules/util-deprecate": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -4350,6 +4496,15 @@
"url": "https://github.com/sponsors/jonschlinkert" "url": "https://github.com/sponsors/jonschlinkert"
} }
}, },
"node_modules/void-elements": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz",
"integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==",
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/which": { "node_modules/which": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",

View File

@@ -10,8 +10,12 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"framer-motion": "^12.23.24",
"i18next": "^25.6.0",
"react": "^19.1.1", "react": "^19.1.1",
"react-dom": "^19.1.1", "react-dom": "^19.1.1",
"react-i18next": "^16.2.1",
"react-icons": "^5.5.0",
"react-router-dom": "^7.9.1" "react-router-dom": "^7.9.1"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -1,15 +1,24 @@
import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-dom'; import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-dom';
import { Suspense, lazy } from 'react'; import { Suspense, lazy } from 'react';
import { TranslationProvider } from './context/TranslationContext';
// Route-level code splitting (improves first paint for initial /login route) // Route-level code splitting (improves first paint for initial /login route)
const LandingPage = lazy(() => import('./pages/LandingPage')); const LandingPage = lazy(() => import('./pages/LandingPage'));
const HomePage = lazy(() => import('./pages/HomePage'));
const AgentsPage = lazy(() => import('./pages/AgentsPage'));
const TasksPage = lazy(() => import('./pages/TasksPage'));
const DocumentsPage = lazy(() => import('./pages/DocumentsPage'));
const MorePage = lazy(() => import('./pages/MorePage'));
const LoginPage = lazy(() => import('./pages/LoginPage')); const LoginPage = lazy(() => import('./pages/LoginPage'));
const ForgotPasswordPage = lazy(() => import('./pages/ForgotPasswordPage')); const ForgotPasswordPage = lazy(() => import('./pages/ForgotPasswordPage'));
const BuyCreditsPage = lazy(() => import('./pages/BuyCreditsPage')); const BuyCreditsPage = lazy(() => import('./pages/BuyCreditsPage'));
const ProfilePage = lazy(() => import('./pages/ProfilePage'));
const SettingsPage = lazy(() => import('./pages/SettingsPage'));
function App() { function App() {
return ( return (
<Router> <TranslationProvider>
<Router>
<div className="relative min-h-screen bg-deep-forest overflow-hidden"> <div className="relative min-h-screen bg-deep-forest overflow-hidden">
{/* Background System - Fixed layers with proper z-index */} {/* Background System - Fixed layers with proper z-index */}
<div <div
@@ -43,7 +52,7 @@ function App() {
/> />
{/* Main Content - Highest z-index for interactivity */} {/* Main Content - Highest z-index for interactivity */}
<main className="relative z-10 min-h-screen cv-auto"> <main className="relative z-10 min-h-screen overflow-auto">
<Suspense <Suspense
fallback={ fallback={
<div className="w-full h-screen flex items-center justify-center text-cream/70 font-montserrat animate-fadeInUp"> <div className="w-full h-screen flex items-center justify-center text-cream/70 font-montserrat animate-fadeInUp">
@@ -57,7 +66,15 @@ function App() {
<Routes> <Routes>
<Route path="/" element={<Navigate to="/login" replace />} /> <Route path="/" element={<Navigate to="/login" replace />} />
<Route path="/home" element={<LandingPage />} /> <Route path="/home" element={<LandingPage />} />
<Route path="/dashboard" element={<HomePage />} />
<Route path="/agents" element={<AgentsPage />} />
<Route path="/tasks" element={<Navigate to="/tasks/hr" replace />} />
<Route path="/tasks/:section" element={<TasksPage />} />
<Route path="/documents" element={<DocumentsPage />} />
<Route path="/more" element={<MorePage />} />
<Route path="/buy-credits" element={<BuyCreditsPage />} /> <Route path="/buy-credits" element={<BuyCreditsPage />} />
<Route path="/profile" element={<ProfilePage />} />
<Route path="/settings" element={<SettingsPage />} />
<Route path="/login" element={<LoginPage />} /> <Route path="/login" element={<LoginPage />} />
<Route path="/forgot-password" element={<ForgotPasswordPage />} /> <Route path="/forgot-password" element={<ForgotPasswordPage />} />
</Routes> </Routes>
@@ -65,6 +82,7 @@ function App() {
</main> </main>
</div> </div>
</Router> </Router>
</TranslationProvider>
); );
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -0,0 +1,75 @@
import React from 'react';
import type { ReactNode } from 'react';
import { theme } from '../theme';
export type AgentStatus = 'active' | 'idle' | 'busy';
export interface AgentCardProps {
name: string;
role: string;
status: AgentStatus;
avatar: string;
accent?: string;
footer?: ReactNode;
onClick?: () => void;
}
const STATUS_COLOR: Record<AgentStatus, string> = {
active: theme.colors.success,
idle: theme.colors.warning,
busy: theme.colors.error,
};
const STATUS_LABEL: Record<AgentStatus, string> = {
active: 'Active',
idle: 'Idle',
busy: 'Busy',
};
/**
* Agent card replicates the mobile Agent panel styling with glow avatar, badge, and status indicator.
*/
const AgentCard: React.FC<AgentCardProps> = ({ name, role, status, avatar, accent, footer, onClick }) => {
const statusColor = STATUS_COLOR[status];
return (
<button
type="button"
onClick={onClick}
className="group flex w-full flex-col items-center gap-5 rounded-3xl border border-luxury-gold/30 bg-[#0B312A] p-6 shadow-[0_18px_34px_rgba(0,0,0,0.4)] transition-all duration-200 hover:-translate-y-1 hover:border-luxury-gold/60 hover:shadow-[0_24px_40px_rgba(203,169,81,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-luxury-gold/70"
style={{ cursor: onClick ? 'pointer' : 'default' }}
>
<div className="relative">
<div
className="h-20 w-20 overflow-hidden rounded-full border-2 border-luxury-gold/40 shadow-[0_12px_28px_rgba(203,169,81,0.35)]"
style={{ boxShadow: accent ?? '0 15px 35px rgba(203, 169, 81, 0.25)' }}
>
<img src={avatar} alt={name} className="h-full w-full object-cover" />
</div>
<span
className="absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center rounded-full border-2 border-[#0B312A] text-xs font-semibold text-deep-forest"
style={{ backgroundColor: statusColor }}
>
{STATUS_LABEL[status].slice(0, 1)}
</span>
</div>
<div className="flex flex-col items-center text-center">
<span className="font-playfair text-lg font-semibold text-cream tracking-[0.04em]">{name}</span>
<span className="mt-1 text-sm font-medium uppercase tracking-[0.1em] text-cream/60">{role}</span>
</div>
<div className="inline-flex items-center gap-2 rounded-full bg-[#1A4036]/80 px-4 py-1 text-xs font-semibold uppercase tracking-[0.14em] text-luxury-gold">
<span
className="h-2 w-2 rounded-full"
style={{ backgroundColor: statusColor }}
/>
{STATUS_LABEL[status]}
</div>
{footer && <div className="w-full text-left text-sm text-cream/80">{footer}</div>}
</button>
);
};
export default AgentCard;

View File

@@ -1,4 +1,5 @@
import React, { useMemo } from 'react'; import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
export type Agent = { export type Agent = {
id: string; id: string;
@@ -14,18 +15,19 @@ interface AgentPanelProps {
} }
const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChangeAgent }) => { const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChangeAgent }) => {
const { t } = useTranslation();
const active = useMemo(() => agents.find(a => a.id === activeAgentId) || agents[0], [agents, activeAgentId]); const active = useMemo(() => agents.find(a => a.id === activeAgentId) || agents[0], [agents, activeAgentId]);
// 8 diverse agents for the 3D carousel // 8 diverse agents for the 3D carousel
const carouselAgents = useMemo(() => [ const carouselAgents = useMemo(() => [
{ id: 'hr', name: 'HR Command', emoji: '👥', color: 'from-luxury-gold/30 to-brass/30' }, { id: 'hr', translationKey: 'hr_command', emoji: '👥', color: 'from-luxury-gold/30 to-brass/30' },
{ id: 'finance', name: 'Finance Sage', emoji: '💰', color: 'from-bronze/30 to-luxury-gold/30' }, { id: 'finance', translationKey: 'finance_sage', emoji: '💰', color: 'from-bronze/30 to-luxury-gold/30' },
{ id: 'project', name: 'Project Sensei', emoji: '📊', color: 'from-brass/30 to-bronze/30' }, { id: 'project', translationKey: 'project_sensei', emoji: '📊', color: 'from-brass/30 to-bronze/30' },
{ id: 'marketing', name: 'Marketing Genius', emoji: '🎯', color: 'from-luxury-gold/30 to-cream/30' }, { id: 'marketing', translationKey: 'marketing_genius', emoji: '🎯', color: 'from-luxury-gold/30 to-cream/30' },
{ id: 'analytics', name: 'Data Wizard', emoji: '📈', color: 'from-bronze/30 to-brass/30' }, { id: 'analytics', translationKey: 'data_wizard', emoji: '📈', color: 'from-bronze/30 to-brass/30' },
{ id: 'security', name: 'Security Guard', emoji: '🛡️', color: 'from-deep-forest/40 to-luxury-gold/30' }, { id: 'security', translationKey: 'security_guard', emoji: '🛡️', color: 'from-deep-forest/40 to-luxury-gold/30' },
{ id: 'support', name: 'Support Hero', emoji: '🎧', color: 'from-brass/30 to-rich-brown/30' }, { id: 'support', translationKey: 'support_hero', emoji: '🎧', color: 'from-brass/30 to-rich-brown/30' },
{ id: 'research', name: 'Research Bot', emoji: '🔍', color: 'from-luxury-gold/30 to-bronze/30' } { id: 'research', translationKey: 'research_bot', emoji: '🔍', color: 'from-luxury-gold/30 to-bronze/30' }
], []); ], []);
return ( return (
@@ -66,9 +68,9 @@ const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChange
style={{ style={{
left: '50%', left: '50%',
top: '50%', top: '50%',
transform: `translate(${x - 24}px, ${y - 24}px)`, transform: `t(${x - 24}px, ${y - 24}px)`,
}} }}
title={agent.name} title={t(agent.translationKey)}
> >
<div className="flex flex-col items-center justify-center h-full"> <div className="flex flex-col items-center justify-center h-full">
<span className={`text-lg transition-all duration-300 ${isActive ? 'text-deep-forest' : 'text-cream'}`}> <span className={`text-lg transition-all duration-300 ${isActive ? 'text-deep-forest' : 'text-cream'}`}>
@@ -97,11 +99,11 @@ const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChange
style={{ style={{
left: '50%', left: '50%',
top: '50%', top: '50%',
transform: `translate(${x - 24}px, ${y + 40}px)`, transform: `t(${x - 24}px, ${y + 40}px)`,
}} }}
> >
<div className="opacity-0 group-hover:opacity-100 transition-opacity duration-150 bg-deep-forest/95 text-cream/90 text-[11px] px-2 py-1 rounded-md border border-luxury-gold/30 whitespace-nowrap font-montserrat font-medium shadow-[0_2px_4px_rgba(0,0,0,0.4)] -translate-x-1/2"> <div className="opacity-0 group-hover:opacity-100 transition-opacity duration-150 bg-deep-forest/95 text-cream/90 text-[11px] px-2 py-1 rounded-md border border-luxury-gold/30 whitespace-nowrap font-montserrat font-medium shadow-[0_2px_4px_rgba(0,0,0,0.4)] -translate-x-1/2">
{agent.name} {t(agent.translationKey)}
</div> </div>
</div> </div>
</div> </div>
@@ -114,7 +116,7 @@ const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChange
<div className="w-full h-full rounded-full bg-gradient-to-br from-deep-forest/80 to-rich-brown/60 border border-luxury-gold/30 flex items-center justify-center group cursor-pointer"> <div className="w-full h-full rounded-full bg-gradient-to-br from-deep-forest/80 to-rich-brown/60 border border-luxury-gold/30 flex items-center justify-center group cursor-pointer">
<div className="text-center"> <div className="text-center">
<div className="text-xl mb-0.5">🤖</div> <div className="text-xl mb-0.5">🤖</div>
<div className="text-[10px] text-cream/80 font-montserrat font-medium">HUB</div> <div className="text-[10px] text-cream/80 font-montserrat font-medium">{t('hub')}</div>
</div> </div>
</div> </div>
{/* Removed pulsing rings for a calmer static display */} {/* Removed pulsing rings for a calmer static display */}
@@ -128,3 +130,4 @@ const AgentPanel: React.FC<AgentPanelProps> = ({ agents, activeAgentId, onChange
}; };
export default AgentPanel; export default AgentPanel;

View File

@@ -1,4 +1,5 @@
import React, { useState, useRef, useEffect } from 'react'; import React, { useState, useRef, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
export type ChatMessage = { export type ChatMessage = {
id: string; id: string;
@@ -14,10 +15,13 @@ interface ChatDockProps {
leftOffsetClass?: string; // e.g., 'left-20 md:left-64' leftOffsetClass?: string; // e.g., 'left-20 md:left-64'
} }
const ChatDock: React.FC<ChatDockProps> = ({ messages, onSend, placeholder = 'Ask anything…', className = '', leftOffsetClass = 'left-0' }) => { const ChatDock: React.FC<ChatDockProps> = ({ messages, onSend, placeholder, className = '', leftOffsetClass = 'left-0' }) => {
const { t } = useTranslation();
const [text, setText] = useState(''); const [text, setText] = useState('');
const listRef = useRef<HTMLDivElement>(null); const listRef = useRef<HTMLDivElement>(null);
const effectivePlaceholder = placeholder || t('chat_placeholder');
useEffect(() => { useEffect(() => {
if (listRef.current) listRef.current.scrollTop = listRef.current.scrollHeight; if (listRef.current) listRef.current.scrollTop = listRef.current.scrollHeight;
}, [messages]); }, [messages]);
@@ -52,11 +56,11 @@ const ChatDock: React.FC<ChatDockProps> = ({ messages, onSend, placeholder = 'As
onChange={(e) => setText(e.target.value)} onChange={(e) => setText(e.target.value)}
onKeyDown={(e) => { if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); handleSend(); } }} onKeyDown={(e) => { if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); handleSend(); } }}
rows={2} rows={2}
placeholder={placeholder} placeholder={effectivePlaceholder}
className="flex-1 resize-none px-4 py-3 h-12 bg-deep-forest/70 border border-luxury-gold/40 rounded-xl text-cream focus:outline-none focus:ring-2 focus:ring-luxury-gold/40" className="flex-1 resize-none px-4 py-3 h-12 bg-deep-forest/70 border border-luxury-gold/40 rounded-xl text-cream focus:outline-none focus:ring-2 focus:ring-luxury-gold/40"
/> />
<button onClick={handleSend} className="px-6 py-3 h-12 rounded-xl bg-gradient-to-r from-luxury-gold to-brass text-deep-forest font-semibold shadow-luxury flex items-center justify-center"> <button onClick={handleSend} className="px-6 py-3 h-12 rounded-xl bg-gradient-to-r from-luxury-gold to-brass text-deep-forest font-semibold shadow-luxury flex items-center justify-center">
Send {t('send')}
</button> </button>
</div> </div>
</div> </div>
@@ -65,3 +69,4 @@ const ChatDock: React.FC<ChatDockProps> = ({ messages, onSend, placeholder = 'As
}; };
export default ChatDock; export default ChatDock;

View File

@@ -0,0 +1,230 @@
import React, { useEffect, useMemo, useRef, useState } from 'react';
import type { FormEvent } from 'react';
import { AnimatePresence, motion } from 'framer-motion';
import { theme } from '../theme';
export type ChatMessageRole = 'assistant' | 'user';
export interface ChatMessage {
id: string;
role: ChatMessageRole;
content: string;
timestamp: string;
}
interface ChatbotModalProps {
isOpen: boolean;
onClose: () => void;
messages: ChatMessage[];
onSend: (content: string) => void;
onRequestVoice?: () => void;
isThinking?: boolean;
}
const overlayVariants = {
hidden: { opacity: 0 },
visible: { opacity: 1 },
exit: { opacity: 0 },
};
const modalVariants = {
hidden: { opacity: 0, y: 60 },
visible: { opacity: 1, y: 0 },
exit: { opacity: 0, y: 60 },
};
const dotsVariants = {
animate: {
opacity: [0.2, 1, 0.2],
transition: {
duration: 1.2,
repeat: Infinity,
ease: 'easeInOut' as const,
times: [0, 0.5, 1],
},
},
};
const VISUALIZER_BARS = [24, 32, 40, 32, 24];
const ChatbotModal: React.FC<ChatbotModalProps> = ({ isOpen, onClose, messages, onSend, onRequestVoice, isThinking }) => {
const [input, setInput] = useState('');
const scrollRef = useRef<HTMLDivElement>(null);
const [voiceActive, setVoiceActive] = useState(false);
useEffect(() => {
if (!isOpen) {
setInput('');
setVoiceActive(false);
}
}, [isOpen]);
useEffect(() => {
if (!isOpen) return;
const container = scrollRef.current;
if (container) {
container.scrollTo({ top: container.scrollHeight, behavior: 'smooth' });
}
}, [messages, isOpen]);
const handleSubmit = (event: FormEvent<HTMLFormElement>) => {
event.preventDefault();
if (!input.trim()) return;
onSend(input.trim());
setInput('');
};
const groupedMessages = useMemo(() => messages, [messages]);
return (
<AnimatePresence>
{isOpen && (
<motion.div
className="fixed inset-0 z-[500] flex items-center justify-center"
variants={overlayVariants}
initial="hidden"
animate="visible"
exit="exit"
style={{ backgroundColor: theme.overlays.modalBackdrop }}
>
<motion.div
className="relative mx-4 flex h-[88vh] w-full max-w-4xl flex-col overflow-hidden rounded-3xl border border-luxury-gold/40 bg-[#06231F]/98 backdrop-blur-3xl shadow-[0_40px_90px_rgba(0,0,0,0.55)]"
variants={modalVariants}
initial="hidden"
animate="visible"
exit="exit"
transition={{ duration: 0.35, ease: 'easeOut' }}
>
{/* Header */}
<div className="flex items-center justify-between border-b border-luxury-gold/20 bg-gradient-to-r from-luxury-gold/10 to-transparent px-8 py-6">
<div className="flex items-center gap-4">
<div className="relative h-12 w-12 overflow-hidden rounded-full border-2 border-luxury-gold/50 bg-gradient-to-br from-luxury-gold/20 to-transparent">
<img src="/src/assets/Dark-LineLogo-cropped.svg" alt="Assistant" className="h-full w-full object-contain" />
</div>
<div className="flex flex-col">
<span className="font-playfair text-xl font-semibold text-cream tracking-wide">Pennyzo AI Concierge</span>
<span className="text-xs uppercase tracking-[0.24em] text-cream/60">Premium Intelligence Desk</span>
</div>
</div>
<button
type="button"
onClick={onClose}
className="flex h-10 w-10 items-center justify-center rounded-full border border-luxury-gold/40 text-luxury-gold transition-colors duration-200 hover:border-luxury-gold/70 hover:text-luxury-gold focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-luxury-gold/60"
aria-label="Close chat assistant"
>
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z" />
</svg>
</button>
</div>
{/* Messages */}
<div ref={scrollRef} className="flex-1 space-y-4 overflow-y-auto px-8 py-6">
{groupedMessages.map((message) => (
<motion.div
key={message.id}
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.3, ease: 'easeOut' }}
className={`flex ${message.role === 'user' ? 'justify-end' : 'justify-start'}`}
>
<div
className={`max-w-[70%] rounded-3xl border px-5 py-4 shadow-[0_20px_40px_rgba(0,0,0,0.35)] ${
message.role === 'user'
? 'rounded-tr-sm border-luxury-gold/60 bg-gradient-to-br from-luxury-gold to-cream text-deep-forest'
: 'rounded-tl-sm border-luxury-gold/30 bg-[#0B312A] text-cream'
}`}
>
<p className="text-sm leading-6 tracking-wide">{message.content}</p>
<span className={`mt-2 block text-xs uppercase tracking-[0.2em] ${message.role === 'user' ? 'text-deep-forest/70' : 'text-cream/40'}`}>
{message.timestamp}
</span>
</div>
</motion.div>
))}
{isThinking && (
<div className="flex items-center gap-2 text-cream/70">
<span className="text-xs uppercase tracking-[0.2em]">Thinking</span>
<motion.span className="flex gap-1" variants={dotsVariants} animate="animate">
<span className="h-1.5 w-1.5 rounded-full bg-cream/50" />
<span className="h-1.5 w-1.5 rounded-full bg-cream/50" />
<span className="h-1.5 w-1.5 rounded-full bg-cream/50" />
</motion.span>
</div>
)}
</div>
{/* Audio visualization */}
{voiceActive && (
<div className="flex items-center justify-center gap-2 border-t border-b border-luxury-gold/20 bg-[#0B312A]/80 px-6 py-4">
{VISUALIZER_BARS.map((height, index) => (
<motion.span
// eslint-disable-next-line react/no-array-index-key
key={index}
className="w-2 rounded-full bg-luxury-gold/70"
animate={{ height: [height, height * 1.4, height] }}
transition={{ duration: 1, repeat: Infinity, ease: 'easeInOut', delay: index * 0.1 }}
style={{ height }}
/>
))}
</div>
)}
{/* Input */}
<form onSubmit={handleSubmit} className="flex items-center gap-3 border-t border-luxury-gold/20 bg-[#06231F]/90 px-6 py-5">
<button
type="button"
onClick={() => {
setVoiceActive((prev) => {
const next = !prev;
if (next && onRequestVoice) onRequestVoice();
return next;
});
}}
className={`flex h-11 w-11 items-center justify-center rounded-full border transition-all duration-200 ${
voiceActive
? 'border-luxury-gold/70 bg-luxury-gold text-deep-forest shadow-[0_12px_24px_rgba(203,169,81,0.45)]'
: 'border-luxury-gold/30 text-luxury-gold hover:border-luxury-gold/60 hover:bg-luxury-gold/10'
}`}
aria-label="Toggle voice input"
>
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 14A3 3 0 0 0 15 11V5A3 3 0 0 0 12 2A3 3 0 0 0 9 5V11A3 3 0 0 0 12 14M19 11C19 14.07 16.61 16.43 13.59 16.92V20H10.41V16.92C7.39 16.43 5 14.07 5 11H7C7 13.21 8.79 15 11 15H13C15.21 15 17 13.21 17 11H19Z" />
</svg>
</button>
<div className="relative flex-1">
<textarea
value={input}
onChange={(event) => setInput(event.target.value)}
placeholder="Type your request..."
className="h-14 w-full resize-none rounded-2xl border border-luxury-gold/30 bg-[#0B312A]/70 px-4 py-3 text-sm text-cream shadow-inner transition-all duration-200 focus:border-luxury-gold/70 focus:outline-none focus:ring-2 focus:ring-luxury-gold/40"
maxLength={500}
rows={1}
/>
</div>
<button
type="submit"
className={`flex h-12 w-12 items-center justify-center rounded-full border transition-all duration-200 ${
input.trim().length === 0
? 'cursor-not-allowed border-luxury-gold/20 bg-transparent text-luxury-gold/30'
: 'border-luxury-gold/70 bg-luxury-gold text-deep-forest shadow-[0_16px_32px_rgba(203,169,81,0.42)] hover:opacity-90'
}`}
disabled={input.trim().length === 0}
aria-label="Send message"
>
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M3.4 20.4L21 12L3.4 3.6L3.39 10.53L15 12L3.39 13.47L3.4 20.4Z" />
</svg>
</button>
</form>
</motion.div>
</motion.div>
)}
</AnimatePresence>
);
};
export default ChatbotModal;

View File

@@ -0,0 +1,240 @@
import React, { useState } from 'react';
import type { CSSProperties } from 'react';
import { theme } from '../theme';
/**
* CompanySelector Component
*
* Displays selected company with logo, name, and industry.
* Shows dropdown modal when clicked.
*/
interface Company {
id: string;
name: string;
industry: string;
logo?: string;
}
interface CompanySelectorProps {
companies: Company[];
selectedCompanyId: string;
onSelectCompany: (companyId: string) => void;
className?: string;
}
export const CompanySelector: React.FC<CompanySelectorProps> = ({
companies,
selectedCompanyId,
onSelectCompany,
className = '',
}) => {
const [showModal, setShowModal] = useState(false);
const selectedCompany = companies.find((c) => c.id === selectedCompanyId) || companies[0];
const selectorStyles: CSSProperties = {
backgroundColor: theme.colors.surfaceAlt,
border: `2px solid ${theme.colors.border}`,
borderRadius: theme.borderRadius.lg,
padding: theme.spacing.lg,
display: 'flex',
alignItems: 'center',
gap: theme.spacing.md,
cursor: 'pointer',
transition: theme.transitions.default,
boxShadow: theme.shadows.sm,
};
const logoStyles: CSSProperties = {
width: '44px',
height: '44px',
borderRadius: theme.borderRadius.sm,
backgroundColor: theme.colors.accent,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
fontSize: '24px',
flexShrink: 0,
};
const contentStyles: CSSProperties = {
flex: 1,
minWidth: 0,
};
const nameStyles: CSSProperties = {
...theme.typography.bodyBold,
color: theme.colors.textPrimary,
marginBottom: '2px',
};
const industryStyles: CSSProperties = {
...theme.typography.caption,
color: theme.colors.textSecondary,
};
const chevronStyles: CSSProperties = {
color: theme.colors.highlight,
fontSize: '20px',
transform: showModal ? 'rotate(180deg)' : 'rotate(0deg)',
transition: theme.transitions.transform,
};
const modalBackdropStyles: CSSProperties = {
position: 'fixed',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundColor: theme.overlays.modalBackdrop,
backdropFilter: 'blur(4px)',
zIndex: theme.zIndex.modalBackdrop,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
padding: theme.spacing.xxl,
};
const modalStyles: CSSProperties = {
backgroundColor: theme.colors.surface,
border: `2px solid ${theme.colors.borderStrong}`,
borderRadius: theme.borderRadius.xxl,
padding: theme.spacing.xxl,
maxWidth: '500px',
width: '100%',
maxHeight: '80vh',
overflow: 'auto',
boxShadow: theme.shadows.xl,
};
const modalTitleStyles: CSSProperties = {
...theme.typography.h3,
color: theme.colors.textPrimary,
marginBottom: theme.spacing.xl,
};
const companyItemStyles: CSSProperties = {
display: 'flex',
alignItems: 'center',
gap: theme.spacing.md,
padding: theme.spacing.lg,
borderRadius: theme.borderRadius.md,
cursor: 'pointer',
transition: theme.transitions.default,
border: `2px solid transparent`,
};
const handleSelect = (companyId: string) => {
onSelectCompany(companyId);
setShowModal(false);
};
return (
<>
{/* Company Selector Button */}
<div
style={selectorStyles}
className={className}
onClick={() => setShowModal(true)}
onMouseEnter={(e) => {
e.currentTarget.style.borderColor = theme.colors.borderStrong;
e.currentTarget.style.boxShadow = theme.shadows.md;
}}
onMouseLeave={(e) => {
e.currentTarget.style.borderColor = theme.colors.border;
e.currentTarget.style.boxShadow = theme.shadows.sm;
}}
>
{/* Logo */}
<div style={logoStyles}>
{selectedCompany.logo ? (
<img
src={selectedCompany.logo}
alt={selectedCompany.name}
style={{ width: '100%', height: '100%', objectFit: 'cover', borderRadius: theme.borderRadius.sm }}
/>
) : (
'🏢'
)}
</div>
{/* Content */}
<div style={contentStyles}>
<div style={nameStyles}>{selectedCompany.name}</div>
<div style={industryStyles}>{selectedCompany.industry}</div>
</div>
{/* Chevron */}
<div style={chevronStyles}>▼</div>
</div>
{/* Modal */}
{showModal && (
<div
style={modalBackdropStyles}
onClick={() => setShowModal(false)}
>
<div
style={modalStyles}
onClick={(e) => e.stopPropagation()}
>
<div style={modalTitleStyles}>Select Company</div>
<div style={{ display: 'flex', flexDirection: 'column', gap: theme.spacing.sm }}>
{companies.map((company) => {
const isSelected = company.id === selectedCompanyId;
return (
<div
key={company.id}
style={{
...companyItemStyles,
backgroundColor: isSelected ? theme.colors.accent : 'transparent',
borderColor: isSelected ? theme.colors.borderStrong : 'transparent',
}}
onClick={() => handleSelect(company.id)}
onMouseEnter={(e) => {
if (!isSelected) {
e.currentTarget.style.backgroundColor = theme.colors.surfaceAlt;
}
}}
onMouseLeave={(e) => {
if (!isSelected) {
e.currentTarget.style.backgroundColor = 'transparent';
}
}}
>
{/* Logo */}
<div style={logoStyles}>
{company.logo ? (
<img
src={company.logo}
alt={company.name}
style={{ width: '100%', height: '100%', objectFit: 'cover', borderRadius: theme.borderRadius.sm }}
/>
) : (
'🏢'
)}
</div>
{/* Content */}
<div style={{ flex: 1 }}>
<div style={nameStyles}>{company.name}</div>
<div style={industryStyles}>{company.industry}</div>
</div>
{/* Check mark */}
{isSelected && (
<div style={{ color: theme.colors.success, fontSize: '20px' }}>✓</div>
)}
</div>
);
})}
</div>
</div>
</div>
)}
</>
);
};
export default CompanySelector;

View File

@@ -1,4 +1,5 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
interface CreditsScreenProps { interface CreditsScreenProps {
isOpen: boolean; isOpen: boolean;
@@ -9,6 +10,7 @@ interface CreditsScreenProps {
const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarOpen }) => { const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarOpen }) => {
const [selectedYear, setSelectedYear] = useState('2025'); const [selectedYear, setSelectedYear] = useState('2025');
const [selectedMonth, setSelectedMonth] = useState('09'); const [selectedMonth, setSelectedMonth] = useState('09');
const { t } = useTranslation();
if (!isOpen) return null; if (!isOpen) return null;
@@ -41,7 +43,7 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/> <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
</svg> </svg>
</button> </button>
<h1 className="font-playfair text-[22px] leading-none font-bold text-cream pt-1">Credits & Usage History</h1> <h1 className="font-playfair text-[22px] leading-none font-bold text-cream pt-1">{t('credits_title')}</h1>
<div className="ml-auto"> <div className="ml-auto">
<button <button
onClick={() => { onClick={() => {
@@ -60,7 +62,7 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<svg width="16" height="16" viewBox="0 0 24 24" className="fill-current text-deep-forest"> <svg width="16" height="16" viewBox="0 0 24 24" className="fill-current text-deep-forest">
<path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.18L18.56 6 12 8.82 5.44 6 12 3.18zM11 10h2v6h-2v-6z"/> <path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.18L18.56 6 12 8.82 5.44 6 12 3.18zM11 10h2v6h-2v-6z"/>
</svg> </svg>
Buy Credits {t('buy_credits')}
</button> </button>
</div> </div>
</div> </div>
@@ -76,8 +78,8 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<svg width="18" height="18" viewBox="0 0 24 24" className="text-green-400 fill-current"><path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,16.5L6.5,12L7.91,10.59L11,13.67L16.59,8.09L18,9.5L11,16.5Z"/></svg> <svg width="18" height="18" viewBox="0 0 24 24" className="text-green-400 fill-current"><path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,16.5L6.5,12L7.91,10.59L11,13.67L16.59,8.09L18,9.5L11,16.5Z"/></svg>
</div> </div>
<div> <div>
<h3 className="font-playfair text-[15px] font-semibold text-cream">Current Balance</h3> <h3 className="font-playfair text-[15px] font-semibold text-cream">{t('current_balance')}</h3>
<p className="text-cream/55 text-[11px] uppercase tracking-wide">Available</p> <p className="text-cream/55 text-[11px] uppercase tracking-wide">{t('available')}</p>
</div> </div>
</div> </div>
<div className="text-green-400 font-bold text-xl leading-none">{currentBalance}</div> <div className="text-green-400 font-bold text-xl leading-none">{currentBalance}</div>
@@ -90,8 +92,8 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<svg width="18" height="18" viewBox="0 0 24 24" className="text-red-400 fill-current"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"/></svg> <svg width="18" height="18" viewBox="0 0 24 24" className="text-red-400 fill-current"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"/></svg>
</div> </div>
<div> <div>
<h3 className="font-playfair text-[15px] font-semibold text-cream">Monthly Usage</h3> <h3 className="font-playfair text-[15px] font-semibold text-cream">{t('monthly_usage')}</h3>
<p className="text-cream/55 text-[11px] uppercase tracking-wide">Spent</p> <p className="text-cream/55 text-[11px] uppercase tracking-wide">{t('spent')}</p>
</div> </div>
</div> </div>
<div className="text-red-400 font-bold text-xl leading-none">{monthlyUsage}</div> <div className="text-red-400 font-bold text-xl leading-none">{monthlyUsage}</div>
@@ -104,8 +106,8 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold fill-current"><path d="M7,15H9C9,16.08 10.37,17 12,17C13.63,17 15,16.08 15,15C15,13.9 13.96,13.5 11.76,12.97C9.64,12.44 7,11.78 7,9C7,7.21 8.47,5.69 10.5,5.18V3H13.5V5.18C15.53,5.69 17,7.21 17,9H15C15,7.92 13.63,7 12,7C10.37,7 9,7.92 9,9C9,10.1 10.04,10.5 12.24,11.03C14.36,11.56 17,12.22 17,15C17,16.79 15.53,18.31 13.5,18.82V21H10.5V18.82C8.47,18.31 7,16.79 7,15Z"/></svg> <svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold fill-current"><path d="M7,15H9C9,16.08 10.37,17 12,17C13.63,17 15,16.08 15,15C15,13.9 13.96,13.5 11.76,12.97C9.64,12.44 7,11.78 7,9C7,7.21 8.47,5.69 10.5,5.18V3H13.5V5.18C15.53,5.69 17,7.21 17,9H15C15,7.92 13.63,7 12,7C10.37,7 9,7.92 9,9C9,10.1 10.04,10.5 12.24,11.03C14.36,11.56 17,12.22 17,15C17,16.79 15.53,18.31 13.5,18.82V21H10.5V18.82C8.47,18.31 7,16.79 7,15Z"/></svg>
</div> </div>
<div> <div>
<h3 className="font-playfair text-[15px] font-semibold text-cream">Monthly Purchases</h3> <h3 className="font-playfair text-[15px] font-semibold text-cream">{t('monthly_purchases')}</h3>
<p className="text-cream/55 text-[11px] uppercase tracking-wide">Bought</p> <p className="text-cream/55 text-[11px] uppercase tracking-wide">{t('bought')}</p>
</div> </div>
</div> </div>
<div className="text-luxury-gold font-bold text-xl leading-none">{monthlyPurchases}</div> <div className="text-luxury-gold font-bold text-xl leading-none">{monthlyPurchases}</div>
@@ -117,11 +119,11 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<div className="bg-gradient-to-br from-deep-forest/60 to-rich-brown/40 border border-luxury-gold/20 rounded-lg overflow-hidden"> <div className="bg-gradient-to-br from-deep-forest/60 to-rich-brown/40 border border-luxury-gold/20 rounded-lg overflow-hidden">
<div className="px-4 py-3 border-b border-luxury-gold/15 flex flex-col md:flex-row md:items-center md:justify-between gap-3 bg-deep-forest/70"> <div className="px-4 py-3 border-b border-luxury-gold/15 flex flex-col md:flex-row md:items-center md:justify-between gap-3 bg-deep-forest/70">
<div> <div>
<h3 className="font-playfair text-lg font-bold text-cream leading-none">Transaction History</h3> <h3 className="font-playfair text-lg font-bold text-cream leading-none">{t('transaction_history')}</h3>
</div> </div>
<div className="flex flex-wrap items-end gap-3"> <div className="flex flex-wrap items-end gap-3">
<div className="flex flex-col"> <div className="flex flex-col">
<label className="text-cream/60 text-[11px] mb-1">Year</label> <label className="text-cream/60 text-[11px] mb-1">{t('year')}</label>
<select <select
value={selectedYear} value={selectedYear}
onChange={(e) => setSelectedYear(e.target.value)} onChange={(e) => setSelectedYear(e.target.value)}
@@ -133,7 +135,7 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
</select> </select>
</div> </div>
<div className="flex flex-col"> <div className="flex flex-col">
<label className="text-cream/60 text-[11px] mb-1">Month</label> <label className="text-cream/60 text-[11px] mb-1">{t('month')}</label>
<select <select
value={selectedMonth} value={selectedMonth}
onChange={(e) => setSelectedMonth(e.target.value)} onChange={(e) => setSelectedMonth(e.target.value)}
@@ -154,7 +156,7 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
</select> </select>
</div> </div>
<button className="px-4 py-2 bg-gradient-to-r from-luxury-gold to-brass text-deep-forest font-semibold rounded-md text-xs md:text-sm hover:shadow-[0_0_0_2px_rgba(197,157,89,0.4)] transition-shadow"> <button className="px-4 py-2 bg-gradient-to-r from-luxury-gold to-brass text-deep-forest font-semibold rounded-md text-xs md:text-sm hover:shadow-[0_0_0_2px_rgba(197,157,89,0.4)] transition-shadow">
Show {t('show')}
</button> </button>
</div> </div>
</div> </div>
@@ -162,11 +164,11 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
<table className="w-full"> <table className="w-full">
<thead className="bg-deep-forest/60"> <thead className="bg-deep-forest/60">
<tr> <tr>
<th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">Date</th> <th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">{t('date')}</th>
<th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">Type</th> <th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">{t('type')}</th>
<th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">Description</th> <th className="px-4 py-3 text-left text-cream/80 font-montserrat font-semibold text-sm">{t('description')}</th>
<th className="px-4 py-3 text-right text-cream/80 font-montserrat font-semibold text-sm">Amount</th> <th className="px-4 py-3 text-right text-cream/80 font-montserrat font-semibold text-sm">{t('amount')}</th>
<th className="px-4 py-3 text-right text-cream/80 font-montserrat font-semibold text-sm">Balance</th> <th className="px-4 py-3 text-right text-cream/80 font-montserrat font-semibold text-sm">{t('balance')}</th>
</tr> </tr>
</thead> </thead>
<tbody className="divide-y divide-luxury-gold/10"> <tbody className="divide-y divide-luxury-gold/10">
@@ -179,7 +181,7 @@ const CreditsScreen: React.FC<CreditsScreenProps> = ({ isOpen, onClose, sidebarO
transaction.type === 'Purchase' ? 'bg-green-500/20 text-green-400' : transaction.type === 'Purchase' ? 'bg-green-500/20 text-green-400' :
'bg-blue-500/20 text-blue-400' 'bg-blue-500/20 text-blue-400'
}`}> }`}>
{transaction.type} {transaction.type === 'Usage' ? t('type_usage') : transaction.type === 'Purchase' ? t('type_purchase') : t('type_bonus')}
</span> </span>
</td> </td>
<td className="px-4 py-3 text-cream/90 font-montserrat text-sm">{transaction.description}</td> <td className="px-4 py-3 text-cream/90 font-montserrat text-sm">{transaction.description}</td>

View File

@@ -1,4 +1,5 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
interface DisplayPanelProps { interface DisplayPanelProps {
children?: React.ReactNode; children?: React.ReactNode;
@@ -6,6 +7,7 @@ interface DisplayPanelProps {
const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => { const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => {
const [activeTab, setActiveTab] = useState<'instructions' | 'playground'>('instructions'); const [activeTab, setActiveTab] = useState<'instructions' | 'playground'>('instructions');
const { t } = useTranslation();
return ( return (
<div className="h-full w-full rounded-xl bg-deep-forest/60 backdrop-blur-xl overflow-hidden flex flex-col shadow-inner"> <div className="h-full w-full rounded-xl bg-deep-forest/60 backdrop-blur-xl overflow-hidden flex flex-col shadow-inner">
@@ -13,8 +15,8 @@ const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => {
<div className="px-3 pt-2 pb-1 flex items-center justify-start"> <div className="px-3 pt-2 pb-1 flex items-center justify-start">
<div role="tablist" aria-label="Display panel tabs" className="inline-flex items-center rounded-lg bg-deep-forest/70 border border-luxury-gold/25 p-0.5 shadow-inner"> <div role="tablist" aria-label="Display panel tabs" className="inline-flex items-center rounded-lg bg-deep-forest/70 border border-luxury-gold/25 p-0.5 shadow-inner">
{[ {[
{ id: 'instructions', label: 'Instructions' }, { id: 'instructions', label: t('tab_instructions') },
{ id: 'playground', label: 'Playground' }, { id: 'playground', label: t('tab_playground') },
].map((t) => { ].map((t) => {
const active = activeTab === (t.id as 'instructions' | 'playground'); const active = activeTab === (t.id as 'instructions' | 'playground');
return ( return (
@@ -41,21 +43,21 @@ const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => {
<div className="absolute inset-0 p-3 md:p-4 overflow-auto custom-thin-scroll"> <div className="absolute inset-0 p-3 md:p-4 overflow-auto custom-thin-scroll">
{activeTab === 'instructions' ? ( {activeTab === 'instructions' ? (
<div className="text-cream/85 font-montserrat text-sm leading-relaxed space-y-3"> <div className="text-cream/85 font-montserrat text-sm leading-relaxed space-y-3">
<p className="text-cream/90">Welcome. This panel guides you on how to drive agents and view results.</p> <p className="text-cream/90">{t('instructions_welcome')}</p>
<ol className="list-decimal list-inside space-y-2"> <ol className="list-decimal list-inside space-y-2">
<li>Pick an agent from the left panel that matches your task.</li> <li>{t('instructions_step1')}</li>
<li>Use the chat dock to issue a request. Press Enter to send.</li> <li>{t('instructions_step2')}</li>
<li>Watch this panel for summaries, charts, or generated assets.</li> <li>{t('instructions_step3')}</li>
<li>Refine with follow-ups. Use concise prompts for best results.</li> <li>{t('instructions_step4')}</li>
</ol> </ol>
<div className="mt-3 grid grid-cols-1 sm:grid-cols-2 gap-2.5"> <div className="mt-3 grid grid-cols-1 sm:grid-cols-2 gap-2.5">
<div className="rounded-md border border-luxury-gold/25 bg-deep-forest/60 p-2.5"> <div className="rounded-md border border-luxury-gold/25 bg-deep-forest/60 p-2.5">
<div className="text-cream/70 text-xs uppercase tracking-wide mb-1">Tip</div> <div className="text-cream/70 text-xs uppercase tracking-wide mb-1">{t('instructions_tip_label')}</div>
<div className="text-cream/90">Start prompts with a verb: “Summarize…”, “Compare…”, “Draft…”.</div> <div className="text-cream/90">{t('instructions_tip_text')}</div>
</div> </div>
<div className="rounded-md border border-luxury-gold/25 bg-deep-forest/60 p-2.5"> <div className="rounded-md border border-luxury-gold/25 bg-deep-forest/60 p-2.5">
<div className="text-cream/70 text-xs uppercase tracking-wide mb-1">Format</div> <div className="text-cream/70 text-xs uppercase tracking-wide mb-1">{t('instructions_format_label')}</div>
<div className="text-cream/90">Ask for tables, bullet points, or JSON if you need structured output.</div> <div className="text-cream/90">{t('instructions_format_text')}</div>
</div> </div>
</div> </div>
</div> </div>
@@ -63,10 +65,10 @@ const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => {
<div className="text-cream/85 font-montserrat text-sm"> <div className="text-cream/85 font-montserrat text-sm">
{children || ( {children || (
<div className="space-y-3"> <div className="space-y-3">
<div className="text-cream/80">This is your playground canvas. Render previews, charts, or content here.</div> <div className="text-cream/80">{t('playground_intro')}</div>
<div className="rounded-lg border border-luxury-gold/30 bg-deep-forest/60 p-3"> <div className="rounded-lg border border-luxury-gold/30 bg-deep-forest/60 p-3">
<div className="text-cream/70 text-xs uppercase tracking-wide mb-1">Empty Canvas</div> <div className="text-cream/70 text-xs uppercase tracking-wide mb-1">{t('playground_empty_label')}</div>
<div className="text-cream/90">Hook this area to your agent outputs to visualize results.</div> <div className="text-cream/90">{t('playground_empty_text')}</div>
</div> </div>
</div> </div>
)} )}
@@ -79,3 +81,4 @@ const DisplayPanel: React.FC<DisplayPanelProps> = ({ children }) => {
}; };
export default DisplayPanel; export default DisplayPanel;

View File

@@ -0,0 +1,111 @@
import React, { useEffect, useState } from 'react';
import type { CSSProperties } from 'react';
import { motion, type Variants } from 'framer-motion';
import { theme } from '../theme';
import icLauncher from '../assets/ic_launcher_foreground.png';
interface FloatingAssistantButtonProps {
onClick?: () => void;
label?: string;
showLabelDurationMs?: number;
}
const pulseVariants: Variants = {
rest: { scale: 1, boxShadow: `0 0 0 0 ${theme.colors.glowGold}` },
hover: { scale: 1.02 },
tap: { scale: 0.96 },
};
const pulseSeconds = parseInt(theme.animations.pulse.replace('ms', ''), 10) / 1000;
const glowSeconds = parseInt(theme.animations.glow.replace('ms', ''), 10) / 1000;
const ringVariants: Variants = {
animate: {
scale: [1, 1.4],
opacity: [0.6, 0],
transition: {
duration: pulseSeconds,
repeat: Infinity,
ease: 'easeInOut',
},
},
};
const glowVariants: Variants = {
animate: {
opacity: [0.3, 0.7, 0.3],
transition: {
duration: glowSeconds,
repeat: Infinity,
ease: 'easeInOut',
},
},
};
const FloatingAssistantButton: React.FC<FloatingAssistantButtonProps> = ({
onClick,
label = 'Ask AI Assistant',
showLabelDurationMs = 5000,
}) => {
const [showLabel, setShowLabel] = useState(true);
useEffect(() => {
const timer = window.setTimeout(() => setShowLabel(false), showLabelDurationMs);
return () => window.clearTimeout(timer);
}, [showLabelDurationMs]);
const containerStyles: CSSProperties = {
width: theme.dimensions.assistantButtonSize,
height: theme.dimensions.assistantButtonSize,
};
return (
<div className="relative flex items-center gap-3">
{showLabel && (
<motion.div
initial={{ opacity: 0, x: 20 }}
animate={{ opacity: 1, x: 0 }}
exit={{ opacity: 0, x: 20 }}
transition={{ duration: 0.4 }}
className="pointer-events-none select-none rounded-2xl border border-luxury-gold/40 bg-[#0B312A]/95 px-4 py-2 text-xs font-semibold uppercase tracking-[0.16em] text-luxury-gold shadow-[0_14px_28px_rgba(0,0,0,0.35)]"
>
{label}
</motion.div>
)}
<motion.button
type="button"
className="relative grid place-items-center overflow-hidden rounded-full border-2 border-luxury-gold/70 bg-gradient-to-br from-luxury-gold to-cream text-deep-forest shadow-[0_24px_44px_rgba(203,169,81,0.45)]"
style={containerStyles}
variants={pulseVariants}
initial="rest"
whileHover="hover"
whileTap="tap"
onClick={onClick}
>
<motion.span
className="absolute inset-0 rounded-full"
variants={ringVariants}
animate="animate"
aria-hidden
/>
<motion.span
className="absolute inset-0 rounded-full bg-luxury-gold/30"
variants={glowVariants}
animate="animate"
aria-hidden
/>
<img
src={icLauncher}
alt="Assistant"
className="relative z-10 h-10 w-10 object-contain"
/>
<span className="absolute -bottom-1.5 -right-1.5 flex h-5 w-5 items-center justify-center rounded-full border border-deep-forest bg-green-400 text-[10px] font-semibold text-deep-forest">
●
</span>
</motion.button>
</div>
);
};
export default FloatingAssistantButton;

View File

@@ -0,0 +1,116 @@
import React, { useState, useRef, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { SUPPORTED_LANGUAGES } from '../i18n/config';
interface Language {
code: string;
name: string;
flag: string;
}
interface LanguageSelectorProps {
className?: string;
}
const LanguageSelector: React.FC<LanguageSelectorProps> = ({ className = '' }) => {
const { i18n, t } = useTranslation();
const [isOpen, setIsOpen] = useState(false);
const dropdownRef = useRef<HTMLDivElement>(null);
// Close dropdown when clicking outside
useEffect(() => {
const handleClickOutside = (event: MouseEvent) => {
if (dropdownRef.current && !dropdownRef.current.contains(event.target as Node)) {
setIsOpen(false);
}
};
document.addEventListener('mousedown', handleClickOutside);
return () => document.removeEventListener('mousedown', handleClickOutside);
}, []);
const handleLanguageSelect = (lng: Language) => {
i18n.changeLanguage(lng.code);
setIsOpen(false);
};
const currentLanguage = i18n.language || 'en';
return (
<div className={`relative ${className}`} ref={dropdownRef}>
{/* Language Toggle Button */}
<button
onClick={() => setIsOpen(!isOpen)}
className="flex items-center gap-2 px-3 py-2 rounded-lg bg-deep-forest/60 backdrop-blur-xl border border-luxury-gold/30 text-cream hover:border-luxury-gold/60 hover:bg-deep-forest/80 transition-all duration-200 group"
aria-label={t('common.select_language')}
>
{(() => {
const active = SUPPORTED_LANGUAGES.find(l => l.code === currentLanguage) || SUPPORTED_LANGUAGES[0];
return (
<span className="text-lg" role="img" aria-label={active.name}>
{active.flag}
</span>
);
})()}
<span className="hidden sm:inline text-sm font-medium text-cream/90 group-hover:text-cream">{currentLanguage.toUpperCase()}</span>
<svg
className={`w-4 h-4 text-luxury-gold/70 transition-transform duration-200 ${
isOpen ? 'rotate-180' : ''
}`}
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 9l-7 7-7-7" />
</svg>
</button>
{/* Language Dropdown */}
{isOpen && (
<div className="absolute top-full right-0 mt-2 w-64 bg-deep-forest/95 backdrop-blur-xl border border-luxury-gold/30 rounded-xl shadow-[0_8px_32px_rgba(0,0,0,0.4)] z-50 max-h-80 overflow-y-auto">
<div className="p-2">
<div className="text-xs font-semibold text-luxury-gold/80 px-3 py-2 uppercase tracking-wider">
{t('common.select_language')}
</div>
<div className="space-y-1">
{SUPPORTED_LANGUAGES.map((lng: Language) => (
<button
key={lng.code}
onClick={() => handleLanguageSelect(lng)}
className={`w-full flex items-center gap-3 px-3 py-2.5 rounded-lg text-left transition-all duration-200 ${
currentLanguage === lng.code
? 'bg-luxury-gold/20 text-luxury-gold border border-luxury-gold/30'
: 'text-cream/80 hover:bg-cream/10 hover:text-cream border border-transparent'
}`}
>
<span className="text-lg" role="img" aria-label={lng.name}>
{lng.flag}
</span>
<div className="flex-1">
<div className="font-medium">{lng.name}</div>
<div className="text-xs opacity-60">{lng.code.toUpperCase()}</div>
</div>
{currentLanguage === lng.code && (
<svg
className="w-4 h-4 text-luxury-gold"
fill="currentColor"
viewBox="0 0 20 20"
>
<path
fillRule="evenodd"
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
clipRule="evenodd"
/>
</svg>
)}
</button>
))}
</div>
</div>
</div>
)}
</div>
);
};
export default LanguageSelector;

View File

@@ -0,0 +1,46 @@
import React from 'react';
import type { ButtonHTMLAttributes, ReactNode } from 'react';
import { theme } from '../theme';
interface ListButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
icon?: ReactNode;
label: string;
description?: string;
chevron?: boolean;
}
/**
* Horizontal list button matching the Pennyzo specification with gold border and icon slot.
* Uses unified pennyzo-list-btn classes for consistent styling.
*/
const ListButton: React.FC<ListButtonProps> = ({ icon, label, description, chevron = true, className = '', ...props }) => {
return (
<button
type="button"
className={`pennyzo-list-btn ${className}`}
style={{ borderWidth: theme.dimensions.buttonBorderWidth }}
{...props}
>
{icon && (
<span className="pennyzo-list-btn-icon">
{icon}
</span>
)}
<div className="pennyzo-list-btn-content">
<span className="pennyzo-list-btn-label">
{label}
</span>
{description && <span className="pennyzo-list-btn-description">{description}</span>}
</div>
{chevron && (
<span className="pennyzo-list-btn-chevron">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M9.29 6.71L13.58 11L9.29 15.29L10.71 16.71L16.41 11L10.71 5.29L9.29 6.71Z" />
</svg>
</span>
)}
</button>
);
};
export default ListButton;

View File

@@ -0,0 +1,60 @@
import React from 'react';
import type { ButtonHTMLAttributes, ReactNode } from 'react';
import { theme } from '../theme';
export type PrimaryButtonVariant = 'filled' | 'outline' | 'ghost';
interface PrimaryButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
label: string;
iconLeft?: ReactNode;
iconRight?: ReactNode;
variant?: PrimaryButtonVariant;
fullWidth?: boolean;
}
/**
* Luxury primary button used across the Pennyzo experience.
* Uses unified pennyzo-btn classes for consistent styling.
*/
const PrimaryButton: React.FC<PrimaryButtonProps> = ({
label,
iconLeft,
iconRight,
variant = 'filled',
fullWidth = false,
disabled,
className = '',
...props
}) => {
const variantClass =
variant === 'filled' ? 'pennyzo-btn-primary' :
variant === 'outline' ? 'pennyzo-btn-secondary' :
'pennyzo-btn-ghost';
const classes = [
'pennyzo-btn',
variantClass,
fullWidth ? 'w-full' : 'w-auto',
disabled ? 'opacity-50 cursor-not-allowed' : '',
className,
].join(' ');
return (
<button
type="button"
className={classes}
disabled={disabled}
style={{
borderWidth: theme.dimensions.buttonBorderWidth,
textTransform: theme.typography.button.textTransform,
}}
{...props}
>
{iconLeft && <span className="flex items-center text-lg">{iconLeft}</span>}
<span className="tracking-[0.08em]">{label}</span>
{iconRight && <span className="flex items-center text-lg">{iconRight}</span>}
</button>
);
};
export default PrimaryButton;

View File

@@ -0,0 +1,76 @@
import React from 'react';
/**
* QuickActionCard Component
*
* Horizontal card with icon, label, description, and arrow.
* Used for suggested actions on the Home Screen.
* Uses unified pennyzo-action-card classes for consistent styling.
*/
interface QuickActionCardProps {
icon: React.ReactNode;
label: string;
description?: string;
iconColor: string;
badge?: number; // Badge count (e.g., number of notifications)
onPress?: () => void;
className?: string;
}
export const QuickActionCard: React.FC<QuickActionCardProps> = ({
icon,
label,
description,
iconColor,
badge,
onPress,
className = '',
}) => {
const handleClick = () => {
if (onPress) {
onPress();
}
};
const handleKeyDown = (e: React.KeyboardEvent) => {
if (onPress && (e.key === 'Enter' || e.key === ' ')) {
e.preventDefault();
onPress();
}
};
return (
<div
className={`pennyzo-action-card ${className}`}
onClick={handleClick}
onKeyDown={handleKeyDown}
role={onPress ? 'button' : undefined}
tabIndex={onPress ? 0 : undefined}
>
{/* Icon with optional badge */}
<div
className="pennyzo-action-card-icon"
style={{ backgroundColor: `${iconColor}38` }}
>
{icon}
{badge !== undefined && badge > 0 && (
<div className="pennyzo-action-card-badge">
{badge > 99 ? '99+' : badge}
</div>
)}
</div>
{/* Content */}
<div className="pennyzo-action-card-content">
<div className="pennyzo-action-card-label">{label}</div>
{description && <div className="pennyzo-action-card-description">{description}</div>}
</div>
{/* Arrow */}
<div className="pennyzo-action-card-chevron">→</div>
</div>
);
};
export default QuickActionCard;

119
src/components/Screen.tsx Normal file
View File

@@ -0,0 +1,119 @@
import React from 'react';
import type { ReactNode, CSSProperties } from 'react';
import { theme } from '../theme';
import FloatingAssistantButton from './FloatingAssistantButton';
import bgImage from '../assets/bg pennyzo.png';
/**
* Screen Component
*
* Main wrapper for all pages with optional background image, blur effect, and dark overlay.
* Provides consistent layout and spacing across the application.
*
* Features:
* - Optional scrollable content
* - Background image with 8px blur effect and dark overlay (rgba(4, 24, 21, 0.75))
* - Safe area padding
* - Floating AI assistant button support
* - Default padding: 24px horizontal, 32px top, 100px bottom
*/
interface ScreenProps {
children: ReactNode;
scrollable?: boolean;
contentStyle?: CSSProperties;
showBackground?: boolean;
showAssistant?: boolean;
onAssistantClick?: () => void;
assistantLabel?: string;
className?: string;
}
export const Screen: React.FC<ScreenProps> = ({
children,
scrollable = true,
contentStyle,
showBackground = false,
showAssistant = false,
onAssistantClick,
assistantLabel,
className = '',
}) => {
const containerStyles: CSSProperties = {
position: 'relative',
width: '100%',
minHeight: '100vh',
backgroundColor: theme.colors.background,
overflow: scrollable ? 'auto' : 'hidden',
};
const backgroundStyles: CSSProperties = {
position: 'fixed',
top: 0,
left: 0,
width: '100%',
height: '100%',
zIndex: 0,
backgroundImage: showBackground ? `url(${bgImage})` : 'none',
backgroundSize: 'cover',
backgroundPosition: 'center',
backgroundRepeat: 'no-repeat',
filter: showBackground ? `blur(${theme.overlays.backgroundBlur})` : 'none',
};
const overlayStyles: CSSProperties = {
position: 'fixed',
top: 0,
left: 0,
width: '100%',
height: '100%',
backgroundColor: showBackground ? theme.overlays.backgroundOverlay : 'transparent',
zIndex: 1,
pointerEvents: 'none',
};
const contentContainerStyles: CSSProperties = {
position: 'relative',
zIndex: 2,
width: '100%',
minHeight: '100vh',
padding: `${theme.spacing.xxxl} ${theme.spacing.xxl} 100px`,
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.xxl,
...contentStyle,
};
return (
<div style={containerStyles} className={className}>
{/* Background image layer */}
{showBackground && <div style={backgroundStyles} aria-hidden="true" />}
{/* Dark overlay */}
{showBackground && <div style={overlayStyles} aria-hidden="true" />}
{/* Main content */}
<div style={contentContainerStyles}>
{children}
</div>
{/* Floating AI Assistant Button placeholder */}
{showAssistant && (
<div
style={{
position: 'fixed',
bottom: theme.dimensions.assistantButtonBottom,
right: theme.dimensions.assistantButtonRight,
zIndex: theme.zIndex.fixed,
}}
>
<FloatingAssistantButton onClick={onAssistantClick} label={assistantLabel}
showLabelDurationMs={5000}
/>
</div>
)}
</div>
);
};
export default Screen;

View File

@@ -0,0 +1,96 @@
import React from 'react';
import type { ReactNode, CSSProperties } from 'react';
import { theme } from '../theme';
/**
* SectionCard Component
*
* Container for grouped content with header and optional footer.
* Used for organizing related content sections on the Home Screen.
*/
interface SectionCardProps {
title?: string;
subtitle?: string;
children: ReactNode;
footer?: ReactNode;
className?: string;
style?: CSSProperties;
}
export const SectionCard: React.FC<SectionCardProps> = ({
title,
subtitle,
children,
footer,
className = '',
style,
}) => {
const cardStyles: CSSProperties = {
backgroundColor: 'rgba(6, 35, 31, 0.95)',
border: `2px solid ${theme.colors.borderStrong}`,
borderRadius: theme.borderRadius.xxl,
padding: `22px ${theme.spacing.xxl}`,
boxShadow: theme.shadows.lg,
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.lg,
...style,
};
const headerStyles: CSSProperties = {
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.xs,
};
const titleStyles: CSSProperties = {
...theme.typography.h3,
color: theme.colors.textPrimary,
};
const subtitleStyles: CSSProperties = {
...theme.typography.caption,
color: theme.colors.textSecondary,
};
const dividerStyles: CSSProperties = {
height: '1px',
backgroundColor: theme.colors.border,
margin: 0,
};
const contentStyles: CSSProperties = {
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.lg,
};
return (
<div style={cardStyles} className={className}>
{/* Header */}
{(title || subtitle) && (
<>
<div style={headerStyles}>
{title && <div style={titleStyles}>{title}</div>}
{subtitle && <div style={subtitleStyles}>{subtitle}</div>}
</div>
<div style={dividerStyles} />
</>
)}
{/* Content */}
<div style={contentStyles}>{children}</div>
{/* Footer */}
{footer && (
<>
<div style={dividerStyles} />
{footer}
</>
)}
</div>
);
};
export default SectionCard;

View File

@@ -1,99 +1,217 @@
import React from 'react'; import React, { useMemo } from 'react';
import type { CSSProperties } from 'react';
import { theme } from '../theme/index';
import icLauncher from '../assets/ic_launcher_foreground.png';
type Item = { export interface SidebarNavItem {
id: string; id: string;
label: string; label: string;
icon: React.ReactNode; icon: React.ReactNode;
}; badge?: number;
interface SidebarNavProps {
items: Item[];
activeId: string;
onSelect: (id: string) => void;
} }
const SidebarNav: React.FC<SidebarNavProps> = ({ items, activeId, onSelect }) => { interface SidebarNavProps {
items: SidebarNavItem[];
footerItems?: SidebarNavItem[];
activeId: string;
collapsed?: boolean;
onSelect: (id: string) => void;
onToggleCollapse?: (collapsed: boolean) => void;
variant?: 'desktop' | 'mobile';
}
const SidebarNav: React.FC<SidebarNavProps> = ({
items,
footerItems,
activeId,
collapsed = false,
onSelect,
onToggleCollapse,
variant = 'desktop',
}) => {
const containerStyles: CSSProperties = useMemo(
() => ({
width: collapsed ? '92px' : '280px',
transition: 'width 240ms ease',
background: 'linear-gradient(180deg, rgba(4, 24, 21, 0.98) 0%, rgba(6, 35, 31, 0.95) 100%)',
borderRight: variant === 'desktop' ? `1px solid rgba(203, 169, 81, 0.15)` : undefined,
padding: collapsed ? '28px 12px 24px' : '28px 20px 24px',
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.md,
height: variant === 'desktop' ? '100vh' : '100%',
position: variant === 'desktop' ? 'sticky' : 'relative',
top: variant === 'desktop' ? 0 : undefined,
backdropFilter: 'blur(16px)',
boxShadow: variant === 'mobile' ? theme.shadows.xl : 'none',
zIndex: variant === 'mobile' ? theme.zIndex.modal : theme.zIndex.sticky,
}),
[collapsed, variant],
);
const headerStyles: CSSProperties = useMemo(
() => ({
display: 'flex',
alignItems: 'center',
gap: theme.spacing.md,
paddingBottom: theme.spacing.lg,
borderBottom: `1px solid rgba(203, 169, 81, 0.12)`,
}),
[],
);
const logoStyles: CSSProperties = {
width: '48px',
height: '48px',
borderRadius: theme.borderRadius.sm,
backgroundColor: 'rgba(203, 169, 81, 0.12)',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
boxShadow: 'inset 0 0 0 1px rgba(203, 169, 81, 0.2)',
};
const logoTextStyles: CSSProperties = {
...theme.typography.h4,
color: theme.colors.textPrimary,
};
const navListStyles: CSSProperties = useMemo(
() => ({
display: 'flex',
flexDirection: 'column',
gap: '2px',
flex: 1,
overflowY: 'auto',
paddingRight: collapsed ? 0 : '8px',
marginTop: theme.spacing.sm,
}),
[collapsed],
);
const footerStyles: CSSProperties = {
marginTop: 'auto',
paddingTop: theme.spacing.lg,
display: 'flex',
flexDirection: 'column',
gap: '2px',
};
const dividerStyles: CSSProperties = {
height: '1px',
background: 'linear-gradient(90deg, transparent 0%, rgba(203, 169, 81, 0.3) 50%, transparent 100%)',
marginBottom: theme.spacing.sm,
};
return ( return (
<aside className="w-16 md:w-56 border-r border-luxury-gold/20 bg-gradient-to-b from-deep-forest/90 via-deep-forest/80 to-rich-brown/70 backdrop-blur-xl sticky top-16 md:top-20 h-[calc(100vh-4rem)] md:h-[calc(100vh-5rem)] overflow-hidden"> <aside style={containerStyles}>
{/* Decorative background elements */} <div style={headerStyles}>
<div className="absolute inset-0 pointer-events-none"> <div style={logoStyles}>
<div className="absolute -top-20 -left-10 w-40 h-40 bg-luxury-gold/5 rounded-full blur-3xl"></div> <img
<div className="absolute -bottom-20 -right-10 w-32 h-32 bg-bronze/5 rounded-full blur-2xl"></div> src={icLauncher}
<div className="absolute top-1/2 left-0 w-0.5 h-32 bg-gradient-to-b from-transparent via-luxury-gold/20 to-transparent"></div> alt="Pennyzo"
style={{ width: '60%', height: '60%', objectFit: 'contain' }}
/>
</div>
{!collapsed && <span style={logoTextStyles}>Pennyzo</span>}
{variant === 'desktop' && onToggleCollapse && (
<button
onClick={() => onToggleCollapse(!collapsed)}
aria-label={collapsed ? 'Expand navigation' : 'Collapse navigation'}
style={{
marginLeft: 'auto',
width: '36px',
height: '36px',
borderRadius: theme.borderRadius.md,
border: `1px solid rgba(203, 169, 81, 0.25)`,
backgroundColor: 'rgba(203, 169, 81, 0.08)',
color: theme.colors.highlight,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
cursor: 'pointer',
transition: 'all 180ms ease',
fontSize: '18px',
fontWeight: 'bold',
}}
>
{collapsed ? '»' : '«'}
</button>
)}
</div> </div>
{/* Premium border accent */} {/* Decorative divider - works in both collapsed and expanded states */}
<div className="absolute top-0 left-0 w-full h-0.5 bg-gradient-to-r from-transparent via-luxury-gold/40 to-transparent"></div> <div style={{
height: '1px',
background: 'linear-gradient(90deg, transparent 0%, rgba(203, 169, 81, 0.3) 50%, transparent 100%)',
marginTop: theme.spacing.md,
marginBottom: theme.spacing.sm,
}} />
<nav className="relative p-2 md:p-4 space-y-1.5"> <nav
{/* Navigation title */} style={navListStyles}
<div className="hidden md:block mb-3"> className="custom-scrollbar pennyzo-scroll"
<h3 className="text-luxury-gold/70 text-[10px] font-montserrat font-medium uppercase tracking-wider mb-1">Navigation</h3> >
<div className="w-6 h-0.5 bg-gradient-to-r from-luxury-gold to-transparent rounded-full"></div> {items.map((item) => {
</div> const isActive = activeId === item.id;
{items.map((it, index) => {
const isActive = activeId === it.id;
return ( return (
<button <button
key={it.id} key={item.id}
onClick={() => onSelect(it.id)} type="button"
className={`group relative w-full flex items-center justify-start gap-2 md:gap-2.5 px-3 py-2.5 rounded-lg transition-colors duration-300 ${ onClick={() => onSelect(item.id)}
isActive className={`nav-item ${isActive ? 'nav-item-active' : 'nav-item-inactive'} pennyzo-transition`}
? 'bg-gradient-to-r from-luxury-gold/20 to-brass/20 border border-luxury-gold/50 text-cream shadow-[0_2px_8px_rgba(197,157,89,0.15)]' aria-label={item.label}
: 'border border-transparent hover:border-luxury-gold/35 hover:bg-gradient-to-r hover:from-luxury-gold/10 hover:to-transparent text-cream/80 hover:text-cream' title={collapsed ? item.label : undefined}
}`}
style={{
animationDelay: `${index * 100}ms`
}}
> >
{/* Icon container with enhanced styling */} {isActive && <div className="nav-item-indicator" />}
<div className={`relative w-8 h-8 rounded-md flex items-center justify-center transition-all duration-300 ${ <div className={`nav-icon ${isActive ? 'nav-icon-active' : 'nav-icon-inactive'}`}>
isActive {item.icon}
? 'bg-gradient-to-br from-luxury-gold/40 to-brass/40 ring-1 ring-luxury-gold/40'
: 'bg-deep-forest/60 group-hover:bg-luxury-gold/20'
}`}>
<span className={`text-lg transition-all duration-300 ${
isActive ? 'scale-110' : 'group-hover:scale-105'
}`}>
{it.icon}
</span>
{/* Active indicator dot */}
{isActive && (
<div className="absolute -right-1 -top-1 w-3 h-3 bg-luxury-gold rounded-full shadow-[0_0_8px_rgba(197,157,89,0.6)] animate-pulse"></div>
)}
</div> </div>
{!collapsed && (
{/* Label with enhanced typography */} <div style={{ flex: 1, display: 'flex', alignItems: 'center', gap: theme.spacing.sm }}>
<div className="hidden md:flex flex-1 min-w-0 items-center"> <span className={`nav-label ${isActive ? 'nav-label-active' : 'nav-label-inactive'}`}>
<span className={`truncate text-sm md:text-base leading-snug font-montserrat font-medium text-left tracking-wide transition-colors duration-300 ${ {item.label}
isActive ? 'text-cream' : 'text-cream/85 group-hover:text-cream' </span>
}`}> {item.badge && item.badge > 0 && (
{it.label} <span className="pennyzo-badge">{item.badge > 99 ? '99+' : item.badge}</span>
</span> )}
{/* Subtle underline for active item */} </div>
{isActive && (
<div className="absolute -bottom-1 left-0 w-5 h-0.5 bg-gradient-to-r from-luxury-gold/70 to-transparent rounded-full"></div>
)}
</div>
{/* Hover effect overlay */}
<div className="absolute inset-0 rounded-lg bg-gradient-to-r from-luxury-gold/5 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none"></div>
{/* Active selection indicator */}
{isActive && (
<div className="absolute left-0 top-1/2 -translate-y-1/2 w-0.5 h-6 bg-gradient-to-b from-luxury-gold to-brass rounded-r-full shadow-[0_0_6px_rgba(197,157,89,0.45)]"></div>
)} )}
</button> </button>
); );
})} })}
{/* Bottom decorative element */}
{/* Removed large decorative bottom element for compactness */}
</nav> </nav>
{/* Bottom gradient fade */} {footerItems && footerItems.length > 0 && (
<div className="absolute bottom-0 left-0 w-full h-16 bg-gradient-to-t from-deep-forest/50 to-transparent pointer-events-none"></div> <div style={footerStyles}>
{/* Footer divider */}
<div style={dividerStyles} />
{footerItems.map((item) => {
const isActive = activeId === item.id;
return (
<button
key={item.id}
type="button"
onClick={() => onSelect(item.id)}
className={`nav-item ${isActive ? 'nav-item-active' : 'nav-item-inactive'} pennyzo-transition`}
aria-label={item.label}
title={collapsed ? item.label : undefined}
>
{isActive && <div className="nav-item-indicator" />}
<div className={`nav-icon ${isActive ? 'nav-icon-active' : 'nav-icon-inactive'}`}>
{item.icon}
</div>
{!collapsed && (
<span className={`nav-label ${isActive ? 'nav-label-active' : 'nav-label-inactive'}`}>
{item.label}
</span>
)}
</button>
);
})}
</div>
)}
</aside> </aside>
); );
}; };

168
src/components/StatCard.tsx Normal file
View File

@@ -0,0 +1,168 @@
import React from 'react';
import type { CSSProperties } from 'react';
import { theme } from '../theme';
/**
* StatCard Component
*
* Compact metric display with icon, value, label, and optional trend indicator.
* Used for displaying quick stats on the Home Screen.
*/
interface TrendData {
value: string; // e.g., "+18%"
isPositive: boolean;
}
interface StatCardProps {
icon: React.ReactNode;
label: string;
value: string;
trend?: TrendData;
iconColor: string;
className?: string;
}
export const StatCard: React.FC<StatCardProps> = ({
icon,
label,
value,
trend,
iconColor,
className = '',
}) => {
const uniqueClass = className || 'stat-card';
const cardStyles: CSSProperties = {
backgroundColor: 'rgba(15, 25, 23, 0.6)',
backdropFilter: 'blur(20px)',
border: `1px solid rgba(203, 169, 81, 0.2)`,
borderRadius: theme.borderRadius.xl,
padding: theme.spacing.xl,
boxShadow: '0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05)',
transition: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
minWidth: '160px',
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
position: 'relative',
overflow: 'hidden',
cursor: 'pointer',
};
const iconWrapperStyles: CSSProperties = {
width: '56px',
height: '56px',
borderRadius: theme.borderRadius.lg,
background: `linear-gradient(135deg, ${iconColor}30, ${iconColor}15)`,
border: `2px solid ${iconColor}40`,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
marginBottom: theme.spacing.lg,
position: 'relative',
boxShadow: `0 4px 16px ${iconColor}25, inset 0 1px 0 rgba(255, 255, 255, 0.1)`,
};
const iconGlowStyles: CSSProperties = {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '80%',
height: '80%',
background: `radial-gradient(circle, ${iconColor}40 0%, transparent 70%)`,
filter: 'blur(8px)',
pointerEvents: 'none',
};
const valueStyles: CSSProperties = {
fontSize: '32px',
fontWeight: 900,
background: 'linear-gradient(135deg, #FFFFFF 0%, #F2E5B5 100%)',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
backgroundClip: 'text',
marginBottom: theme.spacing.sm,
letterSpacing: '-0.5px',
lineHeight: 1.2,
};
const labelStyles: CSSProperties = {
fontSize: '13px',
fontWeight: 600,
color: 'rgba(255, 255, 255, 0.7)',
textTransform: 'uppercase',
letterSpacing: '0.5px',
marginTop: 'auto',
};
const trendBadgeStyles: CSSProperties = {
display: 'inline-flex',
alignItems: 'center',
gap: '4px',
padding: `5px ${theme.spacing.md}`,
borderRadius: theme.borderRadius.round,
background: trend?.isPositive
? 'linear-gradient(135deg, rgba(74, 222, 128, 0.25), rgba(74, 222, 128, 0.15))'
: 'linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.15))',
border: `1px solid ${trend?.isPositive ? 'rgba(74, 222, 128, 0.4)' : 'rgba(239, 68, 68, 0.4)'}`,
fontSize: '12px',
fontWeight: 700,
color: trend?.isPositive ? '#4ADE80' : '#EF4444',
boxShadow: trend?.isPositive
? '0 2px 8px rgba(74, 222, 128, 0.2)'
: '0 2px 8px rgba(239, 68, 68, 0.2)',
};
const shimmerStyles: CSSProperties = {
position: 'absolute',
top: 0,
left: '-100%',
width: '100%',
height: '100%',
background: 'linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent)',
pointerEvents: 'none',
};
return (
<div style={cardStyles} className={uniqueClass}>
{/* Shimmer effect */}
<div style={shimmerStyles}></div>
{/* Header row with icon and trend */}
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-start', marginBottom: theme.spacing.md }}>
<div style={iconWrapperStyles}>
<div style={iconGlowStyles}></div>
<div style={{ position: 'relative', zIndex: 1 }}>
{icon}
</div>
</div>
{trend && (
<div style={trendBadgeStyles}>
<span>{trend.isPositive ? '↑' : '↓'}</span>
<span>{trend.value}</span>
</div>
)}
</div>
{/* Value with gradient */}
<div style={valueStyles}>{value}</div>
{/* Label */}
<div style={labelStyles}>{label}</div>
<style>{`
.${uniqueClass}:hover {
transform: translateY(-4px) !important;
border-color: rgba(203, 169, 81, 0.4) !important;
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(203, 169, 81, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
`}</style>
</div>
);
};
export default StatCard;

View File

@@ -0,0 +1,161 @@
import React from 'react';
import type { CSSProperties } from 'react';
import { theme } from '../theme';
/**
* SummaryCard Component
*
* List of items with icons, labels, and count badges.
* Used for AI Insights Summary on the Home Screen.
*/
interface SummaryItem {
id: string;
icon: React.ReactNode;
label: string;
count: number;
iconColor: string;
}
interface SummaryCardProps {
title: string;
items: SummaryItem[];
className?: string;
}
export const SummaryCard: React.FC<SummaryCardProps> = ({
title,
items,
className = '',
}) => {
const cardStyles: CSSProperties = {
backgroundColor: 'rgba(6, 35, 31, 0.95)',
border: `2px solid ${theme.colors.borderStrong}`,
borderRadius: theme.borderRadius.xxl,
padding: `22px ${theme.spacing.xxl}`,
boxShadow: theme.shadows.lg,
};
const headerStyles: CSSProperties = {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
marginBottom: theme.spacing.lg,
};
const titleStyles: CSSProperties = {
...theme.typography.h3,
color: theme.colors.textPrimary,
display: 'flex',
alignItems: 'center',
gap: theme.spacing.sm,
};
const dividerStyles: CSSProperties = {
height: '1px',
backgroundColor: theme.colors.border,
marginBottom: theme.spacing.lg,
};
const itemStyles: CSSProperties = {
display: 'flex',
alignItems: 'center',
gap: theme.spacing.md,
padding: `${theme.spacing.md} 0`,
};
const iconContainerStyles = (color: string): CSSProperties => ({
width: '36px',
height: '36px',
borderRadius: theme.borderRadius.sm,
backgroundColor: `${color}38`, // 22% opacity
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
});
const labelStyles: CSSProperties = {
flex: 1,
...theme.typography.body,
color: theme.colors.textPrimary,
};
const countBadgeStyles: CSSProperties = {
padding: `${theme.spacing.sm} ${theme.spacing.md}`,
borderRadius: theme.borderRadius.round,
backgroundColor: theme.colors.accent,
border: `2px solid ${theme.colors.border}`,
...theme.typography.caption,
fontWeight: 700,
color: theme.colors.highlight,
minWidth: '40px',
textAlign: 'center',
};
const infoIconStyles: CSSProperties = {
width: '20px',
height: '20px',
color: theme.colors.textSecondary,
cursor: 'help',
};
return (
<div style={cardStyles} className={className}>
{/* Header */}
<div style={headerStyles}>
<div style={titleStyles}>
{title}
{/* Info icon */}
<svg
style={infoIconStyles}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
>
<circle cx="12" cy="12" r="10" />
<line x1="12" y1="16" x2="12" y2="12" />
<line x1="12" y1="8" x2="12.01" y2="8" />
</svg>
</div>
</div>
{/* Divider */}
<div style={dividerStyles} />
{/* Items List */}
<div>
{items.map((item, index) => (
<div key={item.id}>
<div style={itemStyles}>
{/* Icon */}
<div style={iconContainerStyles(item.iconColor)}>
{item.icon}
</div>
{/* Label */}
<div style={labelStyles}>{item.label}</div>
{/* Count Badge */}
<div style={countBadgeStyles}>{item.count}</div>
</div>
{/* Divider between items (except last) */}
{index < items.length - 1 && (
<div
style={{
height: '1px',
backgroundColor: theme.colors.border,
opacity: 0.5,
}}
/>
)}
</div>
))}
</div>
</div>
);
};
export default SummaryCard;

View File

@@ -0,0 +1,71 @@
import React from 'react';
import type { ReactNode } from 'react';
import { motion } from 'framer-motion';
import { theme } from '../theme';
export interface TaskTab {
id: string;
label: string;
badge?: ReactNode;
}
interface TaskHeaderProps {
title: string;
subtitle?: string;
tabs: TaskTab[];
activeTab: string;
onTabChange: (tabId: string) => void;
}
/**
* Header for the Tasks screen: renders hero copy plus animated pill tabs.
*/
const TaskHeader: React.FC<TaskHeaderProps> = ({ title, subtitle, tabs, activeTab, onTabChange }) => {
return (
<div className="flex flex-col gap-6">
<div className="flex flex-col gap-3">
<h1
className="font-playfair text-3xl font-semibold text-cream"
style={{ letterSpacing: '0.6px' }}
>
{title}
</h1>
{subtitle && (
<p className="max-w-2xl text-base text-cream/70" style={theme.typography.body}>
{subtitle}
</p>
)}
</div>
<div className="flex flex-wrap items-center gap-3">
{tabs.map((tab) => {
const isActive = tab.id === activeTab;
return (
<button
key={tab.id}
type="button"
onClick={() => onTabChange(tab.id)}
className={`relative flex items-center gap-2 rounded-full border px-5 py-2 text-xs font-semibold uppercase tracking-[0.14em] transition-all duration-200 ${
isActive
? 'border-luxury-gold/70 bg-[#1A4036]/80 text-luxury-gold shadow-[0_10px_24px_rgba(203,169,81,0.35)]'
: 'border-transparent bg-transparent text-cream/60 hover:border-luxury-gold/30 hover:bg-[#1A4036]/30 hover:text-cream'
}`}
>
{isActive && (
<motion.span
layoutId="task-tab-glow"
className="absolute inset-0 rounded-full bg-luxury-gold/10"
transition={{ type: 'spring', stiffness: 260, damping: 24 }}
/>
)}
<span className="relative z-10">{tab.label}</span>
{tab.badge && <span className="relative z-10">{tab.badge}</span>}
</button>
);
})}
</div>
</div>
);
};
export default TaskHeader;

View File

@@ -1,4 +1,8 @@
import React, { useState, useRef, useEffect } from 'react'; import React, { useState, useRef, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import LanguageSelector from './LanguageSelector';
import { useTranslation } from 'react-i18next';
import { useUser } from '../context/UserContext';
type Notification = { type Notification = {
id: string; id: string;
@@ -6,12 +10,14 @@ type Notification = {
time: string; time: string;
}; };
interface TopBarProps { export interface TopBarProps {
companies: string[]; companies: string[];
selectedCompany: string; selectedCompany: string;
onCompanyChange: (value: string) => void; onCompanyChange: (value: string) => void;
coins?: number; coins?: number;
notifications?: Notification[]; notifications?: Notification[];
showMenuButton?: boolean;
onMenuToggle?: () => void;
} }
const TopBar: React.FC<TopBarProps> = ({ const TopBar: React.FC<TopBarProps> = ({
@@ -19,11 +25,15 @@ const TopBar: React.FC<TopBarProps> = ({
selectedCompany, selectedCompany,
onCompanyChange, onCompanyChange,
coins = 0, coins = 0,
notifications = [] notifications = [],
showMenuButton = false,
onMenuToggle,
}) => { }) => {
const { t } = useTranslation();
const { profile, updateProfileImage } = useUser();
const navigate = useNavigate();
const [showNotif, setShowNotif] = useState(false); const [showNotif, setShowNotif] = useState(false);
const [showProfile, setShowProfile] = useState(false); const [showProfile, setShowProfile] = useState(false);
const [profileImage, setProfileImage] = useState<string | null>(null);
const notifRef = useRef<HTMLDivElement>(null); const notifRef = useRef<HTMLDivElement>(null);
const profileRef = useRef<HTMLDivElement>(null); const profileRef = useRef<HTMLDivElement>(null);
const fileInputRef = useRef<HTMLInputElement>(null); const fileInputRef = useRef<HTMLInputElement>(null);
@@ -34,22 +44,12 @@ const TopBar: React.FC<TopBarProps> = ({
const reader = new FileReader(); const reader = new FileReader();
reader.onload = (e) => { reader.onload = (e) => {
const result = e.target?.result as string; const result = e.target?.result as string;
setProfileImage(result); updateProfileImage(result);
// Save to localStorage for persistence
localStorage.setItem('profileImage', result);
}; };
reader.readAsDataURL(file); reader.readAsDataURL(file);
} }
}; };
// Load profile image from localStorage on component mount
React.useEffect(() => {
const savedImage = localStorage.getItem('profileImage');
if (savedImage) {
setProfileImage(savedImage);
}
}, []);
useEffect(() => { useEffect(() => {
const handler = (e: MouseEvent) => { const handler = (e: MouseEvent) => {
if (notifRef.current && !notifRef.current.contains(e.target as Node)) setShowNotif(false); if (notifRef.current && !notifRef.current.contains(e.target as Node)) setShowNotif(false);
@@ -61,16 +61,36 @@ const TopBar: React.FC<TopBarProps> = ({
return ( return (
<div className="w-full h-16 md:h-20 px-4 md:px-6 border-b border-luxury-gold/20 bg-deep-forest/80 backdrop-blur-xl flex items-center justify-between sticky top-0 z-40"> <div className="w-full h-16 md:h-20 px-4 md:px-6 border-b border-luxury-gold/20 bg-deep-forest/80 backdrop-blur-xl flex items-center justify-between sticky top-0 z-40">
{/* Left: Logo */} {/* Left: Navigation toggle + Logo */}
<a href="/home" className="flex items-center space-x-3 group"> <div className="flex items-center gap-3">
<div className="h-10 md:h-12 flex items-center"> {showMenuButton && (
<img <button
src="/src/assets/Dark-LineLogo-cropped.svg" onClick={onMenuToggle}
alt="Pennyzo Logo" aria-label={t('toggle_navigation')}
className="h-full w-auto object-contain group-hover:scale-105 transition-transform duration-300" className="md:hidden w-10 h-10 rounded-xl border border-luxury-gold/40 bg-deep-forest/70 text-luxury-gold flex items-center justify-center hover:bg-luxury-gold/10 transition-all duration-200"
/> >
</div> <svg
</a> width="18"
height="18"
viewBox="0 0 24 24"
fill="currentColor"
className="text-current"
>
<path d="M3 6H21V8H3V6M3 11H21V13H3V11M3 16H21V18H3V16Z" />
</svg>
</button>
)}
<a href="/dashboard" className="flex items-center space-x-3 group">
<div className="h-10 md:h-12 flex items-center">
<img
src="/src/assets/Dark-LineLogo-cropped.svg"
alt="Pennyzo Logo"
className="h-full w-auto object-contain group-hover:scale-105 transition-transform duration-300"
/>
</div>
</a>
</div>
{/* Center: Company dropdown */} {/* Center: Company dropdown */}
<div className="flex-1 flex justify-center"> <div className="flex-1 flex justify-center">
@@ -85,16 +105,19 @@ const TopBar: React.FC<TopBarProps> = ({
</select> </select>
</div> </div>
{/* Right: Coins, Notifications, Profile */} {/* Right: Coins, Language, Notifications, Profile */}
<div className="flex items-center gap-2 md:gap-4"> <div className="flex items-center gap-2 md:gap-4">
{/* Coins */} {/* Coins */}
<div className="flex items-center gap-2 bg-deep-forest/60 border border-luxury-gold/30 px-3 py-1.5 rounded-full"> <div className="flex items-center gap-2 bg-gradient-to-br from-luxury-gold/10 to-transparent border border-luxury-gold/40 px-3 py-1.5 rounded-full shadow-[0_6px_14px_rgba(203,169,81,0.18)]">
<svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold fill-current"> <svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold fill-current">
<circle cx="12" cy="12" r="10"/> <circle cx="12" cy="12" r="10"/>
</svg> </svg>
<span className="text-cream text-sm font-montserrat">{coins}</span> <span className="text-cream text-sm font-montserrat">{coins}</span>
</div> </div>
{/* Language Selector */}
<LanguageSelector />
{/* Notifications */} {/* Notifications */}
<div className="relative" ref={notifRef}> <div className="relative" ref={notifRef}>
<button <button
@@ -128,9 +151,9 @@ const TopBar: React.FC<TopBarProps> = ({
{/* Header */} {/* Header */}
<div className="px-4 py-3 border-b border-luxury-gold/20 bg-gradient-to-r from-luxury-gold/10 to-transparent"> <div className="px-4 py-3 border-b border-luxury-gold/20 bg-gradient-to-r from-luxury-gold/10 to-transparent">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<h3 className="text-cream font-montserrat font-semibold">Notifications</h3> <h3 className="text-cream font-montserrat font-semibold">{t('notifications')}</h3>
{notifications.length > 0 && ( {notifications.length > 0 && (
<span className="text-luxury-gold/80 text-sm font-medium">{notifications.length} new</span> <span className="text-luxury-gold/80 text-sm font-medium">{notifications.length} {t('new')}</span>
)} )}
</div> </div>
</div> </div>
@@ -144,8 +167,8 @@ const TopBar: React.FC<TopBarProps> = ({
<path d="M12,2A2,2 0 0,1 14,4V5.5A6.5,6.5 0 0,1 20.5,12V16.5L22,18V19H2V18L3.5,16.5V12A6.5,6.5 0 0,1 9.5,5.5V4A2,2 0 0,1 12,2Z" /> <path d="M12,2A2,2 0 0,1 14,4V5.5A6.5,6.5 0 0,1 20.5,12V16.5L22,18V19H2V18L3.5,16.5V12A6.5,6.5 0 0,1 9.5,5.5V4A2,2 0 0,1 12,2Z" />
</svg> </svg>
</div> </div>
<p className="text-cream/60 font-montserrat">No new notifications</p> <p className="text-cream/60 font-montserrat">{t('no_new_notifications')}</p>
<p className="text-cream/40 text-sm mt-1">We'll notify you when something arrives</p> <p className="text-cream/40 text-sm mt-1">{t('notify_when_arrives')}</p>
</div> </div>
) : ( ) : (
<div className="divide-y divide-luxury-gold/10"> <div className="divide-y divide-luxury-gold/10">
@@ -170,7 +193,7 @@ const TopBar: React.FC<TopBarProps> = ({
{/* New indicator for first few notifications */} {/* New indicator for first few notifications */}
{index < 2 && ( {index < 2 && (
<div className="px-2 py-1 rounded-full bg-gradient-to-r from-luxury-gold/20 to-brass/20 border border-luxury-gold/30"> <div className="px-2 py-1 rounded-full bg-gradient-to-r from-luxury-gold/20 to-brass/20 border border-luxury-gold/30">
<span className="text-luxury-gold text-xs font-medium">New</span> <span className="text-luxury-gold text-xs font-medium">{t('new')}</span>
</div> </div>
)} )}
</div> </div>
@@ -184,7 +207,7 @@ const TopBar: React.FC<TopBarProps> = ({
{notifications.length > 0 && ( {notifications.length > 0 && (
<div className="px-4 py-3 border-t border-luxury-gold/20 bg-gradient-to-r from-transparent to-luxury-gold/5"> <div className="px-4 py-3 border-t border-luxury-gold/20 bg-gradient-to-r from-transparent to-luxury-gold/5">
<button className="w-full text-luxury-gold/80 hover:text-luxury-gold text-sm font-medium transition-colors"> <button className="w-full text-luxury-gold/80 hover:text-luxury-gold text-sm font-medium transition-colors">
View all notifications {t('view_all_notifications')}
</button> </button>
</div> </div>
)} )}
@@ -197,19 +220,19 @@ const TopBar: React.FC<TopBarProps> = ({
<button <button
onClick={() => setShowProfile((s) => !s)} onClick={() => setShowProfile((s) => !s)}
className="flex items-center bg-deep-forest/60 border border-luxury-gold/30 p-1.5 rounded-full hover:bg-luxury-gold/10 transition-all duration-300 hover:border-luxury-gold/50 hover:shadow-[0_4px_12px_rgba(197,157,89,0.15)]" className="flex items-center bg-deep-forest/60 border border-luxury-gold/30 p-1.5 rounded-full hover:bg-luxury-gold/10 transition-all duration-300 hover:border-luxury-gold/50 hover:shadow-[0_4px_12px_rgba(197,157,89,0.15)]"
aria-label="Profile menu" aria-label={t('profile_menu')}
> >
<div className="relative"> <div className="relative">
<div className="w-10 h-10 rounded-full overflow-hidden border-2 border-luxury-gold/40 shadow-[0_0_10px_rgba(197,157,89,0.25)] hover:border-luxury-gold transition-all duration-300"> <div className="w-10 h-10 rounded-full overflow-hidden border-2 border-luxury-gold/40 shadow-[0_0_10px_rgba(197,157,89,0.25)] hover:border-luxury-gold transition-all duration-300">
{profileImage ? ( {profile.profileImage ? (
<img <img
src={profileImage} src={profile.profileImage}
alt="Profile" alt="Profile"
className="w-full h-full object-cover" className="w-full h-full object-cover"
/> />
) : ( ) : (
<div className="w-full h-full bg-gradient-to-br from-luxury-gold to-brass flex items-center justify-center text-deep-forest font-bold text-sm"> <div className="w-full h-full bg-gradient-to-br from-luxury-gold to-brass flex items-center justify-center text-deep-forest font-bold text-sm">
U {profile.name.charAt(0).toUpperCase()}
</div> </div>
)} )}
</div> </div>
@@ -218,23 +241,23 @@ const TopBar: React.FC<TopBarProps> = ({
</button> </button>
{showProfile && ( {showProfile && (
<div className="absolute right-0 mt-3 w-64 bg-deep-forest/95 backdrop-blur-xl border border-luxury-gold/30 rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.4)] p-3 animate-fadeInUp"> <div className="absolute right-0 mt-3 w-64 bg-gradient-to-br from-deep-forest/95 to-rich-brown/90 backdrop-blur-xl border border-luxury-gold/30 rounded-2xl shadow-[0_24px_48px_rgba(0,0,0,0.45)] p-3 animate-fadeInUp">
{/* Profile Header */} {/* Profile Header */}
<div className="flex items-center gap-3 p-3 border-b border-luxury-gold/20 mb-2"> <div className="flex items-center gap-3 p-3 border-b border-luxury-gold/20 mb-3 bg-gradient-to-r from-luxury-gold/10 to-transparent rounded-xl">
<div className="relative"> <div className="relative">
<div className="w-12 h-12 rounded-full overflow-hidden border-2 border-luxury-gold/40"> <div className="w-12 h-12 rounded-full overflow-hidden border-2 border-luxury-gold/40">
{profileImage ? ( {profile.profileImage ? (
<img src={profileImage} alt="Profile" className="w-full h-full object-cover" /> <img src={profile.profileImage} alt="Profile" className="w-full h-full object-cover" />
) : ( ) : (
<div className="w-full h-full bg-gradient-to-br from-luxury-gold to-brass flex items-center justify-center text-deep-forest font-bold"> <div className="w-full h-full bg-gradient-to-br from-luxury-gold to-brass flex items-center justify-center text-deep-forest font-bold">
U {profile.name.charAt(0).toUpperCase()}
</div> </div>
)} )}
</div> </div>
<button <button
onClick={() => fileInputRef.current?.click()} onClick={() => fileInputRef.current?.click()}
className="absolute -bottom-1 -right-1 w-6 h-6 bg-luxury-gold rounded-full flex items-center justify-center text-deep-forest hover:bg-brass transition-colors shadow-lg" className="absolute -bottom-1 -right-1 w-6 h-6 bg-luxury-gold rounded-full flex items-center justify-center text-deep-forest hover:bg-brass transition-colors shadow-lg"
title="Change profile picture" title={t('change_profile_picture')}
> >
<svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor"> <svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/> <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/>
@@ -242,46 +265,68 @@ const TopBar: React.FC<TopBarProps> = ({
</button> </button>
</div> </div>
<div className="flex-1"> <div className="flex-1">
<div className="text-cream font-montserrat font-medium">You</div> <div className="text-cream font-montserrat font-semibold tracking-wide">{profile.name}</div>
<div className="text-cream/60 text-sm">Premium User</div> <div className="text-cream/70 text-xs uppercase tracking-[0.18em]">{profile.role}</div>
</div> </div>
</div> </div>
{/* Menu Items */} {/* Menu Items */}
<div className="space-y-1"> <div className="space-y-1">
<a href="#profile" className="flex items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-luxury-gold/10 hover:text-cream transition-all group"> <button
type="button"
onClick={() => {
setShowProfile(false);
navigate('/profile');
}}
className="flex w-full items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-luxury-gold/15 hover:text-cream transition-all group border border-transparent hover:border-luxury-gold/30 bg-deep-forest/60"
>
<svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current"> <svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current">
<path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/> <path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/>
</svg> </svg>
<span className="font-montserrat">My Profile</span> <span className="font-montserrat">{t('my_profile')}</span>
</a> </button>
<button <button
onClick={() => { onClick={() => {
setShowProfile(false); setShowProfile(false);
// We'll add the credits modal trigger here // We'll add the credits modal trigger here
const event = new CustomEvent('openCredits'); const event = new CustomEvent('openCredits');
window.dispatchEvent(event); window.dispatchEvent(event);
navigate('/buy-credits');
}} }}
className="w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-luxury-gold/10 hover:text-cream transition-all group" className="w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 bg-deep-forest/50 border border-transparent hover:border-luxury-gold/30 hover:bg-luxury-gold/10 hover:text-cream transition-all group"
> >
<svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current"> <svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current">
<path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,16.5L6.5,12L7.91,10.59L11,13.67L16.59,8.09L18,9.5L11,16.5Z"/> <path d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,16.5L6.5,12L7.91,10.59L11,13.67L16.59,8.09L18,9.5L11,16.5Z"/>
</svg> </svg>
<span className="font-montserrat">Credits</span> <span className="font-montserrat">{t('credits')}</span>
</button> </button>
<a href="#settings" className="flex items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-luxury-gold/10 hover:text-cream transition-all group"> <button
type="button"
onClick={() => {
setShowProfile(false);
navigate('/settings');
}}
className="flex w-full items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-luxury-gold/10 hover:text-cream transition-all group border border-transparent hover:border-luxury-gold/30 bg-deep-forest/50"
>
<svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current"> <svg width="18" height="18" viewBox="0 0 24 24" className="text-luxury-gold/70 group-hover:text-luxury-gold fill-current">
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.82,11.69,4.82,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/> <path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.82,11.69,4.82,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</svg> </svg>
<span className="font-montserrat">Settings</span> <span className="font-montserrat">{t('settings')}</span>
</a> </button>
<div className="h-px bg-luxury-gold/20 my-2"></div> <div className="h-px bg-luxury-gold/20 my-2"></div>
<a href="/login" className="flex items-center gap-3 px-3 py-2.5 rounded-xl text-cream/90 hover:bg-red-500/10 hover:text-red-400 transition-all group"> <button
type="button"
onClick={() => {
setShowProfile(false);
navigate('/login');
}}
className="flex w-full items-center gap-3 px-3 py-2.5 rounded-xl text-cream/80 bg-deep-forest/40 border border-transparent hover:border-red-400/40 hover:bg-red-500/10 hover:text-red-300 transition-all group"
>
<svg width="18" height="18" viewBox="0 0 24 24" className="text-red-400/70 group-hover:text-red-400 fill-current"> <svg width="18" height="18" viewBox="0 0 24 24" className="text-red-400/70 group-hover:text-red-400 fill-current">
<path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/> <path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/>
</svg> </svg>
<span className="font-montserrat">Sign out</span> <span className="font-montserrat">{t('sign_out')}</span>
</a> </button>
</div> </div>
</div> </div>
)} )}
@@ -301,3 +346,4 @@ const TopBar: React.FC<TopBarProps> = ({
}; };
export default TopBar; export default TopBar;

View File

@@ -0,0 +1,167 @@
import { createContext, useContext, useEffect, useState, type ReactNode } from 'react';
// Supported Indian languages (plus English as base)
export interface Language {
code: string;
name: string;
flag: string; // simple emoji fallback
}
export const SUPPORTED_LANGUAGES: Language[] = [
{ code: 'en', name: 'English', flag: '🇮🇳' },
{ code: 'hi', name: 'हिन्दी', flag: '🇮🇳' },
{ code: 'te', name: 'తెలుగు', flag: '🇮🇳' },
{ code: 'ta', name: 'தமிழ்', flag: '🇮🇳' },
{ code: 'bn', name: 'বাংলা', flag: '🇮🇳' },
{ code: 'mr', name: 'मराठी', flag: '🇮🇳' },
{ code: 'gu', name: 'ગુજરાતી', flag: '🇮🇳' },
{ code: 'kn', name: 'ಕನ್ನಡ', flag: '🇮🇳' },
{ code: 'ml', name: 'മലയാളം', flag: '🇮🇳' },
{ code: 'pa', name: 'ਪੰਜਾਬੀ', flag: '🇮🇳' },
{ code: 'or', name: 'ଓଡ଼ିଆ', flag: '🇮🇳' },
{ code: 'as', name: 'অসমীয়া', flag: '🇮🇳' },
];
// Translations type: key -> languageCode -> string
export type Translations = Record<string, Partial<Record<string, string>>>;
// Helper to build translation object quickly
const t = (en: string, others: Partial<Record<string, string>> = {}): Partial<Record<string, string>> => ({ en, ...others });
// NOTE: For now we only include keys referenced directly in existing components so the app compiles again.
// You can extend this safely later in smaller chunks.
export const TRANSLATIONS: Translations = {
// Generic / shared
select_language: t('Select Language', { hi: 'भाषा चुनें' }),
navigation: t('Navigation', { hi: 'नेविगेशन' }),
hub: t('Hub', { hi: 'हब' }),
send: t('Send', { hi: 'भेजें' }),
chat_placeholder: t('Type a message...', { hi: 'संदेश लिखें...' }),
hello_message: t('Hello! How can I assist you today?', { hi: 'नमस्ते! मैं आज आपकी कैसे सहायता कर सकता हूँ?' }),
agent_response: t('Response from {{agentName}}: {{text}}', { hi: '{{agentName}} से उत्तर: {{text}}' }),
// TopBar keys
notifications: t('Notifications', { hi: 'सूचनाएं' }),
new: t('New', { hi: 'नई' }),
no_new_notifications: t('No new notifications', { hi: 'कोई नई सूचनाएं नहीं' }),
notify_when_arrives: t('We\'ll notify you when something arrives.', { hi: 'जब कुछ आएगा तो हम आपको बताएंगे।' }),
view_all_notifications: t('View all notifications', { hi: 'सभी सूचनाएं देखें' }),
change_profile_picture: t('Change profile picture', { hi: 'प्रोफ़ाइल तस्वीर बदलें' }),
premium_user: t('Premium User', { hi: 'प्रीमियम उपयोगकर्ता' }),
my_profile: t('My Profile', { hi: 'मेरी प्रोफ़ाइल' }),
credits: t('Credits', { hi: 'क्रेडिट्स' }),
settings: t('Settings', { hi: 'सेटिंग्स' }),
sign_out: t('Sign Out', { hi: 'साइन आउट' }),
toggle_navigation: t('Toggle navigation', { hi: 'नेविगेशन बदलें' }),
profile_menu: t('Profile menu', { hi: 'प्रोफ़ाइल मेनू' }),
ask_ai_assistant: t('Ask AI Assistant', { hi: 'एआई सहायक से पूछें' }),
// Sidebar items (ids must match those used in SidebarNav.tsx if any)
dashboard: t('Dashboard', { hi: 'डैशबोर्ड' }),
agents: t('Agents', { hi: 'एजेंट्स' }),
workflows: t('Workflows', { hi: 'वर्कफ़्लोज़' }),
analytics: t('Analytics', { hi: 'विश्लेषण' }),
settings_nav: t('Settings', { hi: 'सेटिंग्स' }),
nav_home: t('Home', { hi: 'होम' }),
nav_agents: t('Agents', { hi: 'एजेंट्स' }),
nav_tasks: t('Tasks', { hi: 'कार्य' }),
nav_documents: t('Documents', { hi: 'दस्तावेज़' }),
nav_more: t('More', { hi: 'अधिक' }),
nav_profile: t('Profile', { hi: 'प्रोफ़ाइल' }),
nav_credits: t('Credits', { hi: 'क्रेडिट्स' }),
nav_support: t('Support', { hi: 'सहायता' }),
nav_settings: t('Settings', { hi: 'सेटिंग्स' }),
nav_sign_out: t('Sign out', { hi: 'साइन आउट' }),
// Agent names (example placeholders — adjust later if needed)
agent_researcher: t('Research Agent', { hi: 'अनुसंधान एजेंट' }),
agent_writer: t('Content Writer', { hi: 'कंटेंट लेखक' }),
agent_coder: t('Code Assistant', { hi: 'कोड सहायक' }),
agent_designer: t('Design Assistant', { hi: 'डिज़ाइन सहायक' }),
// DisplayPanel tabs
tab_instructions: t('Instructions', { hi: 'निर्देश' }),
tab_playground: t('Playground', { hi: 'प्लेग्राउंड' }),
// DisplayPanel instructional text
instructions_welcome: t('Welcome. This panel guides you on how to drive agents and view results.', { hi: 'स्वागत है। यह पैनल आपको एजेंट का उपयोग करने और परिणाम देखने में मार्गदर्शन करता है।' }),
instructions_step1: t('Pick an agent from the left panel that matches your task.', { hi: 'बाएँ पैनल से अपने कार्य से मेल खाने वाला एजेंट चुनें।' }),
instructions_step2: t('Use the chat dock to issue a request. Press Enter to send.', { hi: 'अनुरोध भेजने के लिए चैट डॉक का उपयोग करें। भेजने के लिए Enter दबाएँ।' }),
instructions_step3: t('Watch this panel for summaries, charts, or generated assets.', { hi: 'सारांश, चार्ट या जनरेटेड सामग्री के लिए इस पैनल को देखें।' }),
instructions_step4: t('Refine with follow-ups. Use concise prompts for best results.', { hi: 'फ़ॉलो-अप से परिष्कृत करें। सर्वोत्तम परिणामों के लिए संक्षिप्त प्रोम्प्ट का उपयोग करें।' }),
instructions_tip_label: t('Tip', { hi: 'संकेत' }),
instructions_tip_text: t('Start prompts with a verb: “Summarize…”, “Compare…”, “Draft…”.', { hi: 'प्रॉम्प्ट को क्रिया से शुरू करें: “सारांश बनाएं…”, “तुलना करें…”, “ड्राफ्ट करें…”.' }),
instructions_format_label: t('Format', { hi: 'प्रारूप' }),
instructions_format_text: t('Ask for tables, bullet points, or JSON if you need structured output.', { hi: 'यदि आपको संरचित आउटपुट चाहिए तो टेबल, बुलेट पॉइंट या JSON का अनुरोध करें।' }),
playground_intro: t('This is your playground canvas. Render previews, charts, or content here.', { hi: 'यह आपका प्लेग्राउंड कैनवास है। यहाँ पूर्वावलोकन, चार्ट या सामग्री रेंडर करें।' }),
playground_empty_label: t('Empty Canvas', { hi: 'रिक्त कैनवास' }),
playground_empty_text: t('Hook this area to your agent outputs to visualize results.', { hi: 'परिणाम देखने के लिए इस क्षेत्र को अपने एजेंट आउटपुट से जोड़ें।' }),
// Credits Modal
credits_title: t('Credits & Usage History', { hi: 'क्रेडिट्स और उपयोग इतिहास' }),
buy_credits: t('Buy Credits', { hi: 'क्रेडिट्स खरीदें' }),
current_balance: t('Current Balance', { hi: 'वर्तमान बैलेंस' }),
available: t('Available', { hi: 'उपलब्ध' }),
monthly_usage: t('Monthly Usage', { hi: 'मासिक उपयोग' }),
spent: t('Spent', { hi: 'खर्च' }),
monthly_purchases: t('Monthly Purchases', { hi: 'मासिक खरीद' }),
bought: t('Bought', { hi: 'खरीदा' }),
transaction_history: t('Transaction History', { hi: 'लेनदेन इतिहास' }),
year: t('Year', { hi: 'वर्ष' }),
month: t('Month', { hi: 'महीना' }),
show: t('Show', { hi: 'दिखाएं' }),
date: t('Date', { hi: 'तारीख' }),
type: t('Type', { hi: 'प्रकार' }),
description: t('Description', { hi: 'विवरण' }),
amount: t('Amount', { hi: 'राशि' }),
balance: t('Balance', { hi: 'बैलेंस' }),
type_usage: t('Usage', { hi: 'उपयोग' }),
type_purchase: t('Purchase', { hi: 'खरीद' }),
type_bonus: t('Bonus', { hi: 'बोनस' }),
};
interface TranslationContextValue {
language: string;
setLanguage: (code: string) => void;
translate: (key: string, vars?: Record<string, string | number>) => string;
}
const TranslationContext = createContext<TranslationContextValue | undefined>(undefined);
const STORAGE_KEY = 'pennyzo_language';
export const TranslationProvider = ({ children }: { children: ReactNode }) => {
const [language, setLanguageState] = useState<string>(() => {
const saved = typeof window !== 'undefined' ? localStorage.getItem(STORAGE_KEY) : null;
return saved || 'en';
});
const setLanguage = (code: string) => {
setLanguageState(code);
try { localStorage.setItem(STORAGE_KEY, code); } catch {}
};
const translate = (key: string, vars: Record<string, string | number> = {}): string => {
const entry = TRANSLATIONS[key];
if (!entry) return key; // fallback to key
const raw = entry[language] || entry['en'] || key;
return Object.keys(vars).reduce((acc, k) => acc.replace(new RegExp(`{{${k}}}`, 'g'), String(vars[k])), raw);
};
const value: TranslationContextValue = { language, setLanguage, translate };
useEffect(() => {
// Could add side effects like HTML lang attribute
if (typeof document !== 'undefined') {
document.documentElement.lang = language;
}
}, [language]);
return <TranslationContext.Provider value={value}>{children}</TranslationContext.Provider>;
};
export const useTranslation = () => {
const ctx = useContext(TranslationContext);
if (!ctx) throw new Error('useTranslation must be used within a TranslationProvider');
return ctx;
};

View File

@@ -0,0 +1,77 @@
import React, { createContext, useContext, useState, useEffect } from 'react';
import type { ReactNode } from 'react';
interface UserProfile {
name: string;
role: string;
email: string;
phone: string;
location: string;
department: string;
profileImage: string | null;
}
interface UserContextType {
profile: UserProfile;
updateProfile: (updates: Partial<UserProfile>) => void;
updateProfileImage: (imageData: string) => void;
}
const defaultProfile: UserProfile = {
name: 'John Doe',
role: 'Executive Director',
email: 'john.doe@pennyzo.com',
phone: '+91 98765 43210',
location: 'Mumbai, India',
department: 'Revenue Operations',
profileImage: null,
};
const UserContext = createContext<UserContextType | undefined>(undefined);
export const UserProvider: React.FC<{ children: ReactNode }> = ({ children }) => {
const [profile, setProfile] = useState<UserProfile>(() => {
// Load from localStorage on initialization
const savedProfile = localStorage.getItem('userProfile');
const savedImage = localStorage.getItem('profileImage');
const baseProfile = savedProfile ? JSON.parse(savedProfile) : defaultProfile;
return {
...baseProfile,
profileImage: savedImage || baseProfile.profileImage,
};
});
// Save to localStorage whenever profile changes
useEffect(() => {
const { profileImage, ...profileData } = profile;
localStorage.setItem('userProfile', JSON.stringify(profileData));
if (profileImage) {
localStorage.setItem('profileImage', profileImage);
}
}, [profile]);
const updateProfile = (updates: Partial<UserProfile>) => {
setProfile((prev) => ({ ...prev, ...updates }));
};
const updateProfileImage = (imageData: string) => {
setProfile((prev) => ({ ...prev, profileImage: imageData }));
localStorage.setItem('profileImage', imageData);
};
return (
<UserContext.Provider value={{ profile, updateProfile, updateProfileImage }}>
{children}
</UserContext.Provider>
);
};
export const useUser = () => {
const context = useContext(UserContext);
if (!context) {
throw new Error('useUser must be used within a UserProvider');
}
return context;
};

View File

@@ -0,0 +1,91 @@
import { useMemo, useState } from 'react';
import type { TopBarProps } from '../components/TopBar';
export interface DashboardCompany {
id: string;
name: string;
industry: string;
logo?: string;
}
export interface DashboardScaffold {
companies: DashboardCompany[];
selectedCompanyId: string;
setSelectedCompanyId: (companyId: string) => void;
notifications: { id: string; title: string; time: string }[];
topBarProps: TopBarProps;
selectedCompany?: DashboardCompany;
}
const STORAGE_KEY = 'pz.selectedCompanyId';
export const useDashboardScaffold = (): DashboardScaffold => {
const companies = useMemo<DashboardCompany[]>(
() => [
{ id: 'company-1', name: 'Pennyzo Labs', industry: 'Technology' },
{ id: 'company-2', name: 'Pennyzo Retail', industry: 'Retail' },
{ id: 'company-3', name: 'Pennyzo Finance', industry: 'Financial Services' },
],
[],
);
const notifications = useMemo(
() => [
{ id: 'notif-1', title: 'Pipeline review scheduled for 4 PM', time: '15m ago' },
{ id: 'notif-2', title: 'Payroll run completed successfully', time: '1h ago' },
],
[],
);
const initialCompanyId = useMemo(() => {
if (typeof window === 'undefined') {
return companies[0]?.id ?? '';
}
const stored = window.localStorage.getItem(STORAGE_KEY);
const exists = companies.some((company) => company.id === stored);
return exists ? (stored as string) : companies[0]?.id ?? '';
}, [companies]);
const [selectedCompanyId, setSelectedCompanyId] = useState<string>(initialCompanyId);
const selectedCompany = useMemo(
() => companies.find((company) => company.id === selectedCompanyId),
[companies, selectedCompanyId],
);
const topBarProps: TopBarProps = useMemo(
() => ({
companies: companies.map((company) => company.name),
selectedCompany: selectedCompany?.name ?? companies[0]?.name ?? '',
onCompanyChange: (value: string) => {
const nextCompany = companies.find((company) => company.name === value);
if (!nextCompany) return;
setSelectedCompanyId(nextCompany.id);
if (typeof window !== 'undefined') {
window.localStorage.setItem(STORAGE_KEY, nextCompany.id);
}
},
coins: 128,
notifications,
}),
[companies, notifications, selectedCompany?.name],
);
const setCompanyById = (companyId: string) => {
setSelectedCompanyId(companyId);
if (typeof window !== 'undefined') {
window.localStorage.setItem(STORAGE_KEY, companyId);
}
};
return {
companies,
selectedCompanyId,
setSelectedCompanyId: setCompanyById,
notifications,
topBarProps,
selectedCompany,
};
};
export default useDashboardScaffold;

105
src/i18n/README.md Normal file
View File

@@ -0,0 +1,105 @@
# i18n Translation Guide
## Overview
This app now uses **react-i18next** for internationalization. All text content can be translated into multiple languages.
## How to Use Translations in Components
### Import the hook:
```tsx
import { useTranslation } from "react-i18next";
```
### Use in component:
```tsx
const MyComponent = () => {
const { t } = useTranslation();
return (
<div>
<h1>{t("nav.home")}</h1>
<p>{t("common.loading")}</p>
</div>
);
};
```
### With variables:
```tsx
// In translation file:
{
"welcome": "Welcome, {{name}}!"
}
// In component:
{t('welcome', { name: 'John' })}
```
## Adding New Languages
### 1. Create translation file
Create a new JSON file in `src/i18n/locales/` (e.g., `te.json` for Telugu)
### 2. Copy structure from en.json
Copy the entire structure and translate the values:
```json
{
"common": {
"select_language": "భాషను ఎంచుకోండి",
"send": "పంపించు"
}
}
```
### 3. Import in config.ts
```tsx
import te from "./locales/te.json";
const resources = {
en: { translation: en },
hi: { translation: hi },
te: { translation: te }, // Add here
};
```
## Translation Keys Structure
- `common.*` - General UI elements
- `nav.*` - Navigation items
- `topbar.*` - Top bar elements
- `agents.*` - Agent names
- `display_panel.*` - Display panel content
- `credits.*` - Credits page content
## Supported Languages
Currently configured:
- English (en)
- Hindi (hi)
Ready to add (need translation files):
- Telugu (te)
- Tamil (ta)
- Bengali (bn)
- Marathi (mr)
- Gujarati (gu)
- Kannada (kn)
- Malayalam (ml)
- Punjabi (pa)
- Odia (or)
- Assamese (as)
## Language Switching
Users can switch language via the LanguageSelector component in the TopBar.
The selected language is saved to localStorage and persists across sessions.

84
src/i18n/config.ts Normal file
View File

@@ -0,0 +1,84 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
// Import translation files
import en from './locales/en.json';
import hi from './locales/hi.json';
import mr from './locales/mr.json';
import pa from './locales/pa.json';
import te from './locales/te.json';
import ta from './locales/ta.json';
import bn from './locales/bn.json';
import kn from './locales/kn.json';
// Supported languages configuration
export const SUPPORTED_LANGUAGES = [
{ code: 'en', name: 'English', flag: '🇮🇳' },
{ code: 'hi', name: 'हिन्दी', flag: '🇮🇳' },
{ code: 'te', name: 'తెలుగు', flag: '🇮🇳' },
{ code: 'ta', name: 'தமிழ்', flag: '🇮🇳' },
{ code: 'bn', name: 'বাংলা', flag: '🇮🇳' },
{ code: 'mr', name: 'मराठी', flag: '🇮🇳' },
{ code: 'gu', name: 'ગુજરાતી', flag: '🇮🇳' },
{ code: 'kn', name: 'ಕನ್ನಡ', flag: '🇮🇳' },
{ code: 'ml', name: 'മലയാളം', flag: '🇮🇳' },
{ code: 'pa', name: 'ਪੰਜਾਬੀ', flag: '🇮🇳' },
{ code: 'or', name: 'ଓଡ଼ିଆ', flag: '🇮🇳' },
{ code: 'as', name: 'অসমীয়া', flag: '🇮🇳' },
];
// Define resources with all languages
const resources = {
en: { translation: en },
hi: { translation: hi },
mr: { translation: mr },
pa: { translation: pa },
te: { translation: te },
ta: { translation: ta },
bn: { translation: bn },
kn: { translation: kn },
// Other languages fall back to English for now (add translation files as needed)
gu: { translation: en },
ml: { translation: en },
or: { translation: en },
as: { translation: en },
};
// Get saved language from localStorage
const getSavedLanguage = (): string => {
if (typeof window !== 'undefined') {
return localStorage.getItem('pennyzo_language') || 'en';
}
return 'en';
};
// Initialize i18next
i18n
.use(initReactI18next) // passes i18n down to react-i18next
.init({
resources,
lng: getSavedLanguage(), // default language
fallbackLng: 'en', // fallback language
interpolation: {
escapeValue: false, // react already safes from xss
},
// Don't use a key separator (we use dots in keys)
keySeparator: '.',
// React already handles this
react: {
useSuspense: false,
},
});
// Save language to localStorage when it changes
i18n.on('languageChanged', (lng) => {
if (typeof window !== 'undefined') {
localStorage.setItem('pennyzo_language', lng);
document.documentElement.lang = lng;
}
});
export default i18n;

3
src/i18n/index.ts Normal file
View File

@@ -0,0 +1,3 @@
// Export i18n configuration and utilities
export { default } from './config';
export { SUPPORTED_LANGUAGES } from './config';

409
src/i18n/locales/bn.json Normal file
View File

@@ -0,0 +1,409 @@
{
"common": {
"select_language": "ভাষা নির্বাচন করুন",
"navigation": "নেভিগেশন",
"hub": "হাব",
"send": "পাঠান",
"chat_placeholder": "বার্তা টাইপ করুন...",
"hello_message": "হ্যালো! আমি আজ আপনাকে কীভাবে সাহায্য করতে পারি?",
"agent_response": "{{agentName}} থেকে প্রতিক্রিয়া: {{text}}",
"close": "বন্ধ করুন",
"cancel": "বাতিল",
"save": "সংরক্ষণ",
"delete": "মুছুন",
"edit": "সম্পাদনা",
"loading": "লোড হচ্ছে...",
"error": "ত্রুটি",
"success": "সফল",
"welcome": "স্বাগতম",
"hello": "হ্যালো",
"back": "ফিরে",
"next": "পরবর্তী",
"submit": "জমা দিন",
"confirm": "নিশ্চিত করুন",
"search": "অনুসন্ধান",
"filter": "ফিল্টার",
"sort": "সাজান",
"view_all": "সব দেখুন",
"no_data": "কোন তথ্য উপলব্ধ নেই",
"try_again": "আবার চেষ্টা করুন",
"summary": "সারসংক্ষেপ"
},
"topbar": {
"notifications": "বিজ্ঞপ্তি",
"new": "নতুন",
"no_new_notifications": "কোন নতুন বিজ্ঞপ্তি নেই",
"notify_when_arrives": "কিছু এলে আমরা আপনাকে জানাব।",
"view_all_notifications": "সব বিজ্ঞপ্তি দেখুন",
"change_profile_picture": "প্রোফাইল ছবি পরিবর্তন করুন",
"premium_user": "প্রিমিয়াম ব্যবহারকারী",
"my_profile": "আমার প্রোফাইল",
"credits": "ক্রেডিট",
"settings": "সেটিংস",
"sign_out": "সাইন আউট",
"toggle_navigation": "নেভিগেশন টগল করুন",
"profile_menu": "প্রোফাইল মেনু",
"ask_ai_assistant": "AI সহায়ককে জিজ্ঞাসা করুন"
},
"nav": {
"home": "হোম",
"agents": "এজেন্ট",
"tasks": "কাজ",
"documents": "নথি",
"more": "আরও",
"profile": "প্রোফাইল",
"credits": "ক্রেডিট",
"support": "সহায়তা",
"settings": "সেটিংস",
"sign_out": "সাইন আউট"
},
"agents": {
"title": "AI এজেন্ট",
"command_centre": "আপনার AI কমান্ড সেন্টার",
"command_centre_desc": "একটি বিলাসবহুল ড্যাশবোর্ড থেকে প্রাপ্যতা পর্যবেক্ষণ করুন, প্রতিভা প্রসারিত করুন এবং প্রতিটি Pennyzo এজেন্ট পরিচালনা করুন।",
"add_agent": "এজেন্ট যোগ করুন",
"active": "সক্রিয়",
"idle": "নিষ্ক্রিয়",
"busy": "ব্যস্ত",
"agent_roster": "এজেন্ট তালিকা",
"all_agents": "সব এজেন্ট",
"researcher": "গবেষণা এজেন্ট",
"writer": "বিষয়বস্তু লেখক",
"coder": "কোড সহায়ক",
"designer": "ডিজাইন সহায়ক",
"finance_ops": "আর্থিক কার্যক্রম প্রধান",
"talent_strategist": "প্রতিভা কৌশলবিদ",
"compliance_analyst": "সম্মতি বিশ্লেষক",
"business_intelligence": "ব্যবসায়িক বুদ্ধিমত্তা",
"customer_success": "গ্রাহক সাফল্য",
"operations_lead": "কার্যক্রম প্রধান"
},
"display_panel": {
"tab_instructions": "নির্দেশাবলী",
"tab_playground": "খেলার মাঠ",
"instructions_welcome": "স্বাগতম। এই প্যানেলটি এজেন্টদের কীভাবে চালাতে হয় এবং ফলাফল কীভাবে দেখতে হয় তা গাইড করে।",
"instructions_step1": "আপনার কাজের সাথে মানানসই একটি এজেন্ট বাম প্যানেল থেকে নির্বাচন করুন।",
"instructions_step2": "অনুরোধ পাঠাতে চ্যাট ডক ব্যবহার করুন। পাঠাতে Enter চাপুন।",
"instructions_step3": "সারসংক্ষেপ, চার্ট বা তৈরি সম্পদের জন্য এই প্যানেলটি দেখুন।",
"instructions_step4": "ফলো-আপ দিয়ে পরিমার্জন করুন। সেরা ফলাফলের জন্য সংক্ষিপ্ত প্রম্পট ব্যবহার করুন।",
"instructions_tip_label": "পরামর্শ",
"instructions_tip_text": "ক্রিয়া দিয়ে প্রম্পট শুরু করুন: \"সংক্ষিপ্ত করুন...\", \"তুলনা করুন...\", \"খসড়া...\"।",
"instructions_format_label": "বিন্যাস",
"instructions_format_text": "আপনার যদি কাঠামোগত আউটপুট প্রয়োজন হয় তাহলে টেবিল, বুলেট পয়েন্ট বা JSON জিজ্ঞাসা করুন।",
"playground_intro": "এটি আপনার খেলার মাঠ ক্যানভাস। এখানে প্রিভিউ, চার্ট বা বিষয়বস্তু রেন্ডার করুন।",
"playground_empty_label": "খালি ক্যানভাস",
"playground_empty_text": "ফলাফল ভিজ্যুয়ালাইজ করতে আপনার এজেন্ট আউটপুটগুলির সাথে এই এলাকাটি সংযুক্ত করুন।"
},
"credits": {
"title": "ক্রেডিট & ব্যবহার ইতিহাস",
"buy_credits": "ক্রেডিট কিনুন",
"current_balance": "বর্তমান ব্যালেন্স",
"available": "উপলব্ধ",
"monthly_usage": "মাসিক ব্যবহার",
"spent": "ব্যয়িত",
"monthly_purchases": "মাসিক ক্রয়",
"bought": "ক্রয়কৃত",
"transaction_history": "লেনদেন ইতিহাস",
"year": "বছর",
"month": "মাস",
"show": "দেখান",
"date": "তারিখ",
"type": "ধরন",
"description": "বিবরণ",
"amount": "পরিমাণ",
"balance": "ব্যালেন্স",
"type_usage": "ব্যবহার",
"type_purchase": "ক্রয়",
"type_bonus": "বোনাস",
"credit_vault": "ক্রেডিট ভল্ট",
"vault_subtitle": "আপনার কনসিয়ার্জ এজেন্ট, হাই-টাচ ওয়ার্কফ্লো এবং অটো-প্রস্তুত ডকুমেন্টগুলিতে পেনিজো ক্রেডিট দিয়ে জ্বালানি দিন। ব্যবহার মনিটর করুন, অটো টপ-আপ করুন এবং প্রোডাকশন রেডি থাকুন।",
"available_credits": "উপলব্ধ ক্রেডিট",
"usage_this_month": "এই মাসের ব্যবহার",
"auto_topup_threshold": "অটো টপ-আপ থ্রেশহোল্ড",
"credit_marketplace": "ক্রেডিট মার্কেটপ্লেস",
"marketplace_subtitle": "ভলিউম ডিসকাউন্ট স্বয়ংক্রিয়ভাবে পাওয়া যায় — সব প্যাকে কনসিয়ার্জ সাপোর্ট অন্তর্ভুক্ত",
"starter_pack": "স্টার্টার প্যাক",
"starter_desc": "1,000 ক্রেডিট • ছোট বার্স্টের জন্য আদর্শ",
"starter_price": "₹1,999",
"growth_pack": "গ্রোথ প্যাক",
"growth_desc": "5,000 ক্রেডিট • কনসিয়ার্জ রিভিউ অন্তর্ভুক্ত",
"growth_price": "₹8,499",
"enterprise_pack": "এন্টারপ্রাইজ প্যাক",
"enterprise_desc": "20,000 ক্রেডিট • ডেডিকেটেড কম্পিউট পুল",
"enterprise_price": "₹28,999",
"purchase": "ক্রয় করুন",
"custom_pack": "কাস্টম প্যাক",
"custom_desc": "ক্যাম্পেইন বার্স্টের সাথে মেলাতে ক্রেডিট স্কেল করুন। কনসিয়ার্জ আপনার জন্য অটো টপ-আপ নিয়ম টিউন করে।",
"credits_label": "ক্রেডিট",
"est_spend": "আনুমানিক ব্যয়",
"gst_note": "চেকআউটের সময় GST স্বয়ংক্রিয়-গণনা",
"buy_custom_pack": "কাস্টম প্যাক কিনুন",
"schedule_auto_topups": "অটো টপ-আপ শিডিউল করুন",
"schedule_desc": "ব্যালেন্স থ্রেশহোল্ডের নিচে নামলে ক্রয় ট্রিগার করুন।",
"share_usage": "ফাইন্যান্সের সাথে ব্যবহার শেয়ার করুন",
"share_desc": "মাসিক লেজার CSV বা Google শীট হিসাবে এক্সপোর্ট করুন।",
"slack_alerts": "স্ল্যাক ব্যালেন্স সতর্কতা",
"slack_desc": "যখনই ক্রেডিট 5K এর নিচে চলে যায় তখন #leadership কে জানান।",
"usage_timeline": "ব্যবহার টাইমলাইন",
"timeline_subtitle": "আপনার AI ওয়ার্কস্পেসে ক্রেডিট কীভাবে চলে তার সম্পূর্ণ অডিট ইতিহাস",
"txn_strategy": "স্ট্র্যাটেজি এজেন্ট – পিচ ডেক আউটলাইন",
"txn_payroll": "পেরোল অটোমেশন রান",
"txn_growth_purchase": "গ্রোথ প্যাক ক্রয়",
"txn_loyalty_bonus": "কনসিয়ার্জ লয়্যালটি বোনাস"
},
"more": {
"title": "আরও",
"concierge_hub": "কনসিয়ার্জ কন্ট্রোল হাব",
"hub_subtitle": "প্রিমিয়াম অপারেশনগুলিকে শক্তি দেয় এমন উন্নত পেনিজো মডিউলগুলিতে শর্টকাট",
"curate_cockpit": "আপনার লিডারশিপ ককপিট কিউরেট করুন",
"cockpit_desc": "প্রোফাইল বিবরণ টেইলর করুন, ক্রেডিট পরিচালনা করুন, ক্যাম্পেইনের জন্য জেনারেটর ট্রিগার করুন বা ওয়ার্কস্পেস পছন্দগুলি পুনরায় ওয়্যার করুন। সবকিছু নেটিভ পেনিজো কনসিয়ার্জকে মিরর করে।",
"open_profile": "প্রোফাইল খুলুন",
"purchase_credits": "ক্রেডিট ক্রয় করুন",
"profile_menu": "প্রোফাইল",
"profile_menu_desc": "ব্যক্তিগত বিবরণ, পছন্দ এবং কনসিয়ার্জ দৃশ্যমানতা সম্পাদনা করুন",
"credits_menu": "ক্রেডিট",
"credits_menu_desc": "ব্যালেন্স মনিটর করুন, টপ-আপ শিডিউল করুন, লেজার রিভিউ করুন",
"generate_menu": "জেনারেট করুন",
"generate_menu_desc": "ক্যাম্পেইন টেমপ্লেট এবং মৌসুমী কন্টেন্ট লঞ্চ করুন",
"leadership_settings": "লিডারশিপ সেটিংস",
"leadership_settings_desc": "নিরাপত্তা, বিজ্ঞপ্তি, ইন্টিগ্রেশন",
"support_concierge": "সাপোর্ট কনসিয়ার্জ",
"support_desc": "হোয়াইট-গ্লাভ ওয়ার্কফ্লোর জন্য পেনিজো বিশেষজ্ঞদের সাথে কথা বলুন।",
"language_selector": "ভাষা নির্বাচক",
"language_desc": "সম্পূর্ণ ওয়ার্কস্পেস সেকেন্ডের মধ্যে স্থানীয় ভাষায় স্যুইচ করুন।",
"invite_leadership": "লিডারশিপ আমন্ত্রণ করুন",
"invite_desc": "বোর্ড পর্যবেক্ষকদের জন্য রিড-ওনলি অ্যাক্সেস প্রদান করুন।",
"operational_playlists": "অপারেশনাল প্লেলিস্ট",
"playlists_subtitle": "মোবাইল অ্যাপ থেকে সবচেয়ে বেশি ব্যবহৃত কনসিয়ার্জ পথ এখন ওয়েবের জন্য টিউন করা হয়েছে",
"cxo_brief": "CXO দৈনিক সংক্ষিপ্ত",
"cxo_brief_desc": "90 সেকেন্ডে পাইপলাইন ডেল্টা, ক্রেডিট স্বাস্থ্য এবং শীর্ষ এজেন্ট।",
"investor_dataroom": "বিনিয়োগকারী ডেটা রুম",
"investor_desc": "নথি, অনুমোদন এবং মন্তব্য তাত্ক্ষণিকভাবে সংকলন করুন।",
"brand_voice": "ব্র্যান্ড ভয়েস টিউনিং",
"brand_voice_desc": "ক্যাম্পেইন, প্রস্তাব এবং ডকুমেন্টে AI টোন সারিবদ্ধ করুন।",
"hiring_sprint": "হায়ারিং স্প্রিন্ট",
"hiring_desc": "JD তৈরি, স্ক্রীনিং সারাংশ এবং অফার প্যাক স্বয়ংক্রিয় করুন।",
"board_readiness": "বোর্ড প্রস্তুতি",
"board_desc": "সম্মতি পত্র, মিনিট এবং আর্থিক স্ন্যাপশট একত্রিত করুন।",
"global_expansion": "গ্লোবাল সম্প্রসারণ",
"expansion_desc": "প্লেবুক স্থানীয়করণ করুন এবং কনসিয়ার্জের সাথে অনুবাদ সিঙ্ক করুন।",
"open_flow": "ফ্লো খুলুন"
},
"home": {
"title": "হোম",
"good_morning": "সুপ্রভাত",
"good_afternoon": "শুভ অপরাহ্ন",
"good_evening": "শুভ সন্ধ্যা",
"welcome_message": "ফিরে স্বাগতম, {{name}}",
"select_company": "কোম্পানি নির্বাচন করুন",
"quick_stats": "দ্রুত পরিসংখ্যান",
"revenue": "আয়",
"employees": "কর্মচারী",
"growth": "বৃদ্ধি",
"net_promoter": "নেট প্রোমোটার স্কোর",
"ai_insights": "AI অন্তর্দৃষ্টি",
"ai_insights_title": "Pennyzo থেকে সুপারিশ",
"ai_insights_content": "আপনার Q1 পাইপলাইন 18% বৃদ্ধি পেয়েছে। এটি বজায় রাখতে, CRM ফলো-আপগুলি স্বয়ংক্রিয় করুন এবং লিডগুলির জন্য স্বাধীন মানের স্কোর প্রয়োগ করুন।",
"pending_approvals": "অপেক্ষমাণ অনুমোদন",
"compliance_alerts": "সম্মতি সতর্কতা",
"recent_hires": "সাম্প্রতিক নিয়োগ",
"expiring_contracts": "মেয়াদ শেষ হওয়া চুক্তি",
"suggested_actions": "প্রস্তাবিত কর্ম",
"review_approvals": "অনুমোদন পর্যালোচনা করুন",
"review_approvals_desc": "3টি অপেক্ষমাণ সিদ্ধান্ত মনোযোগ প্রয়োজন",
"update_payroll": "পে-রোল আপডেট করুন",
"update_payroll_desc": "ফেব্রুয়ারি পে-রোল পর্যালোচনার জন্য প্রস্তুত",
"onboard_employees": "কর্মচারী যুক্ত করুন",
"onboard_employees_desc": "2টি নতুন নিয়োগ সোমবার শুরু হচ্ছে",
"view_reports": "রিপোর্ট দেখুন",
"view_reports_desc": "Q1 বিশ্লেষণ উপলব্ধ",
"draft_contract": "চুক্তি খসড়া",
"draft_contract_desc": "নতুন বিক্রেতা চুক্তির জন্য AI-সহায়ক খসড়া"
},
"tasks": {
"title": "কাজ",
"my_tasks": "আমার কাজ",
"all_tasks": "সব কাজ",
"create_task": "কাজ তৈরি করুন",
"task_details": "কাজের বিবরণ",
"status": "অবস্থা",
"priority": "অগ্রাধিকার",
"due_date": "শেষ তারিখ",
"assigned_to": "বরাদ্দ",
"high": "উচ্চ",
"medium": "মাঝারি",
"low": "কম",
"pending": "অপেক্ষমাণ",
"in_progress": "চলমান",
"completed": "সম্পন্ন",
"overdue": "বিলম্বিত",
"hr": "HR",
"crm": "CRM",
"strategy": "কৌশল",
"task_orchestration": "কাজ সংগঠন",
"task_orchestration_subtitle": "গতি ট্র্যাক করতে, সিদ্ধান্ত আনব্লক করতে এবং রিয়েল টাইমে দলগুলিকে গাইড করতে HR, CRM এবং কৌশল লেনগুলির মধ্যে স্যুইচ করুন।",
"headcount": "কর্মী সংখ্যা",
"present_today": "আজ উপস্থিত",
"on_leave": "ছুটিতে",
"pipeline_value": "পাইপলাইন মূল্য",
"conversion_rate": "রূপান্তর হার",
"escalations": "বৃদ্ধি",
"okrs_on_track": "ট্র্যাকে OKR",
"initiatives": "উদ্যোগ",
"markets_assessed": "মূল্যায়ন করা বাজার",
"summary": "সারসংক্ষেপ",
"leadership_approvals": "নেতৃত্ব অনুমোদন",
"product_onboarding": "পণ্য অনবোর্ডিং",
"operations_followups": "কার্যক্রম ফলো-আপ",
"followups_today": "আজ ফলো-আপ",
"contracts_in_review": "পর্যালোচনায় চুক্তি",
"awaiting_responses": "প্রতিক্রিয়ার জন্য অপেক্ষা",
"strengths_reviewed": "শক্তি পর্যালোচনা করা হয়েছে",
"opportunities": "সুযোগ",
"risks_tracked": "ট্র্যাক করা ঝুঁকি",
"process_payroll": "পে-রোল প্রক্রিয়া করুন",
"process_payroll_desc": "পে-রোল চেক এবং বেতন বিতরণ পর্যালোচনা করুন।",
"send_salary_slips": "বেতন স্লিপ পাঠান",
"send_salary_slips_desc": "প্রস্তুত স্লিপগুলি কর্মচারীদের কাছে পাঠান।",
"generate_reports": "রিপোর্ট তৈরি করুন",
"generate_reports_desc": "মাসিক উপস্থিতি এবং ছুটির রিপোর্ট তৈরি করুন।",
"client_concierge": "ক্লায়েন্ট সেবা",
"client_concierge_desc": "নিবেদিত কনসিয়ার্জদের কাছে ফলো-আপ বরাদ্দ করুন।",
"launch_campaign": "প্রচার চালু করুন",
"launch_campaign_desc": "Q4 এর জন্য পরবর্তী পুষ্টি যাত্রা ট্রিগার করুন।",
"executive_summary": "নির্বাহী সারসংক্ষেপ",
"executive_summary_desc": "এই সপ্তাহের নির্বাহী ব্রিফিং সংকলন করুন।",
"steering_committee": "স্টিয়ারিং কমিটি",
"steering_committee_desc": "ক্রস-ফাংশনাল পর্যালোচনা নির্ধারণ করুন।",
"retention_watchlist": "ধারণ ওয়াচলিস্ট",
"retention_watchlist_desc": "Pennyzo এই পক্ষে নতুন নিয়োগের সাথে পরামর্শদাতাদের জোড়া দেওয়ার পরামর্শ দেয়। সাপ্তাহিক দু'বার বন্ধু চেক-ইন হলে সহায়তা দলগুলির জন্য ক্ষতির ঝুঁকি 12% কমে যায়।",
"pipeline_sentiment": "পাইপলাইন অনুভূতি",
"pipeline_sentiment_desc": "ক্লায়েন্ট কনসিয়ার্জ অনুভূতি নিরপেক্ষের নিচে নেমে যাওয়া 14টি চুক্তি চিহ্নিত করেছে। বেঙ্গালুরু এবং পুনে ক্লাস্টারগুলির জন্য হস্তক্ষেপ করতে সিনিয়র উপদেষ্টাদের অনুরোধ করুন।",
"swot_briefing": "SWOT ব্রিফিং",
"swot_briefing_desc": "নেতৃত্ব চালুর জন্য সারিবদ্ধ চারটি উদীয়মান বাজার রয়েছে। শুক্রবার স্টিয়ারিং কমিটির আগে সুযোগ মানচিত্রের সাথে পণ্য বিপণন বর্ণনা সারিবদ্ধ করুন।",
"swot_strengths": "এন্টারপ্রাইজ পে-রোল এবং সম্মতি অটোমেশনে ব্র্যান্ড রিকল।",
"swot_weaknesses": "টিয়ার-2 শহরে সীমিত উপস্থিতি এবং হাইব্রিড সহায়তা ঘন্টা।",
"swot_opportunities": "SEA জুড়ে ফিনটেক ইকোসিস্টেম থেকে অংশীদারিত্ব চাহিদা।",
"swot_threats": "ভারতে বহু-ভাষা CX দল বাড়ছে দুই প্রতিদ্বন্দ্বী।"
},
"documents": {
"title": "নথি",
"my_documents": "আমার নথি",
"recent": "সাম্প্রতিক",
"upload": "আপলোড",
"download": "ডাউনলোড",
"share": "শেয়ার",
"delete_document": "নথি মুছুন",
"file_name": "ফাইলের নাম",
"size": "আকার",
"modified": "সংশোধিত",
"uploaded_by": "আপলোড করেছেন",
"documents_vault": "নথি ভান্ডার",
"vault_description": "প্রতিটি স্বয়ংক্রিয়-প্রস্তুত প্যাকেট, স্বাক্ষরিত চুক্তি এবং আইনি নোট কেন্দ্রীভূত করুন। Pennyzo আপনার কাগজপত্র নিরাপদ এবং অডিট প্রস্তুত রাখে।",
"auto_prepped": "স্বয়ংক্রিয়-প্রস্তুত",
"contracts": "চুক্তি",
"legal": "আইনি",
"recent_activity": "সাম্প্রতিক কার্যকলাপ",
"activity_1": "Pennyzo নভেম্বর রানের জন্য 12টি পে-রোল চিঠি স্বয়ংক্রিয়-প্রস্তুত করেছে।",
"activity_2": "চূড়ান্ত স্বাক্ষরের জন্য বিক্রেতা চুক্তির খসড়া আইনে পাঠানো হয়েছে।",
"activity_3": "শুক্রবারের আগে বোর্ড পর্যালোচনার জন্য সম্মতি সারসংক্ষেপ চিহ্নিত করা হয়েছে।",
"activity_4": "সতর্কতা: বিক্রেতা NDA 3 দিনে মেয়াদ শেষ হবে। নবায়ন প্রস্তাবিত।",
"timestamp_1": "5 মিনিট আগে",
"timestamp_2": "28 মিনিট আগে",
"timestamp_3": "1 ঘন্টা আগে",
"timestamp_4": "2 ঘন্টা আগে",
"search_documents": "নথি অনুসন্ধান করুন",
"search_documents_desc": "চালান, নীতি এবং রেকর্ড করা মিটিং নোট তাত্ক্ষণিকভাবে সনাক্ত করুন।",
"bulk_upload": "বাল্ক আপলোড",
"bulk_upload_desc": "তাত্ক্ষণিক ট্যাগিংয়ের জন্য সম্মতি প্যাকেট বা অনবোর্ডিং ডক্স ড্রপ করুন।"
},
"profile": {
"title": "প্রোফাইল",
"my_profile": "আমার প্রোফাইল",
"edit_profile": "প্রোফাইল সম্পাদনা",
"personal_info": "ব্যক্তিগত তথ্য",
"full_name": "পূর্ণ নাম",
"email": "ইমেল",
"phone": "ফোন",
"department": "বিভাগ",
"position": "পদ",
"change_password": "পাসওয়ার্ড পরিবর্তন করুন",
"current_password": "বর্তমান পাসওয়ার্ড",
"new_password": "নতুন পাসওয়ার্ড",
"confirm_password": "পাসওয়ার্ড নিশ্চিত করুন",
"update_profile": "প্রোফাইল আপডেট করুন",
"premium_user": "প্রিমিয়াম ব্যবহারকারী",
"account_overview": "অ্যাকাউন্ট সংক্ষিপ্ত বিবরণ",
"account_overview_subtitle": "আপনার Pennyzo পরিচয় পালিশ করুন এবং ক্লায়েন্ট-প্রস্তুত হস্তান্তরের জন্য প্রস্তুত রাখুন",
"user_info": "ব্যবহারকারী তথ্য",
"user_info_desc": "ব্যক্তিগত এবং যোগাযোগের বিবরণ সম্পাদনা করুন",
"subscription": "সাবস্ক্রিপশন",
"subscription_desc": "বিলিং এবং ক্রেডিট প্যাক পরিচালনা করুন",
"integrations": "সংহতি",
"integrations_desc": "Slack, HubSpot এবং ERP সংযুক্ত করুন",
"settings": "সেটিংস",
"settings_desc": "কর্মস্থান পছন্দ এবং সতর্কতা",
"help_support": "সাহায্য ও সহায়তা",
"help_support_desc": "একটি টিকিট উত্থাপন করুন বা কনসিয়ার্জের সাথে চ্যাট করুন",
"logout": "লগআউট",
"logout_desc": "এই কর্মস্থান থেকে সাইন আউট করুন"
},
"settings": {
"title": "সেটিংস",
"general": "সাধারণ",
"notifications": "বিজ্ঞপ্তি",
"security": "নিরাপত্তা",
"preferences": "পছন্দ",
"language": "ভাষা",
"timezone": "সময় অঞ্চল",
"theme": "থিম",
"email_notifications": "ইমেল বিজ্ঞপ্তি",
"push_notifications": "পুশ বিজ্ঞপ্তি",
"two_factor": "দুই-ফ্যাক্টর প্রমাণীকরণ",
"privacy": "গোপনীয়তা",
"terms": "শর্তাবলী",
"workspace_settings": "কর্মস্থান সেটিংস",
"workspace_settings_desc": "Pennyzoকে আপনার নির্বাহী ছন্দের সাথে সংযুক্ত রাখতে গার্ডরেল, বিজ্ঞপ্তি এবং ডিফল্ট কনফিগার করুন। প্রতিটি টুইক তাত্ক্ষণিকভাবে কনসিয়ার্জ এজেন্ট, নথি এবং বিশ্লেষণ ড্যাশবোর্ড জুড়ে প্রযোজ্য।",
"security_posture": "নিরাপত্তা ভঙ্গি",
"security_posture_subtitle": "Pennyzo বুদ্ধিমত্তা অ্যাক্সেস করা সবার জন্য সেরা অনুশীলন প্রয়োগ করুন"
},
"auth": {
"login": "সাইন ইন",
"register": "সাইন আপ",
"logout": "সাইন আউট",
"forgot_password": "পাসওয়ার্ড ভুলে গেছেন?",
"reset_password": "পাসওয়ার্ড রিসেট করুন",
"email_address": "ইমেল ঠিকানা",
"password": "পাসওয়ার্ড",
"remember_me": "আমাকে মনে রাখুন",
"no_account": "অ্যাকাউন্ট নেই?",
"have_account": "ইতিমধ্যে একটি অ্যাকাউন্ট আছে?",
"enter_email": "আপনার ইমেল লিখুন",
"enter_password": "আপনার পাসওয়ার্ড লিখুন",
"create_account": "অ্যাকাউন্ট তৈরি করুন",
"welcome_back": "ফিরে স্বাগতম",
"get_started": "Pennyzo দিয়ে শুরু করুন",
"demo_login": "ডেমো লগইন",
"or_continue_with": "অথবা এটি দিয়ে চালিয়ে যান",
"google": "গুগল",
"microsoft": "মাইক্রোসফট",
"verify_email": "ইমেল যাচাই করুন",
"check_inbox": "আপনার ইনবক্স চেক করুন",
"reset_link_sent": "পাসওয়ার্ড রিসেট লিঙ্ক পাঠানো হয়েছে",
"password_updated": "পাসওয়ার্ড সফলভাবে আপডেট করা হয়েছে"
},
"agents_page": {
"active_agents": "সক্রিয় এজেন্ট",
"idle_agents": "নিষ্ক্রিয় এজেন্ট",
"busy_agents": "ব্যস্ত এজেন্ট",
"total_tasks": "মোট কাজ"
},
"errors": {
"general_error": "কিছু ভুল হয়েছে",
"network_error": "নেটওয়ার্ক ত্রুটি",
"not_found": "পাওয়া যায়নি",
"unauthorized": "অননুমোদিত",
"forbidden": "নিষিদ্ধ",
"server_error": "সার্ভার ত্রুটি"
}
}

361
src/i18n/locales/en.json Normal file
View File

@@ -0,0 +1,361 @@
{
"common": {
"select_language": "Select Language",
"navigation": "Navigation",
"hub": "Hub",
"send": "Send",
"chat_placeholder": "Type a message...",
"hello_message": "Hello! How can I assist you today?",
"agent_response": "Response from {{agentName}}: {{text}}",
"close": "Close",
"cancel": "Cancel",
"save": "Save",
"delete": "Delete",
"edit": "Edit",
"loading": "Loading...",
"error": "Error",
"success": "Success",
"welcome": "Welcome",
"hello": "Hello",
"back": "Back",
"next": "Next",
"submit": "Submit",
"confirm": "Confirm",
"search": "Search",
"filter": "Filter",
"sort": "Sort",
"view_all": "View All",
"no_data": "No data available",
"try_again": "Try again"
},
"topbar": {
"notifications": "Notifications",
"new": "New",
"no_new_notifications": "No new notifications",
"notify_when_arrives": "We'll notify you when something arrives.",
"view_all_notifications": "View all notifications",
"change_profile_picture": "Change profile picture",
"premium_user": "Premium User",
"my_profile": "My Profile",
"credits": "Credits",
"settings": "Settings",
"sign_out": "Sign Out",
"toggle_navigation": "Toggle navigation",
"profile_menu": "Profile menu",
"ask_ai_assistant": "Ask AI Assistant"
},
"nav": {
"home": "Home",
"agents": "Agents",
"hr": "HR",
"crm": "CRM",
"strategy": "Strategy",
"tasks": "Tasks",
"documents": "Documents",
"more": "More",
"profile": "Profile",
"credits": "Credits",
"support": "Support",
"settings": "Settings",
"sign_out": "Sign out"
},
"agents": {
"title": "AI Agents",
"command_centre": "Your AI command centre",
"command_centre_desc": "Monitor availability, deploy talent, and orchestrate every Pennyzo agent from one luxurious dashboard.",
"add_agent": "Add Agent",
"active": "Active",
"idle": "Idle",
"busy": "Busy",
"agent_roster": "Agent Roster",
"all_agents": "All Agents",
"researcher": "Research Agent",
"writer": "Content Writer",
"coder": "Code Assistant",
"designer": "Design Assistant",
"finance_ops": "Head of Finance Ops",
"talent_strategist": "Talent Strategist",
"compliance_analyst": "Compliance Analyst",
"business_intelligence": "Business Intelligence",
"customer_success": "Customer Success",
"operations_lead": "Operations Lead",
"hr_command": "HR Command",
"finance_sage": "Finance Sage",
"project_sensei": "Project Sensei",
"marketing_genius": "Marketing Genius",
"data_wizard": "Data Wizard",
"security_guard": "Security Guard",
"support_hero": "Support Hero",
"research_bot": "Research Bot"
},
"display_panel": {
"tab_instructions": "Instructions",
"tab_playground": "Playground",
"instructions_welcome": "Welcome. This panel guides you on how to drive agents and view results.",
"instructions_step1": "Pick an agent from the left panel that matches your task.",
"instructions_step2": "Use the chat dock to issue a request. Press Enter to send.",
"instructions_step3": "Watch this panel for summaries, charts, or generated assets.",
"instructions_step4": "Refine with follow-ups. Use concise prompts for best results.",
"instructions_tip_label": "Tip",
"instructions_tip_text": "Start prompts with a verb: \"Summarize…\", \"Compare…\", \"Draft…\".",
"instructions_format_label": "Format",
"instructions_format_text": "Ask for tables, bullet points, or JSON if you need structured output.",
"playground_intro": "This is your playground canvas. Render previews, charts, or content here.",
"playground_empty_label": "Empty Canvas",
"playground_empty_text": "Hook this area to your agent outputs to visualize results."
},
"credits": {
"title": "Credits & Usage History",
"buy_credits": "Buy Credits",
"current_balance": "Current Balance",
"available": "Available",
"monthly_usage": "Monthly Usage",
"spent": "Spent",
"monthly_purchases": "Monthly Purchases",
"bought": "Bought",
"transaction_history": "Transaction History",
"year": "Year",
"month": "Month",
"show": "Show",
"date": "Date",
"type": "Type",
"description": "Description",
"amount": "Amount",
"balance": "Balance",
"type_usage": "Usage",
"type_purchase": "Purchase",
"type_bonus": "Bonus",
"credit_vault": "Credit vault",
"vault_subtitle": "Fuel your concierge agents, high-touch workflows, and auto-prepped documents with Pennyzo credits. Monitor usage, automate top-ups, and stay production ready.",
"available_credits": "Available credits",
"usage_this_month": "Usage this month",
"auto_topup_threshold": "Auto top-up threshold",
"credit_marketplace": "Credit marketplace",
"marketplace_subtitle": "Volume discounts land automatically — all packs include concierge support",
"starter_pack": "Starter pack",
"starter_desc": "1,000 credits • Ideal for small bursts",
"starter_price": "₹1,999",
"growth_pack": "Growth pack",
"growth_desc": "5,000 credits • Includes concierge reviews",
"growth_price": "₹8,499",
"enterprise_pack": "Enterprise pack",
"enterprise_desc": "20,000 credits • Dedicated compute pool",
"enterprise_price": "₹28,999",
"purchase": "Purchase",
"custom_pack": "Custom pack",
"custom_desc": "Scale credits to match campaign bursts. Concierge tunes auto top-up rules for you.",
"credits_label": "credits",
"est_spend": "Est. spend",
"gst_note": "GST auto-calculated during checkout",
"buy_custom_pack": "Buy custom pack",
"schedule_auto_topups": "Schedule auto top-ups",
"schedule_desc": "Trigger purchases when balance dips below thresholds.",
"share_usage": "Share usage with finance",
"share_desc": "Export the monthly ledger as CSV or Google Sheet.",
"slack_alerts": "Slack balance alerts",
"slack_desc": "Notify #leadership whenever credits fall below 5K.",
"usage_timeline": "Usage timeline",
"timeline_subtitle": "Complete audit history of how credits move across your AI workspace",
"txn_strategy": "Strategy agent – pitch deck outline",
"txn_payroll": "Payroll automation run",
"txn_growth_purchase": "Growth pack purchase",
"txn_loyalty_bonus": "Concierge loyalty bonus"
},
"more": {
"title": "More",
"concierge_hub": "Concierge control hub",
"hub_subtitle": "Shortcut into the advanced Pennyzo modules powering premium operations",
"curate_cockpit": "Curate your leadership cockpit",
"cockpit_desc": "Tailor profile details, manage credits, trigger the generator for campaigns, or rewire workspace preferences. Everything mirrors the native Pennyzo concierge.",
"open_profile": "Open profile",
"purchase_credits": "Purchase credits",
"profile_menu": "Profile",
"profile_menu_desc": "Edit personal details, preferences, and concierge visibility",
"credits_menu": "Credits",
"credits_menu_desc": "Monitor balance, schedule top-ups, review ledger",
"generate_menu": "Generate",
"generate_menu_desc": "Launch campaign templates and seasonal content",
"leadership_settings": "Leadership settings",
"leadership_settings_desc": "Security, notifications, integrations",
"support_concierge": "Support concierge",
"support_desc": "Talk to Pennyzo specialists for white-glove workflows.",
"language_selector": "Language selector",
"language_desc": "Switch the entire workspace to vernacular within seconds.",
"invite_leadership": "Invite leadership",
"invite_desc": "Provision read-only access for board observers.",
"operational_playlists": "Operational playlists",
"playlists_subtitle": "Most used concierge paths from the mobile app now tuned for web",
"cxo_brief": "CXO daily brief",
"cxo_brief_desc": "Pipeline delta, credit health, and top agents in 90 seconds.",
"investor_dataroom": "Investor data room",
"investor_desc": "Compile documents, approvals, and commentary instantly.",
"brand_voice": "Brand voice tuning",
"brand_voice_desc": "Align AI tone across campaigns, proposals, and docs.",
"hiring_sprint": "Hiring sprint",
"hiring_desc": "Automate JD creation, screening summaries, and offer packs.",
"board_readiness": "Board readiness",
"board_desc": "Assemble compliance letters, minutes, and fiscal snapshots.",
"global_expansion": "Global expansion",
"expansion_desc": "Localise playbooks and sync translations with concierge.",
"open_flow": "Open flow"
},
"home": {
"title": "Home",
"good_morning": "Good morning",
"good_afternoon": "Good afternoon",
"good_evening": "Good evening",
"welcome_message": "Welcome back, {{name}}",
"highlights_message": "Your AI team prepared today's highlights. Here's what deserves your attention.",
"select_company": "Select Company",
"quick_stats": "Quick Stats",
"overview": "Overview",
"revenue": "Revenue",
"employees": "Employees",
"growth": "Growth",
"net_promoter": "Net Promoter Score",
"ai_insights": "AI Insights Summary",
"pending_approvals": "Pending Approvals",
"compliance_alerts": "Compliance Alerts",
"recent_hires": "Recent Hires",
"expiring_contracts": "Expiring Contracts",
"suggested_actions": "Suggested Actions",
"suggested_actions_subtitle": "Quick tasks that drive momentum for your business",
"review_approvals": "Review Approvals",
"review_approvals_desc": "5 items need your attention",
"update_payroll": "Update Payroll",
"update_payroll_desc": "Monthly processing due",
"onboard_employees": "Onboard Employees",
"onboard_employees_desc": "3 new hires pending",
"view_reports": "View Reports",
"view_reports_desc": "Analytics ready to review"
},
"tasks": {
"title": "Tasks",
"task_orchestration": "Task Orchestration",
"task_orchestration_subtitle": "Switch between HR, CRM, and Strategy tracks to monitor velocity, unlock outcomes, and guide teams in real-time",
"hr": "HR",
"crm": "CRM",
"strategy": "Strategy",
"summary": "Summary",
"headcount": "Headcount",
"present_today": "Present Today",
"on_leave": "On Leave",
"pipeline_value": "Pipeline Value",
"conversion_rate": "Conversion Rate",
"escalations": "Escalations",
"okrs_on_track": "OKRs On Track",
"initiatives": "Initiatives",
"markets_assessed": "Markets Assessed",
"leadership_approvals": "Leadership Approvals",
"product_onboarding": "Product Onboarding",
"operations_followups": "Operations Follow-ups",
"followups_today": "Follow-ups Today",
"contracts_in_review": "Contracts in Review",
"awaiting_responses": "Awaiting Responses",
"strengths_reviewed": "Strengths Reviewed",
"opportunities": "Opportunities",
"risks_tracked": "Risks Tracked",
"process_payroll": "Process Payroll",
"process_payroll_desc": "Run this month's payroll cycle",
"send_salary_slips": "Send Salary Slips",
"send_salary_slips_desc": "Distribute via employee portal",
"generate_reports": "Generate Reports",
"generate_reports_desc": "Monthly analytics snapshot",
"client_concierge": "Client Concierge",
"client_concierge_desc": "Auto-follow 8 warm leads",
"launch_campaign": "Launch Campaign",
"launch_campaign_desc": "Q1 product awareness blitz",
"executive_summary": "Executive Summary",
"executive_summary_desc": "Board-ready slides",
"steering_committee": "Steering Committee",
"steering_committee_desc": "Sync leadership on roadmap",
"retention_watchlist": "Retention Watchlist",
"retention_watchlist_desc": "Sentiment dips flagged for 12 employees in high-impact roles. HR Command recommends immediate skip-level check-ins.",
"pipeline_sentiment": "Pipeline Sentiment",
"pipeline_sentiment_desc": "Client Concierge sentiment dipping below neutral identified 14 contracts. Escalate charm offensive to retain MRR.",
"swot_briefing": "SWOT Briefing",
"swot_briefing_desc": "Real-time strategic snapshot updated hourly. Click any quadrant for drill-down context.",
"swot_strengths": "Brand recall in enterprise pay-roll and compliance automation",
"swot_weaknesses": "Thin integration layer for legacy ERP stacks",
"swot_opportunities": "Expand to APAC, white-label for consultancies",
"swot_threats": "Competitors launching AI-driven modules in Q2"
},
"documents": {
"title": "Documents",
"documents_vault": "Documents Vault",
"vault_description": "Your AI-organized repository. Auto-tagged, version-controlled, always ready.",
"recent_activity": "Recent Activity",
"auto_prepped": "Auto-prepped Letters",
"contracts": "Contracts & Agreements",
"legal": "Legal & Compliance",
"activity_1": "Contract Renewal - Acme Corp finalized",
"timestamp_1": "2 hours ago",
"activity_2": "Compliance Audit Report uploaded",
"timestamp_2": "5 hours ago",
"activity_3": "Employment Agreement - Sarah Chen signed",
"timestamp_3": "1 day ago",
"activity_4": "Q4 Financial Summary generated",
"timestamp_4": "2 days ago",
"search_documents": "Search Documents",
"search_documents_desc": "AI-powered semantic search",
"bulk_upload": "Bulk Upload",
"bulk_upload_desc": "Drag & drop multiple files"
},
"profile": {
"title": "Profile",
"my_profile": "My Profile",
"edit_profile": "Edit Profile",
"personal_info": "Personal Information",
"full_name": "Full Name",
"email": "Email",
"phone": "Phone",
"department": "Department",
"position": "Position",
"change_password": "Change Password",
"current_password": "Current Password",
"new_password": "New Password",
"confirm_password": "Confirm Password",
"update_profile": "Update Profile",
"premium_user": "Premium User"
},
"settings": {
"title": "Settings",
"general": "General",
"notifications": "Notifications",
"security": "Security",
"preferences": "Preferences",
"language": "Language",
"timezone": "Timezone",
"theme": "Theme",
"email_notifications": "Email Notifications",
"push_notifications": "Push Notifications",
"two_factor": "Two-Factor Authentication",
"privacy": "Privacy",
"terms": "Terms & Conditions"
},
"auth": {
"login": "Sign In",
"register": "Sign Up",
"logout": "Sign Out",
"forgot_password": "Forgot Password?",
"reset_password": "Reset Password",
"email_address": "Email Address",
"password": "Password",
"remember_me": "Remember me",
"no_account": "Don't have an account?",
"have_account": "Already have an account?",
"enter_email": "Enter your email",
"enter_password": "Enter your password",
"create_account": "Create Account",
"welcome_back": "Welcome back",
"get_started": "Get started with Pennyzo",
"demo_login": "Demo Login",
"or_continue_with": "Or continue with",
"google": "Google",
"microsoft": "Microsoft",
"verify_email": "Verify Email",
"check_inbox": "Check your inbox",
"reset_link_sent": "Password reset link sent",
"password_updated": "Password updated successfully"
}
}

358
src/i18n/locales/hi.json Normal file
View File

@@ -0,0 +1,358 @@
{
"common": {
"select_language": "भाषा चुनें",
"navigation": "नेविगेशन",
"hub": "हब",
"send": "भेजें",
"chat_placeholder": "संदेश लिखें...",
"hello_message": "नमस्ते! मैं आज आपकी कैसे सहायता कर सकता हूँ?",
"agent_response": "{{agentName}} से उत्तर: {{text}}",
"close": "बंद करें",
"cancel": "रद्द करें",
"save": "सहेजें",
"delete": "हटाएं",
"edit": "संपादित करें",
"loading": "लोड हो रहा है...",
"error": "त्रुटि",
"success": "सफलता",
"welcome": "स्वागत है",
"hello": "नमस्ते",
"back": "वापस",
"next": "अगला",
"submit": "जमा करें",
"confirm": "पुष्टि करें",
"search": "खोजें",
"filter": "फ़िल्टर",
"sort": "क्रमबद्ध करें",
"view_all": "सभी देखें",
"no_data": "कोई डेटा उपलब्ध नहीं",
"try_again": "पुन: प्रयास करें"
},
"topbar": {
"notifications": "सूचनाएं",
"new": "नई",
"no_new_notifications": "कोई नई सूचनाएं नहीं",
"notify_when_arrives": "जब कुछ आएगा तो हम आपको बताएंगे।",
"view_all_notifications": "सभी सूचनाएं देखें",
"change_profile_picture": "प्रोफ़ाइल तस्वीर बदलें",
"premium_user": "प्रीमियम उपयोगकर्ता",
"my_profile": "मेरी प्रोफ़ाइल",
"credits": "क्रेडिट्स",
"settings": "सेटिंग्स",
"sign_out": "साइन आउट",
"toggle_navigation": "नेविगेशन बदलें",
"profile_menu": "प्रोफ़ाइल मेनू",
"ask_ai_assistant": "एआई सहायक से पूछें"
},
"nav": {
"home": "होम",
"agents": "एजेंट्स",
"tasks": "कार्य",
"documents": "दस्तावेज़",
"more": "अधिक",
"profile": "प्रोफ़ाइल",
"credits": "क्रेडिट्स",
"support": "सहायता",
"settings": "सेटिंग्स",
"sign_out": "साइन आउट"
},
"agents": {
"title": "एआई एजेंट्स",
"command_centre": "आपका एआई कमांड सेंटर",
"command_centre_desc": "एक शानदार डैशबोर्ड से उपलब्धता की निगरानी करें, प्रतिभा तैनात करें और हर पेनीज़ो एजेंट को व्यवस्थित करें।",
"add_agent": "एजेंट जोड़ें",
"active": "सक्रिय",
"idle": "निष्क्रिय",
"busy": "व्यस्त",
"agent_roster": "एजेंट रोस्टर",
"all_agents": "सभी एजेंट",
"researcher": "अनुसंधान एजेंट",
"writer": "कंटेंट लेखक",
"coder": "कोड सहायक",
"designer": "डिज़ाइन सहायक",
"finance_ops": "वित्त संचालन प्रमुख",
"talent_strategist": "प्रतिभा रणनीतिकार",
"compliance_analyst": "अनुपालन विश्लेषक",
"business_intelligence": "व्यावसायिक बुद्धिमत्ता",
"customer_success": "ग्राहक सफलता",
"operations_lead": "संचालन प्रमुख",
"hr_command": "HR कमांड",
"finance_sage": "फाइनेंस सेज",
"project_sensei": "प्रोजेक्ट सेंसेई",
"marketing_genius": "मार्केटिंग जीनियस",
"data_wizard": "डेटा विज़ार्ड",
"security_guard": "सिक्योरिटी गार्ड",
"support_hero": "सपोर्ट हीरो",
"research_bot": "रिसर्च बॉट"
},
"display_panel": {
"tab_instructions": "निर्देश",
"tab_playground": "प्लेग्राउंड",
"instructions_welcome": "स्वागत है। यह पैनल आपको एजेंट का उपयोग करने और परिणाम देखने में मार्गदर्शन करता है।",
"instructions_step1": "बाएँ पैनल से अपने कार्य से मेल खाने वाला एजेंट चुनें।",
"instructions_step2": "अनुरोध भेजने के लिए चैट डॉक का उपयोग करें। भेजने के लिए Enter दबाएँ।",
"instructions_step3": "सारांश, चार्ट या जनरेटेड सामग्री के लिए इस पैनल को देखें।",
"instructions_step4": "फ़ॉलो-अप से परिष्कृत करें। सर्वोत्तम परिणामों के लिए संक्षिप्त प्रोम्प्ट का उपयोग करें।",
"instructions_tip_label": "संकेत",
"instructions_tip_text": "प्रॉम्प्ट को क्रिया से शुरू करें: \"सारांश बनाएं…\", \"तुलना करें…\", \"ड्राफ्ट करें…\"।",
"instructions_format_label": "प्रारूप",
"instructions_format_text": "यदि आपको संरचित आउटपुट चाहिए तो टेबल, बुलेट पॉइंट या JSON का अनुरोध करें।",
"playground_intro": "यह आपका प्लेग्राउंड कैनवास है। यहाँ पूर्वावलोकन, चार्ट या सामग्री रेंडर करें।",
"playground_empty_label": "रिक्त कैनवास",
"playground_empty_text": "परिणाम देखने के लिए इस क्षेत्र को अपने एजेंट आउटपुट से जोड़ें।"
},
"credits": {
"title": "क्रेडिट्स और उपयोग इतिहास",
"buy_credits": "क्रेडिट्स खरीदें",
"current_balance": "वर्तमान बैलेंस",
"available": "उपलब्ध",
"monthly_usage": "मासिक उपयोग",
"spent": "खर्च",
"monthly_purchases": "मासिक खरीद",
"bought": "खरीदा",
"transaction_history": "लेनदेन इतिहास",
"year": "वर्ष",
"month": "महीना",
"show": "दिखाएं",
"date": "तारीख",
"type": "प्रकार",
"description": "विवरण",
"amount": "राशि",
"balance": "बैलेंस",
"type_usage": "उपयोग",
"type_purchase": "खरीद",
"type_bonus": "बोनस",
"credit_vault": "क्रेडिट वॉल्ट",
"vault_subtitle": "अपने कन्सियर्ज एजेंट्स, हाई-टच वर्कफ्लो और ऑटो-तैयार दस्तावेजों को पेनीज़ो क्रेडिट से ईंधन दें। उपयोग की निगरानी करें, ऑटो टॉप-अप करें और प्रोडक्शन के लिए तैयार रहें।",
"available_credits": "उपलब्ध क्रेडिट",
"usage_this_month": "इस महीने का उपयोग",
"auto_topup_threshold": "ऑटो टॉप-अप सीमा",
"credit_marketplace": "क्रेडिट मार्केटप्लेस",
"marketplace_subtitle": "वॉल्यूम डिस्काउंट स्वतः मिलते हैं — सभी पैक में कन्सियर्ज सपोर्ट शामिल है",
"starter_pack": "स्टार्टर पैक",
"starter_desc": "1,000 क्रेडिट • छोटे बर्स्ट के लिए आदर्श",
"starter_price": "₹1,999",
"growth_pack": "ग्रोथ पैक",
"growth_desc": "5,000 क्रेडिट • कन्सियर्ज रिव्यू शामिल",
"growth_price": "₹8,499",
"enterprise_pack": "एंटरप्राइज पैक",
"enterprise_desc": "20,000 क्रेडिट • समर्पित कंप्यूट पूल",
"enterprise_price": "₹28,999",
"purchase": "खरीदें",
"custom_pack": "कस्टम पैक",
"custom_desc": "अभियान बर्स्ट से मेल खाने के लिए क्रेडिट स्केल करें। कन्सियर्ज आपके लिए ऑटो टॉप-अप नियम ट्यून करता है।",
"credits_label": "क्रेडिट",
"est_spend": "अनुमानित खर्च",
"gst_note": "चेकआउट के दौरान जीएसटी स्वतः गणना",
"buy_custom_pack": "कस्टम पैक खरीदें",
"schedule_auto_topups": "ऑटो टॉप-अप शेड्यूल करें",
"schedule_desc": "जब बैलेंस सीमा से नीचे जाए तो खरीद ट्रिगर करें।",
"share_usage": "फाइनेंस के साथ उपयोग साझा करें",
"share_desc": "मासिक लेज़र को CSV या Google शीट के रूप में निर्यात करें।",
"slack_alerts": "स्लैक बैलेंस अलर्ट",
"slack_desc": "#leadership को सूचित करें जब भी क्रेडिट 5K से नीचे जाएं।",
"usage_timeline": "उपयोग टाइमलाइन",
"timeline_subtitle": "आपके AI वर्कस्पेस में क्रेडिट कैसे चलते हैं इसका पूर्ण ऑडिट इतिहास",
"txn_strategy": "स्ट्रैटेजी एजेंट – पिच डेक आउटलाइन",
"txn_payroll": "पेरोल ऑटोमेशन रन",
"txn_growth_purchase": "ग्रोथ पैक खरीद",
"txn_loyalty_bonus": "कन्सियर्ज लॉयल्टी बोनस"
},
"more": {
"title": "अधिक",
"concierge_hub": "कन्सियर्ज कंट्रोल हब",
"hub_subtitle": "प्रीमियम ऑपरेशंस को पावर करने वाले उन्नत पेनीज़ो मॉड्यूल में शॉर्टकट",
"curate_cockpit": "अपना लीडरशिप कॉकपिट क्यूरेट करें",
"cockpit_desc": "प्रोफ़ाइल विवरण तैयार करें, क्रेडिट प्रबंधित करें, अभियानों के लिए जेनरेटर ट्रिगर करें, या वर्कस्पेस प्राथमिकताओं को फिर से वायर करें। सब कुछ नेटिव पेनीज़ो कन्सियर्ज को दर्शाता है।",
"open_profile": "प्रोफ़ाइल खोलें",
"purchase_credits": "क्रेडिट खरीदें",
"profile_menu": "प्रोफ़ाइल",
"profile_menu_desc": "व्यक्तिगत विवरण, प्राथमिकताएं और कन्सियर्ज दृश्यता संपादित करें",
"credits_menu": "क्रेडिट्स",
"credits_menu_desc": "बैलेंस मॉनिटर करें, टॉप-अप शेड्यूल करें, लेज़र रिव्यू करें",
"generate_menu": "जेनरेट करें",
"generate_menu_desc": "अभियान टेम्प्लेट और मौसमी सामग्री लॉन्च करें",
"leadership_settings": "लीडरशिप सेटिंग्स",
"leadership_settings_desc": "सुरक्षा, सूचनाएं, इंटीग्रेशन",
"support_concierge": "सपोर्ट कन्सियर्ज",
"support_desc": "व्हाइट-ग्लव वर्कफ्लो के लिए पेनीज़ो विशेषज्ञों से बात करें।",
"language_selector": "भाषा चयनकर्ता",
"language_desc": "पूरे वर्कस्पेस को सेकंड में वर्नाक्युलर में स्विच करें।",
"invite_leadership": "लीडरशिप आमंत्रित करें",
"invite_desc": "बोर्ड ऑब्जर्वर के लिए रीड-ओनली एक्सेस प्रावधान करें।",
"operational_playlists": "ऑपरेशनल प्लेलिस्ट",
"playlists_subtitle": "मोबाइल ऐप से सबसे अधिक उपयोग किए गए कन्सियर्ज पथ अब वेब के लिए ट्यून किए गए",
"cxo_brief": "CXO दैनिक संक्षिप्त",
"cxo_brief_desc": "90 सेकंड में पाइपलाइन डेल्टा, क्रेडिट स्वास्थ्य और शीर्ष एजेंट।",
"investor_dataroom": "निवेशक डेटा रूम",
"investor_desc": "तुरंत दस्तावेज़, अनुमोदन और कमेंट्री संकलित करें।",
"brand_voice": "ब्रांड वॉयस ट्यूनिंग",
"brand_voice_desc": "अभियान, प्रस्ताव और दस्तावेजों में AI टोन संरेखित करें।",
"hiring_sprint": "हायरिंग स्प्रिंट",
"hiring_desc": "JD निर्माण, स्क्रीनिंग सारांश और ऑफर पैक स्वचालित करें।",
"board_readiness": "बोर्ड तैयारी",
"board_desc": "अनुपालन पत्र, कार्यवृत्त और वित्तीय स्नैपशॉट असेंबल करें।",
"global_expansion": "वैश्विक विस्तार",
"expansion_desc": "प्लेबुक को स्थानीयकृत करें और कन्सियर्ज के साथ अनुवाद सिंक करें।",
"open_flow": "फ्लो खोलें"
},
"home": {
"title": "होम",
"good_morning": "सुप्रभात",
"good_afternoon": "शुभ दोपहर",
"good_evening": "शुभ संध्या",
"welcome_message": "वापसी पर स्वागत है, {{name}}",
"highlights_message": "आपकी एआई टीम ने आज की मुख्य बातें तैयार की हैं। यहाँ वह है जो आपके ध्यान देने योग्य है।",
"select_company": "कंपनी चुनें",
"quick_stats": "त्वरित आंकड़े",
"overview": "अवलोकन",
"revenue": "राजस्व",
"employees": "कर्मचारी",
"growth": "वृद्धि",
"net_promoter": "नेट प्रमोटर स्कोर",
"ai_insights": "एआई अंतर्दृष्टि सारांश",
"pending_approvals": "लंबित अनुमोदन",
"compliance_alerts": "अनुपालन चेतावनी",
"recent_hires": "हाल की भर्तियां",
"expiring_contracts": "समाप्त होने वाले अनुबंध",
"suggested_actions": "सुझाए गए कार्य",
"suggested_actions_subtitle": "त्वरित कार्य जो आपके व्यवसाय को गति देते हैं",
"review_approvals": "अनुमोदन समीक्षा करें",
"review_approvals_desc": "5 आइटम आपके ध्यान की आवश्यकता है",
"update_payroll": "पेरोल अपडेट करें",
"update_payroll_desc": "मासिक प्रसंस्करण देय",
"onboard_employees": "कर्मचारियों को शामिल करें",
"onboard_employees_desc": "3 नई भर्तियां लंबित",
"view_reports": "रिपोर्ट देखें",
"view_reports_desc": "विश्लेषण समीक्षा के लिए तैयार"
},
"tasks": {
"title": "कार्य",
"task_orchestration": "कार्य संगठन",
"task_orchestration_subtitle": "वेग की निगरानी के लिए, परिणामों को अनलॉक करने और वास्तविक समय में टीमों का मार्गदर्शन करने के लिए HR, CRM और रणनीति ट्रैक के बीच स्विच करें",
"hr": "एचआर",
"crm": "सीआरएम",
"strategy": "रणनीति",
"summary": "सारांश",
"headcount": "कर्मचारी संख्या",
"present_today": "आज उपस्थित",
"on_leave": "छुट्टी पर",
"pipeline_value": "पाइपलाइन मूल्य",
"conversion_rate": "रूपांतरण दर",
"escalations": "वृद्धि",
"okrs_on_track": "OKR ट्रैक पर",
"initiatives": "पहल",
"markets_assessed": "बाजारों का आकलन",
"leadership_approvals": "नेतृत्व अनुमोदन",
"product_onboarding": "उत्पाद ऑनबोर्डिंग",
"operations_followups": "संचालन फॉलो-अप",
"followups_today": "आज फॉलो-अप",
"contracts_in_review": "समीक्षाधीन अनुबंध",
"awaiting_responses": "प्रतिक्रियाओं की प्रतीक्षा में",
"strengths_reviewed": "समीक्षा की गई ताकत",
"opportunities": "अवसर",
"risks_tracked": "जोखिम ट्रैक किए गए",
"process_payroll": "पेरोल प्रोसेस करें",
"process_payroll_desc": "इस महीने का पेरोल चक्र चलाएं",
"send_salary_slips": "वेतन पर्ची भेजें",
"send_salary_slips_desc": "कर्मचारी पोर्टल के माध्यम से वितरित करें",
"generate_reports": "रिपोर्ट जेनरेट करें",
"generate_reports_desc": "मासिक विश्लेषण स्नैपशॉट",
"client_concierge": "क्लाइंट कंसीयज",
"client_concierge_desc": "8 गर्म लीड को ऑटो-फॉलो करें",
"launch_campaign": "अभियान लॉन्च करें",
"launch_campaign_desc": "Q1 उत्पाद जागरूकता ब्लिट्ज",
"executive_summary": "कार्यकारी सारांश",
"executive_summary_desc": "बोर्ड-तैयार स्लाइड्स",
"steering_committee": "संचालन समिति",
"steering_committee_desc": "रोडमैप पर नेतृत्व सिंक करें",
"retention_watchlist": "प्रतिधारण वॉचलिस्ट",
"retention_watchlist_desc": "उच्च-प्रभाव वाली भूमिकाओं में 12 कर्मचारियों के लिए भावना में गिरावट को चिह्नित किया गया। HR कमांड तत्काल स्किप-लेवल चेक-इन की सिफारिश करता है।",
"pipeline_sentiment": "पाइपलाइन भावना",
"pipeline_sentiment_desc": "क्लाइंट कंसीयज भावना तटस्थ से नीचे गिरने से 14 अनुबंधों की पहचान हुई। MRR बनाए रखने के लिए आकर्षण आक्रामकता को बढ़ाएं।",
"swot_briefing": "SWOT ब्रीफिंग",
"swot_briefing_desc": "वास्तविक समय रणनीतिक स्नैपशॉट प्रति घंटा अपडेट किया जाता है। ड्रिल-डाउन संदर्भ के लिए किसी भी चतुर्थांश पर क्लिक करें।",
"swot_strengths": "एंटरप्राइज़ पे-रोल और अनुपालन स्वचालन में ब्रांड रीकॉल",
"swot_weaknesses": "लिगेसी ERP स्टैक के लिए पतली एकीकरण परत",
"swot_opportunities": "APAC में विस्तार करें, कंसल्टेंसी के लिए व्हाइट-लेबल",
"swot_threats": "प्रतियोगी Q2 में AI-संचालित मॉड्यूल लॉन्च कर रहे हैं"
},
"documents": {
"title": "दस्तावेज़",
"documents_vault": "दस्तावेज़ वॉल्ट",
"vault_description": "आपका AI-संगठित रिपॉजिटरी। ऑटो-टैग किया गया, संस्करण-नियंत्रित, हमेशा तैयार।",
"recent_activity": "हाल की गतिविधि",
"auto_prepped": "ऑटो-तैयार पत्र",
"contracts": "अनुबंध और समझौते",
"legal": "कानूनी और अनुपालन",
"activity_1": "अनुबंध नवीनीकरण - Acme Corp अंतिम रूप दिया गया",
"timestamp_1": "2 घंटे पहले",
"activity_2": "अनुपालन ऑडिट रिपोर्ट अपलोड की गई",
"timestamp_2": "5 घंटे पहले",
"activity_3": "रोजगार समझौता - Sarah Chen हस्ताक्षरित",
"timestamp_3": "1 दिन पहले",
"activity_4": "Q4 वित्तीय सारांश उत्पन्न",
"timestamp_4": "2 दिन पहले",
"search_documents": "दस्तावेज़ खोजें",
"search_documents_desc": "AI-संचालित सिमेंटिक खोज",
"bulk_upload": "बल्क अपलोड",
"bulk_upload_desc": "कई फ़ाइलें ड्रैग और ड्रॉप करें"
},
"profile": {
"title": "प्रोफ़ाइल",
"my_profile": "मेरी प्रोफ़ाइल",
"edit_profile": "प्रोफ़ाइल संपादित करें",
"personal_info": "व्यक्तिगत जानकारी",
"full_name": "पूरा नाम",
"email": "ईमेल",
"phone": "फ़ोन",
"department": "विभाग",
"position": "पद",
"change_password": "पासवर्ड बदलें",
"current_password": "वर्तमान पासवर्ड",
"new_password": "नया पासवर्ड",
"confirm_password": "पासवर्ड की पुष्टि करें",
"update_profile": "प्रोफ़ाइल अपडेट करें",
"premium_user": "प्रीमियम उपयोगकर्ता"
},
"settings": {
"title": "सेटिंग्स",
"general": "सामान्य",
"notifications": "सूचनाएं",
"security": "सुरक्षा",
"preferences": "प्राथमिकताएं",
"language": "भाषा",
"timezone": "समय क्षेत्र",
"theme": "थीम",
"email_notifications": "ईमेल सूचनाएं",
"push_notifications": "पुश सूचनाएं",
"two_factor": "दो-कारक प्रमाणीकरण",
"privacy": "गोपनीयता",
"terms": "नियम और शर्तें"
},
"auth": {
"login": "साइन इन करें",
"register": "साइन अप करें",
"logout": "साइन आउट करें",
"forgot_password": "पासवर्ड भूल गए?",
"reset_password": "पासवर्ड रीसेट करें",
"email_address": "ईमेल पता",
"password": "पासवर्ड",
"remember_me": "मुझे याद रखें",
"no_account": "खाता नहीं है?",
"have_account": "पहले से खाता है?",
"enter_email": "अपना ईमेल दर्ज करें",
"enter_password": "अपना पासवर्ड दर्ज करें",
"create_account": "खाता बनाएं",
"welcome_back": "वापसी पर स्वागत है",
"get_started": "Pennyzo के साथ शुरुआत करें",
"demo_login": "डेमो लॉगिन",
"or_continue_with": "या इसके साथ जारी रखें",
"google": "गूगल",
"microsoft": "माइक्रोसॉफ्ट",
"verify_email": "ईमेल सत्यापित करें",
"check_inbox": "अपना इनबॉक्स जांचें",
"reset_link_sent": "पासवर्ड रीसेट लिंक भेजा गया",
"password_updated": "पासवर्ड सफलतापूर्वक अपडेट किया गया"
}
}

409
src/i18n/locales/kn.json Normal file
View File

@@ -0,0 +1,409 @@
{
"common": {
"select_language": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"navigation": "ನ್ಯಾವಿಗೇಷನ್",
"hub": "ಹಬ್",
"send": "ಕಳುಹಿಸಿ",
"chat_placeholder": "ಸಂದೇಶವನ್ನು ಟೈಪ್ ಮಾಡಿ...",
"hello_message": "ನಮಸ್ಕಾರ! ಇಂದು ನಾನು ನಿಮಗೆ ಹೇಗೆ ಸಹಾಯ ಮಾಡಬಹುದು?",
"agent_response": "{{agentName}} ನಿಂದ ಪ್ರತಿಕ್ರಿಯೆ: {{text}}",
"close": "ಮುಚ್ಚು",
"cancel": "ರದ್ದುಮಾಡಿ",
"save": "ಉಳಿಸಿ",
"delete": "ಅಳಿಸಿ",
"edit": "ಸಂಪಾದಿಸು",
"loading": "ಲೋಡ್ ಆಗುತ್ತಿದೆ...",
"error": "ದೋಷ",
"success": "ಯಶಸ್ವಿ",
"welcome": "ಸ್ವಾಗತ",
"hello": "ನಮಸ್ಕಾರ",
"back": "ಹಿಂದೆ",
"next": "ಮುಂದೆ",
"submit": "ಸಲ್ಲಿಸು",
"confirm": "ದೃಢೀಕರಿಸು",
"search": "ಹುಡುಕಿ",
"filter": "ಫಿಲ್ಟರ್",
"sort": "ವಿಂಗಡಿಸು",
"view_all": "ಎಲ್ಲವನ್ನೂ ನೋಡಿ",
"no_data": "ಡೇಟಾ ಲಭ್ಯವಿಲ್ಲ",
"try_again": "ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ",
"summary": "ಸಾರಾಂಶ"
},
"topbar": {
"notifications": "ಅಧಿಸೂಚನೆಗಳು",
"new": "ಹೊಸ",
"no_new_notifications": "ಯಾವುದೇ ಹೊಸ ಅಧಿಸೂಚನೆಗಳಿಲ್ಲ",
"notify_when_arrives": "ಏನಾದರೂ ಬಂದರೆ ನಾವು ನಿಮಗೆ ತಿಳಿಸುತ್ತೇವೆ.",
"view_all_notifications": "ಎಲ್ಲಾ ಅಧಿಸೂಚನೆಗಳನ್ನು ನೋಡಿ",
"change_profile_picture": "ಪ್ರೊಫೈಲ್ ಚಿತ್ರವನ್ನು ಬದಲಿಸಿ",
"premium_user": "ಪ್ರೀಮಿಯಂ ಬಳಕೆದಾರ",
"my_profile": "ನನ್ನ ಪ್ರೊಫೈಲ್",
"credits": "ಕ್ರೆಡಿಟ್‌ಗಳು",
"settings": "ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"sign_out": "ಸೈನ್ ಔಟ್",
"toggle_navigation": "ನ್ಯಾವಿಗೇಷನ್ ಟೋಗಲ್",
"profile_menu": "ಪ್ರೊಫೈಲ್ ಮೆನು",
"ask_ai_assistant": "AI ಸಹಾಯಕನನ್ನು ಕೇಳಿ"
},
"nav": {
"home": "ಮುಖಪೃಷ್ಠ",
"agents": "ಏಜೆಂಟ್‌ಗಳು",
"tasks": "ಕಾರ್ಯಗಳು",
"documents": "ದಾಖಲೆಗಳು",
"more": "ಹೆಚ್ಚು",
"profile": "ಪ್ರೊಫೈಲ್",
"credits": "ಕ್ರೆಡಿಟ್‌ಗಳು",
"support": "ಬೆಂಬಲ",
"settings": "ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"sign_out": "ಸೈನ್ ಔಟ್"
},
"agents": {
"title": "AI ಏಜೆಂಟ್‌ಗಳು",
"command_centre": "ನಿಮ್ಮ AI ಕಮಾಂಡ್ ಸೆಂಟರ್",
"command_centre_desc": "ಐಷಾರಾಮಿ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಿಂದ ಲಭ್ಯತೆಯನ್ನು ಮೇಲ್ವಿಚಾರಣೆ ಮಾಡಿ, ಪ್ರತಿಭೆಯನ್ನು ವಿಸ್ತರಿಸಿ ಮತ್ತು ಪ್ರತಿ Pennyzo ಏಜೆಂಟ್ ಅನ್ನು ನಿರ್ವಹಿಸಿ.",
"add_agent": "ಏಜೆಂಟ್ ಸೇರಿಸಿ",
"active": "ಸಕ್ರಿಯ",
"idle": "ನಿಷ್ಕ್ರಿಯ",
"busy": "ಬ್ಯುಸಿ",
"agent_roster": "ಏಜೆಂಟ್ ಪಟ್ಟಿ",
"all_agents": "ಎಲ್ಲಾ ಏಜೆಂಟ್‌ಗಳು",
"researcher": "ಸಂಶೋಧನಾ ಏಜೆಂಟ್",
"writer": "ವಿಷಯ ಬರಹಗಾರ",
"coder": "ಕೋಡ್ ಸಹಾಯಕ",
"designer": "ವಿನ್ಯಾಸ ಸಹಾಯಕ",
"finance_ops": "ಹಣಕಾಸು ಕಾರ್ಯಾಚರಣೆಗಳ ಮುಖ್ಯಸ್ಥ",
"talent_strategist": "ಪ್ರತಿಭೆ ತಂತ್ರಗಾರ",
"compliance_analyst": "ಅನುಸರಣೆ ವಿಶ್ಲೇಷಕ",
"business_intelligence": "ವ್ಯಾಪಾರ ಬುದ್ಧಿವಂತಿಕೆ",
"customer_success": "ಗ್ರಾಹಕ ಯಶಸ್ಸು",
"operations_lead": "ಕಾರ್ಯಾಚರಣೆಗಳ ಮುಖ್ಯಸ್ಥ"
},
"display_panel": {
"tab_instructions": "ಸೂಚನೆಗಳು",
"tab_playground": "ಆಟದ ಮೈದಾನ",
"instructions_welcome": "ಸ್ವಾಗತ. ಈ ಫಲಕವು ಏಜೆಂಟ್‌ಗಳನ್ನು ಹೇಗೆ ಚಲಾಯಿಸಬೇಕು ಮತ್ತು ಫಲಿತಾಂಶಗಳನ್ನು ಹೇಗೆ ವೀಕ್ಷಿಸಬೇಕು ಎಂಬುದನ್ನು ಮಾರ್ಗದರ್ಶನ ನೀಡುತ್ತದೆ.",
"instructions_step1": "ನಿಮ್ಮ ಕಾರ್ಯಕ್ಕೆ ಸರಿಹೊಂದುವ ಏಜೆಂಟ್ ಅನ್ನು ಎಡ ಫಲಕದಿಂದ ಆಯ್ಕೆಮಾಡಿ.",
"instructions_step2": "ವಿನಂತಿಯನ್ನು ಕಳುಹಿಸಲು ಚಾಟ್ ಡಾಕ್ ಅನ್ನು ಬಳಸಿ. ಕಳುಹಿಸಲು Enter ಒತ್ತಿರಿ.",
"instructions_step3": "ಸಾರಾಂಶಗಳು, ಚಾರ್ಟ್‌ಗಳು ಅಥವಾ ರಚಿಸಿದ ಆಸ್ತಿಗಳಿಗಾಗಿ ಈ ಫಲಕವನ್ನು ವೀಕ್ಷಿಸಿ.",
"instructions_step4": "ಅನುಸರಣೆಗಳೊಂದಿಗೆ ಪರಿಷ್ಕರಿಸಿ. ಉತ್ತಮ ಫಲಿತಾಂಶಗಳಿಗಾಗಿ ಸಂಕ್ಷಿಪ್ತ ಪ್ರಾಂಪ್ಟ್‌ಗಳನ್ನು ಬಳಸಿ.",
"instructions_tip_label": "ಸಲಹೆ",
"instructions_tip_text": "ಕ್ರಿಯೆಯೊಂದಿಗೆ ಪ್ರಾಂಪ್ಟ್‌ಗಳನ್ನು ಪ್ರಾರಂಭಿಸಿ: \"ಸಾರಾಂಶಗೊಳಿಸಿ...\", \"ಹೋಲಿಕೆ...\", \"ಕರಡು...\".",
"instructions_format_label": "ಸ್ವರೂಪ",
"instructions_format_text": "ನಿಮಗೆ ಸಂರಚಿತ ಔಟ್‌ಪುಟ್ ಅಗತ್ಯವಿದ್ದರೆ ಕೋಷ್ಟಕಗಳು, ಬುಲೆಟ್ ಪಾಯಿಂಟ್‌ಗಳು ಅಥವಾ JSON ಕೇಳಿ.",
"playground_intro": "ಇದು ನಿಮ್ಮ ಆಟದ ಮೈದಾನ ಕ್ಯಾನ್ವಾಸ್. ಇಲ್ಲಿ ಮುನ್ನೋಟಗಳು, ಚಾರ್ಟ್‌ಗಳು ಅಥವಾ ವಿಷಯವನ್ನು ರೆಂಡರ್ ಮಾಡಿ.",
"playground_empty_label": "ಖಾಲಿ ಕ್ಯಾನ್ವಾಸ್",
"playground_empty_text": "ಫಲಿತಾಂಶಗಳನ್ನು ದೃಶ್ಯೀಕರಿಸಲು ಈ ಪ್ರದೇಶವನ್ನು ನಿಮ್ಮ ಏಜೆಂಟ್ ಔಟ್‌ಪುಟ್‌ಗಳಿಗೆ ಸಂಪರ್ಕಿಸಿ."
},
"credits": {
"title": "ಕ್ರೆಡಿಟ್‌ಗಳು & ಬಳಕೆ ಇತಿಹಾಸ",
"buy_credits": "ಕ್ರೆಡಿಟ್‌ಗಳನ್ನು ಖರೀದಿಸಿ",
"current_balance": "ಪ್ರಸ್ತುತ ಬ್ಯಾಲೆನ್ಸ್",
"available": "ಲಭ್ಯವಿದೆ",
"monthly_usage": "ಮಾಸಿಕ ಬಳಕೆ",
"spent": "ಖರ್ಚು ಮಾಡಲಾಗಿದೆ",
"monthly_purchases": "ಮಾಸಿಕ ಖರೀದಿಗಳು",
"bought": "ಖರೀದಿಸಲಾಗಿದೆ",
"transaction_history": "ವಹಿವಾಟು ಇತಿಹಾಸ",
"year": "ವರ್ಷ",
"month": "ತಿಂಗಳು",
"show": "ತೋರಿಸು",
"date": "ದಿನಾಂಕ",
"type": "ಪ್ರಕಾರ",
"description": "ವಿವರಣೆ",
"amount": "ಮೊತ್ತ",
"balance": "ಬ್ಯಾಲೆನ್ಸ್",
"type_usage": "ಬಳಕೆ",
"type_purchase": "ಖರೀದಿ",
"type_bonus": "ಬೋನಸ್",
"credit_vault": "ಕ್ರೆಡಿಟ್ ವಾಲ್ಟ್",
"vault_subtitle": "ನಿಮ್ಮ ಕನ್ಸಿಯರ್ಜ್ ಏಜೆಂಟ್‌ಗಳು, ಹೈ-ಟಚ್ ವರ್ಕ್‌ಫ್ಲೋ ಮತ್ತು ಆಟೋ-ತಯಾರಿಸಿದ ಡಾಕ್ಯುಮೆಂಟ್‌ಗಳಿಗೆ ಪೆನ್ನಿಜೋ ಕ್ರೆಡಿಟ್‌ಗಳಿಂದ ಇಂಧನ ನೀಡಿ. ಬಳಕೆಯನ್ನು ಮಾನಿಟರ್ ಮಾಡಿ, ಆಟೋ ಟಾಪ್-ಅಪ್ ಮಾಡಿ ಮತ್ತು ಉತ್ಪಾದನೆ ಸಿದ್ಧವಾಗಿರಿ.",
"available_credits": "ಲಭ್ಯವಿರುವ ಕ್ರೆಡಿಟ್‌ಗಳು",
"usage_this_month": "ಈ ತಿಂಗಳ ಬಳಕೆ",
"auto_topup_threshold": "ಆಟೋ ಟಾಪ್-ಅಪ್ ಥ್ರೆಶೋಲ್ಡ್",
"credit_marketplace": "ಕ್ರೆಡಿಟ್ ಮಾರ್ಕೆಟ್‌ಪ್ಲೇಸ್",
"marketplace_subtitle": "ವಾಲ್ಯೂಮ್ ರಿಯಾಯಿತಿಗಳು ಸ್ವಯಂಚಾಲಿತವಾಗಿ ಸಿಗುತ್ತವೆ — ಎಲ್ಲಾ ಪ್ಯಾಕ್‌ಗಳಲ್ಲಿ ಕನ್ಸಿಯರ್ಜ್ ಬೆಂಬಲ ಸೇರಿದೆ",
"starter_pack": "ಸ್ಟಾರ್ಟರ್ ಪ್ಯಾಕ್",
"starter_desc": "1,000 ಕ್ರೆಡಿಟ್‌ಗಳು • ಸಣ್ಣ ಬರ್ಸ್ಟ್‌ಗಳಿಗೆ ಸೂಕ್ತ",
"starter_price": "₹1,999",
"growth_pack": "ಗ್ರೋತ್ ಪ್ಯಾಕ್",
"growth_desc": "5,000 ಕ್ರೆಡಿಟ್‌ಗಳು • ಕನ್ಸಿಯರ್ಜ್ ವಿಮರ್ಶೆಗಳು ಸೇರಿದೆ",
"growth_price": "₹8,499",
"enterprise_pack": "ಎಂಟರ್‌ಪ್ರೈಸ್ ಪ್ಯಾಕ್",
"enterprise_desc": "20,000 ಕ್ರೆಡಿಟ್‌ಗಳು • ಮೀಸಲಾದ ಕಂಪ್ಯೂಟ್ ಪೂಲ್",
"enterprise_price": "₹28,999",
"purchase": "ಖರೀದಿಸಿ",
"custom_pack": "ಕಸ್ಟಮ್ ಪ್ಯಾಕ್",
"custom_desc": "ಪ್ರಚಾರ ಬರ್ಸ್ಟ್‌ಗಳಿಗೆ ಹೊಂದಿಸಲು ಕ್ರೆಡಿಟ್‌ಗಳನ್ನು ಸ್ಕೇಲ್ ಮಾಡಿ. ಕನ್ಸಿಯರ್ಜ್ ನಿಮಗಾಗಿ ಆಟೋ ಟಾಪ್-ಅಪ್ ನಿಯಮಗಳನ್ನು ಟ್ಯೂನ್ ಮಾಡುತ್ತದೆ.",
"credits_label": "ಕ್ರೆಡಿಟ್‌ಗಳು",
"est_spend": "ಅಂದಾಜು ಖರ್ಚು",
"gst_note": "ಚೆಕ್‌ಔಟ್ ಸಮಯದಲ್ಲಿ GST ಸ್ವಯಂ-ಲೆಕ್ಕಾಚಾರ",
"buy_custom_pack": "ಕಸ್ಟಮ್ ಪ್ಯಾಕ್ ಖರೀದಿಸಿ",
"schedule_auto_topups": "ಆಟೋ ಟಾಪ್-ಅಪ್‌ಗಳನ್ನು ನಿಗದಿ ಮಾಡಿ",
"schedule_desc": "ಬ್ಯಾಲೆನ್ಸ್ ಥ್ರೆಶೋಲ್ಡ್‌ಗಳಿಗಿಂತ ಕಡಿಮೆಯಾದಾಗ ಖರೀದಿಗಳನ್ನು ಪ್ರಚೋದಿಸಿ.",
"share_usage": "ಹಣಕಾಸಿನೊಂದಿಗೆ ಬಳಕೆಯನ್ನು ಹಂಚಿಕೊಳ್ಳಿ",
"share_desc": "ಮಾಸಿಕ ಲೆಡ್ಜರ್ ಅನ್ನು CSV ಅಥವಾ Google ಶೀಟ್ ಆಗಿ ರಫ್ತು ಮಾಡಿ.",
"slack_alerts": "ಸ್ಲಾಕ್ ಬ್ಯಾಲೆನ್ಸ್ ಎಚ್ಚರಿಕೆಗಳು",
"slack_desc": "ಕ್ರೆಡಿಟ್‌ಗಳು 5K ಕ್ಕಿಂತ ಕಡಿಮೆಯಾದಾಗಲೆಲ್ಲಾ #leadership ಗೆ ತಿಳಿಸಿ.",
"usage_timeline": "ಬಳಕೆ ಟೈಮ್‌ಲೈನ್",
"timeline_subtitle": "ನಿಮ್ಮ AI ವರ್ಕ್‌ಸ್ಪೇಸ್‌ನಲ್ಲಿ ಕ್ರೆಡಿಟ್‌ಗಳು ಹೇಗೆ ಚಲಿಸುತ್ತವೆ ಎಂಬುದರ ಸಂಪೂರ್ಣ ಆಡಿಟ್ ಇತಿಹಾಸ",
"txn_strategy": "ಸ್ಟ್ರಾಟಜಿ ಏಜೆಂಟ್ – ಪಿಚ್ ಡೆಕ್ ಔಟ್‌ಲೈನ್",
"txn_payroll": "ಪೇರೋಲ್ ಆಟೋಮೇಷನ್ ರನ್",
"txn_growth_purchase": "ಗ್ರೋತ್ ಪ್ಯಾಕ್ ಖರೀದಿ",
"txn_loyalty_bonus": "ಕನ್ಸಿಯರ್ಜ್ ಲಾಯಲ್ಟಿ ಬೋನಸ್"
},
"more": {
"title": "ಹೆಚ್ಚು",
"concierge_hub": "ಕನ್ಸಿಯರ್ಜ್ ಕಂಟ್ರೋಲ್ ಹಬ್",
"hub_subtitle": "ಪ್ರೀಮಿಯಂ ಕಾರ್ಯಾಚರಣೆಗಳಿಗೆ ಶಕ್ತಿ ನೀಡುವ ಸುಧಾರಿತ ಪೆನ್ನಿಜೋ ಮಾಡ್ಯೂಲ್‌ಗಳಿಗೆ ಶಾರ್ಟ್‌ಕಟ್",
"curate_cockpit": "ನಿಮ್ಮ ಲೀಡರ್‌ಶಿಪ್ ಕಾಕ್‌ಪಿಟ್ ಅನ್ನು ಕ್ಯೂರೇಟ್ ಮಾಡಿ",
"cockpit_desc": "ಪ್ರೊಫೈಲ್ ವಿವರಗಳನ್ನು ಟೈಲರ್ ಮಾಡಿ, ಕ್ರೆಡಿಟ್‌ಗಳನ್ನು ನಿರ್ವಹಿಸಿ, ಪ್ರಚಾರಗಳಿಗಾಗಿ ಜನರೇಟರ್ ಅನ್ನು ಪ್ರಚೋದಿಸಿ ಅಥವಾ ವರ್ಕ್‌ಸ್ಪೇಸ್ ಆದ್ಯತೆಗಳನ್ನು ಮರು ವೈರ್ ಮಾಡಿ. ಎಲ್ಲವೂ ಸ್ಥಳೀಯ ಪೆನ್ನಿಜೋ ಕನ್ಸಿಯರ್ಜ್ ಅನ್ನು ಪ್ರತಿಬಿಂಬಿಸುತ್ತದೆ.",
"open_profile": "ಪ್ರೊಫೈಲ್ ತೆರೆಯಿರಿ",
"purchase_credits": "ಕ್ರೆಡಿಟ್‌ಗಳನ್ನು ಖರೀದಿಸಿ",
"profile_menu": "ಪ್ರೊಫೈಲ್",
"profile_menu_desc": "ವೈಯಕ್ತಿಕ ವಿವರಗಳು, ಆದ್ಯತೆಗಳು ಮತ್ತು ಕನ್ಸಿಯರ್ಜ್ ಗೋಚರತೆಯನ್ನು ಸಂಪಾದಿಸಿ",
"credits_menu": "ಕ್ರೆಡಿಟ್‌ಗಳು",
"credits_menu_desc": "ಬ್ಯಾಲೆನ್ಸ್ ಮಾನಿಟರ್ ಮಾಡಿ, ಟಾಪ್-ಅಪ್‌ಗಳನ್ನು ನಿಗದಿ ಮಾಡಿ, ಲೆಡ್ಜರ್ ಪರಿಶೀಲಿಸಿ",
"generate_menu": "ಜನರೇಟ್ ಮಾಡಿ",
"generate_menu_desc": "ಪ್ರಚಾರ ಟೆಂಪ್ಲೇಟ್‌ಗಳು ಮತ್ತು ಕಾಲೋಚಿತ ವಿಷಯವನ್ನು ಪ್ರಾರಂಭಿಸಿ",
"leadership_settings": "ಲೀಡರ್‌ಶಿಪ್ ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"leadership_settings_desc": "ಭದ್ರತೆ, ಅಧಿಸೂಚನೆಗಳು, ಸಂಯೋಜನೆಗಳು",
"support_concierge": "ಸಪೋರ್ಟ್ ಕನ್ಸಿಯರ್ಜ್",
"support_desc": "ವೈಟ್-ಗ್ಲೋವ್ ವರ್ಕ್‌ಫ್ಲೋಗಾಗಿ ಪೆನ್ನಿಜೋ ತಜ್ಞರೊಂದಿಗೆ ಮಾತನಾಡಿ.",
"language_selector": "ಭಾಷೆ ಆಯ್ಕೆಕಾರ",
"language_desc": "ಸಂಪೂರ್ಣ ವರ್ಕ್‌ಸ್ಪೇಸ್ ಅನ್ನು ಸೆಕೆಂಡುಗಳಲ್ಲಿ ದೇಶೀಯ ಭಾಷೆಗೆ ಬದಲಿಸಿ.",
"invite_leadership": "ಲೀಡರ್‌ಶಿಪ್ ಅನ್ನು ಆಹ್ವಾನಿಸಿ",
"invite_desc": "ಬೋರ್ಡ್ ವೀಕ್ಷಕರಿಗಾಗಿ ರೀಡ್-ಓನ್ಲಿ ಪ್ರವೇಶವನ್ನು ಒದಗಿಸಿ.",
"operational_playlists": "ಕಾರ್ಯಾಚರಣಾ ಪ್ಲೇಲಿಸ್ಟ್‌ಗಳು",
"playlists_subtitle": "ಮೊಬೈಲ್ ಅಪ್ಲಿಕೇಶನ್‌ನಿಂದ ಹೆಚ್ಚು ಬಳಸಿದ ಕನ್ಸಿಯರ್ಜ್ ಮಾರ್ಗಗಳು ಈಗ ವೆಬ್‌ಗಾಗಿ ಟ್ಯೂನ್ ಮಾಡಲಾಗಿದೆ",
"cxo_brief": "CXO ದೈನಂದಿನ ಸಂಕ್ಷಿಪ್ತ",
"cxo_brief_desc": "90 ಸೆಕೆಂಡುಗಳಲ್ಲಿ ಪೈಪ್‌ಲೈನ್ ಡೆಲ್ಟಾ, ಕ್ರೆಡಿಟ್ ಆರೋಗ್ಯ ಮತ್ತು ಉನ್ನತ ಏಜೆಂಟ್‌ಗಳು.",
"investor_dataroom": "ಹೂಡಿಕೆದಾರರ ಡೇಟಾ ರೂಮ್",
"investor_desc": "ಡಾಕ್ಯುಮೆಂಟ್‌ಗಳು, ಅನುಮೋದನೆಗಳು ಮತ್ತು ವ್ಯಾಖ್ಯಾನವನ್ನು ತಕ್ಷಣ ಸಂಕಲಿಸಿ.",
"brand_voice": "ಬ್ರಾಂಡ್ ವಾಯ್ಸ್ ಟ್ಯೂನಿಂಗ್",
"brand_voice_desc": "ಪ್ರಚಾರಗಳು, ಪ್ರಸ್ತಾಪಗಳು ಮತ್ತು ಡಾಕ್ಸ್‌ನಾದ್ಯಂತ AI ಟೋನ್ ಅನ್ನು ಜೋಡಿಸಿ.",
"hiring_sprint": "ಹೈರಿಂಗ್ ಸ್ಪ್ರಿಂಟ್",
"hiring_desc": "JD ರಚನೆ, ಸ್ಕ್ರೀನಿಂಗ್ ಸಾರಾಂಶಗಳು ಮತ್ತು ಆಫರ್ ಪ್ಯಾಕ್‌ಗಳನ್ನು ಸ್ವಯಂಚಾಲಿತಗೊಳಿಸಿ.",
"board_readiness": "ಬೋರ್ಡ್ ಸನ್ನದ್ಧತೆ",
"board_desc": "ಅನುಸರಣೆ ಪತ್ರಗಳು, ನಿಮಿಷಗಳು ಮತ್ತು ಹಣಕಾಸು ಸ್ನ್ಯಾಪ್‌ಶಾಟ್‌ಗಳನ್ನು ಜೋಡಿಸಿ.",
"global_expansion": "ಜಾಗತಿಕ ವಿಸ್ತರಣೆ",
"expansion_desc": "ಪ್ಲೇಬುಕ್‌ಗಳನ್ನು ಸ್ಥಳೀಕರಿಸಿ ಮತ್ತು ಕನ್ಸಿಯರ್ಜ್‌ನೊಂದಿಗೆ ಅನುವಾದಗಳನ್ನು ಸಿಂಕ್ ಮಾಡಿ.",
"open_flow": "ಫ್ಲೋ ತೆರೆಯಿರಿ"
},
"home": {
"title": "ಮುಖಪೃಷ್ಠ",
"good_morning": "ಶುಭೋದಯ",
"good_afternoon": "ಶುಭ ಮಧ್ಯಾಹ್ನ",
"good_evening": "ಶುಭ ಸಂಜೆ",
"welcome_message": "ಮತ್ತೆ ಸ್ವಾಗತ, {{name}}",
"select_company": "ಕಂಪನಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ",
"quick_stats": "ತ್ವರಿತ ಅಂಕಿಅಂಶಗಳು",
"revenue": "ಆದಾಯ",
"employees": "ನೌಕರರು",
"growth": "ಬೆಳವಣಿಗೆ",
"net_promoter": "ನೆಟ್ ಪ್ರೋಮೋಟರ್ ಸ್ಕೋರ್",
"ai_insights": "AI ಒಳನೋಟಗಳು",
"ai_insights_title": "Pennyzo ನಿಂದ ಶಿಫಾರಸು",
"ai_insights_content": "ನಿಮ್ಮ Q1 ಪೈಪ್‌ಲೈನ್ 18% ಹೆಚ್ಚಾಗಿದೆ. ಇದನ್ನು ಮುಂದುವರಿಸಲು, CRM ಅನುಸರಣೆಗಳನ್ನು ಸ್ವಯಂಚಾಲಿತಗೊಳಿಸಿ ಮತ್ತು ಲೀಡ್‌ಗಳಿಗೆ ಸ್ವತಂತ್ರ ಗುಣಮಟ್ಟ ಸ್ಕೋರ್‌ಗಳನ್ನು ಅನುಷ್ಠಾನಗೊಳಿಸಿ.",
"pending_approvals": "ಬಾಕಿ ಇರುವ ಅನುಮೋದನೆಗಳು",
"compliance_alerts": "ಅನುಸರಣೆ ಎಚ್ಚರಿಕೆಗಳು",
"recent_hires": "ಇತ್ತೀಚಿನ ನೇಮಕಾತಿಗಳು",
"expiring_contracts": "ಅವಧಿ ಮುಗಿಯುವ ಒಪ್ಪಂದಗಳು",
"suggested_actions": "ಸೂಚಿಸಲಾದ ಕ್ರಮಗಳು",
"review_approvals": "ಅನುಮೋದನೆಗಳನ್ನು ಪರಿಶೀಲಿಸಿ",
"review_approvals_desc": "3 ಬಾಕಿ ಇರುವ ನಿರ್ಧಾರಗಳಿಗೆ ಗಮನ ಅಗತ್ಯವಿದೆ",
"update_payroll": "ವೇತನ ಪಟ್ಟಿಯನ್ನು ನವೀಕರಿಸಿ",
"update_payroll_desc": "ಫೆಬ್ರವರಿ ವೇತನ ಪಟ್ಟಿ ಪರಿಶೀಲನೆಗೆ ಸಿದ್ಧವಾಗಿದೆ",
"onboard_employees": "ನೌಕರರನ್ನು ಸೇರಿಸಿ",
"onboard_employees_desc": "2 ಹೊಸ ನೇಮಕಾತಿಗಳು ಸೋಮವಾರ ಪ್ರಾರಂಭವಾಗುತ್ತಿವೆ",
"view_reports": "ವರದಿಗಳನ್ನು ವೀಕ್ಷಿಸಿ",
"view_reports_desc": "Q1 ವಿಶ್ಲೇಷಣೆಗಳು ಲಭ್ಯವಿವೆ",
"draft_contract": "ಒಪ್ಪಂದ ಕರಡು",
"draft_contract_desc": "ಹೊಸ ಮಾರಾಟಗಾರ ಒಪ್ಪಂದಕ್ಕಾಗಿ AI-ಸಹಾಯದ ಕರಡು"
},
"tasks": {
"title": "ಕಾರ್ಯಗಳು",
"my_tasks": "ನನ್ನ ಕಾರ್ಯಗಳು",
"all_tasks": "ಎಲ್ಲಾ ಕಾರ್ಯಗಳು",
"create_task": "ಕಾರ್ಯವನ್ನು ರಚಿಸಿ",
"task_details": "ಕಾರ್ಯ ವಿವರಗಳು",
"status": "ಸ್ಥಿತಿ",
"priority": "ಆದ್ಯತೆ",
"due_date": "ಕೊನೆಯ ದಿನಾಂಕ",
"assigned_to": "ನಿಯೋಜಿಸಲಾಗಿದೆ",
"high": "ಉಚ್ಚ",
"medium": "ಮಧ್ಯಮ",
"low": "ಕಡಿಮೆ",
"pending": "ಬಾಕಿ ಉಳಿದಿದೆ",
"in_progress": "ಪ್ರಗತಿಯಲ್ಲಿದೆ",
"completed": "ಪೂರ್ಣಗೊಂಡಿದೆ",
"overdue": "ತಡವಾಗಿದೆ",
"hr": "HR",
"crm": "CRM",
"strategy": "ತಂತ್ರ",
"task_orchestration": "ಕಾರ್ಯ ಸಂಘಟನೆ",
"task_orchestration_subtitle": "ಆವೇಗವನ್ನು ಟ್ರ್ಯಾಕ್ ಮಾಡಲು, ನಿರ್ಧಾರಗಳನ್ನು ಅನ್‌ಬ್ಲಾಕ್ ಮಾಡಲು ಮತ್ತು ನೈಜ ಸಮಯದಲ್ಲಿ ತಂಡಗಳಿಗೆ ಮಾರ್ಗದರ್ಶನ ನೀಡಲು HR, CRM ಮತ್ತು ತಂತ್ರ ಲೇನ್‌ಗಳ ನಡುವೆ ಬದಲಿಸಿ.",
"headcount": "ನೌಕರರ ಸಂಖ್ಯೆ",
"present_today": "ಇಂದು ಹಾಜರಿದ್ದಾರೆ",
"on_leave": "ರಜೆಯಲ್ಲಿ",
"pipeline_value": "ಪೈಪ್‌ಲೈನ್ ಮೌಲ್ಯ",
"conversion_rate": "ಪರಿವರ್ತನೆ ದರ",
"escalations": "ಹೆಚ್ಚಳಗಳು",
"okrs_on_track": "ಟ್ರ್ಯಾಕ್‌ನಲ್ಲಿರುವ OKR ಗಳು",
"initiatives": "ಉಪಕ್ರಮಗಳು",
"markets_assessed": "ಮೌಲ್ಯಮಾಪನ ಮಾಡಿದ ಮಾರುಕಟ್ಟೆಗಳು",
"summary": "ಸಾರಾಂಶ",
"leadership_approvals": "ನಾಯಕತ್ವ ಅನುಮೋದನೆಗಳು",
"product_onboarding": "ಉತ್ಪನ್ನ ಆನ್‌ಬೋರ್ಡಿಂಗ್",
"operations_followups": "ಕಾರ್ಯಾಚರಣೆಗಳ ಅನುಸರಣೆಗಳು",
"followups_today": "ಇಂದು ಅನುಸರಣೆಗಳು",
"contracts_in_review": "ಪರಿಶೀಲನೆಯಲ್ಲಿರುವ ಒಪ್ಪಂದಗಳು",
"awaiting_responses": "ಪ್ರತಿಕ್ರಿಯೆಗಳಿಗಾಗಿ ಕಾಯುತ್ತಿದೆ",
"strengths_reviewed": "ಶಕ್ತಿಗಳನ್ನು ಪರಿಶೀಲಿಸಲಾಗಿದೆ",
"opportunities": "ಅವಕಾಶಗಳು",
"risks_tracked": "ಟ್ರ್ಯಾಕ್ ಮಾಡಿದ ಅಪಾಯಗಳು",
"process_payroll": "ವೇತನ ಪಟ್ಟಿಯನ್ನು ಪ್ರಕ್ರಿಯೆಗೊಳಿಸಿ",
"process_payroll_desc": "ವೇತನ ಪಟ್ಟಿ ಚೆಕ್‌ಗಳು ಮತ್ತು ಸಂಬಳ ವಿತರಣೆಗಳನ್ನು ಪರಿಶೀಲಿಸಿ.",
"send_salary_slips": "ಸಂಬಳ ಸ್ಲಿಪ್‌ಗಳನ್ನು ಕಳುಹಿಸಿ",
"send_salary_slips_desc": "ತಯಾರಾದ ಸ್ಲಿಪ್‌ಗಳನ್ನು ನೌಕರರಿಗೆ ರವಾನಿಸಿ.",
"generate_reports": "ವರದಿಗಳನ್ನು ರಚಿಸಿ",
"generate_reports_desc": "ಮಾಸಿಕ ಹಾಜರಾತಿ ಮತ್ತು ರಜೆ ವರದಿಗಳನ್ನು ರಚಿಸಿ.",
"client_concierge": "ಗ್ರಾಹಕ ಸೇವೆ",
"client_concierge_desc": "ಮೀಸಲಾದ ಸೇವಕರಿಗೆ ಅನುಸರಣೆಗಳನ್ನು ನಿಯೋಜಿಸಿ.",
"launch_campaign": "ಪ್ರಚಾರವನ್ನು ಪ್ರಾರಂಭಿಸಿ",
"launch_campaign_desc": "Q4 ಗಾಗಿ ಮುಂದಿನ ಪೋಷಣೆ ಪ್ರಯಾಣವನ್ನು ಪ್ರಚೋದಿಸಿ.",
"executive_summary": "ಕಾರ್ಯನಿರ್ವಾಹಕ ಸಾರಾಂಶ",
"executive_summary_desc": "ಈ ವಾರದ ಕಾರ್ಯನಿರ್ವಾಹಕ ಬ್ರೀಫಿಂಗ್ ಅನ್ನು ಸಂಕಲಿಸಿ.",
"steering_committee": "ಸ್ಟೀರಿಂಗ್ ಸಮಿತಿ",
"steering_committee_desc": "ಕ್ರಾಸ್-ಫಂಕ್ಷನಲ್ ಪರಿಶೀಲನೆಯನ್ನು ನಿಗದಿಪಡಿಸಿ.",
"retention_watchlist": "ಧಾರಣ ವಾಚ್‌ಲಿಸ್ಟ್",
"retention_watchlist_desc": "Pennyzo ಈ ಪಕ್ಷದಲ್ಲಿ ಹೊಸ ನೇಮಕಾತಿಗಳೊಂದಿಗೆ ಮಾರ್ಗದರ್ಶಕರನ್ನು ಜೋಡಿಸಲು ಸೂಚಿಸುತ್ತದೆ. ವಾರಕ್ಕೆ ಎರಡು ಬಾರಿ ಸ್ನೇಹಿತ ಪರಿಶೀಲನೆಗಳು ನಡೆದಾಗ ಬೆಂಬಲ ತಂಡಗಳಿಗೆ ಅಳಿವಿನ ಅಪಾಯ 12% ಇಳಿಯುತ್ತದೆ.",
"pipeline_sentiment": "ಪೈಪ್‌ಲೈನ್ ಭಾವನೆ",
"pipeline_sentiment_desc": "ಗ್ರಾಹಕ ಸೇವೆ ಭಾವನೆ ತಟಸ್ಥಕ್ಕಿಂತ ಕೆಳಗೆ ಇಳಿದ 14 ಒಪ್ಪಂದಗಳನ್ನು ಗುರುತಿಸಿದೆ. ಬೆಂಗಳೂರು ಮತ್ತು ಪುಣೆ ಕ್ಲಸ್ಟರ್‌ಗಳಿಗೆ ಮಧ್ಯಸ್ಥಿಕೆ ವಹಿಸಲು ಹಿರಿಯ ಸಲಹೆಗಾರರನ್ನು ಉತ್ತೇಜಿಸಿ.",
"swot_briefing": "SWOT ಬ್ರೀಫಿಂಗ್",
"swot_briefing_desc": "ನಾಯಕತ್ವವು ಪ್ರಾರಂಭಕ್ಕಾಗಿ ಸಾಲಿನಲ್ಲಿ ನಾಲ್ಕು ಉದಯೋನ್ಮುಖ ಮಾರುಕಟ್ಟೆಗಳನ್ನು ಹೊಂದಿದೆ. ಶುಕ್ರವಾರದ ಸ್ಟೀರಿಂಗ್ ಸಮಿತಿಗೆ ಮುಂಚೆ ಅವಕಾಶ ನಕ್ಷೆಯೊಂದಿಗೆ ಉತ್ಪನ್ನ ಮಾರುಕಟ್ಟೆ ನಿರೂಪಣೆಗಳನ್ನು ಸಂಯೋಜಿಸಿ.",
"swot_strengths": "ಎಂಟರ್‌ಪ್ರೈಸ್ ವೇತನ ಪಟ್ಟಿ ಮತ್ತು ಅನುಸರಣೆ ಸ್ವಯಂಚಾಲಿತೀಕರಣದಲ್ಲಿ ಬ್ರಾಂಡ್ ನೆನಪು.",
"swot_weaknesses": "ಟಯರ್-2 ನಗರಗಳಲ್ಲಿ ಸೀಮಿತ ಉಪಸ್ಥಿತಿ ಮತ್ತು ಹೈಬ್ರಿಡ್ ಬೆಂಬಲ ಗಂಟೆಗಳು.",
"swot_opportunities": "SEA ನಾದ್ಯಂತ ಫಿನ್‌ಟೆಕ್ ಪರಿಸರ ವ್ಯವಸ್ಥೆಗಳಿಂದ ಪಾಲುದಾರಿಕೆ ಬೇಡಿಕೆ.",
"swot_threats": "ಭಾರತದಲ್ಲಿ ಬಹು-ಭಾಷಾ CX ತಂಡಗಳನ್ನು ಹೆಚ್ಚಿಸುತ್ತಿರುವ ಇಬ್ಬರು ಸ್ಪರ್ಧಿಗಳು."
},
"documents": {
"title": "ದಾಖಲೆಗಳು",
"my_documents": "ನನ್ನ ದಾಖಲೆಗಳು",
"recent": "ಇತ್ತೀಚಿನ",
"upload": "ಅಪ್‌ಲೋಡ್",
"download": "ಡೌನ್‌ಲೋಡ್",
"share": "ಹಂಚಿಕೊಳ್ಳಿ",
"delete_document": "ದಾಖಲೆಯನ್ನು ಅಳಿಸಿ",
"file_name": "ಫೈಲ್ ಹೆಸರು",
"size": "ಗಾತ್ರ",
"modified": "ಮಾರ್ಪಡಿಸಲಾಗಿದೆ",
"uploaded_by": "ಅಪ್‌ಲೋಡ್ ಮಾಡಿದವರು",
"documents_vault": "ದಾಖಲೆಗಳ ಭಂಡಾರ",
"vault_description": "ಪ್ರತಿ ಸ್ವಯಂ-ತಯಾರಾದ ಪ್ಯಾಕೆಟ್, ಸಹಿ ಮಾಡಿದ ಒಪ್ಪಂದ ಮತ್ತು ಕಾನೂನು ಟಿಪ್ಪಣಿಯನ್ನು ಕೇಂದ್ರೀಕರಿಸಿ. Pennyzo ನಿಮ್ಮ ದಾಖಲೆಗಳನ್ನು ಸುರಕ್ಷಿತವಾಗಿ ಮತ್ತು ಲೆಕ್ಕಪರಿಶೋಧನೆ ಸಿದ್ಧವಾಗಿಟ್ಟುಕೊಳ್ಳುತ್ತದೆ.",
"auto_prepped": "ಸ್ವಯಂ-ತಯಾರಾದ",
"contracts": "ಒಪ್ಪಂದಗಳು",
"legal": "ಕಾನೂನು",
"recent_activity": "ಇತ್ತೀಚಿನ ಚಟುವಟಿಕೆ",
"activity_1": "Pennyzo ನವೆಂಬರ್ ರನ್‌ಗಾಗಿ 12 ವೇತನ ಪಟ್ಟಿ ಪತ್ರಗಳನ್ನು ಸ್ವಯಂ-ತಯಾರಿಸಿದೆ.",
"activity_2": "ಅಂತಿಮ ಸಹಿಗಳಿಗಾಗಿ ಮಾರಾಟಗಾರ ಒಪ್ಪಂದ ಕರಡು ಕಾನೂನಿಗೆ ಕಳುಹಿಸಲಾಗಿದೆ.",
"activity_3": "ಶುಕ್ರವಾರದ ಮೊದಲು ಮಂಡಳಿ ಪರಿಶೀಲನೆಗಾಗಿ ಅನುಸರಣೆ ಸಾರಾಂಶವನ್ನು ಗುರುತಿಸಲಾಗಿದೆ.",
"activity_4": "ಎಚ್ಚರಿಕೆ: ಮಾರಾಟಗಾರ NDA 3 ದಿನಗಳಲ್ಲಿ ಅವಧಿ ಮುಗಿಯುತ್ತದೆ. ನವೀಕರಣವನ್ನು ಸೂಚಿಸಲಾಗಿದೆ.",
"timestamp_1": "5 ನಿಮಿಷಗಳ ಹಿಂದೆ",
"timestamp_2": "28 ನಿಮಿಷಗಳ ಹಿಂದೆ",
"timestamp_3": "1 ಗಂಟೆ ಹಿಂದೆ",
"timestamp_4": "2 ಗಂಟೆಗಳ ಹಿಂದೆ",
"search_documents": "ದಾಖಲೆಗಳನ್ನು ಹುಡುಕಿ",
"search_documents_desc": "ಚಲಾವಣೆಗಳು, ನೀತಿಗಳು ಮತ್ತು ಟೇಪ್ ಮಾಡಿದ ಸಭೆ ಟಿಪ್ಪಣಿಗಳನ್ನು ತಕ್ಷಣ ಪತ್ತೆಹಚ್ಚಿ.",
"bulk_upload": "ಬಲ್ಕ್ ಅಪ್‌ಲೋಡ್",
"bulk_upload_desc": "ತಕ್ಷಣ ಟ್ಯಾಗಿಂಗ್‌ಗಾಗಿ ಅನುಸರಣೆ ಪ್ಯಾಕೆಟ್‌ಗಳು ಅಥವಾ ಆನ್‌ಬೋರ್ಡಿಂಗ್ ಡಾಕ್ಸ್ ಅನ್ನು ಡ್ರಾಪ್ ಮಾಡಿ."
},
"profile": {
"title": "ಪ್ರೊಫೈಲ್",
"my_profile": "ನನ್ನ ಪ್ರೊಫೈಲ್",
"edit_profile": "ಪ್ರೊಫೈಲ್ ಸಂಪಾದಿಸಿ",
"personal_info": "ವೈಯಕ್ತಿಕ ಮಾಹಿತಿ",
"full_name": "ಪೂರ್ಣ ಹೆಸರು",
"email": "ಇಮೇಲ್",
"phone": "ದೂರವಾಣಿ",
"department": "ವಿಭಾಗ",
"position": "ಸ್ಥಾನ",
"change_password": "ಪಾಸ್‌ವರ್ಡ್ ಬದಲಿಸಿ",
"current_password": "ಪ್ರಸ್ತುತ ಪಾಸ್‌ವರ್ಡ್",
"new_password": "ಹೊಸ ಪಾಸ್‌ವರ್ಡ್",
"confirm_password": "ಪಾಸ್‌ವರ್ಡ್ ದೃಢೀಕರಿಸಿ",
"update_profile": "ಪ್ರೊಫೈಲ್ ನವೀಕರಿಸಿ",
"premium_user": "ಪ್ರೀಮಿಯಂ ಬಳಕೆದಾರ",
"account_overview": "ಖಾತೆ ಅವಲೋಕನ",
"account_overview_subtitle": "ನಿಮ್ಮ Pennyzo ಗುರುತನ್ನು ಹೊಳಪು ಮಾಡಿ ಮತ್ತು ಗ್ರಾಹಕ-ಸಿದ್ಧ ಹ್ಯಾಂಡ್‌ಆಫ್‌ಗಳಿಗಾಗಿ ಸಿದ್ಧವಾಗಿಟ್ಟುಕೊಳ್ಳಿ",
"user_info": "ಬಳಕೆದಾರ ಮಾಹಿತಿ",
"user_info_desc": "ವೈಯಕ್ತಿಕ ಮತ್ತು ಸಂಪರ್ಕ ವಿವರಗಳನ್ನು ಸಂಪಾದಿಸಿ",
"subscription": "ಚಂದಾದಾರಿಕೆ",
"subscription_desc": "ಬಿಲ್ಲಿಂಗ್ ಮತ್ತು ಕ್ರೆಡಿಟ್ ಪ್ಯಾಕ್‌ಗಳನ್ನು ನಿರ್ವಹಿಸಿ",
"integrations": "ಸಂಯೋಜನೆಗಳು",
"integrations_desc": "Slack, HubSpot ಮತ್ತು ERP ಅನ್ನು ಸಂಪರ್ಕಿಸಿ",
"settings": "ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"settings_desc": "ಕಾರ್ಯಸ್ಥಳ ಆದ್ಯತೆಗಳು ಮತ್ತು ಎಚ್ಚರಿಕೆಗಳು",
"help_support": "ಸಹಾಯ ಮತ್ತು ಬೆಂಬಲ",
"help_support_desc": "ಟಿಕೆಟ್ ಎತ್ತಿ ಅಥವಾ ಸೇವಕರೊಂದಿಗೆ ಚಾಟ್ ಮಾಡಿ",
"logout": "ಲಾಗ್ಔಟ್",
"logout_desc": "ಈ ಕಾರ್ಯಸ್ಥಳದಿಂದ ಸೈನ್ ಔಟ್ ಮಾಡಿ"
},
"settings": {
"title": "ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"general": "ಸಾಮಾನ್ಯ",
"notifications": "ಅಧಿಸೂಚನೆಗಳು",
"security": "ಸುರಕ್ಷತೆ",
"preferences": "ಆದ್ಯತೆಗಳು",
"language": "ಭಾಷೆ",
"timezone": "ಸಮಯ ವಲಯ",
"theme": "ಥೀಮ್",
"email_notifications": "ಇಮೇಲ್ ಅಧಿಸೂಚನೆಗಳು",
"push_notifications": "ಪುಶ್ ಅಧಿಸೂಚನೆಗಳು",
"two_factor": "ಎರಡು-ಅಂಶ ದೃಢೀಕರಣ",
"privacy": "ಗೋಪ್ಯತೆ",
"terms": "ನಿಯಮಗಳು ಮತ್ತು ಶರತ್ತುಗಳು",
"workspace_settings": "ಕಾರ್ಯಸ್ಥಳ ಸೆಟ್ಟಿಂಗ್‌ಗಳು",
"workspace_settings_desc": "Pennyzoವನ್ನು ನಿಮ್ಮ ಕಾರ್ಯನಿರ್ವಾಹಕ ಲಯದೊಂದಿಗೆ ಸಂಯೋಜಿಸಲು ಗಾರ್ಡ್‌ರೇಲ್‌ಗಳು, ಅಧಿಸೂಚನೆಗಳು ಮತ್ತು ಡೀಫಾಲ್ಟ್‌ಗಳನ್ನು ಕಾನ್ಫಿಗರ್ ಮಾಡಿ. ಪ್ರತಿ ಟ್ವೀಕ್ ತಕ್ಷಣವೇ ಸೇವಕ ಏಜೆಂಟ್‌ಗಳು, ದಾಖಲೆಗಳು ಮತ್ತು ವಿಶ್ಲೇಷಣಾ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ಗಳಾದ್ಯಂತ ಅನ್ವಯಿಸುತ್ತದೆ.",
"security_posture": "ಸುರಕ್ಷತೆ ಭಂಗಿ",
"security_posture_subtitle": "Pennyzo ಬುದ್ಧಿವಂತಿಕೆಯನ್ನು ಪ್ರವೇಶಿಸುವ ಎಲ್ಲರಿಗಾಗಿ ಉತ್ತಮ ಅಭ್ಯಾಸಗಳನ್ನು ಜಾರಿಗೊಳಿಸಿ"
},
"auth": {
"login": "ಸೈನ್ ಇನ್",
"register": "ಸೈನ್ ಅಪ್",
"logout": "ಸೈನ್ ಔಟ್",
"forgot_password": "ಪಾಸ್‌ವರ್ಡ್ ಮರೆತಿರುವಿರಾ?",
"reset_password": "ಪಾಸ್‌ವರ್ಡ್ ಮರುಹೊಂದಿಸಿ",
"email_address": "ಇಮೇಲ್ ವಿಳಾಸ",
"password": "ಪಾಸ್‌ವರ್ಡ್",
"remember_me": "ನನ್ನನ್ನು ನೆನಪಿಡಿ",
"no_account": "ಖಾತೆ ಇಲ್ಲವೇ?",
"have_account": "ಈಗಾಗಲೇ ಖಾತೆ ಇದೆಯೇ?",
"enter_email": "ನಿಮ್ಮ ಇಮೇಲ್ ನಮೂದಿಸಿ",
"enter_password": "ನಿಮ್ಮ ಪಾಸ್‌ವರ್ಡ್ ನಮೂದಿಸಿ",
"create_account": "ಖಾತೆಯನ್ನು ರಚಿಸಿ",
"welcome_back": "ಮತ್ತೆ ಸ್ವಾಗತ",
"get_started": "Pennyzo ನೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಿ",
"demo_login": "ಡೆಮೊ ಲಾಗಿನ್",
"or_continue_with": "ಅಥವಾ ಇದರೊಂದಿಗೆ ಮುಂದುವರಿಯಿರಿ",
"google": "ಗೂಗಲ್",
"microsoft": "ಮೈಕ್ರೋಸಾಫ್ಟ್",
"verify_email": "ಇಮೇಲ್ ಪರಿಶೀಲಿಸಿ",
"check_inbox": "ನಿಮ್ಮ ಇನ್‌ಬಾಕ್ಸ್ ಪರಿಶೀಲಿಸಿ",
"reset_link_sent": "ಪಾಸ್‌ವರ್ಡ್ ಮರುಹೊಂದಿಸುವ ಲಿಂಕ್ ಕಳುಹಿಸಲಾಗಿದೆ",
"password_updated": "ಪಾಸ್‌ವರ್ಡ್ ಯಶಸ್ವಿಯಾಗಿ ನವೀಕರಿಸಲಾಗಿದೆ"
},
"agents_page": {
"active_agents": "ಸಕ್ರಿಯ ಏಜೆಂಟ್‌ಗಳು",
"idle_agents": "ನಿಷ್ಕ್ರಿಯ ಏಜೆಂಟ್‌ಗಳು",
"busy_agents": "ಬ್ಯುಸಿ ಏಜೆಂಟ್‌ಗಳು",
"total_tasks": "ಒಟ್ಟು ಕಾರ್ಯಗಳು"
},
"errors": {
"general_error": "ಏನೋ ತಪ್ಪಾಗಿದೆ",
"network_error": "ನೆಟ್‌ವರ್ಕ್ ದೋಷ",
"not_found": "ಕಂಡುಬಂದಿಲ್ಲ",
"unauthorized": "ಅನಧಿಕೃತ",
"forbidden": "ನಿಷೇಧಿತ",
"server_error": "ಸರ್ವರ್ ದೋಷ"
}
}

342
src/i18n/locales/mr.json Normal file
View File

@@ -0,0 +1,342 @@
{
"common": {
"select_language": "भाषा निवडा",
"navigation": "नेव्हिगेशन",
"hub": "हब",
"send": "पाठवा",
"chat_placeholder": "संदेश टाइप करा...",
"hello_message": "नमस्कार! मी आज तुमची कशी मदत करू शकतो?",
"agent_response": "{{agentName}} कडून प्रतिसाद: {{text}}",
"close": "बंद करा",
"cancel": "रद्द करा",
"save": "जतन करा",
"delete": "हटवा",
"edit": "संपादित करा",
"loading": "लोड होत आहे...",
"error": "त्रुटी",
"success": "यशस्वी"
},
"topbar": {
"notifications": "सूचना",
"new": "नवीन",
"no_new_notifications": "नवीन सूचना नाहीत",
"notify_when_arrives": "काहीतरी आल्यावर आम्ही तुम्हाला कळवू.",
"view_all_notifications": "सर्व सूचना पहा",
"change_profile_picture": "प्रोफाइल चित्र बदला",
"premium_user": "प्रीमियम वापरकर्ता",
"my_profile": "माझे प्रोफाइल",
"credits": "क्रेडिट्स",
"settings": "सेटिंग्ज",
"sign_out": "साइन आउट",
"toggle_navigation": "नेव्हिगेशन टॉगल करा",
"profile_menu": "प्रोफाइल मेनू",
"ask_ai_assistant": "AI सहाय्यक विचारा"
},
"nav": {
"home": "होम",
"agents": "एजंट्स",
"tasks": "कार्ये",
"documents": "कागदपत्रे",
"more": "अधिक",
"profile": "प्रोफाइल",
"credits": "क्रेडिट्स",
"support": "समर्थन",
"settings": "सेटिंग्ज",
"sign_out": "साइन आउट"
},
"agents": {
"researcher": "संशोधन एजंट",
"writer": "सामग्री लेखक",
"coder": "कोड सहाय्यक",
"designer": "डिझाइन सहाय्यक",
"hr_command": "HR कमांड",
"finance_sage": "फायनान्स सेज",
"project_sensei": "प्रोजेक्ट सेंसेई",
"marketing_genius": "मार्केटिंग जीनियस",
"data_wizard": "डेटा विझार्ड",
"security_guard": "सिक्युरिटी गार्ड",
"support_hero": "सपोर्ट हीरो",
"research_bot": "रिसर्च बॉट"
},
"display_panel": {
"tab_instructions": "सूचना",
"tab_playground": "प्लेग्राउंड",
"instructions_welcome": "स्वागत आहे. हे पॅनेल तुम्हाला एजंट्स कसे चालवायचे आणि परिणाम कसे पहायचे याबद्दल मार्गदर्शन करते.",
"instructions_step1": "तुमच्या कार्याशी जुळणारा एजंट डाव्या पॅनेलमधून निवडा.",
"instructions_step2": "विनंती पाठवण्यासाठी चॅट डॉक वापरा. पाठवण्यासाठी Enter दाबा.",
"instructions_step3": "सारांश, चार्ट किंवा तयार केलेल्या मालमत्तेसाठी हे पॅनेल पहा.",
"instructions_step4": "फॉलो-अप सह परिष्कृत करा. सर्वोत्तम परिणामांसाठी संक्षिप्त प्रॉम्प्ट वापरा.",
"instructions_tip_label": "टीप",
"instructions_tip_text": "क्रियापदाने प्रॉम्प्ट सुरू करा: \"सारांश द्या…\", \"तुलना करा…\", \"मसुदा तयार करा…\".",
"instructions_format_label": "स्वरूप",
"instructions_format_text": "तुम्हाला संरचित आउटपुट हवे असल्यास टेबल, बुलेट पॉइंट्स किंवा JSON साठी विचारा.",
"playground_intro": "हे तुमचे प्लेग्राउंड कॅनव्हास आहे. येथे पूर्वावलोकन, चार्ट किंवा सामग्री रेंडर करा.",
"playground_empty_label": "रिक्त कॅनव्हास",
"playground_empty_text": "परिणाम पाहण्यासाठी हे क्षेत्र तुमच्या एजंट आउटपुटशी जोडा."
},
"credits": {
"title": "क्रेडिट्स आणि वापर इतिहास",
"buy_credits": "क्रेडिट्स खरेदी करा",
"current_balance": "वर्तमान शिल्लक",
"available": "उपलब्ध",
"monthly_usage": "मासिक वापर",
"spent": "खर्च केले",
"monthly_purchases": "मासिक खरेदी",
"bought": "खरेदी केले",
"transaction_history": "व्यवहार इतिहास",
"year": "वर्ष",
"month": "महिना",
"show": "दाखवा",
"date": "तारीख",
"type": "प्रकार",
"description": "वर्णन",
"amount": "रक्कम",
"balance": "शिल्लक",
"type_usage": "वापर",
"type_purchase": "खरेदी",
"type_bonus": "बोनस",
"credit_vault": "क्रेडिट व्हॉल्ट",
"vault_subtitle": "तुमच्या कन्सियर्ज एजंट, हाय-टच वर्कफ्लो आणि ऑटो-तयार दस्तऐवजांना पेनीझो क्रेडिटसह इंधन द्या. वापर मॉनिटर करा, ऑटो टॉप-अप करा आणि प्रोडक्शन तयार राहा.",
"available_credits": "उपलब्ध क्रेडिट",
"usage_this_month": "या महिन्याचा वापर",
"auto_topup_threshold": "ऑटो टॉप-अप थ्रेशोल्ड",
"credit_marketplace": "क्रेडिट मार्केटप्लेस",
"marketplace_subtitle": "व्हॉल्यूम सवलती स्वयंचलितपणे मिळतात — सर्व पॅकमध्ये कन्सियर्ज सपोर्ट समाविष्ट आहे",
"starter_pack": "स्टार्टर पॅक",
"starter_desc": "1,000 क्रेडिट • लहान बर्स्टसाठी आदर्श",
"starter_price": "₹1,999",
"growth_pack": "ग्रोथ पॅक",
"growth_desc": "5,000 क्रेडिट • कन्सियर्ज रिव्ह्यू समाविष्ट",
"growth_price": "₹8,499",
"enterprise_pack": "एंटरप्राइझ पॅक",
"enterprise_desc": "20,000 क्रेडिट • समर्पित कंप्यूट पूल",
"enterprise_price": "₹28,999",
"purchase": "खरेदी करा",
"custom_pack": "कस्टम पॅक",
"custom_desc": "मोहीम बर्स्ट जुळण्यासाठी क्रेडिट स्केल करा. कन्सियर्ज तुमच्यासाठी ऑटो टॉप-अप नियम ट्यून करतो.",
"credits_label": "क्रेडिट",
"est_spend": "अंदाजे खर्च",
"gst_note": "चेकआउट दरम्यान GST स्वयंचलित गणना",
"buy_custom_pack": "कस्टम पॅक खरेदी करा",
"schedule_auto_topups": "ऑटो टॉप-अप शेड्यूल करा",
"schedule_desc": "शिल्लक थ्रेशोल्डच्या खाली गेल्यावर खरेदी ट्रिगर करा.",
"share_usage": "फायनान्ससह वापर शेअर करा",
"share_desc": "मासिक लेजर CSV किंवा Google शीट म्हणून निर्यात करा.",
"slack_alerts": "स्लॅक बॅलेन्स अलर्ट",
"slack_desc": "#leadership ला सूचित करा जेव्हा क्रेडिट 5K खाली जातात.",
"usage_timeline": "वापर टाइमलाइन",
"timeline_subtitle": "तुमच्या AI वर्कस्पेसमध्ये क्रेडिट कसे हलतात याचा संपूर्ण ऑडिट इतिहास",
"txn_strategy": "स्ट्रॅटेजी एजंट – पिच डेक आउटलाइन",
"txn_payroll": "पेरोल ऑटोमेशन रन",
"txn_growth_purchase": "ग्रोथ पॅक खरेदी",
"txn_loyalty_bonus": "कन्सियर्ज लॉयल्टी बोनस"
},
"more": {
"title": "अधिक",
"concierge_hub": "कन्सियर्ज कंट्रोल हब",
"hub_subtitle": "प्रीमियम ऑपरेशन्स पावर करणार्या प्रगत पेनीझो मॉड्यूल्समध्ये शॉर्टकट",
"curate_cockpit": "तुमचे लीडरशिप कॉकपिट क्युरेट करा",
"cockpit_desc": "प्रोफाइल तपशील तयार करा, क्रेडिट व्यवस्थापित करा, मोहिमांसाठी जनरेटर ट्रिगर करा किंवा वर्कस्पेस प्राधान्ये पुन्हा वायर करा. सर्वकाही नेटिव्ह पेनीझो कन्सियर्जला मिरर करते.",
"open_profile": "प्रोफाइल उघडा",
"purchase_credits": "क्रेडिट खरेदी करा",
"profile_menu": "प्रोफाइल",
"profile_menu_desc": "वैयक्तिक तपशील, प्राधान्ये आणि कन्सियर्ज दृश्यमानता संपादित करा",
"credits_menu": "क्रेडिट्स",
"credits_menu_desc": "बॅलेन्स मॉनिटर करा, टॉप-अप शेड्यूल करा, लेजर रिव्ह्यू करा",
"generate_menu": "जनरेट करा",
"generate_menu_desc": "मोहीम टेम्पलेट्स आणि हंगामी सामग्री लॉन्च करा",
"leadership_settings": "लीडरशिप सेटिंग्ज",
"leadership_settings_desc": "सुरक्षा, सूचना, इंटिग्रेशन",
"support_concierge": "सपोर्ट कन्सियर्ज",
"support_desc": "व्हाइट-ग्लोव्ह वर्कफ्लोसाठी पेनीझो विशेषज्ञांशी बोला.",
"language_selector": "भाषा निवडकर्ता",
"language_desc": "संपूर्ण वर्कस्पेस सेकंदात स्थानिक भाषेत स्विच करा.",
"invite_leadership": "लीडरशिप आमंत्रित करा",
"invite_desc": "बोर्ड निरीक्षकांसाठी रीड-ओन्ली प्रवेश प्रावधान.",
"operational_playlists": "ऑपरेशनल प्लेलिस्ट",
"playlists_subtitle": "मोबाइल अॅपमधून सर्वाधिक वापरलेले कन्सियर्ज मार्ग आता वेबसाठी ट्यून केले",
"cxo_brief": "CXO दैनिक संक्षिप्त",
"cxo_brief_desc": "90 सेकंदात पाइपलाइन डेल्टा, क्रेडिट हेल्थ आणि टॉप एजंट.",
"investor_dataroom": "गुंतवणूकदार डेटा रूम",
"investor_desc": "दस्तऐवज, मंजुरी आणि भाष्य तात्काळ संकलित करा.",
"brand_voice": "ब्रँड व्हॉईस ट्यूनिंग",
"brand_voice_desc": "मोहिमा, प्रस्ताव आणि दस्तऐवजांमध्ये AI टोन संरेखित करा.",
"hiring_sprint": "हायरिंग स्प्रिंट",
"hiring_desc": "JD निर्मिती, स्क्रीनिंग सारांश आणि ऑफर पॅक स्वयंचलित करा.",
"board_readiness": "बोर्ड तयारी",
"board_desc": "अनुपालन पत्रे, मिनिट्स आणि वित्तीय स्नॅपशॉट असेंबल करा.",
"global_expansion": "जागतिक विस्तार",
"expansion_desc": "प्लेबुक स्थानिकीकृत करा आणि कन्सियर्जसह भाषांतर समक्रमित करा.",
"open_flow": "फ्लो उघडा"
},
"home": {
"title": "होम",
"good_morning": "शुभ सकाळ",
"good_afternoon": "शुभ दुपार",
"good_evening": "शुभ संध्याकाळ",
"welcome_message": "परत स्वागत आहे, {{name}}",
"highlights_message": "तुमच्या AI टीमने आजच्या मुख्य गोष्टी तयार केल्या आहेत. तुमच्या लक्षाची गरज असलेल्या गोष्टी येथे आहेत.",
"select_company": "कंपनी निवडा",
"quick_stats": "द्रुत आकडेवारी",
"overview": "विहंगावलोकन",
"revenue": "महसूल",
"employees": "कर्मचारी",
"growth": "वाढ",
"net_promoter": "नेट प्रोमोटर स्कोअर",
"ai_insights": "AI अंतर्दृष्टी सारांश",
"pending_approvals": "प्रलंबित मंजुरी",
"compliance_alerts": "अनुपालन सूचना",
"recent_hires": "अलीकडील नियुक्त्या",
"expiring_contracts": "संपत असलेले करार",
"suggested_actions": "सुचवलेल्या क्रिया",
"suggested_actions_subtitle": "तुमच्या व्यवसायाला गती देणाऱ्या द्रुत कार्ये",
"review_approvals": "मंजुरी पुनरावलोकन करा",
"review_approvals_desc": "५ आयटमना तुमच्या लक्षाची आवश्यकता आहे",
"update_payroll": "पेरोल अपडेट करा",
"update_payroll_desc": "मासिक प्रक्रिया देय",
"onboard_employees": "कर्मचाऱ्यांना ऑनबोर्ड करा",
"onboard_employees_desc": "३ नवीन नियुक्त्या प्रलंबित",
"view_reports": "अहवाल पहा",
"view_reports_desc": "विश्लेषण पुनरावलोकनासाठी तयार"
},
"tasks": {
"title": "कार्ये",
"task_orchestration": "कार्य आयोजन",
"task_orchestration_subtitle": "वेग निरीक्षण, परिणाम अनलॉक आणि रिअल-टाइममध्ये संघांना मार्गदर्शन करण्यासाठी HR, CRM आणि धोरण ट्रॅक दरम्यान स्विच करा",
"hr": "एचआर",
"crm": "सीआरएम",
"strategy": "धोरण",
"summary": "सारांश",
"headcount": "कर्मचारी संख्या",
"present_today": "आज उपस्थित",
"on_leave": "रजेवर",
"pipeline_value": "पाइपलाइन मूल्य",
"conversion_rate": "रूपांतरण दर",
"escalations": "वृद्धी",
"okrs_on_track": "OKR ट्रॅकवर",
"initiatives": "उपक्रम",
"markets_assessed": "बाजारांचे मूल्यांकन",
"leadership_approvals": "नेतृत्व मंजूरी",
"product_onboarding": "उत्पादन ऑनबोर्डिंग",
"operations_followups": "ऑपरेशन फॉलो-अप",
"followups_today": "आज फॉलो-अप",
"contracts_in_review": "पुनरावलोकनाधीन करार",
"awaiting_responses": "प्रतिसादांची प्रतीक्षा",
"strengths_reviewed": "पुनरावलोकित सामर्थ्ये",
"opportunities": "संधी",
"risks_tracked": "जोखीम ट्रॅक केली",
"process_payroll": "पेरोल प्रक्रिया करा",
"process_payroll_desc": "या महिन्याचे पेरोल चक्र चालवा",
"send_salary_slips": "पगार पावती पाठवा",
"send_salary_slips_desc": "कर्मचारी पोर्टलद्वारे वितरित करा",
"generate_reports": "अहवाल तयार करा",
"generate_reports_desc": "मासिक विश्लेषण स्नॅपशॉट",
"client_concierge": "क्लायंट कॉन्सीयर्ज",
"client_concierge_desc": "8 उबदार लीड्स ऑटो-फॉलो करा",
"launch_campaign": "मोहीम सुरू करा",
"launch_campaign_desc": "Q1 उत्पादन जागरूकता ब्लिट्झ",
"executive_summary": "कार्यकारी सारांश",
"executive_summary_desc": "बोर्ड-तयार स्लाइड्स",
"steering_committee": "संचालन समिती",
"steering_committee_desc": "रोडमॅपवर नेतृत्व समक्रमित करा",
"retention_watchlist": "धारणा वॉचलिस्ट",
"retention_watchlist_desc": "उच्च-प्रभाव भूमिकांमध्ये 12 कर्मचाऱ्यांसाठी भावना डुबकी चिन्हांकित केली. एचआर कमांड तत्काळ स्किप-लेवल चेक-इनची शिफारस करते.",
"pipeline_sentiment": "पाइपलाइन भावना",
"pipeline_sentiment_desc": "क्लायंट कॉन्सीयर्ज भावना तटस्थ खाली डुबकीने 14 करार ओळखले. MRR टिकवून ठेवण्यासाठी आकर्षण आक्रमकता वाढवा.",
"swot_briefing": "SWOT ब्रीफिंग",
"swot_briefing_desc": "रिअल-टाइम धोरणात्मक स्नॅपशॉट प्रत्येक तासाला अपडेट केला जातो. ड्रिल-डाउन संदर्भासाठी कोणत्याही चौकोनावर क्लिक करा.",
"swot_strengths": "एंटरप्राइझ पे-रोल आणि अनुपालन स्वयंचलितीकरणात ब्रँड रीकॉल",
"swot_weaknesses": "लेगसी ERP स्टॅकसाठी पातळ एकीकरण स्तर",
"swot_opportunities": "APAC मध्ये विस्तार करा, सल्लागारांसाठी व्हाइट-लेबल",
"swot_threats": "Q2 मध्ये प्रतिस्पर्धी AI-चालित मॉड्यूल लाँच करत आहेत"
},
"documents": {
"title": "कागदपत्रे",
"documents_vault": "दस्तऐवज व्हॉल्ट",
"vault_description": "तुमचा AI-संघटित रेपॉझिटरी. ऑटो-टॅग केलेले, आवृत्ती-नियंत्रित, नेहमी तयार.",
"recent_activity": "अलीकडील क्रियाकलाप",
"auto_prepped": "ऑटो-तयार पत्रे",
"contracts": "करार आणि करारनामे",
"legal": "कायदेशीर आणि अनुपालन",
"activity_1": "करार नूतनीकरण - Acme Corp अंतिम रूप दिले",
"timestamp_1": "2 तासांपूर्वी",
"activity_2": "अनुपालन ऑडिट अहवाल अपलोड केला",
"timestamp_2": "5 तासांपूर्वी",
"activity_3": "रोजगार करार - Sarah Chen स्वाक्षरी केली",
"timestamp_3": "1 दिवसापूर्वी",
"activity_4": "Q4 आर्थिक सारांश तयार केला",
"timestamp_4": "2 दिवसांपूर्वी",
"search_documents": "दस्तऐवज शोधा",
"search_documents_desc": "AI-संचालित शब्दार्थ शोध",
"bulk_upload": "बल्क अपलोड",
"bulk_upload_desc": "एकाधिक फाइल्स ड्रॅग आणि ड्रॉप करा"
},
"profile": {
"title": "प्रोफाइल",
"personal_info": "वैयक्तिक माहिती",
"full_name": "पूर्ण नाव",
"email": "ईमेल",
"phone": "फोन",
"company": "कंपनी",
"position": "पद",
"department": "विभाग",
"edit_profile": "प्रोफाइल संपादित करा",
"change_password": "पासवर्ड बदला",
"current_password": "वर्तमान पासवर्ड",
"new_password": "नवीन पासवर्ड",
"confirm_password": "पासवर्डची पुष्टी करा",
"update": "अपडेट करा"
},
"settings": {
"title": "सेटिंग्ज",
"general": "सामान्य",
"notifications": "सूचना",
"privacy": "गोपनीयता",
"security": "सुरक्षा",
"language": "भाषा",
"theme": "थीम",
"email_notifications": "ईमेल सूचना",
"push_notifications": "पुश सूचना",
"two_factor_auth": "दोन-घटक प्रमाणीकरण",
"enable": "सक्षम करा",
"disable": "अक्षम करा",
"save_changes": "बदल जतन करा"
},
"auth": {
"login": "लॉगिन",
"register": "नोंदणी करा",
"forgot_password": "पासवर्ड विसरलात?",
"reset_password": "पासवर्ड रीसेट करा",
"email": "ईमेल",
"password": "पासवर्ड",
"remember_me": "मला लक्षात ठेवा",
"sign_in": "साइन इन करा",
"sign_up": "साइन अप करा",
"create_account": "खाते तयार करा",
"already_have_account": "आधीपासूनच खाते आहे?",
"dont_have_account": "खाते नाही?",
"verify_email": "ईमेल सत्यापित करा",
"verification_code": "सत्यापन कोड",
"resend_code": "कोड पुन्हा पाठवा"
},
"agents_page": {
"title": "एजंट्स",
"subtitle": "तुमच्या AI टीमला भेटा",
"available_agents": "उपलब्ध एजंट्स",
"select_agent": "एजंट निवडा",
"agent_status": "एजंट स्थिती",
"active": "सक्रिय",
"inactive": "निष्क्रिय",
"configure": "कॉन्फिगर करा",
"test_agent": "एजंट चाचणी करा"
},
"errors": {
"generic_error": "काहीतरी चूक झाली",
"network_error": "नेटवर्क त्रुटी",
"not_found": "सापडले नाही",
"unauthorized": "अनधिकृत",
"forbidden": "निषिद्ध",
"validation_error": "प्रमाणीकरण त्रुटी",
"try_again": "पुन्हा प्रयत्न करा"
}
}

342
src/i18n/locales/pa.json Normal file
View File

@@ -0,0 +1,342 @@
{
"common": {
"select_language": "ਭਾਸ਼ਾ ਚੁਣੋ",
"navigation": "ਨੇਵੀਗੇਸ਼ਨ",
"hub": "ਹੱਬ",
"send": "ਭੇਜੋ",
"chat_placeholder": "ਸੁਨੇਹਾ ਲਿਖੋ...",
"hello_message": "ਸਤ ਸ੍ਰੀ ਅਕਾਲ! ਮੈਂ ਅੱਜ ਤੁਹਾਡੀ ਕਿਵੇਂ ਮਦਦ ਕਰ ਸਕਦਾ ਹਾਂ?",
"agent_response": "{{agentName}} ਤੋਂ ਜਵਾਬ: {{text}}",
"close": "ਬੰਦ ਕਰੋ",
"cancel": "ਰੱਦ ਕਰੋ",
"save": "ਸੰਭਾਲੋ",
"delete": "ਮਿਟਾਓ",
"edit": "ਸੰਪਾਦਿਤ ਕਰੋ",
"loading": "ਲੋਡ ਹੋ ਰਿਹਾ ਹੈ...",
"error": "ਗਲਤੀ",
"success": "ਸਫਲਤਾ"
},
"topbar": {
"notifications": "ਸੂਚਨਾਵਾਂ",
"new": "ਨਵਾਂ",
"no_new_notifications": "ਕੋਈ ਨਵੀਂ ਸੂਚਨਾ ਨਹੀਂ",
"notify_when_arrives": "ਜਦੋਂ ਕੁਝ ਆਵੇਗਾ ਤਾਂ ਅਸੀਂ ਤੁਹਾਨੂੰ ਸੂਚਿਤ ਕਰਾਂਗੇ।",
"view_all_notifications": "ਸਾਰੀਆਂ ਸੂਚਨਾਵਾਂ ਦੇਖੋ",
"change_profile_picture": "ਪ੍ਰੋਫਾਈਲ ਤਸਵੀਰ ਬਦਲੋ",
"premium_user": "ਪ੍ਰੀਮੀਅਮ ਉਪਭੋਗਤਾ",
"my_profile": "ਮੇਰਾ ਪ੍ਰੋਫਾਈਲ",
"credits": "ਕ੍ਰੈਡਿਟਸ",
"settings": "ਸੈਟਿੰਗਾਂ",
"sign_out": "ਸਾਈਨ ਆਉਟ",
"toggle_navigation": "ਨੇਵੀਗੇਸ਼ਨ ਟੌਗਲ ਕਰੋ",
"profile_menu": "ਪ੍ਰੋਫਾਈਲ ਮੀਨੂ",
"ask_ai_assistant": "AI ਸਹਾਇਕ ਨੂੰ ਪੁੱਛੋ"
},
"nav": {
"home": "ਹੋਮ",
"agents": "ਏਜੰਟ",
"tasks": "ਕੰਮ",
"documents": "ਦਸਤਾਵੇਜ਼",
"more": "ਹੋਰ",
"profile": "ਪ੍ਰੋਫਾਈਲ",
"credits": "ਕ੍ਰੈਡਿਟਸ",
"support": "ਸਹਾਇਤਾ",
"settings": "ਸੈਟਿੰਗਾਂ",
"sign_out": "ਸਾਈਨ ਆਉਟ"
},
"agents": {
"researcher": "ਖੋਜ ਏਜੰਟ",
"writer": "ਸਮੱਗਰੀ ਲੇਖਕ",
"coder": "ਕੋਡ ਸਹਾਇਕ",
"designer": "ਡਿਜ਼ਾਈਨ ਸਹਾਇਕ",
"hr_command": "HR ਕਮਾਂਡ",
"finance_sage": "ਫਾਈਨੈਂਸ ਸੇਜ",
"project_sensei": "ਪ੍ਰੋਜੈਕਟ ਸੇਂਸੇਈ",
"marketing_genius": "ਮਾਰਕੀਟਿੰਗ ਜੀਨੀਅਸ",
"data_wizard": "ਡੇਟਾ ਵਿਜ਼ਾਰਡ",
"security_guard": "ਸਿਕਿਉਰਿਟੀ ਗਾਰਡ",
"support_hero": "ਸਪੋਰਟ ਹੀਰੋ",
"research_bot": "ਰਿਸਰਚ ਬੌਟ"
},
"display_panel": {
"tab_instructions": "ਨਿਰਦੇਸ਼",
"tab_playground": "ਪਲੇਗਰਾਉਂਡ",
"instructions_welcome": "ਜੀ ਆਇਆਂ ਨੂੰ। ਇਹ ਪੈਨਲ ਤੁਹਾਨੂੰ ਏਜੰਟਾਂ ਨੂੰ ਕਿਵੇਂ ਚਲਾਉਣਾ ਅਤੇ ਨਤੀਜੇ ਕਿਵੇਂ ਦੇਖਣੇ ਹਨ ਬਾਰੇ ਮਾਰਗਦਰਸ਼ਨ ਕਰਦਾ ਹੈ।",
"instructions_step1": "ਆਪਣੇ ਕੰਮ ਨਾਲ ਮੇਲ ਖਾਂਦਾ ਏਜੰਟ ਖੱਬੇ ਪੈਨਲ ਤੋਂ ਚੁਣੋ।",
"instructions_step2": "ਬੇਨਤੀ ਭੇਜਣ ਲਈ ਚੈਟ ਡੌਕ ਦੀ ਵਰਤੋਂ ਕਰੋ। ਭੇਜਣ ਲਈ Enter ਦਬਾਓ।",
"instructions_step3": "ਸੰਖੇਪ, ਚਾਰਟ ਜਾਂ ਤਿਆਰ ਕੀਤੀਆਂ ਸੰਪਤੀਆਂ ਲਈ ਇਸ ਪੈਨਲ ਨੂੰ ਦੇਖੋ।",
"instructions_step4": "ਫਾਲੋ-ਅੱਪ ਨਾਲ ਸੁਧਾਰ ਕਰੋ। ਵਧੀਆ ਨਤੀਜਿਆਂ ਲਈ ਸੰਖੇਪ ਪ੍ਰੋਂਪਟ ਦੀ ਵਰਤੋਂ ਕਰੋ।",
"instructions_tip_label": "ਸੁਝਾਅ",
"instructions_tip_text": "ਕ੍ਰਿਆ ਨਾਲ ਪ੍ਰੋਂਪਟ ਸ਼ੁਰੂ ਕਰੋ: \"ਸੰਖੇਪ ਕਰੋ…\", \"ਤੁਲਨਾ ਕਰੋ…\", \"ਡਰਾਫਟ ਬਣਾਓ…\"।",
"instructions_format_label": "ਫਾਰਮੈਟ",
"instructions_format_text": "ਜੇ ਤੁਹਾਨੂੰ ਢਾਂਚਾਗਤ ਆਉਟਪੁੱਟ ਚਾਹੀਦਾ ਹੈ ਤਾਂ ਟੇਬਲ, ਬੁਲੇਟ ਪੁਆਇੰਟ ਜਾਂ JSON ਲਈ ਪੁੱਛੋ।",
"playground_intro": "ਇਹ ਤੁਹਾਡਾ ਪਲੇਗਰਾਉਂਡ ਕੈਨਵਸ ਹੈ। ਇੱਥੇ ਪੂਰਵਦਰਸ਼ਨ, ਚਾਰਟ ਜਾਂ ਸਮੱਗਰੀ ਰੈਂਡਰ ਕਰੋ।",
"playground_empty_label": "ਖਾਲੀ ਕੈਨਵਸ",
"playground_empty_text": "ਨਤੀਜੇ ਦੇਖਣ ਲਈ ਇਸ ਖੇਤਰ ਨੂੰ ਆਪਣੇ ਏਜੰਟ ਆਉਟਪੁੱਟ ਨਾਲ ਜੋੜੋ।"
},
"credits": {
"title": "ਕ੍ਰੈਡਿਟਸ ਅਤੇ ਵਰਤੋਂ ਇਤਿਹਾਸ",
"buy_credits": "ਕ੍ਰੈਡਿਟਸ ਖਰੀਦੋ",
"current_balance": "ਮੌਜੂਦਾ ਬਕਾਇਆ",
"available": "ਉਪਲਬਧ",
"monthly_usage": "ਮਾਸਿਕ ਵਰਤੋਂ",
"spent": "ਖਰਚ ਕੀਤਾ",
"monthly_purchases": "ਮਾਸਿਕ ਖਰੀਦਾਰੀਆਂ",
"bought": "ਖਰੀਦਿਆ",
"transaction_history": "ਲੈਣ-ਦੇਣ ਇਤਿਹਾਸ",
"year": "ਸਾਲ",
"month": "ਮਹੀਨਾ",
"show": "ਦਿਖਾਓ",
"date": "ਤਾਰੀਖ",
"type": "ਕਿਸਮ",
"description": "ਵਰਣਨ",
"amount": "ਰਕਮ",
"balance": "ਬਕਾਇਆ",
"type_usage": "ਵਰਤੋਂ",
"type_purchase": "ਖਰੀਦਾਰੀ",
"type_bonus": "ਬੋਨਸ",
"credit_vault": "ਕ੍ਰੈਡਿਟ ਵਾਲਟ",
"vault_subtitle": "ਆਪਣੇ ਕਨਸੀਅਰਜ ਏਜੰਟਾਂ, ਹਾਈ-ਟੱਚ ਵਰਕਫਲੋ ਅਤੇ ਆਟੋ-ਤਿਆਰ ਦਸਤਾਵੇਜ਼ਾਂ ਨੂੰ ਪੈਨੀਜ਼ੋ ਕ੍ਰੈਡਿਟਸ ਨਾਲ ਈਂਧਨ ਦਿਓ। ਵਰਤੋਂ ਦੀ ਨਿਗਰਾਨੀ ਕਰੋ, ਆਟੋ ਟੌਪ-ਅੱਪ ਕਰੋ ਅਤੇ ਪ੍ਰੋਡਕਸ਼ਨ ਲਈ ਤਿਆਰ ਰਹੋ।",
"available_credits": "ਉਪਲਬਧ ਕ੍ਰੈਡਿਟਸ",
"usage_this_month": "ਇਸ ਮਹੀਨੇ ਦੀ ਵਰਤੋਂ",
"auto_topup_threshold": "ਆਟੋ ਟੌਪ-ਅੱਪ ਥ੍ਰੈਸ਼ਹੋਲਡ",
"credit_marketplace": "ਕ੍ਰੈਡਿਟ ਮਾਰਕੀਟਪਲੇਸ",
"marketplace_subtitle": "ਵਾਲੀਅਮ ਛੋਟਾਂ ਆਪਣੇ ਆਪ ਮਿਲਦੀਆਂ ਹਨ — ਸਾਰੇ ਪੈਕਾਂ ਵਿੱਚ ਕਨਸੀਅਰਜ ਸਪੋਰਟ ਸ਼ਾਮਲ ਹੈ",
"starter_pack": "ਸਟਾਰਟਰ ਪੈਕ",
"starter_desc": "1,000 ਕ੍ਰੈਡਿਟਸ • ਛੋਟੇ ਬਰਸਟਸ ਲਈ ਆਦਰਸ਼",
"starter_price": "₹1,999",
"growth_pack": "ਗ੍ਰੋਥ ਪੈਕ",
"growth_desc": "5,000 ਕ੍ਰੈਡਿਟਸ • ਕਨਸੀਅਰਜ ਰਿਵਿਊ ਸ਼ਾਮਲ",
"growth_price": "₹8,499",
"enterprise_pack": "ਐਂਟਰਪ੍ਰਾਈਜ਼ ਪੈਕ",
"enterprise_desc": "20,000 ਕ੍ਰੈਡਿਟਸ • ਸਮਰਪਿਤ ਕੰਪਿਊਟ ਪੂਲ",
"enterprise_price": "₹28,999",
"purchase": "ਖਰੀਦੋ",
"custom_pack": "ਕਸਟਮ ਪੈਕ",
"custom_desc": "ਮੁਹਿੰਮ ਬਰਸਟਸ ਨਾਲ ਮੇਲ ਖਾਣ ਲਈ ਕ੍ਰੈਡਿਟਸ ਸਕੇਲ ਕਰੋ। ਕਨਸੀਅਰਜ ਤੁਹਾਡੇ ਲਈ ਆਟੋ ਟੌਪ-ਅੱਪ ਨਿਯਮ ਟਿਊਨ ਕਰਦਾ ਹੈ।",
"credits_label": "ਕ੍ਰੈਡਿਟਸ",
"est_spend": "ਅਨੁਮਾਨਿਤ ਖਰਚ",
"gst_note": "ਚੈੱਕਆਉਟ ਦੌਰਾਨ GST ਆਟੋ-ਗਣਨਾ",
"buy_custom_pack": "ਕਸਟਮ ਪੈਕ ਖਰੀਦੋ",
"schedule_auto_topups": "ਆਟੋ ਟੌਪ-ਅੱਪ ਸ਼ਡਿਊਲ ਕਰੋ",
"schedule_desc": "ਜਦੋਂ ਬਕਾਇਆ ਥ੍ਰੈਸ਼ਹੋਲਡ ਤੋਂ ਹੇਠਾਂ ਜਾਵੇ ਤਾਂ ਖਰੀਦਾਰੀ ਟ੍ਰਿਗਰ ਕਰੋ।",
"share_usage": "ਫਾਈਨੈਂਸ ਨਾਲ ਵਰਤੋਂ ਸਾਂਝੀ ਕਰੋ",
"share_desc": "ਮਾਸਿਕ ਲੈਜ਼ਰ ਨੂੰ CSV ਜਾਂ Google ਸ਼ੀਟ ਵਜੋਂ ਨਿਰਯਾਤ ਕਰੋ।",
"slack_alerts": "ਸਲੈਕ ਬਕਾਇਆ ਅਲਰਟ",
"slack_desc": "#leadership ਨੂੰ ਸੂਚਿਤ ਕਰੋ ਜਦੋਂ ਵੀ ਕ੍ਰੈਡਿਟਸ 5K ਤੋਂ ਹੇਠਾਂ ਜਾਣ।",
"usage_timeline": "ਵਰਤੋਂ ਟਾਈਮਲਾਈਨ",
"timeline_subtitle": "ਤੁਹਾਡੇ AI ਵਰਕਸਪੇਸ ਵਿੱਚ ਕ੍ਰੈਡਿਟਸ ਕਿਵੇਂ ਚਲਦੇ ਹਨ ਦਾ ਪੂਰਾ ਆਡਿਟ ਇਤਿਹਾਸ",
"txn_strategy": "ਸਟ੍ਰੈਟੇਜੀ ਏਜੰਟ – ਪਿਚ ਡੈੱਕ ਆਊਟਲਾਈਨ",
"txn_payroll": "ਪੇਰੋਲ ਆਟੋਮੇਸ਼ਨ ਰਨ",
"txn_growth_purchase": "ਗ੍ਰੋਥ ਪੈਕ ਖਰੀਦਾਰੀ",
"txn_loyalty_bonus": "ਕਨਸੀਅਰਜ ਲਾਇਲਟੀ ਬੋਨਸ"
},
"more": {
"title": "ਹੋਰ",
"concierge_hub": "ਕਨਸੀਅਰਜ ਕੰਟਰੋਲ ਹੱਬ",
"hub_subtitle": "ਪ੍ਰੀਮੀਅਮ ਆਪਰੇਸ਼ਨਾਂ ਨੂੰ ਪਾਵਰ ਕਰਨ ਵਾਲੇ ਉੱਨਤ ਪੈਨੀਜ਼ੋ ਮਾਡਿਊਲਾਂ ਵਿੱਚ ਸ਼ਾਰਟਕੱਟ",
"curate_cockpit": "ਆਪਣਾ ਲੀਡਰਸ਼ਿਪ ਕਾਕਪਿਟ ਕਿਊਰੇਟ ਕਰੋ",
"cockpit_desc": "ਪ੍ਰੋਫਾਈਲ ਵੇਰਵੇ ਤਿਆਰ ਕਰੋ, ਕ੍ਰੈਡਿਟਸ ਪ੍ਰਬੰਧਨ ਕਰੋ, ਮੁਹਿੰਮਾਂ ਲਈ ਜਨਰੇਟਰ ਟ੍ਰਿਗਰ ਕਰੋ, ਜਾਂ ਵਰਕਸਪੇਸ ਤਰਜੀਹਾਂ ਨੂੰ ਦੁਬਾਰਾ ਵਾਇਰ ਕਰੋ। ਸਭ ਕੁਝ ਨੇਟਿਵ ਪੈਨੀਜ਼ੋ ਕਨਸੀਅਰਜ ਨੂੰ ਦਰਸਾਉਂਦਾ ਹੈ।",
"open_profile": "ਪ੍ਰੋਫਾਈਲ ਖੋਲ੍ਹੋ",
"purchase_credits": "ਕ੍ਰੈਡਿਟਸ ਖਰੀਦੋ",
"profile_menu": "ਪ੍ਰੋਫਾਈਲ",
"profile_menu_desc": "ਨਿੱਜੀ ਵੇਰਵੇ, ਤਰਜੀਹਾਂ ਅਤੇ ਕਨਸੀਅਰਜ ਦ੍ਰਿਸ਼ਟੀ ਸੰਪਾਦਿਤ ਕਰੋ",
"credits_menu": "ਕ੍ਰੈਡਿਟਸ",
"credits_menu_desc": "ਬਕਾਇਆ ਮਾਨੀਟਰ ਕਰੋ, ਟੌਪ-ਅੱਪ ਸ਼ਡਿਊਲ ਕਰੋ, ਲੈਜ਼ਰ ਰਿਵਿਊ ਕਰੋ",
"generate_menu": "ਜਨਰੇਟ ਕਰੋ",
"generate_menu_desc": "ਮੁਹਿੰਮ ਟੈਂਪਲੇਟਸ ਅਤੇ ਮੌਸਮੀ ਸਮੱਗਰੀ ਲਾਂਚ ਕਰੋ",
"leadership_settings": "ਲੀਡਰਸ਼ਿਪ ਸੈਟਿੰਗਜ਼",
"leadership_settings_desc": "ਸੁਰੱਖਿਆ, ਸੂਚਨਾਵਾਂ, ਇੰਟੀਗ੍ਰੇਸ਼ਨ",
"support_concierge": "ਸਪੋਰਟ ਕਨਸੀਅਰਜ",
"support_desc": "ਵਾਈਟ-ਗਲੋਵ ਵਰਕਫਲੋ ਲਈ ਪੈਨੀਜ਼ੋ ਵਿਸ਼ੇਸ਼ਗਿਆਂ ਨਾਲ ਗੱਲ ਕਰੋ।",
"language_selector": "ਭਾਸ਼ਾ ਚੋਣਕਾਰ",
"language_desc": "ਸਮੁੱਚੇ ਵਰਕਸਪੇਸ ਨੂੰ ਸਕਿੰਟਾਂ ਵਿੱਚ ਵਰਨਾਕੁਲਰ ਵਿੱਚ ਸਵਿੱਚ ਕਰੋ।",
"invite_leadership": "ਲੀਡਰਸ਼ਿਪ ਨੂੰ ਸੱਦਾ ਦਿਓ",
"invite_desc": "ਬੋਰਡ ਨਿਰੀਖਕਾਂ ਲਈ ਰੀਡ-ਓਨਲੀ ਐਕਸੈਸ ਪ੍ਰਦਾਨ ਕਰੋ।",
"operational_playlists": "ਆਪਰੇਸ਼ਨਲ ਪਲੇਲਿਸਟਾਂ",
"playlists_subtitle": "ਮੋਬਾਈਲ ਐਪ ਤੋਂ ਸਭ ਤੋਂ ਵੱਧ ਵਰਤੇ ਗਏ ਕਨਸੀਅਰਜ ਮਾਰਗ ਹੁਣ ਵੈੱਬ ਲਈ ਟਿਊਨ ਕੀਤੇ ਗਏ",
"cxo_brief": "CXO ਰੋਜ਼ਾਨਾ ਸੰਖੇਪ",
"cxo_brief_desc": "90 ਸਕਿੰਟਾਂ ਵਿੱਚ ਪਾਈਪਲਾਈਨ ਡੈਲਟਾ, ਕ੍ਰੈਡਿਟ ਸਿਹਤ ਅਤੇ ਚੋਟੀ ਦੇ ਏਜੰਟ।",
"investor_dataroom": "ਨਿਵੇਸ਼ਕ ਡੇਟਾ ਰੂਮ",
"investor_desc": "ਤੁਰੰਤ ਦਸਤਾਵੇਜ਼, ਮਨਜ਼ੂਰੀਆਂ ਅਤੇ ਟਿੱਪਣੀ ਕੰਪਾਇਲ ਕਰੋ।",
"brand_voice": "ਬ੍ਰਾਂਡ ਵੌਇਸ ਟਿਊਨਿੰਗ",
"brand_voice_desc": "ਮੁਹਿੰਮਾਂ, ਪ੍ਰਸਤਾਵਾਂ ਅਤੇ ਦਸਤਾਵੇਜ਼ਾਂ ਵਿੱਚ AI ਟੋਨ ਸੰਰੇਖਿਤ ਕਰੋ।",
"hiring_sprint": "ਹਾਇਰਿੰਗ ਸਪ੍ਰਿੰਟ",
"hiring_desc": "JD ਰਚਨਾ, ਸਕ੍ਰੀਨਿੰਗ ਸੰਖੇਪ ਅਤੇ ਪੇਸ਼ਕਸ਼ ਪੈਕ ਆਟੋਮੇਟ ਕਰੋ।",
"board_readiness": "ਬੋਰਡ ਤਿਆਰੀ",
"board_desc": "ਪਾਲਣਾ ਪੱਤਰ, ਮਿੰਟ ਅਤੇ ਵਿੱਤੀ ਸਨੈਪਸ਼ੌਟ ਅਸੈਂਬਲ ਕਰੋ।",
"global_expansion": "ਗਲੋਬਲ ਐਕਸਪੈਂਸ਼ਨ",
"expansion_desc": "ਪਲੇਬੁੱਕ ਨੂੰ ਸਥਾਨਕੀਕਰਨ ਕਰੋ ਅਤੇ ਕਨਸੀਅਰਜ ਨਾਲ ਅਨੁਵਾਦ ਸਿੰਕ ਕਰੋ।",
"open_flow": "ਫਲੋ ਖੋਲ੍ਹੋ"
},
"home": {
"title": "ਹੋਮ",
"good_morning": "ਸ਼ੁਭ ਸਵੇਰ",
"good_afternoon": "ਸ਼ੁਭ ਦੁਪਹਿਰ",
"good_evening": "ਸ਼ੁਭ ਸ਼ਾਮ",
"welcome_message": "ਵਾਪਸੀ 'ਤੇ ਜੀ ਆਇਆਂ ਨੂੰ, {{name}}",
"highlights_message": "ਤੁਹਾਡੀ AI ਟੀਮ ਨੇ ਅੱਜ ਦੀਆਂ ਮੁੱਖ ਗੱਲਾਂ ਤਿਆਰ ਕੀਤੀਆਂ ਹਨ। ਇੱਥੇ ਉਹ ਹੈ ਜੋ ਤੁਹਾਡੇ ਧਿਆਨ ਦੀ ਲੋੜ ਹੈ।",
"select_company": "ਕੰਪਨੀ ਚੁਣੋ",
"quick_stats": "ਤੇਜ਼ ਅੰਕੜੇ",
"overview": "ਸੰਖੇਪ ਜਾਣਕਾਰੀ",
"revenue": "ਆਮਦਨ",
"employees": "ਕਰਮਚਾਰੀ",
"growth": "ਵਾਧਾ",
"net_promoter": "ਨੈੱਟ ਪ੍ਰਮੋਟਰ ਸਕੋਰ",
"ai_insights": "AI ਸੂਝ-ਬੂਝ ਸੰਖੇਪ",
"pending_approvals": "ਲੰਬਿਤ ਮਨਜ਼ੂਰੀਆਂ",
"compliance_alerts": "ਅਨੁਪਾਲਨ ਚੇਤਾਵਨੀਆਂ",
"recent_hires": "ਹਾਲੀਆ ਭਰਤੀਆਂ",
"expiring_contracts": "ਖਤਮ ਹੋ ਰਹੇ ਇਕਰਾਰਨਾਮੇ",
"suggested_actions": "ਸੁਝਾਈਆਂ ਕਾਰਵਾਈਆਂ",
"suggested_actions_subtitle": "ਤੁਹਾਡੇ ਕਾਰੋਬਾਰ ਨੂੰ ਗਤੀ ਦੇਣ ਵਾਲੇ ਤੇਜ਼ ਕੰਮ",
"review_approvals": "ਮਨਜ਼ੂਰੀਆਂ ਦੀ ਸਮੀਖਿਆ ਕਰੋ",
"review_approvals_desc": "5 ਆਈਟਮਾਂ ਨੂੰ ਤੁਹਾਡੇ ਧਿਆਨ ਦੀ ਲੋੜ ਹੈ",
"update_payroll": "ਤਨਖਾਹ ਅੱਪਡੇਟ ਕਰੋ",
"update_payroll_desc": "ਮਾਸਿਕ ਪ੍ਰਕਿਰਿਆ ਬਕਾਇਆ",
"onboard_employees": "ਕਰਮਚਾਰੀਆਂ ਨੂੰ ਆਨਬੋਰਡ ਕਰੋ",
"onboard_employees_desc": "3 ਨਵੀਂ ਭਰਤੀਆਂ ਲੰਬਿਤ",
"view_reports": "ਰਿਪੋਰਟਾਂ ਦੇਖੋ",
"view_reports_desc": "ਵਿਸ਼ਲੇਸ਼ਣ ਸਮੀਖਿਆ ਲਈ ਤਿਆਰ"
},
"tasks": {
"title": "ਕੰਮ",
"task_orchestration": "ਕੰਮ ਸੰਗਠਨ",
"task_orchestration_subtitle": "ਵੇਗ ਦੀ ਨਿਗਰਾਨੀ ਕਰਨ, ਨਤੀਜਿਆਂ ਨੂੰ ਅਨਲੌਕ ਕਰਨ ਅਤੇ ਰੀਅਲ-ਟਾਈਮ ਵਿੱਚ ਟੀਮਾਂ ਦੀ ਅਗਵਾਈ ਕਰਨ ਲਈ HR, CRM ਅਤੇ ਰਣਨੀਤੀ ਟਰੈਕਾਂ ਵਿਚਕਾਰ ਸਵਿੱਚ ਕਰੋ",
"hr": "ਐੱਚਆਰ",
"crm": "ਸੀਆਰਐੱਮ",
"strategy": "ਰਣਨੀਤੀ",
"summary": "ਸਾਰ",
"headcount": "ਕਰਮਚਾਰੀ ਗਿਣਤੀ",
"present_today": "ਅੱਜ ਮੌਜੂਦ",
"on_leave": "ਛੁੱਟੀ 'ਤੇ",
"pipeline_value": "ਪਾਈਪਲਾਈਨ ਮੁੱਲ",
"conversion_rate": "ਰੂਪਾਂਤਰਣ ਦਰ",
"escalations": "ਵਾਧਾ",
"okrs_on_track": "OKR ਟਰੈਕ 'ਤੇ",
"initiatives": "ਪਹਿਲਕਦਮੀਆਂ",
"markets_assessed": "ਮਾਰਕੀਟਾਂ ਦਾ ਮੁਲਾਂਕਣ",
"leadership_approvals": "ਅਗਵਾਈ ਪ੍ਰਵਾਨਗੀਆਂ",
"product_onboarding": "ਉਤਪਾਦ ਆਨਬੋਰਡਿੰਗ",
"operations_followups": "ਸੰਚਾਲਨ ਫਾਲੋ-ਅੱਪ",
"followups_today": "ਅੱਜ ਫਾਲੋ-ਅੱਪ",
"contracts_in_review": "ਸਮੀਖਿਆ ਅਧੀਨ ਇਕਰਾਰਨਾਮੇ",
"awaiting_responses": "ਜਵਾਬਾਂ ਦੀ ਉਡੀਕ ਵਿੱਚ",
"strengths_reviewed": "ਸਮੀਖਿਆ ਕੀਤੀਆਂ ਤਾਕਤਾਂ",
"opportunities": "ਮੌਕੇ",
"risks_tracked": "ਖਤਰੇ ਟਰੈਕ ਕੀਤੇ",
"process_payroll": "ਪੇਰੋਲ ਪ੍ਰੋਸੈਸ ਕਰੋ",
"process_payroll_desc": "ਇਸ ਮਹੀਨੇ ਦਾ ਪੇਰੋਲ ਚੱਕਰ ਚਲਾਓ",
"send_salary_slips": "ਤਨਖਾਹ ਪਰਚੀਆਂ ਭੇਜੋ",
"send_salary_slips_desc": "ਕਰਮਚਾਰੀ ਪੋਰਟਲ ਰਾਹੀਂ ਵੰਡੋ",
"generate_reports": "ਰਿਪੋਰਟਾਂ ਬਣਾਓ",
"generate_reports_desc": "ਮਾਸਿਕ ਵਿਸ਼ਲੇਸ਼ਣ ਸਨੈਪਸ਼ਾਟ",
"client_concierge": "ਗਾਹਕ ਕੰਸੀਅਰਜ",
"client_concierge_desc": "8 ਗਰਮ ਲੀਡਾਂ ਨੂੰ ਆਟੋ-ਫਾਲੋ ਕਰੋ",
"launch_campaign": "ਮੁਹਿੰਮ ਸ਼ੁਰੂ ਕਰੋ",
"launch_campaign_desc": "Q1 ਉਤਪਾਦ ਜਾਗਰੂਕਤਾ ਬਲਿੱਟਜ਼",
"executive_summary": "ਕਾਰਜਕਾਰੀ ਸਾਰ",
"executive_summary_desc": "ਬੋਰਡ-ਤਿਆਰ ਸਲਾਈਡਾਂ",
"steering_committee": "ਸੰਚਾਲਨ ਕਮੇਟੀ",
"steering_committee_desc": "ਰੋਡਮੈਪ 'ਤੇ ਅਗਵਾਈ ਸਮਕਾਲੀ ਕਰੋ",
"retention_watchlist": "ਧਾਰਨ ਵਾਚਲਿਸਟ",
"retention_watchlist_desc": "ਉੱਚ-ਪ੍ਰਭਾਵ ਭੂਮਿਕਾਵਾਂ ਵਿੱਚ 12 ਕਰਮਚਾਰੀਆਂ ਲਈ ਭਾਵਨਾ ਵਿੱਚ ਗਿਰਾਵਟ ਨਿਸ਼ਾਨਬੱਧ ਕੀਤੀ. HR ਕਮਾਂਡ ਤੁਰੰਤ ਸਕਿੱਪ-ਲੈਵਲ ਚੈੱਕ-ਇਨ ਦੀ ਸਿਫਾਰਿਸ਼ ਕਰਦਾ ਹੈ.",
"pipeline_sentiment": "ਪਾਈਪਲਾਈਨ ਭਾਵਨਾ",
"pipeline_sentiment_desc": "ਗਾਹਕ ਕੰਸੀਅਰਜ ਭਾਵਨਾ ਨਿਰਪੱਖ ਤੋਂ ਹੇਠਾਂ ਡਿੱਗਣ ਨਾਲ 14 ਇਕਰਾਰਨਾਮੇ ਪਛਾਣੇ ਗਏ. MRR ਬਰਕਰਾਰ ਰੱਖਣ ਲਈ ਆਕਰਸ਼ਣ ਹਮਲਾਵਰਤਾ ਵਧਾਓ.",
"swot_briefing": "SWOT ਬ੍ਰੀਫਿੰਗ",
"swot_briefing_desc": "ਰੀਅਲ-ਟਾਈਮ ਰਣਨੀਤਕ ਸਨੈਪਸ਼ਾਟ ਹਰ ਘੰਟੇ ਅੱਪਡੇਟ ਕੀਤਾ ਜਾਂਦਾ ਹੈ. ਡ੍ਰਿਲ-ਡਾਊਨ ਸੰਦਰਭ ਲਈ ਕਿਸੇ ਵੀ ਚਤੁਰਭੁਜ 'ਤੇ ਕਲਿੱਕ ਕਰੋ.",
"swot_strengths": "ਐਂਟਰਪ੍ਰਾਈਜ਼ ਪੇ-ਰੋਲ ਅਤੇ ਪਾਲਣਾ ਸਵਚਾਲਨ ਵਿੱਚ ਬ੍ਰਾਂਡ ਰੀਕਾਲ",
"swot_weaknesses": "ਪੁਰਾਣੇ ERP ਸਟੈਕ ਲਈ ਪਤਲੀ ਏਕੀਕਰਣ ਪਰਤ",
"swot_opportunities": "APAC ਵਿੱਚ ਵਿਸਤਾਰ ਕਰੋ, ਸਲਾਹਕਾਰਾਂ ਲਈ ਵਾਈਟ-ਲੇਬਲ",
"swot_threats": "ਪ੍ਰਤੀਯੋਗੀ Q2 ਵਿੱਚ AI-ਸੰਚਾਲਿਤ ਮੋਡੂਲ ਲਾਂਚ ਕਰ ਰਹੇ ਹਨ"
},
"documents": {
"title": "ਦਸਤਾਵੇਜ਼",
"documents_vault": "ਦਸਤਾਵੇਜ਼ ਵਾਲਟ",
"vault_description": "ਤੁਹਾਡੀ AI-ਸੰਗਠਿਤ ਰਿਪੋਜ਼ਟਰੀ. ਆਟੋ-ਟੈਗ ਕੀਤੀ, ਸੰਸਕਰਣ-ਨਿਯੰਤਰਿਤ, ਹਮੇਸ਼ਾ ਤਿਆਰ.",
"recent_activity": "ਹਾਲੀਆ ਗਤੀਵਿਧੀ",
"auto_prepped": "ਆਟੋ-ਤਿਆਰ ਪੱਤਰ",
"contracts": "ਇਕਰਾਰਨਾਮੇ ਅਤੇ ਸਮਝੌਤੇ",
"legal": "ਕਾਨੂੰਨੀ ਅਤੇ ਪਾਲਣਾ",
"activity_1": "ਇਕਰਾਰਨਾਮਾ ਨਵੀਨੀਕਰਣ - Acme Corp ਅੰਤਿਮ ਰੂਪ ਦਿੱਤਾ",
"timestamp_1": "2 ਘੰਟੇ ਪਹਿਲਾਂ",
"activity_2": "ਪਾਲਣਾ ਆਡਿਟ ਰਿਪੋਰਟ ਅੱਪਲੋਡ ਕੀਤੀ",
"timestamp_2": "5 ਘੰਟੇ ਪਹਿਲਾਂ",
"activity_3": "ਰੁਜ਼ਗਾਰ ਸਮਝੌਤਾ - Sarah Chen ਹਸਤਾਖਰ ਕੀਤੇ",
"timestamp_3": "1 ਦਿਨ ਪਹਿਲਾਂ",
"activity_4": "Q4 ਵਿੱਤੀ ਸਾਰ ਬਣਾਇਆ",
"timestamp_4": "2 ਦਿਨ ਪਹਿਲਾਂ",
"search_documents": "ਦਸਤਾਵੇਜ਼ ਖੋਜੋ",
"search_documents_desc": "AI-ਸੰਚਾਲਿਤ ਅਰਥਪੂਰਣ ਖੋਜ",
"bulk_upload": "ਬਲਕ ਅੱਪਲੋਡ",
"bulk_upload_desc": "ਕਈ ਫਾਈਲਾਂ ਨੂੰ ਖਿੱਚੋ ਅਤੇ ਛੱਡੋ"
},
"profile": {
"title": "ਪ੍ਰੋਫਾਈਲ",
"personal_info": "ਨਿੱਜੀ ਜਾਣਕਾਰੀ",
"full_name": "ਪੂਰਾ ਨਾਮ",
"email": "ਈਮੇਲ",
"phone": "ਫੋਨ",
"company": "ਕੰਪਨੀ",
"position": "ਅਹੁਦਾ",
"department": "ਵਿਭਾਗ",
"edit_profile": "ਪ੍ਰੋਫਾਈਲ ਸੰਪਾਦਿਤ ਕਰੋ",
"change_password": "ਪਾਸਵਰਡ ਬਦਲੋ",
"current_password": "ਮੌਜੂਦਾ ਪਾਸਵਰਡ",
"new_password": "ਨਵਾਂ ਪਾਸਵਰਡ",
"confirm_password": "ਪਾਸਵਰਡ ਦੀ ਪੁਸ਼ਟੀ ਕਰੋ",
"update": "ਅੱਪਡੇਟ ਕਰੋ"
},
"settings": {
"title": "ਸੈਟਿੰਗਾਂ",
"general": "ਆਮ",
"notifications": "ਸੂਚਨਾਵਾਂ",
"privacy": "ਗੋਪਨੀਯਤਾ",
"security": "ਸੁਰੱਖਿਆ",
"language": "ਭਾਸ਼ਾ",
"theme": "ਥੀਮ",
"email_notifications": "ਈਮੇਲ ਸੂਚਨਾਵਾਂ",
"push_notifications": "ਪੁਸ਼ ਸੂਚਨਾਵਾਂ",
"two_factor_auth": "ਦੋ-ਕਾਰਕ ਪ੍ਰਮਾਣਿਕਤਾ",
"enable": "ਸਮਰੱਥ ਕਰੋ",
"disable": "ਅਸਮਰੱਥ ਕਰੋ",
"save_changes": "ਤਬਦੀਲੀਆਂ ਸੰਭਾਲੋ"
},
"auth": {
"login": "ਲਾਗਇਨ",
"register": "ਰਜਿਸਟਰ ਕਰੋ",
"forgot_password": "ਪਾਸਵਰਡ ਭੁੱਲ ਗਏ?",
"reset_password": "ਪਾਸਵਰਡ ਰੀਸੈੱਟ ਕਰੋ",
"email": "ਈਮੇਲ",
"password": "ਪਾਸਵਰਡ",
"remember_me": "ਮੈਨੂੰ ਯਾਦ ਰੱਖੋ",
"sign_in": "ਸਾਈਨ ਇਨ ਕਰੋ",
"sign_up": "ਸਾਈਨ ਅੱਪ ਕਰੋ",
"create_account": "ਖਾਤਾ ਬਣਾਓ",
"already_have_account": "ਪਹਿਲਾਂ ਤੋਂ ਖਾਤਾ ਹੈ?",
"dont_have_account": "ਖਾਤਾ ਨਹੀਂ ਹੈ?",
"verify_email": "ਈਮੇਲ ਪ੍ਰਮਾਣਿਤ ਕਰੋ",
"verification_code": "ਪ੍ਰਮਾਣਿਕਤਾ ਕੋਡ",
"resend_code": "ਕੋਡ ਦੁਬਾਰਾ ਭੇਜੋ"
},
"agents_page": {
"title": "ਏਜੰਟ",
"subtitle": "ਆਪਣੀ AI ਟੀਮ ਨੂੰ ਮਿਲੋ",
"available_agents": "ਉਪਲਬਧ ਏਜੰਟ",
"select_agent": "ਏਜੰਟ ਚੁਣੋ",
"agent_status": "ਏਜੰਟ ਸਥਿਤੀ",
"active": "ਸਰਗਰਮ",
"inactive": "ਨਿਸ਼ਕਿਰਿਆ",
"configure": "ਸੰਰਚਿਤ ਕਰੋ",
"test_agent": "ਏਜੰਟ ਟੈਸਟ ਕਰੋ"
},
"errors": {
"generic_error": "ਕੁਝ ਗਲਤ ਹੋ ਗਿਆ",
"network_error": "ਨੈੱਟਵਰਕ ਗਲਤੀ",
"not_found": "ਨਹੀਂ ਮਿਲਿਆ",
"unauthorized": "ਅਣਅਧਿਕਾਰਤ",
"forbidden": "ਮਨਾਹੀ",
"validation_error": "ਪ੍ਰਮਾਣਿਕਤਾ ਗਲਤੀ",
"try_again": "ਦੁਬਾਰਾ ਕੋਸ਼ਿਸ਼ ਕਰੋ"
}
}

409
src/i18n/locales/ta.json Normal file
View File

@@ -0,0 +1,409 @@
{
"common": {
"select_language": "மொழியைத் தேர்ந்தெடுக்கவும்",
"navigation": "வழிசெலுத்தல்",
"hub": "மையம்",
"send": "அனுப்பு",
"chat_placeholder": "செய்தியை தட்டச்சு செய்க...",
"hello_message": "வணக்கம்! இன்று நான் உங்களுக்கு எப்படி உதவ முடியும்?",
"agent_response": "{{agentName}} இலிருந்து பதில்: {{text}}",
"close": "மூடு",
"cancel": "ரத்து செய்",
"save": "சேமி",
"delete": "நீக்கு",
"edit": "திருத்து",
"loading": "ஏற்றுகிறது...",
"error": "பிழை",
"success": "வெற்றி",
"welcome": "வரவேற்பு",
"hello": "வணக்கம்",
"back": "பின்",
"next": "அடுத்து",
"submit": "சமர்ப்பி",
"confirm": "உறுதிப்படுத்து",
"search": "தேடு",
"filter": "வடிகட்டு",
"sort": "வரிசைப்படுத்து",
"view_all": "அனைத்தையும் பார்க்கவும்",
"no_data": "தரவு கிடைக்கவில்லை",
"try_again": "மீண்டும் முயற்சிக்கவும்",
"summary": "சுருக்கம்"
},
"topbar": {
"notifications": "அறிவிப்புகள்",
"new": "புதியது",
"no_new_notifications": "புதிய அறிவிப்புகள் இல்லை",
"notify_when_arrives": "ஏதாவது வந்தால் நாங்கள் உங்களுக்கு தெரிவிப்போம்.",
"view_all_notifications": "அனைத்து அறிவிப்புகளையும் பார்க்கவும்",
"change_profile_picture": "சுயவிவரப் படத்தை மாற்று",
"premium_user": "பிரீமியம் பயனர்",
"my_profile": "என் சுயவிவரம்",
"credits": "கிரெடிட்கள்",
"settings": "அமைப்புகள்",
"sign_out": "வெளியேறு",
"toggle_navigation": "வழிசெலுத்தலை மாற்று",
"profile_menu": "சுயவிவர மெனு",
"ask_ai_assistant": "AI உதவியாளரிடம் கேளுங்கள்"
},
"nav": {
"home": "முகப்பு",
"agents": "முகவர்கள்",
"tasks": "பணிகள்",
"documents": "ஆவணங்கள்",
"more": "மேலும்",
"profile": "சுயவிவரம்",
"credits": "கிரெடிட்கள்",
"support": "ஆதரவு",
"settings": "அமைப்புகள்",
"sign_out": "வெளியேறு"
},
"agents": {
"title": "AI முகவர்கள்",
"command_centre": "உங்கள் AI கட்டளை மையம்",
"command_centre_desc": "ஒரு ஆடம்பரமான டாஷ்போர்டிலிருந்து கிடைக்கும் தன்மையை கண்காணிக்கவும், திறமையை விரிவுபடுத்தவும் மற்றும் ஒவ்வொரு Pennyzo முகவரையும் நிர்வகிக்கவும்.",
"add_agent": "முகவரைச் சேர்",
"active": "செயல்படும்",
"idle": "செயலற்ற",
"busy": "பிஸி",
"agent_roster": "முகவர் பட்டியல்",
"all_agents": "அனைத்து முகவர்கள்",
"researcher": "ஆராய்ச்சி முகவர்",
"writer": "உள்ளடக்க எழுத்தாளர்",
"coder": "குறியீடு உதவியாளர்",
"designer": "வடிவமைப்பு உதவியாளர்",
"finance_ops": "நிதி செயல்பாடுகள் தலைவர்",
"talent_strategist": "திறமை உத்தியாளர்",
"compliance_analyst": "இணக்க ஆய்வாளர்",
"business_intelligence": "வணிக புத்திசாலித்தனம்",
"customer_success": "வாடிக்கையாளர் வெற்றி",
"operations_lead": "செயல்பாடுகள் தலைவர்"
},
"display_panel": {
"tab_instructions": "வழிமுறைகள்",
"tab_playground": "விளையாட்டுத் தளம்",
"instructions_welcome": "வரவேற்பு. இந்த பேனல் முகவர்களை எவ்வாறு இயக்குவது மற்றும் முடிவுகளை எவ்வாறு பார்ப்பது என்பதை வழிகாட்டுகிறது.",
"instructions_step1": "உங்கள் பணிக்கு பொருந்தும் முகவரை இடது பேனலில் இருந்து தேர்ந்தெடுக்கவும்.",
"instructions_step2": "கோரிக்கையை அனுப்ப அரட்டை டாக்கைப் பயன்படுத்தவும். அனுப்ப Enter ஐ அழுத்தவும்.",
"instructions_step3": "சுருக்கங்கள், விளக்கப்படங்கள் அல்லது உருவாக்கப்பட்ட சொத்துக்களுக்காக இந்த பேனலைப் பார்க்கவும்.",
"instructions_step4": "பின்தொடர்தல்களுடன் செம்மைப்படுத்தவும். சிறந்த முடிவுகளுக்கு சுருக்கமான ப்ராம்ப்ட்களைப் பயன்படுத்தவும்.",
"instructions_tip_label": "குறிப்பு",
"instructions_tip_text": "செயலுடன் ப்ராம்ப்ட்களைத் தொடங்குங்கள்: \"சுருக்கம்...\", \"ஒப்பிடு...\", \"வரைவு...\".",
"instructions_format_label": "வடிவம்",
"instructions_format_text": "உங்களுக்கு கட்டமைக்கப்பட்ட வெளியீடு தேவைப்பட்டால் அட்டவணைகள், புல்லட் புள்ளிகள் அல்லது JSON கேளுங்கள்.",
"playground_intro": "இது உங்கள் விளையாட்டுத் தள கேன்வாஸ். இங்கே முன்னோட்டங்கள், விளக்கப்படங்கள் அல்லது உள்ளடக்கத்தை வழங்கவும்.",
"playground_empty_label": "வெற்று கேன்வாஸ்",
"playground_empty_text": "முடிவுகளைக் காட்சிப்படுத்த இந்த பகுதியை உங்கள் முகவர் வெளியீடுகளுடன் இணைக்கவும்."
},
"credits": {
"title": "கிரெடிட்கள் & பயன்பாட்டு வரலாறு",
"buy_credits": "கிரெடிட்களை வாங்கவும்",
"current_balance": "தற்போதைய இருப்பு",
"available": "கிடைக்கும்",
"monthly_usage": "மாதாந்திர பயன்பாடு",
"spent": "செலவழித்தது",
"monthly_purchases": "மாதாந்திர கொள்முதல்",
"bought": "வாங்கியது",
"transaction_history": "பரிவர்த்தனை வரலாறு",
"year": "ஆண்டு",
"month": "மாதம்",
"show": "காட்டு",
"date": "தேதி",
"type": "வகை",
"description": "விளக்கம்",
"amount": "தொகை",
"balance": "இருப்பு",
"type_usage": "பயன்பாடு",
"type_purchase": "கொள்முதல்",
"type_bonus": "போனஸ்",
"credit_vault": "கிரெடிட் வால்ட்",
"vault_subtitle": "உங்கள் கான்சியர்ஜ் ஏஜெண்ட்கள், ஹை-டச் வர்க்ஃப்லோ மற்றும் ஆட்டோ-தயாரிக்கப்பட்ட ஆவணங்களுக்கு பென்னிசோ கிரெடிட்களுடன் எரிபொருள் அளிக்கவும். பயன்பாட்டைக் கண்காணிக்கவும், ஆட்டோ டாப்-அப் செய்யவும் மற்றும் உற்பத்தி தயாராக இருக்கவும்.",
"available_credits": "கிடைக்கக்கூடிய கிரெடிட்கள்",
"usage_this_month": "இந்த மாதத்தின் பயன்பாடு",
"auto_topup_threshold": "ஆட்டோ டாப்-அப் த்ரெஷோல்ட்",
"credit_marketplace": "கிரெடிட் மார்க்கெட்பிளேஸ்",
"marketplace_subtitle": "வால்யூம் தள்ளுபடிகள் தானாக கிடைக்கும் — அனைத்து பேக்குகளிலும் கான்சியர்ஜ் ஆதரவு உள்ளது",
"starter_pack": "ஸ்டார்டர் பேக்",
"starter_desc": "1,000 கிரெடிட்கள் • சிறிய பர்ஸ்ட்களுக்கு ஏற்றது",
"starter_price": "₹1,999",
"growth_pack": "க்ரோத் பேக்",
"growth_desc": "5,000 கிரெடிட்கள் • கான்சியர்ஜ் விமர்சனங்கள் அடங்கும்",
"growth_price": "₹8,499",
"enterprise_pack": "என்டர்பிரைஸ் பேக்",
"enterprise_desc": "20,000 கிரெடிட்கள் • அர்ப்பணிக்கப்பட்ட கம்ப்யூட் பூல்",
"enterprise_price": "₹28,999",
"purchase": "வாங்கவும்",
"custom_pack": "கஸ்டம் பேக்",
"custom_desc": "பிரச்சார பர்ஸ்ட்களுக்கு பொருந்தும் வகையில் கிரெடிட்களை அளவிடவும். கான்சியர்ஜ் உங்களுக்காக ஆட்டோ டாப்-அப் விதிகளை டியூன் செய்கிறது.",
"credits_label": "கிரெடிட்கள்",
"est_spend": "மதிப்பிடப்பட்ட செலவு",
"gst_note": "செக்அவுட் போது GST தானாக கணக்கிடப்படும்",
"buy_custom_pack": "கஸ்டம் பேக் வாங்கவும்",
"schedule_auto_topups": "ஆட்டோ டாப்-அப்களை திட்டமிடவும்",
"schedule_desc": "இருப்பு த்ரெஷோல்ட்களுக்குக் கீழே குறையும்போது கொள்முதல்களைத் தூண்டவும்.",
"share_usage": "நிதியுடன் பயன்பாட்டைப் பகிரவும்",
"share_desc": "மாதாந்திர லெட்ஜரை CSV அல்லது Google ஷீட்டாக ஏற்றுமதி செய்யவும்.",
"slack_alerts": "ஸ்லாக் இருப்பு எச்சரிக்கைகள்",
"slack_desc": "கிரெடிட்கள் 5K-க்குக் கீழே குறையும் போதெல்லாம் #leadership-க்கு அறிவிக்கவும்.",
"usage_timeline": "பயன்பாட்டு காலவரிசை",
"timeline_subtitle": "உங்கள் AI பணியிடத்தில் கிரெடிட்கள் எவ்வாறு நகர்கின்றன என்பதற்கான முழுமையான தணிக்கை வரலாறு",
"txn_strategy": "மூலோபாய ஏஜெண்ட் – பிட்ச் டெக் அவுட்லைன்",
"txn_payroll": "ஊதிய ஆட்டோமேஷன் ரன்",
"txn_growth_purchase": "க்ரோத் பேக் கொள்முதல்",
"txn_loyalty_bonus": "கான்சியர்ஜ் விசுவாசம் போனஸ்"
},
"more": {
"title": "மேலும்",
"concierge_hub": "கான்சியர்ஜ் கட்டுப்பாட்டு மையம்",
"hub_subtitle": "பிரீமியம் செயல்பாடுகளுக்கு சக்தி அளிக்கும் மேம்பட்ட பென்னிசோ தொகுதிகளுக்கான குறுக்குவழி",
"curate_cockpit": "உங்கள் தலைமைத்துவ காக்பிட்டை தேர்வு செய்யவும்",
"cockpit_desc": "சுயவிவர விவரங்களைத் தையல் செய்யவும், கிரெடிட்களை நிர்வகிக்கவும், பிரச்சாரங்களுக்கான ஜெனரேட்டரைத் தூண்டவும் அல்லது பணியிட விருப்பத்தேர்வுகளை மீண்டும் இணைக்கவும். அனைத்தும் சொந்த பென்னிசோ கான்சியர்ஜை பிரதிபலிக்கின்றன.",
"open_profile": "சுயவிவரத்தைத் திறக்கவும்",
"purchase_credits": "கிரெடிட்களை வாங்கவும்",
"profile_menu": "சுயவிவரம்",
"profile_menu_desc": "தனிப்பட்ட விவரங்கள், விருப்பத்தேர்வுகள் மற்றும் கான்சியர்ஜ் தெரிவுநிலையைத் திருத்தவும்",
"credits_menu": "கிரெடிட்கள்",
"credits_menu_desc": "இருப்பைக் கண்காணிக்கவும், டாப்-அப்களைத் திட்டமிடவும், லெட்ஜரை மதிப்பாய்வு செய்யவும்",
"generate_menu": "உருவாக்கவும்",
"generate_menu_desc": "பிரச்சார டெம்ப்ளேட்கள் மற்றும் பருவகால உள்ளடக்கத்தைத் தொடங்கவும்",
"leadership_settings": "தலைமைத்துவ அமைப்புகள்",
"leadership_settings_desc": "பாதுகாப்பு, அறிவிப்புகள், ஒருங்கிணைப்புகள்",
"support_concierge": "ஆதரவு கான்சியர்ஜ்",
"support_desc": "வெள்ளை-கையுறை பணிப்பாய்வுக்கு பென்னிசோ நிபுணர்களுடன் பேசவும்.",
"language_selector": "மொழி தேர்வாளர்",
"language_desc": "முழு பணியிடத்தையும் வினாடிகளில் வட்டார மொழிக்கு மாற்றவும்.",
"invite_leadership": "தலைமைத்துவத்தை அழைக்கவும்",
"invite_desc": "பலகை கண்காணிப்பாளர்களுக்கு படிக்க-மட்டும் அணுகலை வழங்கவும்.",
"operational_playlists": "செயல்பாட்டு பாடல் பட்டியல்கள்",
"playlists_subtitle": "மொபைல் பயன்பாட்டிலிருந்து அதிகம் பயன்படுத்தப்பட்ட கான்சியர்ஜ் பாதைகள் இப்போது வலைக்கு டியூன் செய்யப்பட்டுள்ளன",
"cxo_brief": "CXO தினசரி சுருக்கம்",
"cxo_brief_desc": "90 வினாடிகளில் பைப்லைன் டெல்டா, கிரெடிட் ஆரோக்கியம் மற்றும் சிறந்த ஏஜெண்ட்கள்.",
"investor_dataroom": "முதலீட்டாளர் தரவு அறை",
"investor_desc": "ஆவணங்கள், ஒப்புதல்கள் மற்றும் வர்ணனையை உடனடியாக தொகுக்கவும்.",
"brand_voice": "பிராண்ட் குரல் டியூனிங்",
"brand_voice_desc": "பிரச்சாரங்கள், முன்மொழிவுகள் மற்றும் ஆவணங்களில் AI டோனை சீரமைக்கவும்.",
"hiring_sprint": "பணியமர்த்தல் ஸ்பிரிண்ட்",
"hiring_desc": "JD உருவாக்கம், திரையிடல் சுருக்கங்கள் மற்றும் சலுகை பேக்குகளை தானியங்குபடுத்தவும்.",
"board_readiness": "வாரிய தயார்நிலை",
"board_desc": "இணக்க கடிதங்கள், நிமிடங்கள் மற்றும் நிதி ஸ்னாப்ஷாட்களை ஒருங்கிணைக்கவும்.",
"global_expansion": "உலகளாவிய விரிவாக்கம்",
"expansion_desc": "பிளேபுக்குகளை உள்ளூர்மயமாக்கவும் மற்றும் கான்சியர்ஜுடன் மொழிபெயர்ப்புகளை ஒத்திசைக்கவும்.",
"open_flow": "பாய்வைத் திறக்கவும்"
},
"home": {
"title": "முகப்பு",
"good_morning": "காலை வணக்கம்",
"good_afternoon": "மதிய வணக்கம்",
"good_evening": "மாலை வணக்கம்",
"welcome_message": "மீண்டும் வரவேற்பு, {{name}}",
"select_company": "நிறுவனத்தைத் தேர்ந்தெடுக்கவும்",
"quick_stats": "விரைவு புள்ளிவிவரங்கள்",
"revenue": "வருவாய்",
"employees": "ஊழியர்கள்",
"growth": "வளர்ச்சி",
"net_promoter": "நெட் புரோமோட்டர் ஸ்கோர்",
"ai_insights": "AI நுண்ணறிவுகள்",
"ai_insights_title": "Pennyzo இலிருந்து பரிந்துரை",
"ai_insights_content": "உங்கள் Q1 பைப்லைன் 18% அதிகரித்துள்ளது. இதைத் தொடர, CRM பின்தொடர்தல்களை தானியங்குபடுத்தவும் மற்றும் லீட்களுக்கான சுதந்திர தரம் மதிப்பெண்களை செயல்படுத்தவும்.",
"pending_approvals": "நிலுவையில் உள்ள ஒப்புதல்கள்",
"compliance_alerts": "இணக்க எச்சரிக்கைகள்",
"recent_hires": "சமீபத்திய வேலைக்கு சேர்ப்புகள்",
"expiring_contracts": "காலாவதியாகும் ஒப்பந்தங்கள்",
"suggested_actions": "பரிந்துரைக்கப்பட்ட செயல்கள்",
"review_approvals": "ஒப்புதல்களை மதிப்பாய்வு செய்",
"review_approvals_desc": "3 நிலுவையில் உள்ள முடிவுகளுக்கு கவனம் தேவை",
"update_payroll": "சம்பள பட்டியலை புதுப்பிக்கவும்",
"update_payroll_desc": "பிப்ரவரி சம்பள பட்டியல் மதிப்பாய்வுக்கு தயார்",
"onboard_employees": "ஊழியர்களை சேர்க்கவும்",
"onboard_employees_desc": "2 புதிய வேலைக்கு சேர்ப்புகள் திங்கள்கிழமை தொடங்குகின்றன",
"view_reports": "அறிக்கைகளைப் பார்க்கவும்",
"view_reports_desc": "Q1 பகுப்பாய்வுகள் கிடைக்கின்றன",
"draft_contract": "ஒப்பந்த வரைவு",
"draft_contract_desc": "புதிய விற்பனையாளர் ஒப்பந்தத்திற்கான AI-உதவி வரைவு"
},
"tasks": {
"title": "பணிகள்",
"my_tasks": "என் பணிகள்",
"all_tasks": "அனைத்து பணிகள்",
"create_task": "பணி உருவாக்கு",
"task_details": "பணி விவரங்கள்",
"status": "நிலை",
"priority": "முன்னுரிமை",
"due_date": "காலக்கெடு",
"assigned_to": "ஒதுக்கப்பட்டது",
"high": "உயர்",
"medium": "நடுத்தர",
"low": "குறைந்த",
"pending": "நிலுவை",
"in_progress": "செயல்படுகிறது",
"completed": "நிறைவு",
"overdue": "தாமதம்",
"hr": "HR",
"crm": "CRM",
"strategy": "உத்தி",
"task_orchestration": "பணி ஒழுங்குபடுத்தல்",
"task_orchestration_subtitle": "வேகத்தை கண்காணிக்க, முடிவுகளை திறக்க மற்றும் நிகழ்நேரத்தில் குழுக்களுக்கு வழிகாட்ட HR, CRM மற்றும் உத்தி பாதைகளுக்கு இடையில் மாறவும்.",
"headcount": "ஊழியர் எண்ணிக்கை",
"present_today": "இன்று வந்துள்ளனர்",
"on_leave": "விடுப்பில்",
"pipeline_value": "பைப்லைன் மதிப்பு",
"conversion_rate": "மாற்று விகிதம்",
"escalations": "தொடர் அதிகரிப்புகள்",
"okrs_on_track": "பாதையில் OKRகள்",
"initiatives": "முன்முயற்சிகள்",
"markets_assessed": "மதிப்பிடப்பட்ட சந்தைகள்",
"summary": "சுருக்கம்",
"leadership_approvals": "தலைமை ஒப்புதல்கள்",
"product_onboarding": "தயாரிப்பு சேர்ப்பு",
"operations_followups": "செயல்பாட்டு பின்தொடர்தல்கள்",
"followups_today": "இன்று பின்தொடர்தல்கள்",
"contracts_in_review": "மதிப்பாய்வில் ஒப்பந்தங்கள்",
"awaiting_responses": "பதில்களுக்காக காத்திருக்கிறது",
"strengths_reviewed": "பலங்கள் மதிப்பாய்வு செய்யப்பட்டன",
"opportunities": "வாய்ப்புகள்",
"risks_tracked": "கண்காணிக்கப்பட்ட அபாயங்கள்",
"process_payroll": "சம்பள பட்டியலை செயல்படுத்து",
"process_payroll_desc": "சம்பள பட்டியல் காசோலைகள் மற்றும் சம்பள வினியோகங்களை மதிப்பாய்வு செய்யவும்.",
"send_salary_slips": "சம்பள சீட்டுகளை அனுப்பு",
"send_salary_slips_desc": "தயாரிக்கப்பட்ட சீட்டுகளை ஊழியர்களுக்கு அனுப்பவும்.",
"generate_reports": "அறிக்கைகளை உருவாக்கு",
"generate_reports_desc": "மாதாந்திர வருகை மற்றும் விடுப்பு அறிக்கைகளை உருவாக்கவும்.",
"client_concierge": "வாடிக்கையாளர் சேவை",
"client_concierge_desc": "அர்ப்பணிக்கப்பட்ட சேவையாளர்களுக்கு பின்தொடர்தல்களை ஒதுக்கவும்.",
"launch_campaign": "பிரச்சாரத்தை தொடங்கு",
"launch_campaign_desc": "Q4 க்கான அடுத்த வளர்ப்பு பயணத்தைத் தூண்டவும்.",
"executive_summary": "நிர்வாக சுருக்கம்",
"executive_summary_desc": "இந்த வார நிர்வாக விளக்கத்தை தொகுக்கவும்.",
"steering_committee": "வழிகாட்டுதல் குழு",
"steering_committee_desc": "குறுக்கு-செயல்பாட்டு மதிப்பாய்வை திட்டமிடவும்.",
"retention_watchlist": "தக்கவைப்பு கண்காணிப்பு பட்டியல்",
"retention_watchlist_desc": "Pennyzo இந்த இரண்டு வாரங்களில் புதிய வேலைக்கு சேர்ப்புகளுடன் வழிகாட்டிகளை இணைக்க பரிந்துரைக்கிறது. வாரத்திற்கு இரண்டு முறை நண்பர் சோதனைகள் நடக்கும்போது ஆதரவு குழுக்களுக்கான அழுத்த அபாயம் 12% குறைகிறது.",
"pipeline_sentiment": "பைப்லைன் உணர்வு",
"pipeline_sentiment_desc": "வாடிக்கையாளர் சேவை உணர்வு நடுநிலைக்கு கீழே குறைந்த 14 ஒப்பந்தங்களை குறியிட்டது. பெங்களூர் மற்றும் புனே கிளஸ்டர்களுக்கு தலையிட மூத்த ஆலோசகர்களை தூண்டவும்.",
"swot_briefing": "SWOT விளக்கம்",
"swot_briefing_desc": "தலைமைத்துவம் தொடங்குவதற்கு வரிசையில் நான்கு வளர்ந்து வரும் சந்தைகளை வைத்துள்ளது. வெள்ளிக்கிழமை வழிகாட்டுதல் குழுவுக்கு முன் வாய்ப்பு வரைபடத்துடன் தயாரிப்பு சந்தைப்படுத்தல் கதைகளை சீரமைக்கவும்.",
"swot_strengths": "நிறுவன சம்பள பட்டியல் மற்றும் இணக்க தானியங்குபடுத்தலில் பிராண்ட் நினைவு.",
"swot_weaknesses": "அடுக்கு-2 நகரங்களில் வரையறுக்கப்பட்ட இருப்பு மற்றும் கலப்பின ஆதரவு மணிநேரங்கள்.",
"swot_opportunities": "SEA முழுவதும் ஃபின்டெக் சூழல் அமைப்புகளிலிருந்து கூட்டாண்மை தேவை.",
"swot_threats": "இந்தியாவில் பல மொழி CX குழுக்களை அதிகரிக்கும் இரண்டு போட்டியாளர்கள்."
},
"documents": {
"title": "ஆவணங்கள்",
"my_documents": "என் ஆவணங்கள்",
"recent": "சமீபத்திய",
"upload": "பதிவேற்று",
"download": "பதிவிறக்கு",
"share": "பகிர்",
"delete_document": "ஆவணத்தை நீக்கு",
"file_name": "கோப்பு பெயர்",
"size": "அளவு",
"modified": "திருத்தப்பட்டது",
"uploaded_by": "பதிவேற்றியவர்",
"documents_vault": "ஆவண கருவூலம்",
"vault_description": "ஒவ்வொரு தானாக தயாரிக்கப்பட்ட பொதி, கையொப்பமிடப்பட்ட ஒப்பந்தம் மற்றும் சட்ட குறிப்பை மையப்படுத்தவும். Pennyzo உங்கள் ஆவணங்களை பாதுகாப்பாகவும் தணிக்கை தயாராகவும் வைத்திருக்கிறது.",
"auto_prepped": "தானாக தயாரிக்கப்பட்டது",
"contracts": "ஒப்பந்தங்கள்",
"legal": "சட்டம்",
"recent_activity": "சமீபத்திய செயல்பாடு",
"activity_1": "Pennyzo நவம்பர் ரன்னுக்காக 12 சம்பள பட்டியல் கடிதங்களை தானாக தயார் செய்தது.",
"activity_2": "விற்பனையாளர் ஒப்பந்த வரைவு இறுதி கையொப்பங்களுக்காக சட்டத்திற்கு அனுப்பப்பட்டது.",
"activity_3": "வெள்ளிக்கிழமைக்கு முன் வாரிய மதிப்பாய்வுக்காக இணக்க சுருக்கம் குறிக்கப்பட்டது.",
"activity_4": "எச்சரிக்கை: விற்பனையாளர் NDA 3 நாட்களில் காலாவதியாகும். புதுப்பிப்பு பரிந்துரைக்கப்படுகிறது.",
"timestamp_1": "5 நிமிடங்களுக்கு முன்",
"timestamp_2": "28 நிமிடங்களுக்கு முன்",
"timestamp_3": "1 மணி நேரத்திற்கு முன்",
"timestamp_4": "2 மணி நேரத்திற்கு முன்",
"search_documents": "ஆவணங்களைத் தேடு",
"search_documents_desc": "விலைப்பட்டியல்கள், கொள்கைகள் மற்றும் பதிவு செய்யப்பட்ட கூட்ட குறிப்புகளை உடனடியாக கண்டுபிடிக்கவும்.",
"bulk_upload": "மொத்த பதிவேற்றம்",
"bulk_upload_desc": "உடனடி குறியிடலுக்கு இணக்க பொதிகள் அல்லது சேர்ப்பு ஆவணங்களை விடவும்."
},
"profile": {
"title": "சுயவிவரம்",
"my_profile": "என் சுயவிவரம்",
"edit_profile": "சுயவிவரத்தை திருத்து",
"personal_info": "தனிப்பட்ட தகவல்",
"full_name": "முழு பெயர்",
"email": "மின்னஞ்சல்",
"phone": "தொலைபேசி",
"department": "துறை",
"position": "பதவி",
"change_password": "கடவுச்சொல்லை மாற்று",
"current_password": "தற்போதைய கடவுச்சொல்",
"new_password": "புதிய கடவுச்சொல்",
"confirm_password": "கடவுச்சொல்லை உறுதிப்படுத்து",
"update_profile": "சுயவிவரத்தை புதுப்பிக்கவும்",
"premium_user": "பிரீமியம் பயனர்",
"account_overview": "கணக்கு மேலோட்டம்",
"account_overview_subtitle": "உங்கள் Pennyzo அடையாளத்தை மெருகூட்டி வாடிக்கையாளர் தயார் ஹாண்ட்ஆஃப்களுக்கு தயார் நிலையில் வைத்திருங்கள்",
"user_info": "பயனர் தகவல்",
"user_info_desc": "தனிப்பட்ட மற்றும் தொடர்பு விவரங்களை திருத்தவும்",
"subscription": "சந்தா",
"subscription_desc": "பில்லிங் மற்றும் கிரெடிட் பேக்குகளை நிர்வகிக்கவும்",
"integrations": "ஒருங்கிணைப்புகள்",
"integrations_desc": "Slack, HubSpot மற்றும் ERPஐ இணைக்கவும்",
"settings": "அமைப்புகள்",
"settings_desc": "பணியிட விருப்பத்தேர்வுகள் மற்றும் எச்சரிக்கைகள்",
"help_support": "உதவி & ஆதரவு",
"help_support_desc": "டிக்கெட்டை எழுப்பவும் அல்லது சேவையாளருடன் அரட்டையடிக்கவும்",
"logout": "வெளியேறு",
"logout_desc": "இந்த பணியிடத்திலிருந்து வெளியேறு"
},
"settings": {
"title": "அமைப்புகள்",
"general": "பொது",
"notifications": "அறிவிப்புகள்",
"security": "பாதுகாப்பு",
"preferences": "விருப்பத்தேர்வுகள்",
"language": "மொழி",
"timezone": "நேர மண்டலம்",
"theme": "தீம்",
"email_notifications": "மின்னஞ்சல் அறிவிப்புகள்",
"push_notifications": "புஷ் அறிவிப்புகள்",
"two_factor": "இரு-காரணி அங்கீகாரம்",
"privacy": "தனியுரிமை",
"terms": "விதிமுறைகள் & நிபந்தனைகள்",
"workspace_settings": "பணியிட அமைப்புகள்",
"workspace_settings_desc": "Pennyzoஐ உங்கள் நிர்வாக லயத்துடன் சீரமைக்க காப்புரேல்கள், அறிவிப்புகள் மற்றும் இயல்புநிலைகளை கட்டமைக்கவும். ஒவ்வொரு மாற்றமும் சேவையாளர் முகவர்கள், ஆவணங்கள் மற்றும் பகுப்பாய்வு டாஷ்போர்டுகளில் உடனடியாக பொருந்தும்.",
"security_posture": "பாதுகாப்பு நிலை",
"security_posture_subtitle": "Pennyzo புலனாய்வை அணுகும் அனைவருக்கும் சிறந்த நடைமுறைகளை செயல்படுத்தவும்"
},
"auth": {
"login": "உள்நுழை",
"register": "பதிவு செய்",
"logout": "வெளியேறு",
"forgot_password": "கடவுச்சொல்லை மறந்துவிட்டீர்களா?",
"reset_password": "கடவுச்சொல்லை மீட்டமை",
"email_address": "மின்னஞ்சல் முகவரி",
"password": "கடவுச்சொல்",
"remember_me": "என்னை நினைவில் வை",
"no_account": "கணக்கு இல்லையா?",
"have_account": "ஏற்கனவே கணக்கு உள்ளதா?",
"enter_email": "உங்கள் மின்னஞ்சலை உள்ளிடவும்",
"enter_password": "உங்கள் கடவுச்சொல்லை உள்ளிடவும்",
"create_account": "கணக்கை உருவாக்கு",
"welcome_back": "மீண்டும் வரவேற்பு",
"get_started": "Pennyzo உடன் தொடங்கவும்",
"demo_login": "டெமோ உள்நுழைவு",
"or_continue_with": "அல்லது இதனுடன் தொடரவும்",
"google": "கூகிள்",
"microsoft": "மைக்ரோசாஃப்ட்",
"verify_email": "மின்னஞ்சலை சரிபார்க்கவும்",
"check_inbox": "உங்கள் இன்பாக்ஸை சரிபார்க்கவும்",
"reset_link_sent": "கடவுச்சொல் மீட்டமை இணைப்பு அனுப்பப்பட்டது",
"password_updated": "கடவுச்சொல் வெற்றிகரமாக புதுப்பிக்கப்பட்டது"
},
"agents_page": {
"active_agents": "செயலில் முகவர்கள்",
"idle_agents": "செயலற்ற முகவர்கள்",
"busy_agents": "பிஸி முகவர்கள்",
"total_tasks": "மொத்த பணிகள்"
},
"errors": {
"general_error": "ஏதோ தவறு நடந்தது",
"network_error": "நெட்வொர்க் பிழை",
"not_found": "கண்டுபிடிக்கப்படவில்லை",
"unauthorized": "அங்கீகரிக்கப்படவில்லை",
"forbidden": "தடைசெய்யப்பட்டது",
"server_error": "சேவையக பிழை"
}
}

395
src/i18n/locales/te.json Normal file
View File

@@ -0,0 +1,395 @@
{
"common": {
"select_language": "భాషను ఎంచుకోండి",
"navigation": "నావిగేషన్",
"hub": "హబ్",
"send": "పంపించు",
"chat_placeholder": "సందేశం టైప్ చేయండి...",
"hello_message": "నమస్కారం! ఈరోజు నేను మీకు ఎలా సహాయం చేయగలను?",
"agent_response": "{{agentName}} నుండి ప్రతిస్పందన: {{text}}",
"close": "మూసివేయి",
"cancel": "రద్దు చేయి",
"save": "సేవ్ చేయి",
"delete": "తొలగించు",
"edit": "సవరించు",
"loading": "లోడ్ అవుతోంది...",
"error": "లోపం",
"success": "విజయం",
"welcome": "స్వాగతం",
"hello": "నమస్కారం",
"back": "వెనకకు",
"next": "తదుపరి",
"submit": "సమర్పించు",
"confirm": "నిర్ధారించు",
"search": "శోధించు",
"filter": "ఫిల్టర్",
"sort": "క్రమబద్ధీకరించు",
"view_all": "అన్నీ చూడండి",
"no_data": "డేటా అందుబాటులో లేదు",
"try_again": "మళ్ళీ ప్రయత్నించండి",
"summary": "సారాంశం"
},
"topbar": {
"notifications": "నోటిఫికేషన్‌లు",
"new": "కొత్త",
"no_new_notifications": "కొత్త నోటిఫికేషన్‌లు లేవు",
"notify_when_arrives": "ఏదైనా వచ్చినప్పుడు మేము మీకు తెలియజేస్తాము.",
"view_all_notifications": "అన్ని నోటిఫికేషన్‌లను చూడండి",
"change_profile_picture": "ప్రొఫైల్ చిత్రాన్ని మార్చండి",
"premium_user": "ప్రీమియం వినియోగదారు",
"my_profile": "నా ప్రొఫైల్",
"credits": "క్రెడిట్స్",
"settings": "సెట్టింగ్‌లు",
"sign_out": "సైన్ అవుట్",
"toggle_navigation": "నావిగేషన్ టోగుల్ చేయండి",
"profile_menu": "ప్రొఫైల్ మెనూ",
"ask_ai_assistant": "AI అసిస్టెంట్‌ను అడగండి"
},
"nav": {
"home": "హోమ్",
"agents": "ఏజెంట్లు",
"tasks": "టాస్క్‌లు",
"documents": "పత్రాలు",
"more": "మరిన్ని",
"profile": "ప్రొఫైల్",
"credits": "క్రెడిట్స్",
"support": "మద్దతు",
"settings": "సెట్టింగ్‌లు",
"sign_out": "సైన్ అవుట్"
},
"agents": {
"title": "AI ఏజెంట్లు",
"command_centre": "మీ AI కమాండ్ సెంటర్",
"command_centre_desc": "ఒక విలాసవంతమైన డాష్‌బోర్డ్ నుండి అందుబాటును పర్యవేక్షించండి, ప్రతిభను విస్తరించండి మరియు ప్రతి Pennyzo ఏజెంట్‌ను నిర్వహించండి.",
"add_agent": "ఏజెంట్‌ను జోడించండి",
"active": "క్రియాశీలం",
"idle": "నిష్క్రియం",
"busy": "బిజీ",
"agent_roster": "ఏజెంట్ రోస్టర్",
"all_agents": "అన్ని ఏజెంట్లు",
"researcher": "పరిశోధన ఏజెంట్",
"writer": "కంటెంట్ రైటర్",
"coder": "కోడ్ అసిస్టెంట్",
"designer": "డిజైన్ అసిస్టెంట్",
"finance_ops": "ఆర్థిక కార్యకలాపాల అధిపతి",
"talent_strategist": "టాలెంట్ స్ట్రాటజిస్ట్",
"compliance_analyst": "కంప్లయన్స్ విశ్లేషకుడు",
"business_intelligence": "బిజినెస్ ఇంటెలిజెన్స్",
"customer_success": "కస్టమర్ సక్సెస్",
"operations_lead": "ఆపరేషన్స్ లీడ్"
},
"display_panel": {
"tab_instructions": "సూచనలు",
"tab_playground": "ప్లేగ్రౌండ్",
"instructions_welcome": "స్వాగతం. ఈ ప్యానెల్ ఏజెంట్‌లను ఎలా నడపాలో మరియు ఫలితాలను ఎలా చూడాలో మార్గనిర్దేశం చేస్తుంది.",
"instructions_step1": "మీ టాస్క్‌కు సరిపోయే ఏజెంట్‌ను ఎడమ ప్యానెల్ నుండి ఎంచుకోండి.",
"instructions_step2": "అభ్యర్థనను పంపడానికి చాట్ డాక్‌ను ఉపయోగించండి. పంపడానికి Enter నొక్కండి.",
"instructions_step3": "సారాంశాలు, చార్ట్‌లు లేదా సృష్టించిన ఆస్తుల కోసం ఈ ప్యానెల్‌ను చూడండి.",
"instructions_step4": "ఫాలో-అప్‌లతో మెరుగుపరచండి. ఉత్తమ ఫలితాల కోసం సంక్షిప్త ప్రాంప్ట్‌లను ఉపయోగించండి.",
"instructions_tip_label": "చిట్కా",
"instructions_tip_text": "క్రియతో ప్రాంప్ట్‌లను ప్రారంభించండి: \"సారాంశం చేయండి…\", \"పోల్చండి…\", \"డ్రాఫ్ట్ చేయండి…\".",
"instructions_format_label": "ఫార్మాట్",
"instructions_format_text": "మీకు నిర్మాణాత్మక అవుట్‌పుట్ అవసరమైతే టేబుల్స్, బుల్లెట్ పాయింట్లు లేదా JSON కోసం అడగండి.",
"playground_intro": "ఇది మీ ప్లేగ్రౌండ్ కాన్వాస్. ఇక్కడ ప్రివ్యూలు, చార్ట్‌లు లేదా కంటెంట్‌ను రెండర్ చేయండి.",
"playground_empty_label": "ఖాళీ కాన్వాస్",
"playground_empty_text": "ఫలితాలను దృశ్యీకరించడానికి ఈ ప్రాంతాన్ని మీ ఏజెంట్ అవుట్‌పుట్‌లకు కనెక్ట్ చేయండి."
},
"credits": {
"title": "క్రెడిట్స్ & వినియోగ చరిత్ర",
"buy_credits": "క్రెడిట్స్ కొనండి",
"current_balance": "ప్రస్తుత బ్యాలెన్స్",
"available": "అందుబాటులో ఉంది",
"monthly_usage": "నెలవారీ వినియోగం",
"spent": "ఖర్చు పెట్టారు",
"monthly_purchases": "నెలవారీ కొనుగోళ్లు",
"bought": "కొన్నారు",
"transaction_history": "లావాదేవీ చరిత్ర",
"year": "సంవత్సరం",
"month": "నెల",
"show": "చూపించు",
"date": "తేదీ",
"type": "రకం",
"description": "వివరణ",
"amount": "మొత్తం",
"balance": "బ్యాలెన్స్",
"type_usage": "వినియోగం",
"type_purchase": "కొనుగోలు",
"type_bonus": "బోనస్",
"credit_vault": "క్రెడిట్ వాల్ట్",
"vault_subtitle": "మీ కన్సియర్జ్ ఏజెంట్లు, హై-టచ్ వర్క్‌ఫ్లో మరియు ఆటో-తయారు చేసిన పత్రాలకు పెన్నీజో క్రెడిట్స్‌తో ఇంధనం అందించండి. వినియోగాన్ని పర్యవేక్షించండి, ఆటో టాప్-అప్ చేయండి మరియు ప్రొడక్షన్ రెడీగా ఉండండి.",
"available_credits": "అందుబాటులో ఉన్న క్రెడిట్స్",
"usage_this_month": "ఈ నెల వినియోగం",
"auto_topup_threshold": "ఆటో టాప్-అప్ థ్రెషోల్డ్",
"credit_marketplace": "క్రెడిట్ మార్కెట్‌ప్లేస్",
"marketplace_subtitle": "వాల్యూమ్ తగ్గింపులు స్వయంచాలకంగా లభిస్తాయి — అన్ని ప్యాక్‌లలో కన్సియర్జ్ మద్దతు ఉంటుంది",
"starter_pack": "స్టార్టర్ ప్యాక్",
"starter_desc": "1,000 క్రెడిట్స్ • చిన్న బర్స్ట్‌లకు అనువైనది",
"starter_price": "₹1,999",
"growth_pack": "గ్రోత్ ప్యాక్",
"growth_desc": "5,000 క్రెడిట్స్ • కన్సియర్జ్ సమీక్షలు ఉంటాయి",
"growth_price": "₹8,499",
"enterprise_pack": "ఎంటర్‌ప్రైజ్ ప్యాక్",
"enterprise_desc": "20,000 క్రెడిట్స్ • అంకిత కంప్యూట్ పూల్",
"enterprise_price": "₹28,999",
"purchase": "కొనుగోలు చేయండి",
"custom_pack": "కస్టమ్ ప్యాక్",
"custom_desc": "ప్రచార బర్స్ట్‌లకు సరిపోయేలా క్రెడిట్స్‌ను స్కేల్ చేయండి. కన్సియర్జ్ మీ కోసం ఆటో టాప్-అప్ నియమాలను ట్యూన్ చేస్తుంది.",
"credits_label": "క్రెడిట్స్",
"est_spend": "అంచనా వ్యయం",
"gst_note": "చెక్అవుట్ సమయంలో GST స్వయంచాలక లెక్కింపు",
"buy_custom_pack": "కస్టమ్ ప్యాక్ కొనండి",
"schedule_auto_topups": "ఆటో టాప్-అప్‌లను షెడ్యూల్ చేయండి",
"schedule_desc": "బ్యాలెన్స్ థ్రెషోల్డ్‌ల కంటే తగ్గినప్పుడు కొనుగోళ్లను ట్రిగ్గర్ చేయండి.",
"share_usage": "ఫైనాన్స్‌తో వినియోగాన్ని భాగస్వామ్యం చేయండి",
"share_desc": "నెలవారీ లెడ్జర్‌ను CSV లేదా Google షీట్‌గా ఎగుమతి చేయండి.",
"slack_alerts": "స్లాక్ బ్యాలెన్స్ హెచ్చరికలు",
"slack_desc": "క్రెడిట్స్ 5K కంటే తగ్గినప్పుడు #leadership కు తెలియజేయండి.",
"usage_timeline": "వినియోగ టైమ్‌లైన్",
"timeline_subtitle": "మీ AI వర్క్‌స్పేస్‌లో క్రెడిట్స్ ఎలా కదులుతాయి అనే పూర్తి ఆడిట్ చరిత్ర",
"txn_strategy": "స్ట్రాటజీ ఏజెంట్ – పిచ్ డెక్ అవుట్‌లైన్",
"txn_payroll": "పేరోల్ ఆటోమేషన్ రన్",
"txn_growth_purchase": "గ్రోత్ ప్యాక్ కొనుగోలు",
"txn_loyalty_bonus": "కన్సియర్జ్ లాయల్టీ బోనస్"
},
"more": {
"title": "మరిన్ని",
"concierge_hub": "కన్సియర్జ్ కంట్రోల్ హబ్",
"hub_subtitle": "ప్రీమియం ఆపరేషన్స్‌కు శక్తినిచ్చే అధునాతన పెన్నీజో మాడ్యూల్స్‌కు షార్ట్‌కట్",
"curate_cockpit": "మీ లీడర్‌షిప్ కాక్‌పిట్‌ను క్యూరేట్ చేయండి",
"cockpit_desc": "ప్రొఫైల్ వివరాలను టైలర్ చేయండి, క్రెడిట్స్‌ను నిర్వహించండి, ప్రచారాల కోసం జెనరేటర్‌ను ట్రిగ్గర్ చేయండి లేదా వర్క్‌స్పేస్ ప్రాధాన్యతలను తిరిగి వైర్ చేయండి. అన్నీ స్థానిక పెన్నీజో కన్సియర్జ్‌ను ప్రతిబింబిస్తాయి.",
"open_profile": "ప్రొఫైల్ తెరవండి",
"purchase_credits": "క్రెడిట్స్ కొనుగోలు చేయండి",
"profile_menu": "ప్రొఫైల్",
"profile_menu_desc": "వ్యక్తిగత వివరాలు, ప్రాధాన్యతలు మరియు కన్సియర్జ్ దృశ్యమానతను సవరించండి",
"credits_menu": "క్రెడిట్స్",
"credits_menu_desc": "బ్యాలెన్స్‌ను పర్యవేక్షించండి, టాప్-అప్‌లను షెడ్యూల్ చేయండి, లెడ్జర్‌ను సమీక్షించండి",
"generate_menu": "జనరేట్ చేయండి",
"generate_menu_desc": "ప్రచార టెంప్లేట్‌లు మరియు కాలానుగుణ కంటెంట్‌ను ప్రారంభించండి",
"leadership_settings": "లీడర్‌షిప్ సెట్టింగ్‌లు",
"leadership_settings_desc": "భద్రత, నోటిఫికేషన్‌లు, ఇంటిగ్రేషన్‌లు",
"support_concierge": "సపోర్ట్ కన్సియర్జ్",
"support_desc": "వైట్-గ్లోవ్ వర్క్‌ఫ్లో కోసం పెన్నీజో నిపుణులతో మాట్లాడండి.",
"language_selector": "భాష ఎంపికదారు",
"language_desc": "మొత్తం వర్క్‌స్పేస్‌ను సెకన్లలో స్థానిక భాషకు మార్చండి.",
"invite_leadership": "లీడర్‌షిప్‌ను ఆహ్వానించండి",
"invite_desc": "బోర్డ్ పరిశీలకుల కోసం రీడ్-ఓన్లీ యాక్సెస్‌ను అందించండి.",
"operational_playlists": "ఆపరేషనల్ ప్లేలిస్ట్‌లు",
"playlists_subtitle": "మొబైల్ యాప్ నుండి ఎక్కువగా ఉపయోగించే కన్సియర్జ్ పాత్‌లు ఇప్పుడు వెబ్ కోసం ట్యూన్ చేయబడ్డాయి",
"cxo_brief": "CXO రోజువారీ సారాంశం",
"cxo_brief_desc": "90 సెకన్లలో పైప్‌లైన్ డెల్టా, క్రెడిట్ ఆరోగ్యం మరియు టాప్ ఏజెంట్లు.",
"investor_dataroom": "పెట్టుబడిదారు డేటా రూమ్",
"investor_desc": "పత్రాలు, ఆమోదాలు మరియు వ్యాఖ్యానాన్ని తక్షణమే సంకలనం చేయండి.",
"brand_voice": "బ్రాండ్ వాయిస్ ట్యూనింగ్",
"brand_voice_desc": "ప్రచారాలు, ప్రతిపాదనలు మరియు పత్రాలలో AI టోన్‌ను సమలేఖనం చేయండి.",
"hiring_sprint": "హైరింగ్ స్ప్రింట్",
"hiring_desc": "JD సృష్టి, స్క్రీనింగ్ సారాంశాలు మరియు ఆఫర్ ప్యాక్‌లను ఆటోమేట్ చేయండి.",
"board_readiness": "బోర్డ్ సంసిద్ధత",
"board_desc": "సమ్మతి లేఖలు, నిమిషాలు మరియు ఆర్థిక స్నాప్‌షాట్‌లను సమీకరించండి.",
"global_expansion": "గ్లోబల్ విస్తరణ",
"expansion_desc": "ప్లేబుక్‌లను స్థానికీకరించండి మరియు కన్సియర్జ్‌తో అనువాదాలను సమకాలీకరించండి.",
"open_flow": "ఫ్లో తెరవండి"
},
"home": {
"title": "హోమ్",
"good_morning": "శుభోదయం",
"good_afternoon": "శుభ మధ్యాహ్నం",
"good_evening": "శుభ సాయంత్రం",
"welcome_message": "తిరిగి స్వాగతం, {{name}}",
"select_company": "కంపెనీని ఎంచుకోండి",
"quick_stats": "త్వరిత గణాంకాలు",
"revenue": "ఆదాయం",
"employees": "ఉద్యోగులు",
"growth": "వృద్ధి",
"net_promoter": "నెట్ ప్రమోటర్ స్కోర్",
"ai_insights": "AI అంతర్దృష్టులు",
"ai_insights_title": "Pennyzo నుండి సూచన",
"ai_insights_content": "మీ Q1 పైప్‌లైన్ 18% పెరిగింది. దీన్ని కొనసాగించడానికి, CRM అనుసరణలను స్వయంచాలకం చేయండి మరియు లీడ్‌ల కోసం స్వతంత్ర నాణ్యత స్కోర్‌లను అమలు చేయండి.",
"pending_approvals": "పెండింగ్ ఆమోదాలు",
"compliance_alerts": "కంప్లయన్స్ హెచ్చరికలు",
"recent_hires": "ఇటీవలి నియామకాలు",
"expiring_contracts": "గడువు ముగిసే ఒప్పందాలు",
"suggested_actions": "సూచించిన చర్యలు",
"review_approvals": "ఆమోదాలను సమీక్షించండి",
"review_approvals_desc": "3 పెండింగ్ నిర్ణయాలకు శ్రద్ధ అవసరం",
"update_payroll": "పేరోల్ నవీకరించండి",
"update_payroll_desc": "ఫిబ్రవరి పేరోల్ సమీక్ష కోసం సిద్ధంగా ఉంది",
"onboard_employees": "ఉద్యోగులను చేర్చండి",
"onboard_employees_desc": "2 కొత్త నియామకాలు సోమవారం ప్రారంభమవుతున్నారు",
"view_reports": "నివేదికలను చూడండి",
"view_reports_desc": "Q1 విశ్లేషణలు అందుబాటులో ఉన్నాయి",
"draft_contract": "ఒప్పందం ముసాయిదా",
"draft_contract_desc": "కొత్త విక్రేత ఒప్పందానికి AI-అసిస్టెడ్ ముసాయిదా"
},
"tasks": {
"title": "టాస్క్‌లు",
"my_tasks": "నా టాస్క్‌లు",
"all_tasks": "అన్ని టాస్క్‌లు",
"create_task": "టాస్క్ సృష్టించండి",
"task_details": "టాస్క్ వివరాలు",
"status": "స్థితి",
"priority": "ప్రాధాన్యత",
"due_date": "గడువు తేదీ",
"assigned_to": "కు కేటాయించబడింది",
"high": "అధిక",
"medium": "మధ్యస్థ",
"low": "తక్కువ",
"pending": "పెండింగ్",
"in_progress": "పురోగతిలో ఉంది",
"completed": "పూర్తయింది",
"overdue": "గడువు దాటింది",
"hr": "HR",
"crm": "CRM",
"strategy": "వ్యూహం",
"task_orchestration": "టాస్క్ ఆర్కెస్ట్రేషన్",
"task_orchestration_subtitle": "ఆవేగాన్ని ట్రాక్ చేయడానికి, నిర్ణయాలను అన్‌బ్లాక్ చేయడానికి మరియు నిజ సమయంలో జట్లకు మార్గనిర్దేశం చేయడానికి HR, CRM మరియు వ్యూహ లేన్‌ల మధ్య మారండి.",
"headcount": "ఉద్యోగుల సంఖ్య",
"present_today": "ఈరోజు హాజరు",
"on_leave": "సెలవులో",
"pipeline_value": "పైప్‌లైన్ విలువ",
"conversion_rate": "మార్పిడి రేటు",
"escalations": "ఎస్కలేషన్స్",
"okrs_on_track": "ట్రాక్‌లో OKRలు",
"initiatives": "కార్యక్రమాలు",
"markets_assessed": "అంచనా వేసిన మార్కెట్లు",
"summary": "సారాంశం",
"leadership_approvals": "నాయకత్వ ఆమోదాలు",
"product_onboarding": "ఉత్పత్తి ఆన్‌బోర్డింగ్",
"operations_followups": "కార్యకలాపాల అనుసరణలు",
"followups_today": "ఈరోజు అనుసరణలు",
"contracts_in_review": "సమీక్షలో ఒప్పందాలు",
"awaiting_responses": "ప్రతిస్పందనల కోసం ఎదురుచూస్తోంది",
"strengths_reviewed": "బలాలు సమీక్షించబడ్డాయి",
"opportunities": "అవకాశాలు",
"risks_tracked": "ట్రాక్ చేసిన ప్రమాదాలు",
"process_payroll": "పేరోల్ ప్రాసెస్ చేయండి",
"process_payroll_desc": "పేరోల్ చెక్‌లు మరియు జీతాల పంపిణీలను సమీక్షించండి.",
"send_salary_slips": "జీత స్లిప్‌లు పంపండి",
"send_salary_slips_desc": "సిద్ధం చేసిన స్లిప్‌లను ఉద్యోగులకు పంపించండి.",
"generate_reports": "నివేదికలను రూపొందించండి",
"generate_reports_desc": "నెలవారీ హాజరు మరియు సెలవు నివేదికలను రూపొందించండి.",
"client_concierge": "క్లయింట్ కాన్సీర్జ్",
"client_concierge_desc": "అంకితమైన కాన్సీర్జ్‌లకు అనుసరణలను కేటాయించండి.",
"launch_campaign": "ప్రచారం ప్రారంభించండి",
"launch_campaign_desc": "Q4 కోసం తదుపరి పోషణ ప్రయాణాన్ని ప్రారంభించండి.",
"executive_summary": "కార్యనిర్వాహక సారాంశం",
"executive_summary_desc": "ఈ వారం కార్యనిర్వాహక బ్రీఫింగ్‌ను సంకలనం చేయండి.",
"steering_committee": "స్టీరింగ్ కమిటీ",
"steering_committee_desc": "క్రాస్-ఫంక్షనల్ సమీక్షను షెడ్యూల్ చేయండి.",
"retention_watchlist": "నిలుపుదల వాచ్‌లిస్ట్",
"retention_watchlist_desc": "Pennyzo ఈ పక్షం కొత్త నియామకాలతో మార్గదర్శకులను జతచేయాలని సూచిస్తుంది. వారానికి రెండుసార్లు స్నేహితుల తనిఖీలు జరిగినప్పుడు మద్దతు జట్ల కోసం నష్టం ప్రమాదం 12% తగ్గుతుంది.",
"pipeline_sentiment": "పైప్‌లైన్ సెంటిమెంట్",
"pipeline_sentiment_desc": "క్లయింట్ కాన్సీర్జ్ సెంటిమెంట్ తటస్థం క్రింద పడిన 14 ఒప్పందాలను ఫ్లాగ్ చేసింది. బెంగళూరు మరియు పుణే క్లస్టర్‌ల కోసం జోక్యం చేసుకోవడానికి సీనియర్ సలహాదారులను ప్రోత్సహించండి.",
"swot_briefing": "SWOT బ్రీఫింగ్",
"swot_briefing_desc": "నాయకత్వం ప్రారంభానికి వరుసలో నాలుగు అభివృద్ధి చెందుతున్న మార్కెట్లను కలిగి ఉంది. శుక్రవారం స్టీరింగ్ కమిటీకి ముందు అవకాశ మ్యాప్‌తో ఉత్పత్తి మార్కెటింగ్ కథనాలను సమలేఖనం చేయండి.",
"swot_strengths": "ఎంటర్‌ప్రైజ్ పేరోల్ మరియు కంప్లయన్స్ ఆటోమేషన్‌లో బ్రాండ్ రీకాల్.",
"swot_weaknesses": "టైర్-2 నగరాలలో పరిమిత ఉనికి మరియు హైబ్రిడ్ మద్దతు గంటలు.",
"swot_opportunities": "SEA అంతటా ఫిన్‌టెక్ ఎకోసిస్టమ్‌ల నుండి భాగస్వామ్య డిమాండ్.",
"swot_threats": "భారతదేశంలో బహుళ-భాషా CX జట్లను పెంచుతున్న ఇద్దరు పోటీదారులు."
},
"documents": {
"title": "పత్రాలు",
"my_documents": "నా పత్రాలు",
"recent": "ఇటీవలి",
"upload": "అప్‌లోడ్",
"download": "డౌన్‌లోడ్",
"share": "షేర్",
"delete_document": "పత్రాన్ని తొలగించండి",
"file_name": "ఫైల్ పేరు",
"size": "పరిమాణం",
"modified": "సవరించబడింది",
"uploaded_by": "ద్వారా అప్‌లోడ్ చేయబడింది",
"documents_vault": "పత్రాల ఖజానా",
"vault_description": "ప్రతి స్వయంచాలకంగా సిద్ధం చేసిన ప్యాకెట్, సంతకం చేసిన ఒప్పందం మరియు చట్టపరమైన గమనికను కేంద్రీకరించండి. Pennyzo మీ పత్రాలను సురక్షితంగా మరియు ఆడిట్ సిద్ధంగా ఉంచుతుంది.",
"auto_prepped": "స్వయంచాలక-సిద్ధం",
"contracts": "ఒప్పందాలు",
"legal": "చట్టపరమైన",
"recent_activity": "ఇటీవలి కార్యకలాపాలు",
"activity_1": "Pennyzo నవంబర్ రన్ కోసం 12 పేరోల్ లెటర్‌లను స్వయంచాలకంగా సిద్ధం చేసింది.",
"activity_2": "చివరి సంతకాల కోసం విక్రేత ఒప్పంద ముసాయిదా చట్టానికి పంపబడింది.",
"activity_3": "శుక్రవారం ముందు బోర్డ్ సమీక్ష కోసం కంప్లయన్స్ సారాంశం గుర్తించబడింది.",
"activity_4": "హెచ్చరిక: విక్రేత NDA 3 రోజుల్లో గడువు ముగుస్తుంది. పునరుద్ధరణ సూచించబడింది.",
"timestamp_1": "5 నిమిషాల క్రితం",
"timestamp_2": "28 నిమిషాల క్రితం",
"timestamp_3": "1 గంట క్రితం",
"timestamp_4": "2 గంటల క్రితం",
"search_documents": "పత్రాలను శోధించండి",
"search_documents_desc": "ఇన్‌వాయిస్‌లు, విధానాలు మరియు టేప్ చేసిన మీటింగ్ నోట్స్‌ను తక్షణమే గుర్తించండి.",
"bulk_upload": "బల్క్ అప్‌లోడ్",
"bulk_upload_desc": "తక్షణ ట్యాగింగ్ కోసం కంప్లయన్స్ ప్యాకెట్లు లేదా ఆన్‌బోర్డింగ్ డాక్స్ డ్రాప్ చేయండి."
},
"profile": {
"title": "ప్రొఫైల్",
"my_profile": "నా ప్రొఫైల్",
"edit_profile": "ప్రొఫైల్ సవరించండి",
"personal_info": "వ్యక్తిగత సమాచారం",
"full_name": "పూర్తి పేరు",
"email": "ఇమెయిల్",
"phone": "ఫోన్",
"department": "విభాగం",
"position": "పొజిషన్",
"change_password": "పాస్‌వర్డ్ మార్చండి",
"current_password": "ప్రస్తుత పాస్‌వర్డ్",
"new_password": "కొత్త పాస్‌వర్డ్",
"confirm_password": "పాస్‌వర్డ్‌ను నిర్ధారించండి",
"update_profile": "ప్రొఫైల్ నవీకరించండి",
"premium_user": "ప్రీమియం వినియోగదారు",
"account_overview": "ఖాతా స్థూలదృష్టి",
"account_overview_subtitle": "మీ Pennyzo గుర్తింపును మెరుగుపరచి మరియు క్లయింట్-సిద్ధమైన హ్యాండ్‌ఆఫ్‌ల కోసం సిద్ధంగా ఉంచండి",
"user_info": "వినియోగదారు సమాచారం",
"user_info_desc": "వ్యక్తిగత మరియు సంప్రదింపు వివరాలను సవరించండి",
"subscription": "సభ్యత్వం",
"subscription_desc": "బిల్లింగ్ మరియు క్రెడిట్ ప్యాక్‌లను నిర్వహించండి",
"integrations": "అనుసంధానాలు",
"integrations_desc": "Slack, HubSpot మరియు ERPను కనెక్ట్ చేయండి",
"settings": "సెట్టింగ్‌లు",
"settings_desc": "వర్క్‌స్పేస్ ప్రాధాన్యతలు మరియు హెచ్చరికలు",
"help_support": "సహాయం & మద్దతు",
"help_support_desc": "టిక్కెట్‌ను లేవనెత్తండి లేదా కాన్సీర్జ్‌తో చాట్ చేయండి",
"logout": "లాగౌట్",
"logout_desc": "ఈ వర్క్‌స్పేస్ నుండి సైన్ అవుట్ చేయండి"
},
"settings": {
"title": "సెట్టింగ్‌లు",
"general": "సాధారణ",
"notifications": "నోటిఫికేషన్‌లు",
"security": "భద్రత",
"preferences": "ప్రాధాన్యతలు",
"language": "భాష",
"timezone": "టైమ్‌జోన్",
"theme": "థీమ్",
"email_notifications": "ఇమెయిల్ నోటిఫికేషన్‌లు",
"push_notifications": "పుష్ నోటిఫికేషన్‌లు",
"two_factor": "రెండు-అంశాల ప్రమాణీకరణ",
"privacy": "గోప్యత",
"terms": "నియమాలు & షరతులు",
"workspace_settings": "వర్క్‌స్పేస్ సెట్టింగ్‌లు",
"workspace_settings_desc": "Pennyzoను మీ కార్యనిర్వాహక లయతో సమలేఖనం చేయడానికి గార్డ్‌రెయిల్స్, నోటిఫికేషన్‌లు మరియు డిఫాల్ట్‌లను కాన్ఫిగర్ చేయండి. ప్రతి మార్పు కాన్సీర్జ్ ఏజెంట్లు, పత్రాలు మరియు విశ్లేషణ డాష్‌బోర్డ్‌లలో తక్షణమే వర్తిస్తుంది.",
"security_posture": "భద్రతా స్థితి",
"security_posture_subtitle": "Pennyzo ఇంటెలిజెన్స్‌ను యాక్సెస్ చేసే ప్రతి ఒక్కరికీ ఉత్తమ అభ్యాసాలను అమలు చేయండి"
},
"auth": {
"login": "సైన్ ఇన్",
"register": "సైన్ అప్",
"logout": "సైన్ అవుట్",
"forgot_password": "పాస్‌వర్డ్ మరచిపోయారా?",
"reset_password": "పాస్‌వర్డ్ రీసెట్ చేయండి",
"email_address": "ఇమెయిల్ చిరునామా",
"password": "పాస్‌వర్డ్",
"remember_me": "నన్ను గుర్తుంచుకో",
"no_account": "ఖాతా లేదా?",
"have_account": "ఇప్పటికే ఖాతా ఉందా?",
"enter_email": "మీ ఇమెయిల్‌ను నమోదు చేయండి",
"enter_password": "మీ పాస్‌వర్డ్‌ను నమోదు చేయండి",
"create_account": "ఖాతాను సృష్టించండి",
"welcome_back": "తిరిగి స్వాగతం",
"get_started": "Pennyzo తో ప్రారంభించండి",
"demo_login": "డెమో లాగిన్",
"or_continue_with": "లేదా దీనితో కొనసాగించండి",
"google": "గూగుల్",
"microsoft": "మైక్రోసాఫ్ట్",
"verify_email": "ఇమెయిల్ ధృవీకరించండి",
"check_inbox": "మీ ఇన్‌బాక్స్‌ను తనిఖీ చేయండి",
"reset_link_sent": "పాస్‌వర్డ్ రీసెట్ లింక్ పంపబడింది",
"password_updated": "పాస్‌వర్డ్ విజయవంతంగా నవీకరించబడింది"
}
}

View File

@@ -1,3 +1,6 @@
/* Import shared component styles */
@import './styles/shared.css';
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@@ -68,6 +71,21 @@ h1, h2, h3, h4, h5, h6 {
border-radius: 6px; border-radius: 6px;
} }
/* Sidebar scrollbar */
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(203, 169, 81, 0.25);
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(203, 169, 81, 0.4);
}
/* Custom animations */ /* Custom animations */
@keyframes fadeInUp { @keyframes fadeInUp {
from { from {

View File

@@ -0,0 +1,373 @@
import React, { useEffect, useMemo, useState, useCallback } from 'react';
import type { ReactNode, CSSProperties } from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import SidebarNav from '../components/SidebarNav';
import type { SidebarNavItem } from '../components/SidebarNav';
import { Screen } from '../components/Screen';
import TopBar from '../components/TopBar';
import type { TopBarProps } from '../components/TopBar';
import { theme } from '../theme';
import ChatbotModal, { type ChatMessage } from '../components/ChatbotModal';
interface DashboardLayoutProps {
children: ReactNode;
topBarProps: TopBarProps;
}
type NavConfig = SidebarNavItem & { path?: string };
const SIDEBAR_STORAGE_KEY = 'pz.sidebarCollapsedDesktop';
const iconProps = { width: 22, height: 22, viewBox: '0 0 24 24', fill: 'currentColor' } as const;
const createNavItems = (
t: (key: string) => string,
): NavConfig[] => [
{
id: 'home',
label: t('nav.home'),
path: '/dashboard',
icon: (
<svg {...iconProps}>
<path d="M12 3L2 12H5V21H10V15H14V21H19V12H22L12 3Z" />
</svg>
),
},
{
id: 'agents',
label: t('nav.agents'),
path: '/agents',
icon: (
<svg {...iconProps}>
<path d="M12 12C13.11 12 14 11.11 14 10S13.11 8 12 8 10 8.89 10 10 10.89 12 12 12M18 10C18 7.79 16.21 6 14 6C13.66 6 13.34 6.05 13.03 6.14C12.23 5.43 11.17 5 10 5C7.79 5 6 6.79 6 9C6 11.21 7.79 13 10 13H11V14H9C6.79 14 5 15.79 5 18V20H19V18C19 15.79 17.21 14 15 14H13V13H14C16.21 13 18 11.21 18 9C18 8.69 17.97 8.39 17.92 8.1C18.58 8.81 19 9.67 19 10.63C19 12.27 17.82 13.64 16.26 13.95C17.8 14.26 19 15.72 19 17.5V20H21V17.5C21 15 19.46 12.92 17.16 12.28C17.7 11.6 18 10.81 18 10Z" />
</svg>
),
},
{
id: 'hr',
label: t('nav.hr'),
path: '/tasks/hr',
icon: (
<svg {...iconProps}>
<path d="M16 11C17.66 11 19 9.66 19 8S17.66 5 16 5 13 6.34 13 8 14.34 11 16 11M8 11C9.66 11 11 9.66 11 8S9.66 5 8 5 5 6.34 5 8 6.34 11 8 11M8 13C5.67 13 1 14.17 1 16.5V19H15V16.5C15 14.17 10.33 13 8 13M16 13C15.71 13 15.38 13.02 15.03 13.05C16.19 13.89 17 15.02 17 16.5V19H23V16.5C23 14.17 18.33 13 16 13Z" />
</svg>
),
},
{
id: 'crm',
label: t('nav.crm'),
path: '/tasks/crm',
icon: (
<svg {...iconProps}>
<path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2M12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z" />
</svg>
),
},
{
id: 'strategy',
label: t('nav.strategy'),
path: '/tasks/strategy',
icon: (
<svg {...iconProps}>
<path d="M9 17H7V11H9M13 17H11V7H13M17 17H15V13H17M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2M12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z" />
</svg>
),
},
{
id: 'documents',
label: t('nav.documents'),
path: '/documents',
icon: (
<svg {...iconProps}>
<path d="M6 2C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2H6M13 4.5L17.5 9H13V4.5M8 13H16V15H8V13M8 17H16V19H8V17M8 9H12V11H8V9Z" />
</svg>
),
},
];
const createFooterItems = (t: (key: string) => string): NavConfig[] => [
{
id: 'profile',
label: t('nav.profile'),
icon: (
<svg {...iconProps}>
<path d="M12 12C14.21 12 16 10.21 16 8S14.21 4 12 4 8 5.79 8 8 9.79 12 12 12M12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z" />
</svg>
),
path: '/profile',
},
{
id: 'credits',
label: t('nav.credits'),
icon: (
<svg {...iconProps}>
<path d="M12 2A10 10 0 0 0 2 12A10 10 0 0 0 12 22A10 10 0 0 0 22 12A10 10 0 0 0 12 2M12 6A3 3 0 0 1 15 9H13V11H15V13H13V15H15A3 3 0 0 1 12 18A3 3 0 0 1 9 15H11V13H9V11H11V9H9A3 3 0 0 1 12 6Z" />
</svg>
),
path: '/buy-credits',
},
{
id: 'support',
label: t('nav.support'),
icon: (
<svg {...iconProps}>
<path d="M12 1C5.93 1 1 5.93 1 12S5.93 23 12 23 23 18.07 23 12 18.07 1 12 1M12 21C7.03 21 3 16.97 3 12C3 7.03 7.03 3 12 3C16.97 3 21 7.03 21 12C21 16.97 16.97 21 12 21M11 6H13V12H11V6M11 16H13V18H11V16Z" />
</svg>
),
path: '/more?section=support',
},
{
id: 'settings',
label: t('nav.settings'),
icon: (
<svg {...iconProps}>
<path d="M12 8C13.1 8 14 8.9 14 10S13.1 12 12 12 10 11.1 10 10 10.9 8 12 8M4 10H2V14H4L5 16.65L2.5 19.15L4.35 21L6.85 18.5L9.5 19.5L9.5 22H13.5V19.5L16.15 18.5L18.65 21L20.5 19.15L18 16.65L19 14H21V10H19L18 7.35L20.5 4.85L18.65 3L16.15 5.5L13.5 4.5V2H9.5V4.5L6.85 5.5L4.35 3L2.5 4.85L5 7.35L4 10Z" />
</svg>
),
path: '/settings',
},
{
id: 'signout',
label: t('nav.sign_out'),
icon: (
<svg {...iconProps}>
<path d="M14.08 15.59L16.67 13H7V11H16.67L14.08 8.41L15.5 7L20.5 12L15.5 17L14.08 15.59M5 19H12V21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H12V5H5V19Z" />
</svg>
),
path: '/login',
},
];
const DashboardLayout: React.FC<DashboardLayoutProps> = ({ children, topBarProps }) => {
const location = useLocation();
const navigate = useNavigate();
const { t } = useTranslation();
const primaryNav = useMemo(
() => createNavItems(t),
[t],
);
const footerNav = useMemo(() => createFooterItems(t), [t]);
const [chatOpen, setChatOpen] = useState(false);
const [chatMessages, setChatMessages] = useState<ChatMessage[]>(() => [
{
id: 'initial-assistant',
role: 'assistant',
content: t('common.hello_message'),
timestamp: new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }),
},
]);
const [chatThinking, setChatThinking] = useState(false);
const appendMessage = useCallback((message: ChatMessage) => {
setChatMessages((prev) => [...prev, message]);
}, []);
const handleSendMessage = useCallback(
(content: string) => {
const timestamp = new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
appendMessage({
id: `user-${Date.now()}`,
role: 'user',
content,
timestamp,
});
setChatThinking(true);
window.setTimeout(() => {
const response = `Response from Concierge: ${content}`;
appendMessage({
id: `assistant-${Date.now()}`,
role: 'assistant',
content: response,
timestamp: new Date().toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }),
});
setChatThinking(false);
}, 1100);
},
[appendMessage],
);
const [viewportWidth, setViewportWidth] = useState<number>(() => (typeof window !== 'undefined' ? window.innerWidth : 1440));
const isTablet = viewportWidth <= 1024;
const isMobile = viewportWidth <= 768;
const [sidebarCollapsed, setSidebarCollapsed] = useState<boolean>(() => {
if (typeof window === 'undefined') return false;
const stored = window.localStorage.getItem(SIDEBAR_STORAGE_KEY);
return stored === 'true';
});
useEffect(() => {
const handleResize = () => setViewportWidth(window.innerWidth);
handleResize();
window.addEventListener('resize', handleResize);
return () => window.removeEventListener('resize', handleResize);
}, []);
useEffect(() => {
if (isTablet) {
setSidebarCollapsed(true);
} else {
if (typeof window !== 'undefined') {
const stored = window.localStorage.getItem(SIDEBAR_STORAGE_KEY);
setSidebarCollapsed(stored === 'true');
}
}
}, [isTablet]);
const [mobileSidebarOpen, setMobileSidebarOpen] = useState(false);
useEffect(() => {
if (!isMobile) {
setMobileSidebarOpen(false);
}
}, [isMobile]);
const activeNavId = useMemo(() => {
const allNav = [...primaryNav, ...footerNav];
// Sort paths by length (longest first) to match most specific paths first
const sortedNav = [...allNav].sort((a, b) => {
const pathA = a.path || '';
const pathB = b.path || '';
return pathB.length - pathA.length;
});
// Find exact match first
const exactMatch = sortedNav.find((item) => item.path === location.pathname);
if (exactMatch) return exactMatch.id;
// Then find path that starts with
const match = sortedNav.find((item) => {
if (!item.path) return false;
// Handle query params (e.g., /more?section=support)
const pathWithoutQuery = item.path.split('?')[0];
return location.pathname === pathWithoutQuery || location.pathname.startsWith(pathWithoutQuery + '/');
});
if (match) return match.id;
return 'home';
}, [location.pathname, primaryNav, footerNav]);
const handleSelect = (id: string) => {
const config = [...primaryNav, ...footerNav].find((item) => item.id === id);
if (!config) return;
if (config.path) {
navigate(config.path, { replace: false });
}
if (isMobile) {
setMobileSidebarOpen(false);
}
};
const handleCollapseToggle = (nextCollapsed: boolean) => {
setSidebarCollapsed(nextCollapsed);
if (typeof window !== 'undefined') {
window.localStorage.setItem(SIDEBAR_STORAGE_KEY, String(nextCollapsed));
}
};
const layoutContainerStyles: CSSProperties = {
display: 'flex',
minHeight: '100vh',
};
const mainStyles: CSSProperties = {
flex: 1,
display: 'flex',
flexDirection: 'column',
minHeight: '100vh',
position: 'relative',
};
const contentAreaStyles: CSSProperties = {
flex: 1,
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.xxxl,
padding: isMobile ? '24px 20px 80px' : '40px 48px 80px',
overflowY: 'auto',
maxHeight: isMobile ? 'calc(100vh - 64px)' : 'calc(100vh - 80px)',
};
const overlayStyles: CSSProperties = {
position: 'fixed',
inset: 0,
backgroundColor: theme.colors.overlayDark,
backdropFilter: 'blur(6px)',
zIndex: theme.zIndex.modal,
display: 'flex',
};
const drawerStyles: CSSProperties = {
width: '280px',
maxWidth: '80%',
height: '100%',
};
return (
<Screen
showBackground
showAssistant={!isMobile}
onAssistantClick={() => setChatOpen(true)}
scrollable={false}
contentStyle={{ padding: 0, gap: 0, minHeight: '100vh' }}
assistantLabel={t('topbar.ask_ai_assistant')}
>
<div style={layoutContainerStyles}>
{!isMobile && (
<SidebarNav
items={primaryNav}
footerItems={footerNav}
collapsed={isTablet ? true : sidebarCollapsed}
activeId={activeNavId}
onSelect={handleSelect}
onToggleCollapse={isTablet ? undefined : handleCollapseToggle}
/>
)}
<div style={mainStyles}>
<TopBar
{...topBarProps}
showMenuButton={isMobile}
onMenuToggle={() => setMobileSidebarOpen(true)}
/>
<div style={contentAreaStyles}>{children}</div>
</div>
</div>
{isMobile && mobileSidebarOpen && (
<div style={overlayStyles} onClick={() => setMobileSidebarOpen(false)}>
<div style={drawerStyles} onClick={(event) => event.stopPropagation()}>
<SidebarNav
items={primaryNav}
footerItems={footerNav}
activeId={activeNavId}
collapsed={false}
onSelect={handleSelect}
variant="mobile"
/>
</div>
</div>
)}
<ChatbotModal
isOpen={chatOpen}
onClose={() => setChatOpen(false)}
messages={chatMessages}
onSend={handleSendMessage}
isThinking={chatThinking}
/>
</Screen>
);
};
export default DashboardLayout;

View File

@@ -1,10 +1,14 @@
import { StrictMode } from 'react' import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client' import { createRoot } from 'react-dom/client'
import './index.css' import './index.css'
import './i18n/config' // Initialize i18n
import App from './App.tsx' import App from './App.tsx'
import { UserProvider } from './context/UserContext'
createRoot(document.getElementById('root')!).render( createRoot(document.getElementById('root')!).render(
<StrictMode> <StrictMode>
<App /> <UserProvider>
<App />
</UserProvider>
</StrictMode>, </StrictMode>,
) )

129
src/pages/AgentsPage.tsx Normal file
View File

@@ -0,0 +1,129 @@
import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { SectionCard } from '../components/SectionCard';
import AgentCard from '../components/AgentCard';
import { QuickActionCard } from '../components/QuickActionCard';
import { theme } from '../theme';
interface AgentDefinition {
id: string;
name: string;
role: string;
status: 'active' | 'idle' | 'busy';
avatar: string;
}
const AgentsPage: React.FC = () => {
const { topBarProps } = useDashboardScaffold();
const { t } = useTranslation();
const agents = useMemo<AgentDefinition[]>(
() => [
{ id: 'evelyn', name: 'Evelyn Carter', role: 'Head of Finance Ops', status: 'active', avatar: 'https://i.pravatar.cc/120?img=65' },
{ id: 'malik', name: 'Malik Ahmed', role: 'Talent Strategist', status: 'idle', avatar: 'https://i.pravatar.cc/120?img=12' },
{ id: 'aria', name: 'Aria Nambiar', role: 'Compliance Analyst', status: 'active', avatar: 'https://i.pravatar.cc/120?img=33' },
{ id: 'marcus', name: 'Marcus Shaw', role: 'Business Intelligence', status: 'busy', avatar: 'https://i.pravatar.cc/120?img=50' },
{ id: 'sofia', name: 'Sofia Delgado', role: 'Customer Success', status: 'active', avatar: 'https://i.pravatar.cc/120?img=5' },
{ id: 'alex', name: 'Alex Iyer', role: 'Operations Lead', status: 'idle', avatar: 'https://i.pravatar.cc/120?img=21' },
],
[],
);
const statusSummary = useMemo(
() => [
{ id: 'active', label: t('agents.active'), count: agents.filter((agent) => agent.status === 'active').length, color: theme.colors.success },
{ id: 'idle', label: t('agents.idle'), count: agents.filter((agent) => agent.status === 'idle').length, color: theme.colors.warning },
{ id: 'busy', label: t('agents.busy'), count: agents.filter((agent) => agent.status === 'busy').length, color: theme.colors.error },
],
[agents, t],
);
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
{/* Hero row */}
<div className="space-y-3">
<h1 className="font-playfair text-4xl font-semibold text-cream tracking-wide">{t('agents.command_centre')}</h1>
<p className="max-w-2xl text-sm text-cream/70" style={theme.typography.body}>
{t('agents.command_centre_desc')}
</p>
</div>
{/* Status summary */}
<SectionCard
style={{
backgroundColor: 'rgba(6, 35, 31, 0.92)',
borderRadius: theme.borderRadius.xxl,
padding: '28px 32px',
}}
>
<div className="grid gap-6 md:grid-cols-3">
{statusSummary.map((status, index) => (
<div
key={status.id}
className="flex items-center justify-between gap-6"
style={{ borderLeft: index === 0 ? 'none' : `1px solid ${theme.colors.border}` }}
>
<div className="flex items-center gap-4">
<span className="inline-flex h-3 w-3 rounded-full" style={{ backgroundColor: status.color }} />
<div className="flex flex-col">
<span className="text-xs font-semibold uppercase tracking-[0.2em] text-cream/60">{status.label}</span>
<span className="text-2xl font-semibold text-cream">{status.count}</span>
</div>
</div>
<span className="text-xs uppercase tracking-[0.18em] text-cream/50">{status.count > 1 ? 'agents' : 'agent'}</span>
</div>
))}
</div>
</SectionCard>
{/* Agents grid */}
<div className="space-y-6">
<div className="text-xs font-semibold uppercase tracking-[0.2em] text-cream/50">Available agents</div>
<div className="grid gap-6 sm:grid-cols-2 xl:grid-cols-3">
{agents.map((agent) => (
<AgentCard
key={agent.id}
name={agent.name}
role={agent.role}
status={agent.status}
avatar={agent.avatar}
onClick={() => console.log(`Selected agent: ${agent.id}`)}
/>
))}
</div>
</div>
{/* Quick actions */}
<div className="grid gap-4 md:grid-cols-2">
<QuickActionCard
label="Open chat dock"
description="Brief an agent to prepare insights or launch campaigns."
icon={
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor">
<path d="M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2M20 16H5.17L4 17.17V4H20" />
</svg>
}
iconColor={theme.colors.highlight}
onPress={() => console.log('Open chat')}
/>
<QuickActionCard
label="Review performance"
description="See conversations, adoption and ROI for each agent."
icon={
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 13H5V11H3V13M3 17H5V15H3V17M3 9H5V7H3V9M7 13H21V11H7V13M7 17H21V15H7V17M7 7V9H21V7H7Z" />
</svg>
}
iconColor={theme.colors.info}
onPress={() => console.log('Open reports')}
/>
</div>
</div>
</DashboardLayout>
);
};
export default AgentsPage;

View File

@@ -1,57 +1,296 @@
import React from 'react'; import React, { useMemo, useState } from 'react';
import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { StatCard } from '../components/StatCard';
import { SectionCard } from '../components/SectionCard';
import { QuickActionCard } from '../components/QuickActionCard';
import PrimaryButton from '../components/PrimaryButton';
import { theme } from '../theme';
interface CreditPack {
id: string;
label: string;
description: string;
price: string;
highlight?: boolean;
}
interface Transaction {
id: string;
date: string;
type: 'purchase' | 'usage' | 'bonus';
description: string;
amount: string;
balance: string;
}
const BuyCreditsPage: React.FC = () => { const BuyCreditsPage: React.FC = () => {
const { t } = useTranslation();
const { topBarProps } = useDashboardScaffold();
const [customAmount, setCustomAmount] = useState(1000);
const stats = useMemo(
() => [
{
id: 'balance',
label: t('credits.available_credits'),
value: '12,840',
iconColor: theme.colors.highlight,
trend: { value: '+1,240', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 3A9 9 0 0 0 3 12C3 16.97 7.03 21 12 21A9 9 0 0 0 21 12C21 7.03 16.97 3 12 3M12 5A4 4 0 0 1 16 9H13V11H16V13H13V15H16A4 4 0 0 1 12 19A4 4 0 0 1 8 15H11V13H8V11H11V9H8A4 4 0 0 1 12 5Z" />
</svg>
),
},
{
id: 'usage',
label: t('credits.usage_this_month'),
value: '5,600',
iconColor: theme.colors.warning,
trend: { value: '-12%', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M3 13H5V11H3V13M3 17H5V15H3V17M3 9H5V7H3V9M7 13H21V11H7V13M7 17H21V15H7V17M7 9H21V7H7V9Z" />
</svg>
),
},
{
id: 'auto-topup',
label: t('credits.auto_topup_threshold'),
value: '3,000',
iconColor: theme.colors.info,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M17 12H14V9H10V12H7L12 17L17 12M12 3A9 9 0 0 0 3 12C3 16.97 7.03 21 12 21C16.97 21 21 16.97 21 12A9 9 0 0 0 12 3Z" />
</svg>
),
},
],
[t],
);
const packs: CreditPack[] = useMemo(
() => [
{
id: 'starter',
label: t('credits.starter_pack'),
description: t('credits.starter_desc'),
price: t('credits.starter_price'),
},
{
id: 'growth',
label: t('credits.growth_pack'),
description: t('credits.growth_desc'),
price: t('credits.growth_price'),
highlight: true,
},
{
id: 'enterprise',
label: t('credits.enterprise_pack'),
description: t('credits.enterprise_desc'),
price: t('credits.enterprise_price'),
},
],
[t],
);
const transactions: Transaction[] = useMemo(
() => [
{
id: 'txn-1',
date: '26 Oct 2025',
type: 'usage',
description: t('credits.txn_strategy'),
amount: '-180',
balance: '12,840',
},
{
id: 'txn-2',
date: '25 Oct 2025',
type: 'usage',
description: t('credits.txn_payroll'),
amount: '-560',
balance: '13,020',
},
{
id: 'txn-3',
date: '24 Oct 2025',
type: 'purchase',
description: t('credits.txn_growth_purchase'),
amount: '+5,000',
balance: '13,580',
},
{
id: 'txn-4',
date: '22 Oct 2025',
type: 'bonus',
description: t('credits.txn_loyalty_bonus'),
amount: '+400',
balance: '8,580',
},
],
[t],
);
return ( return (
<div className="min-h-screen flex flex-col items-start md:items-center p-4 md:p-8"> <DashboardLayout topBarProps={topBarProps}>
<div className="w-full max-w-4xl bg-deep-forest/60 border border-luxury-gold/20 rounded-lg p-6 md:p-8 shadow-lg"> <div className="flex flex-col gap-10">
<header className="flex items-center justify-between mb-6"> <div className="space-y-3">
<div> <h1 className="font-playfair text-4xl text-cream">Credit vault</h1>
<h1 className="text-2xl font-playfair text-cream">Buy Credits</h1> <p className="max-w-2xl text-sm text-cream/70">
<p className="text-sm text-cream/60 mt-1">Purchase credits to power your agents and tasks.</p> Fuel your concierge agents, high-touch workflows, and auto-prepped documents with Pennyzo credits.
</div> Monitor usage, automate top-ups, and stay production ready.
<div className="flex items-center gap-3"> </p>
<span className="text-sm text-cream/80">Balance</span> </div>
<div className="px-3 py-1 bg-luxury-gold/10 text-luxury-gold rounded-md">128</div>
</div>
</header>
<section className="grid grid-cols-1 md:grid-cols-3 gap-4"> <div className="grid gap-5 lg:grid-cols-3">
<div className="col-span-2 space-y-4"> {stats.map((stat) => (
<div className="bg-deep-forest/40 p-4 rounded-md border border-luxury-gold/10"> <StatCard key={stat.id} {...stat} />
<h3 className="text-lg text-cream font-semibold">Quick Packs</h3> ))}
<div className="mt-3 grid grid-cols-1 sm:grid-cols-3 gap-3"> </div>
<button className="w-full py-3 rounded-md bg-gradient-to-br from-luxury-gold to-brass text-deep-forest font-semibold">100 credits — $4</button>
<button className="w-full py-3 rounded-md bg-gradient-to-br from-bronze to-luxury-gold text-deep-forest font-semibold">500 credits — $18</button> <div className="grid gap-8 xl:grid-cols-[2fr_1fr]">
<button className="w-full py-3 rounded-md bg-gradient-to-br from-luxury-gold/80 to-bronze/80 text-deep-forest font-semibold">2000 credits — $55</button> <SectionCard
title={t('credits.credit_marketplace')}
subtitle={t('credits.marketplace_subtitle')}
>
<div className="grid gap-4 lg:grid-cols-3">
{packs.map((pack) => (
<button
key={pack.id}
type="button"
className={`group flex flex-col gap-4 rounded-2xl border-2 px-6 py-6 text-left transition-all duration-200 hover:-translate-y-[2px] hover:shadow-[0_20px_40px_rgba(203,169,81,0.25)] ${
pack.highlight
? 'border-luxury-gold/70 bg-gradient-to-br from-luxury-gold/20 to-transparent'
: 'border-luxury-gold/30 bg-[#0B312A]/80 hover:border-luxury-gold/60'
}`}
>
<span className="text-sm uppercase tracking-[0.18em] text-cream/60">{pack.label}</span>
<p className="text-base font-medium text-cream">{pack.description}</p>
<div className="flex items-center justify-between text-luxury-gold">
<span className="text-lg font-semibold">{pack.price}</span>
<span className="text-xs uppercase tracking-[0.2em] text-luxury-gold/80">{t('credits.purchase')}</span>
</div>
</button>
))}
</div>
<div className="flex flex-col gap-4 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-6">
<div className="flex flex-wrap items-center justify-between gap-4">
<div>
<h3 className="text-sm uppercase tracking-[0.18em] text-cream/70">{t('credits.custom_pack')}</h3>
<p className="text-xs text-cream/60">
{t('credits.custom_desc')}
</p>
</div>
<div className="flex items-center gap-3">
<input
type="number"
min={500}
step={100}
value={customAmount}
onChange={(event) => setCustomAmount(Number(event.target.value))}
className="w-32 rounded-xl border border-luxury-gold/40 bg-[#041815] px-4 py-3 text-sm text-cream focus:border-luxury-gold focus:outline-none"
/>
<span className="text-sm uppercase tracking-[0.18em] text-cream/60">{t('credits.credits_label')}</span>
</div>
</div>
<div className="flex flex-wrap items-center justify-between gap-3">
<span className="text-xs text-cream/50">
{t('credits.est_spend')} ₹{(customAmount * 1.8).toLocaleString('en-IN')} • {t('credits.gst_note')}
</span>
<PrimaryButton label={t('credits.buy_custom_pack')} className="min-h-[48px] px-5" />
</div> </div>
</div> </div>
</SectionCard>
<div className="bg-deep-forest/40 p-4 rounded-md border border-luxury-gold/10"> <div className="grid gap-4">
<h3 className="text-lg text-cream font-semibold">Custom amount</h3> <QuickActionCard
<div className="mt-3 flex gap-2"> label={t('credits.schedule_auto_topups')}
<input type="number" min={1} defaultValue={100} className="w-40 px-3 py-2 rounded-md bg-deep-forest/20 border border-luxury-gold/10 text-cream" /> description={t('credits.schedule_desc')}
<button className="px-4 py-2 rounded-md bg-luxury-gold text-deep-forest font-semibold">Buy</button> iconColor={theme.colors.highlight}
</div> icon={
<p className="text-sm text-cream/60 mt-2">This is a demo stub — replace with your payment integration.</p> <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
</div> <path d="M12 6V9L15 12L13.5 13.5L11 11V6H12M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C13.3 22 14.6 21.7 15.8 21.1L14.4 19.4C13.6 19.8 12.8 20 12 20C7.6 20 4 16.4 4 12C4 7.6 7.6 4 12 4C16.4 4 20 7.6 20 12C20 13.3 19.7 14.6 19.1 15.8L20.9 17.2C21.6 15.8 22 14 22 12C22 6.5 17.5 2 12 2Z" />
</svg>
}
onPress={() => console.log('open auto top-up drawer')}
/>
<QuickActionCard
label={t('credits.share_usage')}
description={t('credits.share_desc')}
iconColor={theme.colors.info}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2M13 9V3.5L18.5 9H13Z" />
</svg>
}
onPress={() => console.log('share usage sheet')}
/>
<QuickActionCard
label={t('credits.slack_alerts')}
description={t('credits.slack_desc')}
iconColor={theme.colors.success}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M19 13H5V11H19M12 20C12 20 5 15.72 5 9C5 6.24 7.24 4 10 4C11.66 4 13.14 4.83 14 6.08C14.86 4.83 16.34 4 18 4C20.76 4 23 6.24 23 9C23 15.72 16 20 16 20H12Z" />
</svg>
}
onPress={() => console.log('configure slack alerts')}
/>
</div> </div>
</div>
<aside className="col-span-1 bg-deep-forest/30 p-4 rounded-md border border-luxury-gold/10"> <SectionCard
<h4 className="text-sm text-cream/80 mb-2">Why credits?</h4> title={t('credits.usage_timeline')}
<ul className="text-cream/70 text-sm list-disc ml-5 space-y-1"> subtitle={t('credits.timeline_subtitle')}
<li>Faster processing for heavy tasks</li> >
<li>Priority agents & dedicated compute</li> <div className="overflow-hidden rounded-2xl border border-luxury-gold/20">
<li>Volume discounts on large purchases</li> <table className="min-w-full divide-y divide-luxury-gold/10 text-sm text-cream/80">
</ul> <thead className="bg-[#0B312A]/70 text-xs uppercase tracking-[0.18em] text-cream/60">
<div className="mt-4"> <tr>
<Link to="/home" className="text-sm text-luxury-gold/90 underline">Back to dashboard</Link> <th className="px-5 py-3 text-left">{t('credits.date')}</th>
</div> <th className="px-5 py-3 text-left">{t('credits.type')}</th>
</aside> <th className="px-5 py-3 text-left">{t('credits.description')}</th>
</section> <th className="px-5 py-3 text-right">{t('credits.amount')}</th>
<th className="px-5 py-3 text-right">{t('credits.balance')}</th>
</tr>
</thead>
<tbody className="divide-y divide-luxury-gold/10 bg-[#041815]/70">
{transactions.map((txn) => (
<tr key={txn.id} className="hover:bg-luxury-gold/5">
<td className="px-5 py-4">{txn.date}</td>
<td className="px-5 py-4">
<span
className={`rounded-full border px-3 py-1 text-xs uppercase tracking-[0.16em] ${
txn.type === 'purchase'
? 'border-luxury-gold/60 text-luxury-gold'
: txn.type === 'bonus'
? 'border-emerald-400/60 text-emerald-300'
: 'border-cream/20 text-cream/70'
}`}
>
{txn.type}
</span>
</td>
<td className="px-5 py-4">{txn.description}</td>
<td className="px-5 py-4 text-right font-semibold text-cream">
{txn.amount}
</td>
<td className="px-5 py-4 text-right text-cream/70">{txn.balance}</td>
</tr>
))}
</tbody>
</table>
</div>
</SectionCard>
</div> </div>
</div> </DashboardLayout>
); );
}; };
export default BuyCreditsPage; export default BuyCreditsPage;

181
src/pages/DocumentsPage.tsx Normal file
View File

@@ -0,0 +1,181 @@
import React, { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { StatCard } from '../components/StatCard';
import { SectionCard } from '../components/SectionCard';
import { QuickActionCard } from '../components/QuickActionCard';
import { theme } from '../theme';
interface StatDefinition {
id: string;
label: string;
value: string;
iconColor: string;
icon: React.ReactNode;
trend?: { value: string; isPositive: boolean };
}
interface ActivityEntry {
id: string;
icon: React.ReactNode;
description: string;
timestamp: string;
}
const DocumentsPage: React.FC = () => {
const { topBarProps } = useDashboardScaffold();
const { t } = useTranslation();
const stats = useMemo<StatDefinition[]>(
() => [
{
id: 'auto-prepped',
label: t('documents.auto_prepped'),
value: '38',
iconColor: theme.colors.highlight,
trend: { value: '+6', isPositive: true },
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2M13 9V3.5L18.5 9H13Z" />
</svg>
),
},
{
id: 'contracts',
label: t('documents.contracts'),
value: '22',
iconColor: theme.colors.info,
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M6 2A2 2 0 0 0 4 4V20A2 2 0 0 0 6 22H18A2 2 0 0 0 20 20V8L14 2H6M13 9V3.5L18.5 9H13Z" />
</svg>
),
},
{
id: 'legal',
label: t('documents.legal'),
value: '9',
iconColor: theme.colors.warning,
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M5 4H19V6H5V4M5 8H19V10H5V8M5 12H19V18H5V12M7 14V16H12V14H7Z" />
</svg>
),
},
],
[],
);
const activity = useMemo<ActivityEntry[]>(
() => [
{
id: 'activity-1',
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 2L3 5V11C3 16 7.06 21.54 12 23C16.94 21.54 21 16 21 11V5L12 2Z" />
</svg>
),
description: t('documents.activity_1'),
timestamp: t('documents.timestamp_1'),
},
{
id: 'activity-2',
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M5 2A2 2 0 0 0 3 4V20A2 2 0 0 0 5 22H19A2 2 0 0 0 21 20V4A2 2 0 0 0 19 2H5M7 4H17V6H7V4M7 8H17V12H7V8M7 14H12V18H7V14Z" />
</svg>
),
description: t('documents.activity_2'),
timestamp: t('documents.timestamp_2'),
},
{
id: 'activity-3',
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M19 3H5C3.89 3 3 3.9 3 5V21L7 17H19C20.1 17 21 16.1 21 15V5C21 3.9 20.1 3 19 3Z" />
</svg>
),
description: t('documents.activity_3'),
timestamp: t('documents.timestamp_3'),
},
{
id: 'activity-4',
icon: (
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.error }}>
<path d="M12 2C8.13 2 5 5.13 5 9V12L3 14V15H21V14L19 12V9C19 5.13 15.87 2 12 2M12 22C13.11 22 14 21.11 14 20H10C10 21.11 10.9 22 12 22Z" />
</svg>
),
description: t('documents.activity_4'),
timestamp: t('documents.timestamp_4'),
},
],
[t],
);
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
<div className="space-y-3">
<h1 className="font-playfair text-4xl font-semibold text-cream tracking-wide">{t('documents.documents_vault')}</h1>
<p className="max-w-2xl text-sm text-cream/70" style={theme.typography.body}>
{t('documents.vault_description')}
</p>
</div>
<div className="grid gap-5 lg:grid-cols-3">
{stats.map((stat) => (
<StatCard key={stat.id} {...stat} />
))}
</div>
<div className="grid gap-8 xl:grid-cols-[2fr_1fr]">
<SectionCard title={t('documents.recent_activity')} style={{ backgroundColor: 'rgba(6, 35, 31, 0.92)' }}>
<div className="flex flex-col divide-y divide-luxury-gold/15">
{activity.map((item) => (
<div key={item.id} className="flex items-start gap-4 py-4 first:pt-0 last:pb-0">
<span className="mt-1 inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-[#1A4036]/80 text-luxury-gold">
{item.icon}
</span>
<div className="flex flex-1 flex-col gap-2">
<p className="text-sm leading-6 text-cream/80" style={theme.typography.body}>
{item.description}
</p>
<span className="text-xs uppercase tracking-[0.18em] text-cream/40">{item.timestamp}</span>
</div>
</div>
))}
</div>
</SectionCard>
<div className="grid gap-4">
<QuickActionCard
label={t('documents.search_documents')}
description={t('documents.search_documents_desc')}
iconColor={theme.colors.highlight}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M9.5 3A6.5 6.5 0 0 1 16 9.5C16 11.11 15.41 12.57 14.44 13.73L14.71 14H15.5L20.5 19L19 20.5L14 15.5V14.71L13.73 14.44C12.57 15.41 11.11 16 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3M9.5 5A4.5 4.5 0 0 0 5 9.5A4.5 4.5 0 0 0 9.5 14A4.5 4.5 0 0 0 14 9.5A4.5 4.5 0 0 0 9.5 5Z" />
</svg>
}
onPress={() => console.log('Search documents')}
/>
<QuickActionCard
label={t('documents.bulk_upload')}
description={t('documents.bulk_upload_desc')}
iconColor={theme.colors.info}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M5 20H19V18H5V20M5 16H19V14H5V16M13 10.41V2H11V10.41L7.5 6.91L6.08 8.33L12 14.25L17.92 8.33L16.5 6.91L13 10.41Z" />
</svg>
}
onPress={() => console.log('Bulk upload')}
/>
</div>
</div>
</div>
</DashboardLayout>
);
};
export default DocumentsPage;

View File

@@ -1,5 +1,6 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import bgImage from '../assets/bg pennyzo.png';
const ForgotPasswordPage: React.FC = () => { const ForgotPasswordPage: React.FC = () => {
const [email, setEmail] = useState(''); const [email, setEmail] = useState('');
@@ -16,43 +17,23 @@ const ForgotPasswordPage: React.FC = () => {
}; };
return ( return (
<div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden bg-gradient-to-br from-deep-forest/90 via-deep-forest/80 to-rich-brown/90"> <div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden">
{/* Floating Particles */} {/* Background Image */}
<div className="fixed inset-0 pointer-events-none"> <div
{[...Array(18)].map((_, i) => ( className="fixed inset-0 bg-cover bg-center bg-no-repeat"
<div style={{
key={i} backgroundImage: `url(${bgImage})`,
className="absolute w-1 h-1 bg-luxury-gold rounded-full animate-pulse" opacity: 0.6
style={{ }}
left: `${Math.random() * 100}%`, ></div>
top: `${Math.random() * 100}%`,
animationDelay: `${Math.random() * 3}s`,
animationDuration: `${2 + Math.random() * 3}s`
}}
></div>
))}
</div>
{/* Ambient Gradient Glows */} {/* Dark overlay for better readability */}
<div className="pointer-events-none absolute inset-0 -z-10 overflow-hidden"> <div className="fixed inset-0 bg-deep-forest/40"></div>
<div className="absolute -top-24 -right-24 w-96 h-96 rounded-full bg-gradient-to-br from-luxury-gold/20 to-bronze/20 blur-3xl"></div>
<div className="absolute -bottom-16 -left-20 w-[28rem] h-[28rem] rounded-full bg-gradient-to-tr from-cream/10 to-luxury-gold/10 blur-3xl"></div>
</div>
{/* Centered Recovery Card */} <div className="w-full max-w-md relative z-10">
<div className="w-full max-w-md"> <div className="relative overflow-hidden backdrop-blur-xl bg-white/8 border border-white/20 rounded-3xl p-8 shadow-2xl">
<div className="relative overflow-hidden backdrop-blur-2xl backdrop-saturate-150 bg-white/12 border border-white/25 rounded-3xl p-8 shadow-[0_10px_30px_rgba(0,0,0,0.35)] ring-1 ring-white/10">
{/* outer soft glow */}
<div className="pointer-events-none absolute -inset-0.5 rounded-3xl bg-gradient-to-br from-luxury-gold/10 to-bronze/10 blur-2xl"></div>
{/* inner highlight border */} {/* inner highlight border */}
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/20"></div> <div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/10"></div>
{/* top-left sheen */}
<div className="pointer-events-none absolute -top-8 -left-8 w-[140%] h-1/2 rounded-[3rem] bg-gradient-to-b from-white/20 to-transparent opacity-60 rotate-[-6deg]"></div>
{/* subtle texture */}
<div
className="pointer-events-none absolute inset-0 rounded-3xl opacity-10 mix-blend-soft-light"
style={{ backgroundImage: 'radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px)', backgroundSize: '6px 6px' }}
></div>
<div className="relative"> <div className="relative">
{/* Header */} {/* Header */}
<div className="text-center mb-8"> <div className="text-center mb-8">

351
src/pages/HomePage.tsx Normal file
View File

@@ -0,0 +1,351 @@
import React, { useMemo } from 'react';
import type { CSSProperties } from 'react';
import { useTranslation } from 'react-i18next';
import { StatCard } from '../components/StatCard';
import { SummaryCard } from '../components/SummaryCard';
import { QuickActionCard } from '../components/QuickActionCard';
import { SectionCard } from '../components/SectionCard';
import { theme } from '../theme';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
/**
* HomePage Component
*
* Web replication of the Pennyzo Home Screen layout:
* 1. Premium top bar with language selector, notifications, profile
* 2. Company selector card
* 3. Decorative divider
* 4. Quick stats row (horizontal scroll)
* 5. AI insights summary list
* 6. Suggested actions grid
*/
interface QuickStat {
id: string;
label: string;
value: string;
iconColor: string;
trend?: {
value: string;
isPositive: boolean;
};
icon: React.ReactNode;
}
interface InsightItem {
id: string;
label: string;
count: number;
iconColor: string;
icon: React.ReactNode;
}
interface QuickAction {
id: string;
label: string;
description: string;
iconColor: string;
icon: React.ReactNode;
badge?: number;
}
export const HomePage: React.FC = () => {
const { t } = useTranslation();
const userName = 'Sarah'; // TODO: wire up to auth context
const {
topBarProps,
} = useDashboardScaffold();
const quickStats: QuickStat[] = useMemo(
() => [
{
id: 'revenue',
label: t('home.revenue'),
value: '₹1.2M',
iconColor: theme.colors.highlight,
trend: { value: '+18%', isPositive: true },
icon: (
<svg width="26" height="26" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 5V3H10V5H9C7.34 5 6 6.34 6 8H8C8 7.45 8.45 7 9 7H15C15.55 7 16 7.45 16 8C16 8.55 15.55 9 15 9H9C7.34 9 6 10.34 6 12C6 13.66 7.34 15 9 15H10V17H12V15H13C14.66 15 16 13.66 16 12H14C14 12.55 13.55 13 13 13H9C8.45 13 8 12.55 8 12C8 11.45 8.45 11 9 11H15C16.66 11 18 9.66 18 8C18 6.34 16.66 5 15 5H12Z" />
</svg>
),
},
{
id: 'employees',
label: t('home.employees'),
value: '42',
iconColor: theme.colors.highlightAlt,
trend: { value: '+5', isPositive: true },
icon: (
<svg width="26" height="26" viewBox="0 0 24 24" fill="currentColor">
<path d="M16 13C16 11.9 14.1 11 12 11C9.9 11 8 11.9 8 13V15H16V13M18 8C18 6.9 17.1 6 16 6C14.9 6 14 6.9 14 8C14 9.1 14.9 10 16 10C17.1 10 18 9.1 18 8M12 6C12 4.34 10.66 3 9 3C7.34 3 6 4.34 6 6C6 7.66 7.34 9 9 9C10.66 9 12 7.66 12 6M12 13V15H4V13C4 10.79 7.58 9 12 9C16.42 9 20 10.79 20 13V15H12V13Z" />
</svg>
),
},
{
id: 'growth',
label: t('home.growth'),
value: '23%',
iconColor: theme.colors.success,
trend: { value: '+8%', isPositive: true },
icon: (
<svg width="26" height="26" viewBox="0 0 24 24" fill="currentColor">
<path d="M21 7L15 1V4H4V10H6V6H15V9L21 7M3 13H8V15H3V13M3 17H13V19H3V17M10 13H18V15H10V13M14 17H21V19H14V17Z" />
</svg>
),
},
{
id: 'net-promoter',
label: t('home.net_promoter'),
value: '72',
iconColor: theme.colors.info,
trend: { value: '+4', isPositive: true },
icon: (
<svg width="26" height="26" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 17.27L18.18 21 16.54 13.97 22 9.24 14.81 8.63 12 2 9.19 8.63 2 9.24 7.46 13.97 5.82 21 12 17.27Z" />
</svg>
),
},
],
[t],
);
const aiInsights: InsightItem[] = useMemo(
() => [
{
id: 'insight-1',
label: t('home.pending_approvals'),
count: 5,
iconColor: theme.colors.warning,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M13 13H11V7H13M13 17H11V15H13M1 21H23L12 2" />
</svg>
),
},
{
id: 'insight-2',
label: t('home.compliance_alerts'),
count: 12,
iconColor: theme.colors.success,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.58L9 16.17Z" />
</svg>
),
},
{
id: 'insight-3',
label: t('home.recent_hires'),
count: 3,
iconColor: theme.colors.error,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.error }}>
<path d="M12 20C7.58 20 4 16.42 4 12S7.58 4 12 4 20 7.58 20 12 16.42 20 12 20M12 2C6.47 2 2 6.47 2 12S6.47 22 12 22 22 17.53 22 12 17.53 2 12 2M13 12.17L17.24 16.41L15.83 17.83L11 13V7H13" />
</svg>
),
},
{
id: 'insight-4',
label: t('home.expiring_contracts'),
count: 2,
iconColor: theme.colors.highlightAlt,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlightAlt }}>
<path d="M16 11C17.66 11 19 9.66 19 8S17.66 5 16 5 13 6.34 13 8 14.34 11 16 11M8 11C9.66 11 11 9.66 11 8S9.66 5 8 5 5 6.34 5 8 6.34 11 8 11M8 13C5.67 13 1 14.17 1 16.5V19H15V16.5C15 14.17 10.33 13 8 13M16 13C15.71 13 15.38 13 15.04 13.05 15.41 13.42 15.69 13.83 15.89 14.28 17.36 14.66 19 15.44 19 16.5V19H23V16.5C23 14.17 18.33 13 16 13Z" />
</svg>
),
},
],
[t],
);
const quickActions: QuickAction[] = useMemo(
() => [
{
id: 'salary-slips',
label: t('home.review_approvals'),
description: t('home.review_approvals_desc'),
iconColor: theme.colors.highlight,
icon: (
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 2L4 5V11C4 16.55 7.58 21.74 12 23C16.42 21.74 20 16.55 20 11V5L12 2M12 12.5C10.62 12.5 9.5 11.38 9.5 10S10.62 7.5 12 7.5 14.5 8.62 14.5 10 13.38 12.5 12 12.5Z" />
</svg>
),
},
{
id: 'renew-contract',
label: t('home.update_payroll'),
description: t('home.update_payroll_desc'),
iconColor: theme.colors.warning,
icon: (
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M6 19C4.89 19 4 18.1 4 17V7C4 5.9 4.89 5 6 5H11.18L13.18 7H18C19.11 7 20 7.9 20 9V11H18V9H6V17H12V19H6M17 13V15H13V17H17V19L21 16L17 13Z" />
</svg>
),
badge: 1,
},
{
id: 'review-reports',
label: t('home.view_reports'),
description: t('home.view_reports_desc'),
iconColor: theme.colors.success,
icon: (
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M9 17H7V11H9M13 17H11V7H13M17 17H15V13H17M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2Z" />
</svg>
),
},
{
id: 'schedule-meeting',
label: t('home.onboard_employees'),
description: t('home.onboard_employees_desc'),
iconColor: theme.colors.info,
icon: (
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M6 17V15H18V17H6M19 3H5C3.89 3 3 3.9 3 5V19L7 15H19C20.11 15 21 14.1 21 13V5C21 3.9 20.1 3 19 3Z" />
</svg>
),
},
],
[t],
);
const getGreeting = () => {
const hour = new Date().getHours();
if (hour < 12) return t('home.good_morning');
if (hour < 18) return t('home.good_afternoon');
return t('home.good_evening');
};
// Layout styles --------------------------------------------------------
const greetingStyles: CSSProperties = {
display: 'flex',
flexDirection: 'column',
gap: theme.spacing.sm,
color: theme.colors.textPrimary,
};
const greetingTitleStyles: CSSProperties = {
...theme.typography.h1,
display: 'flex',
alignItems: 'center',
gap: theme.spacing.sm,
};
const greetingSubtitleStyles: CSSProperties = {
...theme.typography.body,
color: theme.colors.textSecondary,
};
const dividerStyles: CSSProperties = {
height: '1px',
width: '100%',
backgroundColor: theme.colors.border,
opacity: 0.6,
};
const statsRowStyles: CSSProperties = {
display: 'grid',
gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))',
gap: theme.spacing.md,
width: '100%',
};
const actionsGridStyles: CSSProperties = {
display: 'grid',
gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))',
gap: theme.spacing.md,
};
return (
<DashboardLayout topBarProps={topBarProps}>
<SectionCard
style={{
background: 'linear-gradient(135deg, rgba(6, 35, 31, 0.95) 0%, rgba(11, 49, 42, 0.85) 100%)',
backdropFilter: 'blur(20px)',
borderRadius: theme.borderRadius.xxl,
border: '1px solid rgba(203, 169, 81, 0.15)',
boxShadow: '0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05)',
}}
>
<div style={greetingStyles}>
<div style={greetingTitleStyles}>
{getGreeting()}, {userName} 👋
</div>
<div style={greetingSubtitleStyles}>
{t('home.highlights_message')}
</div>
</div>
<div style={dividerStyles} />
<div>
<div
style={{
fontSize: '11px',
fontWeight: 800,
letterSpacing: '1.5px',
textTransform: 'uppercase',
background: 'linear-gradient(135deg, rgba(203, 169, 81, 0.8), rgba(242, 229, 181, 0.6))',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
backgroundClip: 'text',
marginBottom: theme.spacing.md,
}}
>
{t('home.overview')}
</div>
<div style={statsRowStyles}>
{quickStats.map((stat) => (
<StatCard
key={stat.id}
icon={stat.icon}
label={stat.label}
value={stat.value}
trend={stat.trend}
iconColor={stat.iconColor}
/>
))}
</div>
</div>
</SectionCard>
<div
style={{
display: 'grid',
gap: theme.spacing.xxxl,
gridTemplateColumns: 'repeat(auto-fit, minmax(340px, 1fr))',
}}
>
<SummaryCard title={t('home.ai_insights')} items={aiInsights} />
<SectionCard
title={t('home.suggested_actions')}
subtitle={t('home.suggested_actions_subtitle')}
>
<div style={actionsGridStyles}>
{quickActions.map((action) => (
<QuickActionCard
key={action.id}
icon={action.icon}
label={action.label}
description={action.description}
iconColor={action.iconColor}
badge={action.badge}
onPress={() => {
// Placeholder for navigation / callbacks
console.log(`Triggered action: ${action.id}`);
}}
/>
))}
</div>
</SectionCard>
</div>
</DashboardLayout>
);
};
export default HomePage;

View File

@@ -1,170 +1,3 @@
import React, { useMemo, useState, useEffect, useCallback } from 'react'; import AgentsPage from './AgentsPage';
import { useNavigate } from 'react-router-dom';
import TopBar from '../components/TopBar';
import SidebarNav from '../components/SidebarNav';
import AgentPanel from '../components/AgentPanel';
import type { Agent } from '../components/AgentPanel';
import DisplayPanel from '../components/DisplayPanel';
import ChatDock from '../components/ChatDock';
import type { ChatMessage } from '../components/ChatDock';
import CreditsScreen from '../components/CreditsModal';
const LandingPage: React.FC = () => { export default AgentsPage;
// Companies for top dropdown
const companies = ['Pennyzo Labs', 'Pennyzo Retail', 'Pennyzo Finance'];
const [company, setCompany] = useState(companies[0]);
// Sidebar
const sidebarItems = [
{ id: 'dashboard', label: 'Dashboard', icon: <span>🏠</span> },
{ id: 'agents', label: 'Agents', icon: <span>🤖</span> },
{ id: 'projects', label: 'Projects', icon: <span>📁</span> },
{ id: 'reports', label: 'Reports', icon: <span>📈</span> },
{ id: 'settings', label: 'Settings', icon: <span>⚙️</span> },
];
const [activeNav, setActiveNav] = useState('dashboard');
// Agents
const agents: Agent[] = useMemo(() => ([
{ id: 'hr', name: 'HR Command', color: 'from-luxury-gold/30 to-brass/30', emoji: '👥' },
{ id: 'finance', name: 'Finance Sage', color: 'from-bronze/30 to-luxury-gold/30', emoji: '💰' },
{ id: 'project', name: 'Project Sensei', color: 'from-brass/30 to-bronze/30', emoji: '📊' },
{ id: 'marketing', name: 'Marketing Genius', color: 'from-luxury-gold/30 to-cream/30', emoji: '🎯' },
{ id: 'analytics', name: 'Data Wizard', color: 'from-bronze/30 to-brass/30', emoji: '📈' },
{ id: 'security', name: 'Security Guard', color: 'from-deep-forest/40 to-luxury-gold/30', emoji: '🛡️' },
{ id: 'support', name: 'Support Hero', color: 'from-brass/30 to-rich-brown/30', emoji: '🎧' },
{ id: 'research', name: 'Research Bot', color: 'from-luxury-gold/30 to-bronze/30', emoji: '🔍' }
]), []);
const [activeAgent, setActiveAgent] = useState(agents[0].id);
// Chat
const [messages, setMessages] = useState<ChatMessage[]>([
{ id: 'm1', role: 'assistant', content: 'Hello! Choose an agent and tell me what to do.' },
]);
// Credits Modal
const [showCredits, setShowCredits] = useState(false);
const navigate = useNavigate();
// Listen for credits modal trigger from TopBar
useEffect(() => {
const handleOpenCredits = () => {
setShowCredits(true);
};
window.addEventListener('openCredits', handleOpenCredits);
const handleOpenBuyCredits = () => navigate('/buy-credits');
window.addEventListener('openBuyCredits', handleOpenBuyCredits as EventListener);
return () => window.removeEventListener('openCredits', handleOpenCredits);
}, []);
const handleSend = (text: string) => {
const userMsg: ChatMessage = { id: crypto.randomUUID(), role: 'user', content: text };
const assistantMsg: ChatMessage = { id: crypto.randomUUID(), role: 'assistant', content: `Got it! The ${agents.find(a=>a.id===activeAgent)?.name} will process: "${text}"` };
setMessages((prev) => [...prev, userMsg, assistantMsg]);
};
// Sidebar collapse / hover logic ----------------------------------------
const [sidebarCollapsed, setSidebarCollapsed] = useState<boolean>(() => {
try {
const stored = localStorage.getItem('pz.sidebarCollapsed');
return stored === 'true';
} catch { return false; }
});
const [sidebarHoverOpen, setSidebarHoverOpen] = useState(false);
const setCollapsed = useCallback((val: boolean) => {
setSidebarCollapsed(val);
try { localStorage.setItem('pz.sidebarCollapsed', String(val)); } catch {}
}, []);
const sidebarOpen = !sidebarCollapsed || sidebarHoverOpen; // actual visual open state
// Compute dynamic left offsets used by ChatDock & content padding
const sideOffsets = {
mobile: sidebarOpen ? 'pl-16' : 'pl-0', // matches compact sidebar w-16
desktop: sidebarOpen ? 'md:pl-56' : 'md:pl-0' // matches md sidebar w-56
};
const chatLeftOffset = sidebarOpen ? 'left-16 md:left-56' : 'left-0';
return (
<div className="min-h-screen flex flex-col overflow-hidden">
{/* Top bar */}
<TopBar
companies={companies}
selectedCompany={company}
onCompanyChange={setCompany}
coins={128}
notifications={[{ id: 'n1', title: 'Welcome to Pennyzo!', time: 'Just now' }]}
/>
{/* Hover activation strip (only needed when collapsed) */}
{sidebarCollapsed && (
<div
className="fixed top-16 md:top-20 left-0 h-[calc(100vh-4rem)] md:h-[calc(100vh-5rem)] w-2 z-30"
onMouseEnter={() => setSidebarHoverOpen(true)}
onClick={() => setSidebarHoverOpen(true)}
>
{/* subtle gradient indicator */}
<div className="w-full h-full bg-gradient-to-r from-luxury-gold/10 to-transparent" />
</div>
)}
{/* Sliding Sidebar Wrapper */}
<div
onMouseLeave={() => { if (sidebarCollapsed) setSidebarHoverOpen(false); }}
className={`fixed top-16 md:top-20 left-0 h-[calc(100vh-4rem)] md:h-[calc(100vh-5rem)] z-40 transition-transform duration-300 ease-in-out ${sidebarOpen ? 'translate-x-0' : '-translate-x-full'} w-16 md:w-56`}
>
<div className="relative h-full">
<SidebarNav items={sidebarItems} activeId={activeNav} onSelect={setActiveNav} />
{/* Collapse button */}
<button
aria-label={sidebarCollapsed ? 'Pin sidebar open' : 'Collapse sidebar'}
onClick={() => {
if (sidebarCollapsed) {
// Pin open
setCollapsed(false);
setSidebarHoverOpen(false);
} else {
// Collapse immediately (no temporary open)
setCollapsed(true);
setSidebarHoverOpen(false);
}
}}
className={`absolute top-2 -right-3 w-8 h-8 rounded-full flex items-center justify-center border border-luxury-gold/40 text-luxury-gold bg-deep-forest/80 backdrop-blur-xl shadow-[0_4px_12px_rgba(0,0,0,0.4)] hover:border-luxury-gold/70 transition-all ${sidebarOpen ? 'opacity-100 pointer-events-auto' : 'opacity-0 pointer-events-none'}`}
>
{/* Icon changes: when open show « (collapse), when collapsed (visible via hover) show » (pin) */}
<span className="text-sm font-semibold leading-none">{sidebarCollapsed ? '»' : '«'}</span>
</button>
</div>
</div>
{/* Main content (padded when sidebar open) */}
<div className={`flex-1 min-h-0 w-full transition-[padding] duration-300 ease-in-out ${sideOffsets.mobile} ${sideOffsets.desktop} pt-2 md:pt-3`}>
<div className="p-0 grid grid-cols-1 lg:grid-cols-2 gap-2 md:gap-3 min-h-0 overflow-hidden h-[calc(100vh-13rem)] md:h-[calc(100vh-15rem)]">
<AgentPanel agents={agents} activeAgentId={activeAgent} onChangeAgent={setActiveAgent} />
<DisplayPanel />
</div>
</div>
{/* Chat dock at bottom */}
<ChatDock
messages={messages}
onSend={handleSend}
leftOffsetClass={chatLeftOffset}
className={sidebarOpen ? 'w-[calc(100%-4rem)] md:w-[calc(100%-14rem)] transition-all duration-300 ease-in-out' : 'w-full transition-all duration-300 ease-in-out'}
placeholder="Ask anything..."
/>
{/* Credits Screen */}
<CreditsScreen
isOpen={showCredits}
onClose={() => setShowCredits(false)}
sidebarOpen={sidebarOpen}
/>
</div>
);
};
export default LandingPage;

View File

@@ -1,5 +1,6 @@
import React, { useMemo, useState } from 'react'; import React, { useState } from 'react';
import { Link, useNavigate } from 'react-router-dom'; import { Link, useNavigate } from 'react-router-dom';
import bgImage from '../assets/bg pennyzo.png';
const LoginPage: React.FC = () => { const LoginPage: React.FC = () => {
const [email, setEmail] = useState(''); const [email, setEmail] = useState('');
@@ -13,7 +14,7 @@ const LoginPage: React.FC = () => {
setIsLoading(true); setIsLoading(true);
setTimeout(() => { setTimeout(() => {
setIsLoading(false); setIsLoading(false);
navigate('/home'); navigate('/dashboard');
}, 2000); }, 2000);
}; };
@@ -22,73 +23,28 @@ const LoginPage: React.FC = () => {
setIsLoading(true); setIsLoading(true);
setTimeout(() => { setTimeout(() => {
setIsLoading(false); setIsLoading(false);
navigate('/home'); navigate('/dashboard');
}, 2000); }, 2000);
}; };
// Pre-generate particle positions once to avoid layout thrash on state updates
const particles = useMemo(
() => Array.from({ length: 12 }, (_, i) => ({
id: i,
left: Math.random() * 100,
top: Math.random() * 100,
delay: Math.random() * 3,
duration: 2 + Math.random() * 3,
})),
[]
);
return ( return (
<div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden"> <div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden">
{/* Retro Grid Background */} {/* Background Image */}
<div className="fixed inset-0 opacity-20"> <div
<div className="absolute inset-0" style={{ className="fixed inset-0 bg-cover bg-center bg-no-repeat"
backgroundImage: ` style={{
linear-gradient(rgba(197, 157, 89, 0.1) 1px, transparent 1px), backgroundImage: `url(${bgImage})`,
linear-gradient(90deg, rgba(197, 157, 89, 0.1) 1px, transparent 1px) opacity: 0.6
`, }}
backgroundSize: '40px 40px' ></div>
}}></div>
</div>
{/* Floating Particles (memoized positions & reduced count) */} {/* Dark overlay for better readability */}
<div className="fixed inset-0 pointer-events-none will-change-transform"> <div className="fixed inset-0 bg-deep-forest/40"></div>
{particles.map(p => (
<div
key={p.id}
className="absolute w-1 h-1 bg-luxury-gold rounded-full animate-pulse"
style={{
left: `${p.left}%`,
top: `${p.top}%`,
animationDelay: `${p.delay}s`,
animationDuration: `${p.duration}s`
}}
/>
))}
</div>
{/* Ambient Gradient Glows */} <div className="w-full max-w-md relative z-10">
<div className="pointer-events-none absolute inset-0 -z-10 overflow-hidden"> <div className="relative overflow-hidden backdrop-blur-xl bg-white/8 border border-white/20 rounded-3xl p-8 shadow-2xl">
<div className="absolute -top-24 -right-24 w-96 h-96 rounded-full bg-gradient-to-br from-luxury-gold/20 to-bronze/20 blur-3xl"></div>
<div className="absolute -bottom-16 -left-20 w-[28rem] h-[28rem] rounded-full bg-gradient-to-tr from-cream/10 to-luxury-gold/10 blur-3xl"></div>
</div>
<div className="w-full max-w-md">
<div className="relative overflow-hidden backdrop-blur-2xl backdrop-saturate-150 bg-white/12 border border-white/25 rounded-3xl p-8 shadow-[0_10px_30px_rgba(0,0,0,0.35)] ring-1 ring-white/10">
{/* outer soft glow */}
<div className="pointer-events-none absolute -inset-0.5 rounded-3xl bg-gradient-to-br from-luxury-gold/10 to-bronze/10 blur-2xl"></div>
{/* inner highlight border */} {/* inner highlight border */}
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/20"></div> <div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/10"></div>
{/* top-left sheen */}
<div className="pointer-events-none absolute -top-8 -left-8 w-[140%] h-1/2 rounded-[3rem] bg-gradient-to-b from-white/20 to-transparent opacity-60 rotate-[-6deg]"></div>
{/* subtle texture (dot pattern) */}
<div
className="pointer-events-none absolute inset-0 rounded-3xl opacity-10 mix-blend-soft-light"
style={{
backgroundImage: 'radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px)',
backgroundSize: '6px 6px'
}}
></div>
<div className="relative"> <div className="relative">
{/* Header */} {/* Header */}
<div className="text-center mb-8"> <div className="text-center mb-8">

173
src/pages/MorePage.tsx Normal file
View File

@@ -0,0 +1,173 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { SectionCard } from '../components/SectionCard';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import ListButton from '../components/ListButton';
import { QuickActionCard } from '../components/QuickActionCard';
import PrimaryButton from '../components/PrimaryButton';
import { theme } from '../theme';
const MorePage: React.FC = () => {
const { t } = useTranslation();
const { topBarProps } = useDashboardScaffold();
const navigate = useNavigate();
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
<SectionCard
title={t('more.concierge_hub')}
subtitle={t('more.hub_subtitle')}
>
<div className="grid gap-6 lg:grid-cols-[2fr_1fr]">
<div className="flex flex-col gap-6">
<div className="rounded-3xl bg-[#0B312A]/80 p-6">
<h2 className="font-playfair text-3xl text-cream">{t('more.curate_cockpit')}</h2>
<p className="mt-3 text-sm text-cream/70">
{t('more.cockpit_desc')}
</p>
<div className="mt-6 flex flex-wrap gap-3">
<PrimaryButton label={t('more.open_profile')} onClick={() => navigate('/profile')} />
<PrimaryButton
label={t('more.purchase_credits')}
variant="outline"
onClick={() => navigate('/buy-credits')}
/>
</div>
</div>
<div className="grid gap-4 md:grid-cols-2">
<ListButton
icon={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 12C14.21 12 16 10.21 16 8S14.21 4 12 4 8 5.79 8 8 9.79 12 12 12M12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z" />
</svg>
}
label={t('more.profile_menu')}
description={t('more.profile_menu_desc')}
onClick={() => navigate('/profile')}
/>
<ListButton
icon={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2A10 10 0 0 0 2 12A10 10 0 0 0 12 22A10 10 0 0 0 22 12A10 10 0 0 0 12 2M12 6A3 3 0 0 1 15 9H13V11H15V13H13V15H15A3 3 0 0 1 12 18A3 3 0 0 1 9 15H11V13H9V11H11V9H9A3 3 0 0 1 12 6Z" />
</svg>
}
label={t('more.credits_menu')}
description={t('more.credits_menu_desc')}
onClick={() => navigate('/buy-credits')}
/>
<ListButton
icon={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M3 5H21V7H3V5M3 11H21V13H3V11M3 17H15V19H3V17Z" />
</svg>
}
label={t('more.generate_menu')}
description={t('more.generate_menu_desc')}
onClick={() => navigate('/generate')}
/>
<ListButton
icon={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M4 6H20V18H4V6M2 4V20H22V4H2M12 12C13.1 12 14 11.1 14 10C14 8.89 13.1 8 12 8C10.9 8 10 8.89 10 10C10 11.1 10.9 12 12 12M12 14C10.33 14 7 14.84 7 16.5V18H17V16.5C17 14.84 13.67 14 12 14Z" />
</svg>
}
label={t('more.leadership_settings')}
description={t('more.leadership_settings_desc')}
onClick={() => navigate('/settings')}
/>
</div>
</div>
<div className="flex flex-col gap-4">
<QuickActionCard
label={t('more.support_concierge')}
description={t('more.support_desc')}
iconColor={theme.colors.highlight}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 2A10 10 0 0 0 2 12C2 14.2 2.8 16.2 4.1 17.8L2 22L6.2 19.9C7.8 21.2 9.8 22 12 22A10 10 0 0 0 22 12A10 10 0 0 0 12 2M13 19H11V17H13V19M15.1 11.25L14.2 12.2C13.5 12.9 13 13.5 13 15H11V14.5C11 13.4 11.5 12.4 12.2 11.7L13.4 10.5C13.8 10.1 14 9.6 14 9C14 7.9 13.1 7 12 7C10.9 7 10 7.9 10 9H8C8 6.8 9.8 5 12 5C14.2 5 16 6.8 16 9C16 9.9 15.6 10.7 15.1 11.25Z" />
</svg>
}
onPress={() => navigate('/more?section=support')}
/>
<QuickActionCard
label={t('more.language_selector')}
description={t('more.language_desc')}
iconColor={theme.colors.info}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M4 4H20V6H4V4M11 7H13V9H16V11H13.78C14.62 12.71 15.92 14.24 17.65 15.5L16.5 17C14.59 15.64 13.17 13.9 12.22 12H11V15H9V12H7V10H11V7Z" />
</svg>
}
onPress={() => navigate('/settings')}
/>
<QuickActionCard
label={t('more.invite_leadership')}
description={t('more.invite_desc')}
iconColor={theme.colors.success}
icon={
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M15 14C17.67 14 23 15.34 23 18V20H13V18C13 15.34 18.33 14 21 14M9 13C11.21 13 13 11.21 13 9S11.21 5 9 5 5 6.79 5 9 6.79 13 9 13M9 14C6.33 14 1 15.34 1 18V20H9V18C9 16.84 9.5 15.8 10.35 14.96C9.93 14.86 9.5 14.79 9 14.79C7.38 14.79 4.16 15.54 3.05 16.35C3.32 16.11 3.66 15.86 4.07 15.61L5 15.02C6.5 14.09 7.79 13.58 9 13.58C10.21 13.58 11.5 14.09 13 15.02L13.94 15.61C14.34 15.87 14.68 16.11 14.95 16.35C13.84 15.54 10.62 14.79 9 14.79C8.5 14.79 8.07 14.86 7.65 14.96C8.5 15.8 9 16.84 9 18V20H7C7 17.34 4.67 16 3 16C4.11 15.17 7.33 14.42 9 14.42C10.67 14.42 13.89 15.17 15 16C13.89 16.83 9.67 18 8 18C9.67 16.17 13.89 15.42 15 16V18H17V16C17 15.17 15.67 14.83 15 14.42C15.33 14.28 15.67 14.16 16 14.04C15.64 14.01 15.32 14 15 14Z" />
</svg>
}
onPress={() => navigate('/settings')}
/>
</div>
</div>
</SectionCard>
<SectionCard
title={t('more.operational_playlists')}
subtitle={t('more.playlists_subtitle')}
>
<div className="grid gap-5 md:grid-cols-2 xl:grid-cols-3">
{[
{
title: t('more.cxo_brief'),
description: t('more.cxo_brief_desc'),
},
{
title: t('more.investor_dataroom'),
description: t('more.investor_desc'),
},
{
title: t('more.brand_voice'),
description: t('more.brand_voice_desc'),
},
{
title: t('more.hiring_sprint'),
description: t('more.hiring_desc'),
},
{
title: t('more.board_readiness'),
description: t('more.board_desc'),
},
{
title: t('more.global_expansion'),
description: t('more.expansion_desc'),
},
].map((item) => (
<div
key={item.title}
className="flex flex-col gap-3 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-5 transition-all duration-200 hover:-translate-y-[2px] hover:border-luxury-gold/60 hover:shadow-[0_18px_32px_rgba(203,169,81,0.22)]"
>
<h3 className="text-base font-semibold text-cream">{item.title}</h3>
<p className="text-xs text-cream/60">{item.description}</p>
<PrimaryButton
label={t('more.open_flow')}
variant="outline"
className="min-h-[44px] px-4"
onClick={() => navigate('/tasks')}
/>
</div>
))}
</div>
</SectionCard>
</div>
</DashboardLayout>
);
};
export default MorePage;

View File

@@ -0,0 +1,377 @@
import React, { useMemo, useState, useRef } from 'react';
import { useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { SectionCard } from '../components/SectionCard';
import ListButton from '../components/ListButton';
import PrimaryButton from '../components/PrimaryButton';
import { useUser } from '../context/UserContext';
type PreferenceKey = 'weeklyDigest' | 'aiBriefings' | 'loginAlerts' | 'dataExports';
const ProfilePage: React.FC = () => {
const { topBarProps } = useDashboardScaffold();
const { t } = useTranslation();
const { profile, updateProfile, updateProfileImage } = useUser();
const navigate = useNavigate();
const fileInputRef = useRef<HTMLInputElement>(null);
const [saving, setSaving] = useState(false);
const [localProfile, setLocalProfile] = useState(profile);
const [preferences, setPreferences] = useState<Record<PreferenceKey, boolean>>({
weeklyDigest: true,
aiBriefings: true,
loginAlerts: true,
dataExports: false,
});
const togglePreference = (key: PreferenceKey) => {
setPreferences((prev) => ({ ...prev, [key]: !prev[key] }));
};
const handleProfileChange = (field: keyof typeof localProfile) => (event: React.ChangeEvent<HTMLInputElement>) => {
setLocalProfile((prev) => ({ ...prev, [field]: event.target.value }));
};
const handleSaveProfile = (event: React.FormEvent) => {
event.preventDefault();
setSaving(true);
updateProfile(localProfile);
window.setTimeout(() => setSaving(false), 1200);
};
const handleProfileImageChange = (event: React.ChangeEvent<HTMLInputElement>) => {
const file = event.target.files?.[0];
if (file) {
const reader = new FileReader();
reader.onload = (e) => {
const result = e.target?.result as string;
updateProfileImage(result);
};
reader.readAsDataURL(file);
}
};
const scrollToSection = (sectionId: string) => {
const element = document.getElementById(sectionId);
if (element) {
element.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
};
const menuItems = useMemo(
() => [
{
id: 'user-info',
label: t('profile.user_info'),
description: t('profile.user_info_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 12C14.21 12 16 10.21 16 8S14.21 4 12 4 8 5.79 8 8 9.79 12 12 12M12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z" />
</svg>
),
action: () => scrollToSection('profile-details'),
},
{
id: 'subscription',
label: t('profile.subscription'),
description: t('profile.subscription_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2A10 10 0 0 0 2 12A10 10 0 0 0 12 22A10 10 0 0 0 22 12A10 10 0 0 0 12 2M12 6A3 3 0 0 1 15 9H13V11H15V13H13V15H15A3 3 0 0 1 12 18A3 3 0 0 1 9 15H11V13H9V11H11V9H9A3 3 0 0 1 12 6Z" />
</svg>
),
action: () => navigate('/buy-credits'),
},
{
id: 'integrations',
label: t('profile.integrations'),
description: t('profile.integrations_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M16 11C17.66 11 19 9.66 19 8S17.66 5 16 5 13 6.34 13 8 14.34 11 16 11M8 11C9.66 11 11 9.66 11 8S9.66 5 8 5 5 6.34 5 8 6.34 11 8 11M8 13C5.33 13 0 14.34 0 17V19H16V17C16 14.34 10.67 13 8 13M16 13C15.66 13 15.3 13.03 14.93 13.07C15.53 13.76 15.9 14.61 15.97 15.5C18.3 16.03 20 17.24 20 18.5V20H24V18C24 15.34 18.67 13 16 13Z" />
</svg>
),
action: () => scrollToSection('integration-preferences'),
},
{
id: 'settings',
label: t('profile.settings'),
description: t('profile.settings_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 8C13.1 8 14 8.9 14 10S13.1 12 12 12 10 11.1 10 10 10.9 8 12 8M4 10H2V14H4L5 16.65L2.5 19.15L4.35 21L6.85 18.5L9.5 19.5L9.5 22H13.5V19.5L16.15 18.5L18.65 21L20.5 19.15L18 16.65L19 14H21V10H19L18 7.35L20.5 4.85L18.65 3L16.15 5.5L13.5 4.5V2H9.5V4.5L6.85 5.5L4.35 3L2.5 4.85L5 7.35L4 10Z" />
</svg>
),
action: () => navigate('/settings'),
},
{
id: 'help',
label: t('profile.help_support'),
description: t('profile.help_support_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2A10 10 0 0 0 2 12C2 14.2 2.8 16.2 4.1 17.8L2 22L6.2 19.9C7.8 21.2 9.8 22 12 22A10 10 0 0 0 22 12A10 10 0 0 0 12 2M13 19H11V17H13V19M15.1 11.25L14.2 12.2C13.5 12.9 13 13.5 13 15H11V14.5C11 13.4 11.5 12.4 12.2 11.7L13.4 10.5C13.8 10.1 14 9.6 14 9C14 7.9 13.1 7 12 7C10.9 7 10 7.9 10 9H8C8 6.8 9.8 5 12 5C14.2 5 16 6.8 16 9C16 9.9 15.6 10.7 15.1 11.25Z" />
</svg>
),
action: () => navigate('/more?section=support'),
},
{
id: 'logout',
label: t('profile.logout'),
description: t('profile.logout_desc'),
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M14.08 15.59L16.67 13H7V11H16.67L14.08 8.41L15.5 7L20.5 12L15.5 17L14.08 15.59M5 19H12V21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H12V5H5V19Z" />
</svg>
),
action: () => navigate('/login'),
},
],
[navigate, t],
);
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
<SectionCard
title={t('profile.account_overview')}
subtitle={t('profile.account_overview_subtitle')}
>
<div className="flex flex-col gap-8 lg:flex-row lg:items-center">
<div className="flex items-center gap-5">
<div className="relative">
<div
className="relative h-24 w-24 rounded-full border-4 border-luxury-gold/40 overflow-hidden shadow-[0_0_24px_rgba(203,169,81,0.35)] cursor-pointer group"
onClick={() => fileInputRef.current?.click()}
>
{profile.profileImage ? (
<img
src={profile.profileImage}
alt={profile.name}
className="w-full h-full object-cover"
/>
) : (
<div className="w-full h-full bg-gradient-to-br from-luxury-gold to-brass flex items-center justify-center">
<span className="text-3xl font-semibold text-deep-forest">
{profile.name.charAt(0).toUpperCase()}
</span>
</div>
)}
<div className="absolute inset-0 bg-black/60 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center">
<svg width="32" height="32" viewBox="0 0 24 24" fill="white" className="opacity-90">
<path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/>
</svg>
</div>
</div>
<span className="absolute -right-1 -bottom-1 inline-flex h-7 w-7 items-center justify-center rounded-full bg-emerald-400 text-[10px] font-semibold uppercase tracking-[0.16em] text-deep-forest border-2 border-deep-forest">
Live
</span>
</div>
<input
ref={fileInputRef}
type="file"
accept="image/*"
onChange={handleProfileImageChange}
className="hidden"
/>
<div className="flex flex-col gap-2">
<h1 className="font-playfair text-3xl text-cream">{profile.name}</h1>
<p className="text-sm uppercase tracking-[0.24em] text-cream/60">{profile.role}</p>
<div className="flex flex-wrap gap-2">
<span className="rounded-full border border-luxury-gold/50 px-3 py-1 text-xs uppercase tracking-[0.18em] text-luxury-gold/90">
Member since 2022
</span>
<span className="rounded-full border border-luxury-gold/30 px-3 py-1 text-xs uppercase tracking-[0.18em] text-cream/70">
Pennyzo Labs HQ
</span>
</div>
</div>
</div>
<div className="flex flex-1 flex-col gap-3 lg:items-end">
<PrimaryButton
label="Update profile photo"
variant="outline"
iconLeft={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M9 2L7.17 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4H16.83L15 2H9M12 7C14.76 7 17 9.24 17 12S14.76 17 12 17 7 14.76 7 12 9.24 7 12 7Z" />
</svg>
}
onClick={() => fileInputRef.current?.click()}
/>
<PrimaryButton
label="Go to workspace settings"
iconRight={
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
<path d="M10 17L15 12L10 7V17Z" />
</svg>
}
onClick={() => navigate('/settings')}
/>
</div>
</div>
</SectionCard>
<SectionCard title="Control centre" subtitle="Quick access to every profile-powered workflow">
<div className="grid gap-4 md:grid-cols-2 xl:grid-cols-3">
{menuItems.map((item) => (
<ListButton
key={item.id}
icon={item.icon}
label={item.label}
description={item.description}
onClick={item.action}
/>
))}
</div>
</SectionCard>
<div id="profile-details">
<SectionCard
title="Profile details"
subtitle="These fields sync with your auto-prepped letters, approvals, and notification templates"
>
<form className="grid gap-5 md:grid-cols-2" onSubmit={handleSaveProfile}>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Full name
<input
type="text"
value={localProfile.name}
onChange={handleProfileChange('name')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Role
<input
type="text"
value={localProfile.role}
onChange={handleProfileChange('role')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Email address
<input
type="email"
value={localProfile.email}
onChange={handleProfileChange('email')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Phone
<input
type="tel"
value={localProfile.phone}
onChange={handleProfileChange('phone')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Location
<input
type="text"
value={localProfile.location}
onChange={handleProfileChange('location')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/70">
Department
<input
type="text"
value={localProfile.department}
onChange={handleProfileChange('department')}
className="rounded-xl border border-luxury-gold/40 bg-[#0B312A]/80 px-4 py-3 text-base text-cream shadow-inner shadow-black/20 focus:border-luxury-gold focus:outline-none"
/>
</label>
<div className="md:col-span-2 flex flex-col gap-4 rounded-2xl bg-[#0B312A]/70 p-5">
<h3 className="text-sm uppercase tracking-[0.18em] text-cream/60">Security controls</h3>
<div className="flex flex-col gap-3 text-cream/70">
<div className="flex flex-wrap items-center justify-between gap-3">
<span className="text-sm font-medium">Two-factor authentication</span>
<PrimaryButton
type="button"
variant="outline"
label="Manage 2FA"
onClick={() => navigate('/settings')}
className="min-h-[44px] px-4"
/>
</div>
<div className="flex flex-wrap items-center justify-between gap-3">
<span className="text-sm font-medium">Recovery email</span>
<span className="rounded-full border border-luxury-gold/40 px-3 py-1 text-xs uppercase tracking-[0.16em] text-cream/70">
john.backup@pennyzo.com
</span>
</div>
</div>
</div>
<div className="md:col-span-2 flex justify-end gap-3">
<PrimaryButton
type="button"
variant="outline"
label="Cancel"
onClick={() => scrollToSection('profile-details')}
className="min-h-[48px] px-5"
/>
<PrimaryButton
type="submit"
label={saving ? 'Saving…' : 'Save changes'}
disabled={saving}
className="min-h-[48px] px-6"
/>
</div>
</form>
</SectionCard>
</div>
<div id="integration-preferences">
<SectionCard
title="Preferences & notifications"
subtitle="Tell Pennyzo how frequently to nudge you and where to deliver AI briefings"
>
<div className="grid gap-5 lg:grid-cols-2">
{(
[
{ key: 'weeklyDigest', label: 'Weekly performance digest', description: 'Sunday 9 AM email recapping pipeline momentum' },
{ key: 'aiBriefings', label: 'Concierge AI briefings', description: 'Instant push when high priority tasks get unblocked' },
{ key: 'loginAlerts', label: 'Login alerts', description: 'Notify me when a new device signs in to Pennyzo' },
{ key: 'dataExports', label: 'Auto data exports', description: 'Send CSV exports to finance every Friday evening' },
] satisfies { key: PreferenceKey; label: string; description: string }[]
).map((item) => (
<div
key={item.key}
className="flex flex-col gap-3 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-5"
>
<div className="flex items-center justify-between gap-3">
<div>
<p className="text-sm font-semibold text-cream">{item.label}</p>
<p className="text-xs text-cream/60">{item.description}</p>
</div>
<button
type="button"
onClick={() => togglePreference(item.key)}
className={`relative h-7 w-12 rounded-full border-2 border-luxury-gold/50 transition-colors duration-200 ${preferences[item.key] ? 'bg-luxury-gold/80' : 'bg-transparent'}`}
aria-pressed={preferences[item.key]}
>
<span
className={`absolute top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-cream transition-transform duration-200 ${preferences[item.key] ? 'translate-x-5' : 'translate-x-1'}`}
/>
</button>
</div>
</div>
))}
</div>
</SectionCard>
</div>
</div>
</DashboardLayout>
);
};
export default ProfilePage;

View File

@@ -1,5 +1,6 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Link, useNavigate } from 'react-router-dom'; import { Link, useNavigate } from 'react-router-dom';
import bgImage from '../assets/bg pennyzo.png';
const ResetPasswordOtpPage: React.FC = () => { const ResetPasswordOtpPage: React.FC = () => {
const [otp, setOtp] = useState(['', '', '', '', '', '']); const [otp, setOtp] = useState(['', '', '', '', '', '']);
@@ -22,19 +23,23 @@ const ResetPasswordOtpPage: React.FC = () => {
}; };
return ( return (
<div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden bg-gradient-to-br from-deep-forest/90 via-deep-forest/80 to-rich-brown/90"> <div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden">
{/* Ambient Gradient Glows */} {/* Background Image */}
<div className="pointer-events-none absolute inset-0 -z-10 overflow-hidden"> <div
<div className="absolute -top-24 -right-24 w-96 h-96 rounded-full bg-gradient-to-br from-luxury-gold/20 to-bronze/20 blur-3xl"></div> className="fixed inset-0 bg-cover bg-center bg-no-repeat"
<div className="absolute -bottom-16 -left-20 w-[28rem] h-[28rem] rounded-full bg-gradient-to-tr from-cream/10 to-luxury-gold/10 blur-3xl"></div> style={{
</div> backgroundImage: `url(${bgImage})`,
opacity: 0.6
}}
></div>
<div className="w-full max-w-md"> {/* Dark overlay for better readability */}
<div className="relative overflow-hidden backdrop-blur-2xl backdrop-saturate-150 bg-white/12 border border-white/25 rounded-3xl p-8 shadow-[0_10px_30px_rgba(0,0,0,0.35)] ring-1 ring-white/10"> <div className="fixed inset-0 bg-deep-forest/40"></div>
<div className="pointer-events-none absolute -inset-0.5 rounded-3xl bg-gradient-to-br from-luxury-gold/10 to-bronze/10 blur-2xl"></div>
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/20"></div> <div className="w-full max-w-md relative z-10">
<div className="pointer-events-none absolute -top-8 -left-8 w-[140%] h-1/2 rounded-[3rem] bg-gradient-to-b from-white/20 to-transparent opacity-60 rotate-[-6deg]"></div> <div className="relative overflow-hidden backdrop-blur-xl bg-white/8 border border-white/20 rounded-3xl p-8 shadow-2xl">
<div className="pointer-events-none absolute inset-0 rounded-3xl opacity-10 mix-blend-soft-light" style={{ backgroundImage: 'radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px)', backgroundSize: '6px 6px' }}></div> {/* inner highlight border */}
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/10"></div>
<div className="relative"> <div className="relative">
<div className="text-center mb-8"> <div className="text-center mb-8">

View File

@@ -1,5 +1,6 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { Link, useNavigate } from 'react-router-dom'; import { Link, useNavigate } from 'react-router-dom';
import bgImage from '../assets/bg pennyzo.png';
const ResetPasswordTokenPage: React.FC = () => { const ResetPasswordTokenPage: React.FC = () => {
const [password, setPassword] = useState(''); const [password, setPassword] = useState('');
@@ -17,19 +18,23 @@ const ResetPasswordTokenPage: React.FC = () => {
}; };
return ( return (
<div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden bg-gradient-to-br from-deep-forest/90 via-deep-forest/80 to-rich-brown/90"> <div className="min-h-screen flex items-center justify-center px-4 relative overflow-hidden">
{/* Ambient Gradient Glows */} {/* Background Image */}
<div className="pointer-events-none absolute inset-0 -z-10 overflow-hidden"> <div
<div className="absolute -top-24 -right-24 w-96 h-96 rounded-full bg-gradient-to-br from-luxury-gold/20 to-bronze/20 blur-3xl"></div> className="fixed inset-0 bg-cover bg-center bg-no-repeat"
<div className="absolute -bottom-16 -left-20 w-[28rem] h-[28rem] rounded-full bg-gradient-to-tr from-cream/10 to-luxury-gold/10 blur-3xl"></div> style={{
</div> backgroundImage: `url(${bgImage})`,
opacity: 0.6
}}
></div>
<div className="w-full max-w-md"> {/* Dark overlay for better readability */}
<div className="relative overflow-hidden backdrop-blur-2xl backdrop-saturate-150 bg-white/12 border border-white/25 rounded-3xl p-8 shadow-[0_10px_30px_rgba(0,0,0,0.35)] ring-1 ring-white/10"> <div className="fixed inset-0 bg-deep-forest/40"></div>
<div className="pointer-events-none absolute -inset-0.5 rounded-3xl bg-gradient-to-br from-luxury-gold/10 to-bronze/10 blur-2xl"></div>
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/20"></div> <div className="w-full max-w-md relative z-10">
<div className="pointer-events-none absolute -top-8 -left-8 w-[140%] h-1/2 rounded-[3rem] bg-gradient-to-b from-white/20 to-transparent opacity-60 rotate-[-6deg]"></div> <div className="relative overflow-hidden backdrop-blur-xl bg-white/8 border border-white/20 rounded-3xl p-8 shadow-2xl">
<div className="pointer-events-none absolute inset-0 rounded-3xl opacity-10 mix-blend-soft-light" style={{ backgroundImage: 'radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px)', backgroundSize: '6px 6px' }}></div> {/* inner highlight border */}
<div className="pointer-events-none absolute inset-[1px] rounded-3xl border border-white/10"></div>
<div className="relative"> <div className="relative">
<div className="text-center mb-8"> <div className="text-center mb-8">

301
src/pages/SettingsPage.tsx Normal file
View File

@@ -0,0 +1,301 @@
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { SectionCard } from '../components/SectionCard';
import PrimaryButton from '../components/PrimaryButton';
type ToggleGroup<T extends string> = Record<T, boolean>;
type SecurityToggle = 'twoFactor' | 'deviceApprovals' | 'sessionTimeout';
type NotificationToggle = 'email' | 'sms' | 'whatsapp' | 'slack';
type WorkspacePreference = {
timezone: string;
language: string;
weekStartsOn: string;
};
const SettingsPage: React.FC = () => {
const { topBarProps } = useDashboardScaffold();
const { t } = useTranslation();
const [security, setSecurity] = useState<ToggleGroup<SecurityToggle>>({
twoFactor: true,
deviceApprovals: true,
sessionTimeout: false,
});
const [notifications, setNotifications] = useState<ToggleGroup<NotificationToggle>>({
email: true,
sms: false,
whatsapp: true,
slack: true,
});
const [workspace, setWorkspace] = useState<WorkspacePreference>({
timezone: 'Asia/Kolkata (IST)',
language: 'English',
weekStartsOn: 'Monday',
});
const toggleSecurity = (key: SecurityToggle) => {
setSecurity((prev) => ({ ...prev, [key]: !prev[key] }));
};
const toggleNotification = (key: NotificationToggle) => {
setNotifications((prev) => ({ ...prev, [key]: !prev[key] }));
};
const handleWorkspaceChange = (field: keyof WorkspacePreference) => (event: React.ChangeEvent<HTMLSelectElement>) => {
setWorkspace((prev) => ({ ...prev, [field]: event.target.value }));
};
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
<div className="space-y-3">
<h1 className="font-playfair text-4xl text-cream">{t('settings.workspace_settings')}</h1>
<p className="max-w-2xl text-sm text-cream/70">
{t('settings.workspace_settings_desc')}
</p>
</div>
<SectionCard
title={t('settings.security_posture')}
subtitle={t('settings.security_posture_subtitle')}
>
<div className="grid gap-4 lg:grid-cols-2">
{(
[
{
key: 'twoFactor' as SecurityToggle,
label: 'Two-factor authentication',
description: 'Require OTP or authenticator approval on every new login.',
},
{
key: 'deviceApprovals' as SecurityToggle,
label: 'Device approvals',
description: 'Concierge pings admins when a new laptop or phone signs in.',
},
{
key: 'sessionTimeout' as SecurityToggle,
label: '90 minute session timeout',
description: 'Auto-sign out idle consoles to protect sensitive briefs.',
},
]
).map((item) => (
<div
key={item.key}
className="flex flex-col gap-3 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-5"
>
<div className="flex items-center justify-between gap-3">
<div>
<p className="text-sm font-semibold text-cream">{item.label}</p>
<p className="text-xs text-cream/60">{item.description}</p>
</div>
<button
type="button"
onClick={() => toggleSecurity(item.key)}
className={`relative h-7 w-12 rounded-full border-2 border-luxury-gold/50 transition-colors duration-200 ${security[item.key] ? 'bg-luxury-gold/80' : 'bg-transparent'}`}
aria-pressed={security[item.key]}
>
<span
className={`absolute top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-cream transition-transform duration-200 ${security[item.key] ? 'translate-x-5' : 'translate-x-1'}`}
/>
</button>
</div>
</div>
))}
</div>
<div className="flex flex-wrap items-center justify-between gap-4 rounded-2xl bg-[#0B312A]/70 p-5">
<div className="max-w-xl">
<h3 className="text-sm uppercase tracking-[0.18em] text-cream/70">Admin alerting</h3>
<p className="text-xs text-cream/60">
Pennyzo will escalate high-risk sign-ins to {security.deviceApprovals ? 'leadership Slack' : 'email only'} and include geo-location snapshots.
</p>
</div>
<PrimaryButton label="View audit trail" variant="outline" className="min-h-[46px] px-5" />
</div>
</SectionCard>
<SectionCard
title="Notification matrix"
subtitle="Choose where credit events, agent output, and approvals are broadcast"
>
<div className="grid gap-4 md:grid-cols-2">
{(
[
{
key: 'email' as NotificationToggle,
label: 'Email digests',
description: 'Daily summary of agent runs, documents prepared, and credit snapshots.',
},
{
key: 'sms' as NotificationToggle,
label: 'SMS nudges',
description: 'Instant message when concierge requires leadership approval.',
},
{
key: 'whatsapp' as NotificationToggle,
label: 'WhatsApp alerts',
description: 'Pipeline wins and budget approvals piped to the CXO group.',
},
{
key: 'slack' as NotificationToggle,
label: 'Slack channel updates',
description: 'Live feed in #pennyzo-warroom of agent completions and credit usage.',
},
]
).map((item) => (
<div
key={item.key}
className="flex flex-col gap-3 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-5"
>
<div className="flex items-center justify-between gap-3">
<div>
<p className="text-sm font-semibold text-cream">{item.label}</p>
<p className="text-xs text-cream/60">{item.description}</p>
</div>
<button
type="button"
onClick={() => toggleNotification(item.key)}
className={`relative h-7 w-12 rounded-full border-2 border-luxury-gold/50 transition-colors duration-200 ${notifications[item.key] ? 'bg-luxury-gold/80' : 'bg-transparent'}`}
aria-pressed={notifications[item.key]}
>
<span
className={`absolute top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-cream transition-transform duration-200 ${notifications[item.key] ? 'translate-x-5' : 'translate-x-1'}`}
/>
</button>
</div>
</div>
))}
</div>
<div className="rounded-2xl border border-luxury-gold/20 bg-[#041815]/80 p-6">
<div className="flex flex-col gap-3 md:flex-row md:items-center md:justify-between">
<div>
<h3 className="text-sm uppercase tracking-[0.18em] text-cream/70">Escalation window</h3>
<p className="text-xs text-cream/60">Escalate to leadership if concierge waits more than 4 hours for approvals.</p>
</div>
<PrimaryButton label="Edit SLA" variant="outline" className="min-h-[46px] px-5" />
</div>
</div>
</SectionCard>
<SectionCard
title="Workspace defaults"
subtitle="Default context for new tasks, documents, and cross-team handoffs"
>
<div className="grid gap-5 md:grid-cols-2">
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/60">
Timezone
<select
value={workspace.timezone}
onChange={handleWorkspaceChange('timezone')}
className="rounded-xl border border-luxury-gold/40 bg-[#041815] px-4 py-3 text-sm text-cream focus:border-luxury-gold focus:outline-none"
>
<option className="bg-[#041815]">Asia/Kolkata (IST)</option>
<option className="bg-[#041815]">Asia/Dubai (GST)</option>
<option className="bg-[#041815]">Europe/London (BST)</option>
</select>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/60">
Language for briefs
<select
value={workspace.language}
onChange={handleWorkspaceChange('language')}
className="rounded-xl border border-luxury-gold/40 bg-[#041815] px-4 py-3 text-sm text-cream focus:border-luxury-gold focus:outline-none"
>
<option className="bg-[#041815]">English</option>
<option className="bg-[#041815]">हिन्दी</option>
<option className="bg-[#041815]">தமிழ்</option>
</select>
</label>
<label className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/60">
Week starts on
<select
value={workspace.weekStartsOn}
onChange={handleWorkspaceChange('weekStartsOn')}
className="rounded-xl border border-luxury-gold/40 bg-[#041815] px-4 py-3 text-sm text-cream focus:border-luxury-gold focus:outline-none"
>
<option className="bg-[#041815]">Monday</option>
<option className="bg-[#041815]">Sunday</option>
</select>
</label>
<div className="flex flex-col gap-2 text-sm uppercase tracking-[0.18em] text-cream/60">
Preferred export format
<div className="flex flex-wrap gap-3">
{['CSV', 'Excel', 'Google Sheets'].map((option) => (
<button
key={option}
type="button"
className={`rounded-full border px-4 py-2 text-xs font-semibold uppercase tracking-[0.16em] transition-colors ${option === 'CSV' ? 'border-luxury-gold text-luxury-gold' : 'border-luxury-gold/30 text-cream/70 hover:border-luxury-gold/60 hover:text-cream'}`}
>
{option}
</button>
))}
</div>
</div>
</div>
<div className="flex flex-wrap items-center justify-end gap-3">
<PrimaryButton label="Reset to defaults" variant="outline" className="min-h-[46px] px-5" />
<PrimaryButton label="Save workspace settings" className="min-h-[46px] px-6" />
</div>
</SectionCard>
<SectionCard
title="Connected integrations"
subtitle="Concierge keeps your finance, HR, and CRM stacks synchronised"
>
<div className="grid gap-4 md:grid-cols-2">
{[{
name: 'Slack',
status: 'Live',
description: 'Real-time agent completions in #pennyzo-warroom channel.',
}, {
name: 'HubSpot',
status: 'Live',
description: 'Sync CRM deals to concierge for follow-up summaries.',
}, {
name: 'Google Drive',
status: 'Pending approval',
description: 'Route auto-prepped decks to investor-ready folders.',
}, {
name: 'SAP SuccessFactors',
status: 'Live',
description: 'Push payroll exports and compliance letters on schedule.',
}].map((integration) => (
<div
key={integration.name}
className="flex flex-col gap-3 rounded-2xl border border-luxury-gold/25 bg-[#0B312A]/70 p-5"
>
<div className="flex items-center justify-between gap-3">
<h3 className="text-base font-semibold text-cream">{integration.name}</h3>
<span
className={`rounded-full border px-3 py-1 text-xs uppercase tracking-[0.16em] ${
integration.status === 'Live'
? 'border-emerald-400/60 text-emerald-300'
: 'border-luxury-gold/50 text-luxury-gold'
}`}
>
{integration.status}
</span>
</div>
<p className="text-xs text-cream/60">{integration.description}</p>
<div className="flex gap-2">
<PrimaryButton label="Manage" variant="outline" className="min-h-[42px] px-4" />
<PrimaryButton label="Logs" variant="outline" className="min-h-[42px] px-4" />
</div>
</div>
))}
</div>
</SectionCard>
</div>
</DashboardLayout>
);
};
export default SettingsPage;

491
src/pages/TasksPage.tsx Normal file
View File

@@ -0,0 +1,491 @@
import React, { useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { useParams, useNavigate } from 'react-router-dom';
import DashboardLayout from '../layout/DashboardLayout';
import { useDashboardScaffold } from '../hooks/useDashboardScaffold';
import { StatCard } from '../components/StatCard';
import { SummaryCard } from '../components/SummaryCard';
import { QuickActionCard } from '../components/QuickActionCard';
import { SectionCard } from '../components/SectionCard';
import { theme } from '../theme';
interface StatDefinition {
id: string;
label: string;
value: string;
iconColor: string;
trend?: {
value: string;
isPositive: boolean;
};
icon: React.ReactNode;
}
interface SummaryItem {
id: string;
label: string;
count: number;
iconColor: string;
icon: React.ReactNode;
}
interface QuickActionDefinition {
id: string;
label: string;
description: string;
iconColor: string;
icon: React.ReactNode;
}
type TaskTabId = 'hr' | 'crm' | 'strategy';
const TasksPage: React.FC = () => {
const { topBarProps } = useDashboardScaffold();
const { t } = useTranslation();
const { section } = useParams<{ section?: string }>();
const navigate = useNavigate();
const activeTab = (section || 'hr') as TaskTabId;
// Set active tab based on URL parameter
useEffect(() => {
if (!section || !['hr', 'crm', 'strategy'].includes(section)) {
// Redirect to HR if no valid section specified
navigate('/tasks/hr', { replace: true });
}
}, [section, navigate]);
const statCards: Record<TaskTabId, StatDefinition[]> = {
hr: [
{
id: 'headcount',
label: t('tasks.headcount'),
value: '178',
iconColor: theme.colors.highlight,
trend: { value: '+12', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M16 11C17.66 11 19 9.66 19 8S17.66 5 16 5 13 6.34 13 8 14.34 11 16 11M8 11C9.66 11 11 9.66 11 8S9.66 5 8 5 5 6.34 5 8 6.34 11 8 11M8 13C5.67 13 1 14.17 1 16.5V19H15V16.5C15 14.17 10.33 13 8 13M16 13C15.71 13 15.38 13 15.04 13.05 15.41 13.42 15.69 13.83 15.89 14.28 17.36 14.66 19 15.44 19 16.5V19H23V16.5C23 14.17 18.33 13 16 13Z" />
</svg>
),
},
{
id: 'present',
label: t('tasks.present_today'),
value: '161',
iconColor: theme.colors.success,
trend: { value: '91%', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M12 5C9.24 5 7 7.24 7 10S9.24 15 12 15 17 12.76 17 10 14.76 5 12 5M12 13C10.34 13 9 11.66 9 10S10.34 7 12 7 15 8.34 15 10 13.66 13 12 13M5 20.2C5 16.9 8.13 14 12 14S19 16.9 19 20.2V21H5V20.2Z" />
</svg>
),
},
{
id: 'on-leave',
label: t('tasks.on_leave'),
value: '12',
iconColor: theme.colors.warning,
trend: { value: '-3', isPositive: false },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M17 10.5C16.17 10.5 15.5 9.83 15.5 9S16.17 7.5 17 7.5 18.5 8.17 18.5 9 17.83 10.5 17 10.5M20 12H14V11H12V7C12 5.9 11.1 5 10 5H4C2.9 5 2 5.9 2 7V15H12V14H14V13H20C21.1 13 22 12.1 22 11V9H20V12Z" />
</svg>
),
},
],
crm: [
{
id: 'pipeline',
label: t('tasks.pipeline_value'),
value: '₹3.1Cr',
iconColor: theme.colors.highlight,
trend: { value: '+22%', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M21 15V17H3V15H21M21 11V13H3V11H21M21 7V9H3V7H21Z" />
</svg>
),
},
{
id: 'conversion',
label: t('tasks.conversion_rate'),
value: '34%',
iconColor: theme.colors.success,
trend: { value: '+6%', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M7 3H5V5H7V3M11 3H9V5H11V3M15 3H13V5H15V3M17 7H19V5H17V7M17 21H19V19H17V21M3 9H5V7H3V9M5 21V19H3V21H5M11 21H13V19H11V21M7 7H9V5H7V7M11 7H13V5H11V7M15 7H17V5H15V7M7 11H9V9H7V11M11 11H13V9H11V11M15 11H17V9H15V11M7 15H9V13H7V15M11 15H13V13H11V15M15 15H17V13H15V15M7 19H9V17H7V19" />
</svg>
),
},
{
id: 'escalations',
label: t('tasks.escalations'),
value: '7',
iconColor: theme.colors.error,
trend: { value: '+2', isPositive: false },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.error }}>
<path d="M13 13H11V7H13M13 17H11V15H13M1 21H23L12 2" />
</svg>
),
},
],
strategy: [
{
id: 'okrs',
label: t('tasks.okrs_on_track'),
value: '82%',
iconColor: theme.colors.highlight,
trend: { value: '+5%', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M9 17H7V11H9M13 17H11V7H13M17 17H15V14H17M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2Z" />
</svg>
),
},
{
id: 'initiatives',
label: t('tasks.initiatives'),
value: '24',
iconColor: theme.colors.info,
trend: { value: '+3', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M20 15.31L23.31 12L20 8.69V4H15.31L12 0.69L8.69 4H4V8.69L0.69 12L4 15.31V20H8.69L12 23.31L15.31 20H20V15.31M12 18C8.69 18 6 15.31 6 12S8.69 6 12 6 18 8.69 18 12 15.31 18 12 18Z" />
</svg>
),
},
{
id: 'markets',
label: t('tasks.markets_assessed'),
value: '11',
iconColor: theme.colors.warning,
trend: { value: '+2', isPositive: true },
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M12 2C6.5 2 2 6.5 2 12H4C4 8.14 7.14 5 11 5V3.05C11.33 3.02 11.66 3 12 3S12.67 3.02 13 3.05V5C16.86 5 20 8.14 20 12C20 13.85 19.3 15.55 18.16 16.87L19.58 18.29C21.11 16.5 22 14.31 22 12C22 6.5 17.5 2 12 2M12 7C8.68 7 6 9.68 6 13C6 16.32 8.68 19 12 19C13.32 19 14.55 18.57 15.57 17.86L17 19.29C15.56 20.34 13.85 21 12 21C7.58 21 4 17.42 4 13C4 8.58 7.58 5 12 5C14.23 5 16.23 5.95 17.67 7.5L16.24 8.93C15.19 7.73 13.68 7 12 7Z" />
</svg>
),
},
],
};
const summaryItems: Record<TaskTabId, SummaryItem[]> = {
hr: [
{
id: 'leadership',
label: t('tasks.leadership_approvals'),
count: 3,
iconColor: theme.colors.highlight,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 12C13.66 12 15 10.66 15 9S13.66 6 12 6 9 7.34 9 9 10.34 12 12 12M12 14C9.33 14 4 15.34 4 18V20H20V18C20 15.34 14.67 14 12 14Z" />
</svg>
),
},
{
id: 'product',
label: t('tasks.product_onboarding'),
count: 8,
iconColor: theme.colors.info,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M2 16H20V18H2M2 12H22V14H2M2 8H22V10H2M2 4H20V6H2" />
</svg>
),
},
{
id: 'operations',
label: t('tasks.operations_followups'),
count: 6,
iconColor: theme.colors.warning,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M12 2C14.42 2 16.53 3.13 18 4.86C18.31 5.22 18.26 5.77 17.9 6.09L12.85 10.36C12.46 10.69 11.88 10.69 11.5 10.36L6.1 5.79C5.73 5.47 5.68 4.9 6.01 4.5C7.45 2.63 9.58 1.41 12 1.41V2M12 22C9.58 22 7.47 20.87 6 19.14C5.69 18.78 5.74 18.23 6.1 17.91L11.15 13.64C11.54 13.31 12.12 13.31 12.5 13.64L17.9 18.21C18.27 18.53 18.32 19.1 17.99 19.5C16.55 21.37 14.42 22.59 12 22.59V22Z" />
</svg>
),
},
],
crm: [
{
id: 'follow-ups',
label: t('tasks.followups_today'),
count: 9,
iconColor: theme.colors.highlight,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M6 2V8H2V2H6M4 4V6H4.5H5.5H4ZM6 10V22H2V10H6M4 12V20H4.5H5.5H4ZM14 10V22H10V10H14M12 12V20H12.5H13.5H12ZM22 12V22H18V12H22M20 14V20H20.5H21.5H20ZM22 2V8H18V2H22M20 4V6H20.5H21.5H20ZM14 2V8H10V2H14M12 4V6H12.5H13.5H12Z" />
</svg>
),
},
{
id: 'contracts',
label: t('tasks.contracts_in_review'),
count: 4,
iconColor: theme.colors.info,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M6 2H18C19.1 2 20 2.9 20 4V20C20 21.1 19.1 22 18 22H6C4.89 22 4 21.1 4 20V4C4 2.9 4.89 2 6 2M13 20H18V4H13V20M6 11V13H11V11H6M6 15V17H11V15H6M6 7V9H11V7H6Z" />
</svg>
),
},
{
id: 'responses',
label: t('tasks.awaiting_responses'),
count: 5,
iconColor: theme.colors.warning,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M12 3C7.03 3 3 6.58 3 11C3 13.38 4.16 15.5 6 17L6 21L10 19C10.65 19.13 11.31 19.19 12 19.19C16.97 19.19 21 15.61 21 11.19C21 6.77 16.97 3 12 3M13 14H11V12H13M13 10H11V7H13" />
</svg>
),
},
],
strategy: [
{
id: 'strengths',
label: t('tasks.strengths_reviewed'),
count: 6,
iconColor: theme.colors.success,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.success }}>
<path d="M9 17H7V11H9M13 17H11V7H13M17 17H15V13H17M5 19H19V21H5V19Z" />
</svg>
),
},
{
id: 'opportunities',
label: t('tasks.opportunities'),
count: 3,
iconColor: theme.colors.info,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M12 2A10 10 0 0 0 2 12H0L4 16L8 12H5A7 7 0 0 1 12 5A7 7 0 0 1 19 12A7 7 0 0 1 17.64 16.36L19.05 17.77A9 9 0 0 0 21 12A9 9 0 0 0 12 3Z" />
</svg>
),
},
{
id: 'risks',
label: t('tasks.risks_tracked'),
count: 4,
iconColor: theme.colors.error,
icon: (
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.error }}>
<path d="M12 2A10 10 0 0 0 2 12H0L4 16L8 12H5A7 7 0 0 1 12 5A7 7 0 0 1 19 12A7 7 0 0 1 17.64 16.36L19.05 17.77A9 9 0 0 0 21 12A9 9 0 0 0 12 3M11 7V13H13V7H11M11 15V17H13V15H11Z" />
</svg>
),
},
],
};
const quickActions: Record<TaskTabId, QuickActionDefinition[]> = {
hr: [
{
id: 'payroll',
label: t('tasks.process_payroll'),
description: t('tasks.process_payroll_desc'),
iconColor: theme.colors.highlight,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M4 4H20V6H4V4M18 8C19.1 8 20 8.9 20 10V18C20 19.1 19.1 20 18 20H6C4.9 20 4 19.1 4 18V10C4 8.9 4.9 8 6 8H18M6 10V18H18V10H6" />
</svg>
),
},
{
id: 'salary-slips',
label: t('tasks.send_salary_slips'),
description: t('tasks.send_salary_slips_desc'),
iconColor: theme.colors.info,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M21 18V19C21 20.11 20.11 21 19 21H5C3.89 21 3 20.11 3 19V18L12 13L21 18M19 3C20.11 3 21 3.9 21 5V17L12 12L3 17V5C3 3.9 3.89 3 5 3H19Z" />
</svg>
),
},
{
id: 'reports',
label: t('tasks.generate_reports'),
description: t('tasks.generate_reports_desc'),
iconColor: theme.colors.warning,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.warning }}>
<path d="M19 3H5C3.9 3 3 3.9 3 5V21L7 17H19C20.1 17 21 16.1 21 15V5C21 3.9 20.1 3 19 3Z" />
</svg>
),
},
],
crm: [
{
id: 'concierge',
label: t('tasks.client_concierge'),
description: t('tasks.client_concierge_desc'),
iconColor: theme.colors.info,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M13 17H11V15H13M13 13H11V7H13" />
</svg>
),
},
{
id: 'launch-campaign',
label: t('tasks.launch_campaign'),
description: t('tasks.launch_campaign_desc'),
iconColor: theme.colors.highlight,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M8 16H6V20H4V4H6V2H8V6H20V8H8V16M10 10H20V12H10V10M12 14H20V16H12V14Z" />
</svg>
),
},
],
strategy: [
{
id: 'executive-summary',
label: t('tasks.executive_summary'),
description: t('tasks.executive_summary_desc'),
iconColor: theme.colors.highlight,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M17 12H19V17H17V12M13 7H15V17H13V7M9 14H11V17H9V14M5 9H7V17H5V9Z" />
</svg>
),
},
{
id: 'steering',
label: t('tasks.steering_committee'),
description: t('tasks.steering_committee_desc'),
iconColor: theme.colors.info,
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M12 7C10.34 7 9 8.34 9 10S10.34 13 12 13 15 11.66 15 10 13.66 7 12 7M7 10C7 9.11 7.25 8.27 7.69 7.53L6.27 6.1C5.47 7.26 5 8.58 5 10S5.47 12.74 6.27 13.9L7.69 12.47C7.25 11.73 7 10.89 7 10M4 4L2.59 5.41 4.3 7.1L2 9L3.5 10.5L5.4 8.6L7.1 10.3 8.5 8.9L6.8 7.2 8.6 5.4L7 3.5L5.1 5.4M11 19.93C7.05 19.45 4 16.08 4 12V11H2V12C2 17.18 6.02 21.45 11 21.93V19.93M18.54 9H16.37L13.82 5.21C13.56 4.82 13.1 4.59 12.61 4.64C12.12 4.7 11.7 5 11.5 5.45L8.24 13C7.92 13.74 8.36 14.6 9.14 14.8C9.41 14.87 9.71 14.84 9.97 14.72L12.23 13.68L14.18 16.24C14.45 16.6 14.88 16.81 15.33 16.76C15.79 16.7 16.19 16.4 16.38 15.96L18.92 10.43C19.08 10.09 19.07 9.7 18.91 9.37C18.75 9.14 18.55 9 18.54 9Z" />
</svg>
),
},
],
};
const insightsCopy: Record<TaskTabId, { icon: React.ReactNode; title: string; body: string }> = {
hr: {
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M9 21H7V18H4V16H7V13H9V16H12V18H9V21M20.5 11C21.88 11 23 9.88 23 8.5C23 7.12 21.88 6 20.5 6C19.12 6 18 7.12 18 8.5C18 9.88 19.12 11 20.5 11M14 14C15.38 14 16.5 12.88 16.5 11.5C16.5 10.12 15.38 9 14 9C12.62 9 11.5 10.12 11.5 11.5C11.5 12.88 12.62 14 14 14M20.5 13C18.84 13 16 13.84 16 15.5V17H25V15.5C25 13.84 22.16 13 20.5 13M14 16C12.34 16 9.5 16.84 9.5 18.5V20H18.5V18.5C18.5 16.84 15.66 16 14 16M14 7C15.66 7 17 5.66 17 4C17 2.34 15.66 1 14 1C12.34 1 11 2.34 11 4C11 5.66 12.34 7 14 7" />
</svg>
),
title: t('tasks.retention_watchlist'),
body: t('tasks.retention_watchlist_desc'),
},
crm: {
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.info }}>
<path d="M10 2C6.13 2 3 5.13 3 9C3 14.25 10 22 10 22C10 22 17 14.25 17 9C17 5.13 13.87 2 10 2M10 11.5C8.62 11.5 7.5 10.38 7.5 9C7.5 7.62 8.62 6.5 10 6.5C11.38 6.5 12.5 7.62 12.5 9C12.5 10.38 11.38 11.5 10 11.5M19 9C19 14.25 12 22 12 22C12 22 19 14.25 19 9C19 7 18.2 5.13 16.83 3.76C17.53 5.07 18 6.49 18 8C18 11.87 14.87 15 11 15C6.13 15 3 11.87 3 8C3 6.49 3.47 5.07 4.17 3.76C2.8 5.13 2 7 2 9C2 14.25 9 22 9 22C9 22 16 14.25 16 9C16 5.13 12.87 2 9 2C9 2 19 9 19 9Z" />
</svg>
),
title: t('tasks.pipeline_sentiment'),
body: t('tasks.pipeline_sentiment_desc'),
},
strategy: {
icon: (
<svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style={{ color: theme.colors.highlight }}>
<path d="M12 0C5.37 0 0 5.37 0 12C0 18.63 5.37 24 12 24C18.63 24 24 18.63 24 12C24 5.37 18.63 0 12 0M17 13H13V17H11V13H7V11H11V7H13V11H17V13Z" />
</svg>
),
title: t('tasks.swot_briefing'),
body: t('tasks.swot_briefing_desc'),
},
};
const swotMatrix = {
strengths: t('tasks.swot_strengths'),
weaknesses: t('tasks.swot_weaknesses'),
opportunities: t('tasks.swot_opportunities'),
threats: t('tasks.swot_threats'),
};
// Get page title based on active tab
const getPageTitle = () => {
const titles = {
hr: t('tasks.hr'),
crm: t('tasks.crm'),
strategy: t('tasks.strategy'),
};
return titles[activeTab] || titles.hr;
};
const getPageSubtitle = () => {
const subtitles = {
hr: 'Monitor headcount, attendance, and HR workflows in real-time',
crm: 'Track pipeline, conversion rates, and customer engagement',
strategy: 'Review OKRs, initiatives, and strategic market insights',
};
return subtitles[activeTab] || subtitles.hr;
};
return (
<DashboardLayout topBarProps={topBarProps}>
<div className="flex flex-col gap-10">
{/* Page Header */}
<div className="space-y-3">
<h1 className="font-playfair text-4xl font-semibold text-cream tracking-wide">{getPageTitle()}</h1>
<p className="max-w-3xl text-sm text-cream/70" style={theme.typography.body}>
{getPageSubtitle()}
</p>
</div>
<div className="space-y-10">
<div className="grid gap-5 lg:grid-cols-3">
{statCards[activeTab].map((stat) => (
<StatCard key={stat.id} {...stat} />
))}
</div>
<div className="grid gap-8 xl:grid-cols-2">
<SummaryCard title={t('tasks.summary')} items={summaryItems[activeTab]} />
<SectionCard
style={{ backgroundColor: 'rgba(6, 35, 31, 0.92)', borderRadius: theme.borderRadius.xxl }}
>
<div className="flex items-start gap-4">
<span className="mt-1 inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-[#1A4036]/80 text-luxury-gold">
{insightsCopy[activeTab].icon}
</span>
<div className="space-y-2">
<h3 className="font-playfair text-xl font-semibold text-cream tracking-wide">
{insightsCopy[activeTab].title}
</h3>
<p className="text-sm leading-7 text-cream/70" style={theme.typography.body}>
{insightsCopy[activeTab].body}
</p>
</div>
</div>
</SectionCard>
</div>
<div className="grid gap-4 md:grid-cols-3">
{quickActions[activeTab].map((action) => (
<QuickActionCard key={action.id} {...action} onPress={() => console.log(`Action: ${action.id}`)} />
))}
</div>
{activeTab === 'strategy' && (
<div className="grid gap-5 md:grid-cols-2">
{Object.entries(swotMatrix).map(([key, value]) => (
<SectionCard
key={key}
title={key.toUpperCase()}
style={{ backgroundColor: 'rgba(6, 35, 31, 0.92)' }}
>
<p className="text-sm text-cream/70" style={theme.typography.body}>
{value}
</p>
</SectionCard>
))}
</div>
)}
</div>
</div>
</DashboardLayout>
);
};
export default TasksPage;

266
src/styles/shared.css Normal file
View File

@@ -0,0 +1,266 @@
/**
* Shared Component Styles
* Ensures uniform design across all navigation, buttons, and interactive elements
*/
/* ===== NAVIGATION ITEMS ===== */
.nav-item {
@apply flex items-center gap-3 h-12 rounded-xl px-4 pl-5;
@apply cursor-pointer relative;
@apply transition-all duration-200 ease-in-out;
}
.nav-item-inactive {
@apply bg-transparent text-[#C8D9D4];
}
.nav-item-inactive:hover {
@apply bg-[rgba(203,169,81,0.12)] text-[#F2E5B5];
}
.nav-item-active {
@apply bg-[rgba(203,169,81,0.18)];
@apply text-[#F2E5B5];
}
/* Active indicator bar */
.nav-item-indicator {
@apply absolute left-0 top-1/2 -translate-y-1/2;
@apply w-1 h-8 rounded-r-full;
background: linear-gradient(180deg, rgba(203, 169, 81, 1) 0%, rgba(203, 169, 81, 0.8) 100%);
box-shadow: 0 0 12px rgba(203, 169, 81, 0.6);
}
/* Icon wrapper */
.nav-icon {
@apply w-10 h-10 rounded-lg flex items-center justify-center;
@apply transition-all duration-200 flex-shrink-0;
}
.nav-icon-inactive {
@apply bg-[rgba(108,125,120,0.15)] text-[#8A9D97];
}
.nav-icon-inactive:hover {
@apply bg-[rgba(203,169,81,0.2)] text-[#CBA951];
}
.nav-icon-active {
@apply bg-[rgba(203,169,81,0.3)] text-[#F2E5B5];
box-shadow: 0 0 8px rgba(203, 169, 81, 0.3);
}
/* Label text */
.nav-label {
@apply font-montserrat text-[13px] tracking-[0.5px] uppercase;
@apply transition-colors duration-200;
}
.nav-label-inactive {
@apply text-[#C8D9D4] font-semibold;
}
.nav-label-active {
@apply text-[#F8F5EB] font-bold;
}
/* ===== CARDS & CONTAINERS ===== */
.pennyzo-card {
@apply rounded-2xl border backdrop-blur-xl;
@apply bg-gradient-to-br from-[rgba(6,35,31,0.95)] to-[rgba(11,49,42,0.88)];
@apply border-[rgba(203,169,81,0.25)];
@apply shadow-[0_12px_28px_rgba(0,0,0,0.35)];
@apply transition-all duration-300;
}
.pennyzo-card:hover {
@apply border-[rgba(203,169,81,0.4)];
@apply shadow-[0_16px_36px_rgba(203,169,81,0.15)];
}
/* ===== BUTTONS ===== */
.pennyzo-btn {
@apply inline-flex items-center justify-center gap-2;
@apply uppercase tracking-[0.08em] font-montserrat font-extrabold;
@apply rounded-full transition-all duration-150 ease-in-out;
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2;
@apply focus-visible:ring-luxury-gold/70 focus-visible:ring-offset-deep-forest;
@apply min-h-[56px] px-6 text-base;
}
.pennyzo-btn-primary {
@apply bg-luxury-gold text-deep-forest border-2 border-luxury-gold/80;
@apply shadow-[0_12px_24px_rgba(203,169,81,0.35)];
@apply hover:opacity-90 active:scale-[0.98] active:opacity-85;
}
.pennyzo-btn-secondary {
@apply bg-gradient-to-br from-forest-green/80 to-deep-forest/80;
@apply text-cream border-2 border-luxury-gold/60;
@apply shadow-[0_12px_24px_rgba(203,169,81,0.35)];
@apply hover:opacity-90 active:scale-[0.98] active:opacity-85;
}
.pennyzo-btn-ghost {
@apply bg-transparent text-cream border-2 border-luxury-gold/40;
@apply hover:bg-luxury-gold/10 hover:border-luxury-gold/60;
@apply active:scale-[0.98];
}
/* ===== LIST BUTTONS ===== */
.pennyzo-list-btn {
@apply flex w-full items-center gap-4 rounded-2xl cursor-pointer;
@apply border-2 border-luxury-gold/30 bg-[#0B312A];
@apply px-5 py-4 text-left transition-all duration-200;
@apply hover:-translate-y-[1px] hover:border-luxury-gold/60;
@apply hover:bg-[#0B312A]/90 hover:shadow-[0_14px_28px_rgba(203,169,81,0.22)];
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-luxury-gold/60;
}
.pennyzo-list-btn-icon {
@apply flex h-10 w-10 items-center justify-center rounded-xl;
@apply bg-[#1A4036]/80 text-luxury-gold text-lg flex-shrink-0;
}
.pennyzo-list-btn-content {
@apply flex flex-1 flex-col gap-1;
}
.pennyzo-list-btn-label {
@apply font-montserrat text-sm font-semibold uppercase tracking-[0.18em] text-cream;
}
.pennyzo-list-btn-description {
@apply text-xs text-cream/60;
}
.pennyzo-list-btn-chevron {
@apply text-luxury-gold/70 transition-transform duration-200;
}
.pennyzo-list-btn:hover .pennyzo-list-btn-chevron {
@apply translate-x-1;
}
/* ===== ACTION CARDS ===== */
.pennyzo-action-card {
@apply flex items-center gap-4 rounded-2xl cursor-pointer;
@apply bg-[#0B312A] border-2 border-luxury-gold/25;
@apply px-5 py-4 transition-all duration-200;
@apply hover:-translate-y-[2px] hover:border-luxury-gold/40;
@apply hover:shadow-[0_12px_28px_rgba(203,169,81,0.18)];
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-luxury-gold/60;
}
.pennyzo-action-card-icon {
@apply relative w-14 h-14 rounded-xl flex items-center justify-center;
@apply flex-shrink-0 transition-all duration-200;
}
.pennyzo-action-card-badge {
@apply absolute -top-1.5 -right-1.5 min-w-[24px] h-6 px-1.5;
@apply rounded-full bg-red-500 border-2 border-deep-forest;
@apply flex items-center justify-center;
@apply text-white text-[11px] font-bold;
@apply shadow-[0_0_12px_rgba(239,68,68,0.4)];
}
.pennyzo-action-card-content {
@apply flex-1 min-w-0;
}
.pennyzo-action-card-label {
@apply font-montserrat text-sm font-bold text-cream;
@apply tracking-wide mb-1;
}
.pennyzo-action-card-description {
@apply text-xs text-cream/60;
}
.pennyzo-action-card-chevron {
@apply flex-shrink-0 text-luxury-gold text-2xl;
}
/* ===== INPUTS & FORMS ===== */
.pennyzo-input {
@apply w-full px-4 py-3 rounded-xl;
@apply bg-deep-forest/70 border border-luxury-gold/40;
@apply text-cream placeholder:text-cream/40;
@apply focus:outline-none focus:ring-2 focus:ring-luxury-gold/40;
@apply transition-all duration-200;
}
.pennyzo-select {
@apply w-full px-4 py-3 rounded-xl;
@apply bg-deep-forest/70 border border-luxury-gold/40;
@apply text-cream;
@apply focus:outline-none focus:ring-2 focus:ring-luxury-gold/40;
@apply transition-all duration-200;
}
/* ===== DROPDOWNS & MODALS ===== */
.pennyzo-dropdown {
@apply bg-gradient-to-br from-deep-forest/95 to-rich-brown/90;
@apply backdrop-blur-xl border border-luxury-gold/30;
@apply rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.4)];
@apply animate-fadeInUp;
}
.pennyzo-dropdown-item {
@apply flex items-center gap-3 px-3 py-2.5 rounded-xl;
@apply text-cream/90 bg-deep-forest/50;
@apply border border-transparent;
@apply hover:border-luxury-gold/30 hover:bg-luxury-gold/10 hover:text-cream;
@apply transition-all duration-200;
}
/* ===== BADGES ===== */
.pennyzo-badge {
@apply inline-flex items-center justify-center;
@apply min-w-[24px] h-6 px-2 rounded-full;
@apply bg-red-500 text-white text-xs font-bold;
@apply shadow-[0_0_12px_rgba(239,68,68,0.4)];
}
/* ===== DIVIDERS ===== */
.pennyzo-divider {
@apply border-t border-[rgba(203,169,81,0.12)];
}
/* ===== SECTION HEADERS ===== */
.pennyzo-section-label {
@apply font-montserrat text-[11px] tracking-[0.8px] uppercase;
@apply text-[rgba(200,217,212,0.5)] font-bold;
}
/* ===== SCROLLBARS ===== */
.pennyzo-scroll::-webkit-scrollbar {
@apply w-1;
}
.pennyzo-scroll::-webkit-scrollbar-track {
@apply bg-transparent;
}
.pennyzo-scroll::-webkit-scrollbar-thumb {
@apply bg-[rgba(203,169,81,0.25)] rounded;
}
.pennyzo-scroll::-webkit-scrollbar-thumb:hover {
@apply bg-[rgba(203,169,81,0.4)];
}
/* ===== TRANSITIONS ===== */
.pennyzo-transition {
@apply transition-all duration-200 ease-in-out;
}
.pennyzo-transition-slow {
@apply transition-all duration-300 ease-in-out;
}
/* ===== FOCUS STATES ===== */
.pennyzo-focus:focus-visible {
@apply outline-none ring-2 ring-luxury-gold/70 ring-offset-2 ring-offset-deep-forest;
}

325
src/theme/index.ts Normal file
View File

@@ -0,0 +1,325 @@
/**
* Pennyzo Design System - Theme Configuration
*
* Complete theme system with colors, typography, spacing, shadows,
* border radius, and icon sizes based on the Pennyzo mobile app design.
*/
// ============================================
// COLOR PALETTE
// ============================================
export const colors = {
// Background colors - Deep emerald/teal theme
background: '#041815', // Primary dark background
surface: '#06231F', // Card/container surfaces
surfaceAlt: '#0B312A', // Alternative surface (lighter)
accent: '#1A4036', // Accent containers
primary: '#0E5F4F', // Primary emerald
// Highlight colors - Luxurious gold
highlight: '#CBA951', // Primary gold
highlightAlt: '#F2E5B5', // Light cream gold
// Text colors
textPrimary: '#F8F5EB', // Primary text (cream white)
textSecondary: '#C8D9D4', // Secondary text (light teal)
// Borders & decorative
border: 'rgba(203, 169, 81, 0.35)', // Subtle gold border
borderStrong: 'rgba(203, 169, 81, 0.6)', // Strong gold border
// Shadows & effects
shadow: 'rgba(0, 0, 0, 0.4)',
shadowLight: 'rgba(0, 0, 0, 0.2)',
glowGold: 'rgba(203, 169, 81, 0.25)',
glowEmerald: 'rgba(14, 95, 79, 0.3)',
// Special colors
tabIconInactive: '#6C7D78',
overlayDark: 'rgba(4, 24, 21, 0.6)',
// Status colors
success: '#4ADE80', // Green (positive metrics, active status)
warning: '#FBBF24', // Yellow (warnings, idle status)
error: '#EF4444', // Red (alerts, busy status)
info: '#3B82F6', // Blue (informational)
} as const;
// ============================================
// TYPOGRAPHY SYSTEM
// ============================================
export const typography = {
// Display - Hero sections
display: {
fontSize: '38px',
fontWeight: 900,
letterSpacing: '1px',
lineHeight: '46px',
},
// Headings
h1: {
fontSize: '32px',
fontWeight: 800,
letterSpacing: '0.8px',
lineHeight: '40px',
},
h2: {
fontSize: '26px',
fontWeight: 800,
letterSpacing: '0.6px',
lineHeight: '34px',
},
h3: {
fontSize: '22px',
fontWeight: 700,
letterSpacing: '0.5px',
lineHeight: '30px',
},
h4: {
fontSize: '18px',
fontWeight: 700,
letterSpacing: '0.4px',
lineHeight: '26px',
},
// Body text
body: {
fontSize: '15px',
fontWeight: 400,
letterSpacing: '0.2px',
lineHeight: '22px',
},
bodyBold: {
fontSize: '15px',
fontWeight: 700,
letterSpacing: '0.3px',
lineHeight: '22px',
},
// Supporting text
caption: {
fontSize: '13px',
fontWeight: 600,
letterSpacing: '0.2px',
lineHeight: '18px',
},
// Buttons
button: {
fontSize: '16px',
fontWeight: 800,
letterSpacing: '0.8px',
textTransform: 'uppercase' as const,
},
buttonSmall: {
fontSize: '14px',
fontWeight: 700,
letterSpacing: '0.6px',
textTransform: 'uppercase' as const,
},
// Tab labels
tabLabel: {
fontSize: '11px',
fontWeight: 700,
letterSpacing: '0.5px',
textTransform: 'uppercase' as const,
},
} as const;
// ============================================
// SPACING SYSTEM
// ============================================
export const spacing = {
xs: '4px',
sm: '8px',
md: '12px',
lg: '16px',
xl: '20px',
xxl: '24px',
xxxl: '32px',
huge: '40px',
massive: '48px',
} as const;
// ============================================
// BORDER RADIUS
// ============================================
export const borderRadius = {
sm: '8px',
md: '12px',
lg: '16px',
xl: '20px',
xxl: '24px',
round: '999px',
} as const;
// ============================================
// ICON SIZES
// ============================================
export const iconSizes = {
xs: '16px',
sm: '20px',
md: '24px',
lg: '28px',
xl: '32px',
xxl: '40px',
} as const;
// ============================================
// SHADOW SYSTEM
// ============================================
export const shadows = {
sm: '0 4px 8px rgba(0, 0, 0, 0.2)',
md: '0 8px 12px rgba(0, 0, 0, 0.3)',
lg: '0 12px 16px rgba(0, 0, 0, 0.4)',
xl: '0 16px 20px rgba(0, 0, 0, 0.5)',
glow: '0 8px 12px rgba(203, 169, 81, 0.4)',
glowStrong: '0 12px 20px rgba(203, 169, 81, 0.6)',
} as const;
// ============================================
// ANIMATION DURATIONS
// ============================================
export const animations = {
fast: '150ms',
normal: '200ms',
slow: '300ms',
fadeOut: '140ms',
fadeIn: '180ms',
pulse: '1500ms',
glow: '2000ms',
} as const;
// ============================================
// BREAKPOINTS
// ============================================
export const breakpoints = {
mobile: '0px',
tablet: '641px',
desktop: '1025px',
} as const;
// ============================================
// Z-INDEX LAYERS
// ============================================
export const zIndex = {
base: 0,
dropdown: 100,
sticky: 200,
fixed: 300,
modalBackdrop: 400,
modal: 500,
popover: 600,
tooltip: 700,
} as const;
// ============================================
// COMPONENT-SPECIFIC DIMENSIONS
// ============================================
export const dimensions = {
// Button dimensions
buttonHeight: '56px',
buttonHeightSmall: '44px',
buttonBorderWidth: '2px',
// Tab bar
tabBarHeight: '65px',
tabBarBorderWidth: '1.5px',
tabBarMargin: '10px',
// Avatar sizes
avatarXs: '32px',
avatarSm: '40px',
avatarMd: '50px',
avatarLg: '80px',
avatarXl: '120px',
avatarXxl: '200px',
// Card padding
cardPadding: '16px',
cardPaddingLarge: '24px',
// Input dimensions
inputHeight: '50px',
inputBorderWidth: '2px',
// Floating assistant button
assistantButtonSize: '72px',
assistantButtonBottom: '90px',
assistantButtonRight: '20px',
// Status indicator
statusIndicatorSize: '24px',
statusIndicatorBorder: '3px',
} as const;
// ============================================
// OVERLAY STYLES
// ============================================
export const overlays = {
modalBackdrop: 'rgba(4, 24, 21, 0.7)',
backgroundOverlay: 'rgba(4, 24, 21, 0.75)',
backgroundBlur: '8px',
} as const;
// ============================================
// GRADIENT DEFINITIONS
// ============================================
export const gradients = {
goldShine: 'linear-gradient(135deg, #CBA951 0%, #F2E5B5 100%)',
emeraldDepth: 'linear-gradient(180deg, #0E5F4F 0%, #041815 100%)',
surfaceGlow: 'linear-gradient(135deg, rgba(203, 169, 81, 0.1) 0%, rgba(14, 95, 79, 0.1) 100%)',
} as const;
// ============================================
// TRANSITION PRESETS
// ============================================
export const transitions = {
default: 'all 200ms ease',
fast: 'all 150ms ease',
slow: 'all 300ms ease',
transform: 'transform 200ms ease',
opacity: 'opacity 200ms ease',
colors: 'background-color 200ms ease, border-color 200ms ease, color 200ms ease',
} as const;
// ============================================
// COMPLETE THEME OBJECT
// ============================================
export const theme = {
colors,
typography,
spacing,
borderRadius,
iconSizes,
shadows,
animations,
breakpoints,
zIndex,
dimensions,
overlays,
gradients,
transitions,
} as const;
// Export type for TypeScript
export type Theme = typeof theme;
// Default export
export default theme;