feat: add StoreSection component and integrate it into reutilizables test page

This commit is contained in:
2026-06-29 15:39:52 -03:00
parent 9f32588828
commit 286e56c979
6 changed files with 62 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
<section class="d-grid w-100 gap-3">
<header class="d-flex justify-content-center">
<h2 class="m-0 text-center text-uppercase store-section__title">{{ title() }}</h2>
</header>
<div class="w-100">
<ng-content></ng-content>
</div>
</section>

View File

@@ -0,0 +1,12 @@
:host {
display: block;
width: 100%;
}
.store-section__title {
margin: 0;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.08em;
color: #000000;
}

View File

@@ -0,0 +1,12 @@
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
@Component({
selector: 'app-store-section',
standalone: true,
templateUrl: './store-section.component.html',
styleUrl: './store-section.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush
})
export class StoreSectionComponent {
readonly title = input.required<string>();
}