diff --git a/frontend/constants.ts b/frontend/constants.ts new file mode 100644 index 0000000..c0be682 --- /dev/null +++ b/frontend/constants.ts @@ -0,0 +1 @@ +export const APP_VERSION = 'V1.0.2'; diff --git a/frontend/views/ConfiguracoesView.tsx b/frontend/views/ConfiguracoesView.tsx index 007e346..ce14177 100644 --- a/frontend/views/ConfiguracoesView.tsx +++ b/frontend/views/ConfiguracoesView.tsx @@ -3,6 +3,7 @@ import { User, Building2, ShieldCheck, LogOut, KeyRound, CheckCircle2, AlertCirc import { HybridBackend } from '../services/backend.ts'; import { GoogleConnectButton } from '../components/GoogleConnectButton.tsx'; import { useToast } from '../contexts/ToastContext.tsx'; +import { APP_VERSION } from '../constants.ts'; export const ConfiguracoesView: React.FC = () => { const [connectedAccounts, setConnectedAccounts] = useState([]); @@ -76,9 +77,14 @@ export const ConfiguracoesView: React.FC = () => { return (
-
-

Configurações

-

Gerencie seu perfil e integrações

+
+
+

Configurações

+

Gerencie seu perfil e integrações

+
+ + {APP_VERSION} +
{/* Perfil */} diff --git a/frontend/views/LoginView.tsx b/frontend/views/LoginView.tsx index ddc9820..465557a 100644 --- a/frontend/views/LoginView.tsx +++ b/frontend/views/LoginView.tsx @@ -1,6 +1,7 @@ import React, { useState, useEffect } from 'react'; import { Database, Lock, User, ArrowRight, ShieldCheck, Loader2 } from 'lucide-react'; import { HybridBackend } from '../services/backend.ts'; +import { APP_VERSION } from '../constants.ts'; interface LoginViewProps { onLoginSuccess: () => void; @@ -117,7 +118,7 @@ export const LoginView: React.FC = ({ onLoginSuccess }) => {
AMBIENTE SEGURO E CRIPTOGRAFADO
- V1.0.2 + {APP_VERSION}