first commit

This commit is contained in:
Dhanraj
2024-09-28 20:48:18 +05:30
commit 8c4706dfde
930 changed files with 74928 additions and 0 deletions

31
src/app/restaurant.ts Normal file
View File

@ -0,0 +1,31 @@
import { Component, Input } from '@angular/core';
import { Store } from '@ngrx/store';
@Component({
moduleId: module.id,
templateUrl: './restaurant.html',
})
export class RestaurantComponent {
storeData: any;
@Input() feedbacks: any = [
{
id: 1,
name: 'Allan Branch',
role: 'CEO of Lifted',
thumbnail: '/assets/images/modern-saas/client-1.png',
message:
"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.",
},
];
constructor(public store: Store<any>) {
this.initStore();
}
async initStore() {
this.store
.select((d) => d.index)
.subscribe((d) => {
this.storeData = d;
});
}
}