<?php
namespace App\Http\Controllers;

use Illuminate\Http\Request;

class ProductController extends Controller
{
    public function index()
    {
        $products = [
            [
                'name' => 'Stone Island Polo Shirt',
                'category' => 'Apparel',
                'status' => 'NEW',
                'price' => '1.250.000',
                'image' => 'an 1.png',
                'badge_class' => 'badge-new'
            ],
            [
                'name' => 'Tracktop Ellese Black',
                'category' => 'Apparel',
                'status' => 'NEW',
                'price' => '1.650.000',
                'image' => 'an 2.png',
                'badge_class' => 'badge-new'
            ],
            [
                'name' => 'Evo SL Core Black',
                'category' => 'Footwear',
                'status' => 'NEW',
                'price' => '2.650.000',
                'image' => 'an 3.jpg',
                'badge_class' => 'badge-new'
            ],
            [
                'name' => 'Adidas Spezial Ice Blue',
                'category' => 'Footwear',
                'status' => 'NEW',
                'price' => '2.350.000',
                'image' => 'an 4.jpg',
                'badge_class' => 'badge-new'
            ],
            [
                'name' => 'Adidas LA Trainer',
                'category' => 'Footwear',
                'status' => 'SECOND',
                'price' => '650.000',
                'image' => 'an 5.png',
                'badge_class' => 'badge-second'
            ],
            [
                'name' => 'Adidas Ringertee Camo',
                'category' => 'Apparel',
                'status' => 'SECOND',
                'price' => '150.000',
                'image' => 'an 6.jpeg',
                'badge_class' => 'badge-second'
            ],
            [
                'name' => 'Jacket TNF',
                'category' => 'Apparel',
                'status' => 'NEW',
                'price' => '450.000',
                'image' => 'an 7.png',
                'badge_class' => 'badge-new'
            ],
            [
                'name' => 'Adidas BW Army',
                'category' => 'Footwear',
                'status' => 'SECOND',
                'price' => '550.000',
                'image' => 'an 8.png',
                'badge_class' => 'badge-second'
            ],
        ];

        return view('welcome', compact('products'));
    }
}