fix(email-signature): correct addresses, add Albac, fix logo sizing, update US/SDT colors from logos, fix hydration error
- Fix all 3 address constants: Christescu (nr. 12, 400416), Unirii (nr. 3 sc. 3 ap. 26, 400432), Albac (nr. 2 ap. 1, 400459) - Add 3rd address option (Albac) to all company address selectors - Default address changed to Christescu for all companies - Update US brand colors to logo blue (#345476), SDT to logo teal (#0182A1) - Fix slashAccent for US/SDT (was pointing to logo files instead of slash assets) - Add logoDimensions to CompanyBranding type for per-company logo sizing - Set US logo to 140x24 and SDT to 71x24 (matching SVG aspect ratios) - Fix sidebar hydration error: remove unused useTheme() hook call - Update color palettes in configurator to match logo-derived colors Tasks: 1.01 (verified), 1.02 (address toggle + fixes)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { CompanyId } from '@/core/auth/types';
|
||||
import type { CompanyId } from "@/core/auth/types";
|
||||
|
||||
export interface Company {
|
||||
id: CompanyId;
|
||||
@@ -10,54 +10,54 @@ export interface Company {
|
||||
city: string;
|
||||
logo?: {
|
||||
light: string; // logo for light backgrounds
|
||||
dark: string; // logo for dark backgrounds
|
||||
dark: string; // logo for dark backgrounds
|
||||
};
|
||||
}
|
||||
|
||||
export const COMPANIES: Record<CompanyId, Company> = {
|
||||
beletage: {
|
||||
id: 'beletage',
|
||||
name: 'Beletage SRL',
|
||||
shortName: 'Beletage',
|
||||
cui: '',
|
||||
color: '#22B5AB',
|
||||
address: 'str. Unirii, nr. 3, ap. 26',
|
||||
city: 'Cluj-Napoca',
|
||||
id: "beletage",
|
||||
name: "Beletage SRL",
|
||||
shortName: "Beletage",
|
||||
cui: "",
|
||||
color: "#22B5AB",
|
||||
address: "str. Unirii, nr. 3, ap. 26",
|
||||
city: "Cluj-Napoca",
|
||||
},
|
||||
'urban-switch': {
|
||||
id: 'urban-switch',
|
||||
name: 'Urban Switch SRL',
|
||||
shortName: 'Urban Switch',
|
||||
cui: '',
|
||||
color: '#6366f1',
|
||||
address: '',
|
||||
city: 'Cluj-Napoca',
|
||||
"urban-switch": {
|
||||
id: "urban-switch",
|
||||
name: "Urban Switch SRL",
|
||||
shortName: "Urban Switch",
|
||||
cui: "",
|
||||
color: "#6366f1",
|
||||
address: "",
|
||||
city: "Cluj-Napoca",
|
||||
logo: {
|
||||
light: '/logos/logo-us-light.svg',
|
||||
dark: '/logos/logo-us-dark.svg',
|
||||
light: "/logos/logo-us-light.svg",
|
||||
dark: "/logos/logo-us-light.svg",
|
||||
},
|
||||
},
|
||||
'studii-de-teren': {
|
||||
id: 'studii-de-teren',
|
||||
name: 'Studii de Teren SRL',
|
||||
shortName: 'Studii de Teren',
|
||||
cui: '',
|
||||
color: '#f59e0b',
|
||||
address: '',
|
||||
city: 'Cluj-Napoca',
|
||||
"studii-de-teren": {
|
||||
id: "studii-de-teren",
|
||||
name: "Studii de Teren SRL",
|
||||
shortName: "Studii de Teren",
|
||||
cui: "",
|
||||
color: "#f59e0b",
|
||||
address: "",
|
||||
city: "Cluj-Napoca",
|
||||
logo: {
|
||||
light: '/logos/logo-sdt-dark.svg',
|
||||
dark: '/logos/logo-sdt-light.svg',
|
||||
light: "/logos/logo-sdt-light.svg",
|
||||
dark: "/logos/logo-sdt-light.svg",
|
||||
},
|
||||
},
|
||||
group: {
|
||||
id: 'group',
|
||||
name: 'Grup Companii',
|
||||
shortName: 'Grup',
|
||||
cui: '',
|
||||
color: '#64748b',
|
||||
address: '',
|
||||
city: 'Cluj-Napoca',
|
||||
id: "group",
|
||||
name: "Grup Companii",
|
||||
shortName: "Grup",
|
||||
cui: "",
|
||||
color: "#64748b",
|
||||
address: "",
|
||||
city: "Cluj-Napoca",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user