File size: 3,588 Bytes
9f36753
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Monitoreo de Precios</title>
    <style>

        body {

            font-family: Arial, sans-serif;

            background-color: #f5f5f5;

            margin: 0;

            padding: 20px;

        }

        .container {

            background-color: white;

            padding: 20px;

            border-radius: 12px;

            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

            max-width: 600px;

            margin: auto;

        }

        .product-image {

            display: flex;

            align-items: center;

            justify-content: space-between;

        }

        .product-image img {

            width: 150px;

        }

        .price-current {

            font-size: 1.5rem;

            font-weight: bold;

            margin-top: 10px;

        }

        .table-container {

            margin-top: 20px;

        }

        table {

            width: 100%;

            border-collapse: collapse;

        }

        table th, table td {

            padding: 12px;

            text-align: left;

            border-bottom: 1px solid #ddd;

        }

        table th {

            background-color: #f9f9f9;

        }

        .price-up {

            color: red;

            font-weight: bold;

        }

        .price-down {

            color: green;

            font-weight: bold;

        }

        .available {

            color: green;

        }

        .not-available {

            color: rgb(255, 0, 0);

        }

        .store-logo {

            width: 24px;

            vertical-align: middle;

            margin-right: 10px;

        }

    </style>
</head>
<body>
    <div class="container">
        <div class="product-image">
            <div>
                <h2>Monitoreo de Precios de Azucar ledesma 1 kg</h2>
                <p class="price-current">Precio actual: $970,00</p>
            </div>
            <img src="images/azucar-logo.png" alt="Scooter">
        </div>

        <div class="table-container">
            <h3>Comparativa de precios</h3>
            <table>
                <thead>
                    <tr>
                        <th>Tienda</th>
                        <th>Precio</th>
                        <th>Cambio (%)</th>
                        <th>Stock</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td><img src="images/carrefour-Logo.png" alt="Carrefour" class="store-logo"> Carrefour</td>
                        <td>$1100</td>
                        <td class="price-up">+13.4%</td>
                        <td class="available">Disponible</td>
                    </tr>
                    <tr>
                        <td><img src="images/disco.png" alt="Disco" class="store-logo">Disco</td>
                        <td>$950</td>
                        <td class="price-down">-2.7%</td>
                        <td class="not-available">No disponible</td>

                    </tr>
                    <tr>
                        <td><img src="images/vea.png" alt="Vea" class="store-logo">Vea</td>
                        <td>$1050</td>
                        <td class="price-up">+8.2%</td>
                        <td class="available">Disponible</td>

                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html>