Show app version in sidebar and split 4-word FirmaEC names in 1.2.26

This commit is contained in:
2026-05-22 14:31:10 -05:00
parent 81bd8d3c59
commit 3c9aefa10e
11 changed files with 44 additions and 12 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import { Link, useNavigate, useLocation } from 'react-router-dom';
import { useAuth } from '../../contexts/AuthContext';
import { FileText, Shield, PenTool, LayoutDashboard, LogOut, Palette, Menu, X, KeyRound, Users, Settings, ScrollText, Scale } from 'lucide-react';
import ChangePasswordModal from '../ui/ChangePasswordModal';
import packageInfo from '../../../package.json';
const navSections = [
{
@@ -86,7 +87,7 @@ export default function Layout({ children }) {
<img src="/app-icon-96.png" alt="LinkedSign" width="32" height="32" style={{ display: 'block' }} />
</div>
<div className="sidebar-brand-copy">
<span>LinkedSign</span>
<span>LinkedSign <em>v{packageInfo.version}</em></span>
<small>Firma Electrónica @LinkedCorp</small>
</div>
<button
+10
View File
@@ -134,6 +134,16 @@ select {
font-size: 14px;
font-weight: 500;
color: var(--c-text);
display: inline-flex;
align-items: baseline;
gap: 6px;
}
.sidebar-brand-copy span em {
font-size: 10px;
font-style: normal;
font-weight: 400;
color: var(--c-muted);
}
.sidebar-brand-copy small {