diff --git a/src/app/core/layout/store-layout/store-footer/store-footer.component.html b/src/app/core/layout/store-layout/store-footer/store-footer.component.html index 65b4925..ab3d2f5 100644 --- a/src/app/core/layout/store-layout/store-footer/store-footer.component.html +++ b/src/app/core/layout/store-layout/store-footer/store-footer.component.html @@ -29,7 +29,7 @@ -

Copyright © {{ currentYear }} - Sonder

+

Copyright © {{ currentYear }} - {{ storeName || 'Sonder' }}

@for (section of footerSections; track section.heading) { diff --git a/src/app/core/layout/store-layout/store-footer/store-footer.component.ts b/src/app/core/layout/store-layout/store-footer/store-footer.component.ts index 966d619..1fec30d 100644 --- a/src/app/core/layout/store-layout/store-footer/store-footer.component.ts +++ b/src/app/core/layout/store-layout/store-footer/store-footer.component.ts @@ -25,5 +25,6 @@ export class StoreFooterComponent { @Input({ required: true }) footerSections: StoreFooterSection[] = []; @Input({ required: true }) socialMedia: SocialMedia[] = []; @Input() logoUrl: string | null = null; + @Input() storeName: string | null = null; readonly logoutClick = output(); } diff --git a/src/app/core/layout/store-layout/store-layout.component.html b/src/app/core/layout/store-layout/store-layout.component.html index 828df31..763beb4 100644 --- a/src/app/core/layout/store-layout/store-layout.component.html +++ b/src/app/core/layout/store-layout/store-layout.component.html @@ -61,6 +61,7 @@ [footerSections]="footerSections()" [socialMedia]="tenant()?.social_media ?? []" [logoUrl]="tenant()?.footer_logo ?? null" + [storeName]="tenant()?.nombre ?? null" (logoutClick)="onLogoutClick()" />