File size: 1,478 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import React from 'react';
import { ThemeConsumer } from '../context/ThemeContexts';

export default function CartColumns() {
    return (
        <ThemeConsumer>
        {({ theme }) => (
        <div className="container-fluid text-center d-none d-lg-block">
          <div className="row">
               <div className="col-10 mx-auto col-lg-2">
                   <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>products</p>  
               </div>
                <div className="col-10 mx-auto col-lg-2">
                    <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>name of product</p>
                </div>
                <div className="col-10 mx-auto col-lg-2">
                    <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>price</p>
                </div>
                <div className="col-10 mx-auto col-lg-2">
                    <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>quantity</p>
                </div>
                <div className="col-10 mx-auto col-lg-2">
                    <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>remove</p>
                </div>
                <div className="col-10 mx-auto col-lg-2">
                    <p className={theme ? "text-uppercase text-light" : "text-uppercase"}>total</p>
                </div>
          </div>   
        </div>
          )}
          </ThemeConsumer>
    )
}