Merge claude/youthful-mendel-0c569f: add APP_VERSION to ConfiguracoesView
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const APP_VERSION = 'V1.0.2';
|
||||
@@ -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<any[]>([]);
|
||||
@@ -76,9 +77,14 @@ export const ConfiguracoesView: React.FC = () => {
|
||||
|
||||
return (
|
||||
<div className="space-y-8 max-w-2xl">
|
||||
<div>
|
||||
<h1 className="text-2xl font-black text-gray-900 uppercase tracking-tight">Configurações</h1>
|
||||
<p className="text-sm text-gray-400 font-medium mt-1">Gerencie seu perfil e integrações</p>
|
||||
<div className="flex items-end justify-between">
|
||||
<div>
|
||||
<h1 className="text-2xl font-black text-gray-900 uppercase tracking-tight">Configurações</h1>
|
||||
<p className="text-sm text-gray-400 font-medium mt-1">Gerencie seu perfil e integrações</p>
|
||||
</div>
|
||||
<span className="bg-gray-100 text-gray-400 text-[11px] font-mono font-bold px-3 py-1 rounded-full border border-gray-200 mb-1">
|
||||
{APP_VERSION}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Perfil */}
|
||||
|
||||
@@ -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<LoginViewProps> = ({ onLoginSuccess }) => {
|
||||
<div className="flex items-center gap-1">
|
||||
<ShieldCheck size={12}/> AMBIENTE SEGURO E CRIPTOGRAFADO
|
||||
</div>
|
||||
<span className="bg-gray-100 text-gray-500 px-2 py-1 rounded font-mono">V1.0.2</span>
|
||||
<span className="bg-gray-100 text-gray-500 px-2 py-1 rounded font-mono">{APP_VERSION}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user