Advertisement
D3ENNY

TYPESCRIPT PRODUCT

Mar 19th, 2024
735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- TypeScript -->
  2.  
  3. import { Component, OnInit } from '@angular/core';
  4. import { CommonModule } from '@angular/common';
  5.  
  6. @Component({
  7.   selector: 'app-home-product',
  8.   standalone: true,
  9.   imports: [CommonModule],
  10.   templateUrl: './home-product.component.html',
  11.   styleUrls: ['./home-product.component.scss']
  12. })
  13.  
  14. export class HomeProductComponent {
  15.  
  16.   oils: any[] = [
  17.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "Moresca"},
  18.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "Nocellare"},
  19.   ]
  20.  
  21.   bottles: any[] = [
  22.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "bottiglia 250mL"},
  23.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "bottiglia 500mL"},
  24.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "bottiglia 750mL"},
  25.     {"imagePath": "../../../assets/img/oilBottle.png", "name": "latta 5L"},
  26.   ]
  27. }
  28.  
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement