/** * Configuration for the rights footer component. */ export interface RightsFooterMetadata { /** * Full custom text with {year} placeholder for dynamic year. * When set, companyName and rightsText are ignored. * @example "© {year}, Soluciones Valtech Ltda. Todos los derechos reservados." */ fullText?: string; /** Company name to display. Default: 'Valtech' */ companyName?: string; /** Rights text. Default: 'Todos los derechos reservados.' */ rightsText?: string; /** Text color. Default: 'dark' */ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'dark' | 'light' | 'medium'; /** Text alignment. Default: 'center' */ align?: 'left' | 'center' | 'right'; /** Apply margin-bottom spacing. Default: false */ withMargin?: boolean; /** * Turn the company name into a link to the brand site. * * The URL is resolved by `LegalLinkService` from the environment wired with * `provideValtechSite(environment.valtechEnv)`: prod points at the production * domain, dev at the dev site, local at the local `web` server. An app that * never wired it (the brand site itself) resolves to a relative `/`, so the * footer stays sane instead of linking somewhere wrong. * * Ignored when `fullText` is set: there is no separable company name there. * * Default: true. */ linkCompany?: boolean; /** * Override the company link destination. Rarely needed — the point of this * component is that the URL follows the environment on its own. */ companyHref?: string; }