diff --git a/package-lock.json b/package-lock.json index b1bd505..9e65ad3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "amazon", "version": "0.1.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.35", diff --git a/src/App.js b/src/App.js index f13b5b6..cef82ef 100644 --- a/src/App.js +++ b/src/App.js @@ -17,6 +17,7 @@ import Register from './pages/Register'; import Cart from './pages/Cart'; import Delivery from './pages/Delivery'; import OrderHistroy from './pages/OrderHistroy'; +import DeliveryOption from './pages/DeliveryOption'; /** * @author * @class App @@ -47,6 +48,7 @@ class App extends Component { + ) } diff --git a/src/components/Header.js b/src/components/Header.js index 6fee3e0..f072e08 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -34,6 +34,45 @@ class Header extends Component { showCountryModal: false, AllNavMenuCloseBtn: 'd-none' } + sty = ` + .home_spritesheet{ + background: url(https://images-eu.ssl-images-amazon.com/images/G/31/gno/sprites/nav-sprite-global-1x-hm-dsk-reorg._CB405936311_.png); + } + .h_amazon_pos{ + background-position: -9px -38px; + } + .h_amz_con{ + width:100px; + height:42px; + } + .h_loc_con_pos{ + width: 21px; + height:34px; + background-position: -71px -379px; + } + .foot_spritesheet{ + background-image: url('https://m.media-amazon.com/images/S/sash/rzrQQdi0aRm6Dap.png'); + } + .a_flag_pos{ + background-position: 0 -166px; + width:24px; + height: 18px; + } + .a_arrow_pos{ + background-position: -181px -334px !important; + width: 16px; + height: 17px; + } + .cart_con_pos{ + background-position: -10px -340px !important; + width: 38px; + height: 26px; + } + .a_header_top button { + font-size:15px !important; + } + `; + //2. constructor constructor(props) { super(props); @@ -96,10 +135,11 @@ class Header extends Component {
- +
Hello, Sign in
@@ -186,20 +226,20 @@ class Header extends Component {
-
- - -
+
@@ -220,8 +260,9 @@ class Header extends Component {
- -
- -
diff --git a/src/pages/Cart.js b/src/pages/Cart.js index d157f3a..a3e496d 100644 --- a/src/pages/Cart.js +++ b/src/pages/Cart.js @@ -242,7 +242,7 @@ class Cart extends Component {

@@ -251,7 +251,7 @@ class Cart extends Component {
- +
More items to explore
diff --git a/src/pages/DeliveryOption.js b/src/pages/DeliveryOption.js new file mode 100644 index 0000000..1c08295 --- /dev/null +++ b/src/pages/DeliveryOption.js @@ -0,0 +1,95 @@ +import React, { Component } from 'react' +import PropTypes from 'prop-types' +import { Link } from 'react-router-dom'; +/** +* @author +* @class DeliveryOption +**/ + +class DeliveryOption extends Component { + //1.property + state = {} + styl = ` + .a_font_size{ + font-size: 14px + + } + .amznbtn{ + background-image: -webkit-linear-gradient(top ,#ffffcc 0% , #ffcc99 10%,#ffcc66 50%); + } + .a_anch_dec a:hover{ + color:#C7511F !important; + text-decoration:underline !important; + } + ` + //2 constructor + + //3 method + render() { + return ( + <> + +
+
+
+ +
+
+

Choose your delivery options

+
+
+ + + +
+
+
+
+
+
+
Shipment 1 of 1
+ Shipping from Amazon + + (learn more) +
+ Deliver to: Antim songara, 41, pragati nagar, NEEMUCH, MADHYA PRADESH, 458441 India +
+ Dell Vostro 3400 14" FHD Display Laptop (I5-1135G7 / 8GB / 512GB SSD / NVIDIA MX330 2GB Graphics / Win 10 + MSO / Backlit KB / Dune Color ) D552172WIN9DE + ₹67,240.00 ₹59,490.00 - Quantity: 1 + Sold by: Appario Retail Private Ltd +
+ Change quantities or delete +
+
+
+
Choose a delivery speed
+
+ + + +
+
+
+
+
+
+ Conditions of Use + Privacy Notice + © 2012-2020, Amazon.com, Inc. and its affiliates + +
+
+
+
+ + ) + } +} + + +DeliveryOption.propTypes = {} +export default DeliveryOption \ No newline at end of file