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/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 {
- -
- -