├── public ├── logo.png ├── favicon.ico ├── loader.gif ├── pink-dress.png ├── purple-jacket.png ├── yellow-jacket.png ├── fullscreen-exit.svg ├── fullscreen.svg ├── women.svg ├── men.svg ├── sort.svg ├── home.svg ├── close.svg ├── manifest.json ├── location.svg ├── zeit.svg ├── offline.html ├── flash.svg ├── sw.js ├── earrings.svg ├── phone.svg ├── checkout.svg ├── tshirt.svg ├── user.svg ├── inspiration.svg ├── shoes.svg ├── activewear.svg └── logo.svg ├── sass ├── pages │ ├── _checkout.scss │ ├── _app.scss │ └── _suggested-products.scss └── components │ ├── _splash-screen.scss │ ├── _detail.scss │ ├── _explore.scss │ ├── _card.scss │ ├── _form.scss │ ├── _modal.scss │ ├── _carousel.scss │ ├── _spinner.scss │ ├── _input.scss │ ├── _homepage.scss │ ├── _header.scss │ ├── _cart.scss │ ├── _layout.scss │ └── _button.scss ├── .prettierrc.js ├── components ├── SplashScreen.tsx ├── Loader.tsx ├── Homepage.tsx ├── Spinner.tsx ├── SuggestedProducts │ ├── index.tsx │ └── ProductCard.tsx ├── AllProducts │ └── index.tsx ├── Explore.tsx ├── Carousel.tsx ├── button │ └── ToolbarButton.tsx ├── Toolbar.tsx ├── Layout.tsx ├── BannerCard.tsx ├── Modal │ ├── Register.tsx │ ├── Authentication.tsx │ └── Login.tsx ├── Cart.tsx ├── Header.tsx ├── Detail.tsx └── Newin.tsx ├── .vscode └── settings.json ├── lib ├── accessToken.ts └── withApollo.tsx ├── next-env.d.ts ├── utils ├── text-util.ts └── actions.ts ├── pages ├── account │ ├── my-orders.tsx │ └── profile.tsx ├── api │ ├── auth │ │ └── [...nextauth].js │ ├── products │ │ └── [category].ts │ └── graphql.js ├── index.tsx ├── category │ └── [slug].tsx ├── product │ └── detail │ │ └── [...detail].tsx ├── _app.tsx └── checkout │ └── confirm.tsx ├── .gitignore ├── codegen.yml ├── next.config.js ├── .github └── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md ├── graphql ├── user.graphql └── generated │ └── graphql.tsx ├── tsconfig.json ├── package.json ├── README.md └── LICENSE /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/loader.gif -------------------------------------------------------------------------------- /sass/pages/_checkout.scss: -------------------------------------------------------------------------------- 1 | #shipping-info { 2 | border-left: 1px solid gainsboro; 3 | } 4 | -------------------------------------------------------------------------------- /public/pink-dress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/pink-dress.png -------------------------------------------------------------------------------- /public/purple-jacket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/purple-jacket.png -------------------------------------------------------------------------------- /public/yellow-jacket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reeversedev/devdevdev/HEAD/public/yellow-jacket.png -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | trailingComma: 'es5', 3 | tabWidth: 2, 4 | semi: false, 5 | singleQuote: true, 6 | } 7 | -------------------------------------------------------------------------------- /components/SplashScreen.tsx: -------------------------------------------------------------------------------- 1 | const SplashScreen = ({ children }) => { 2 | return
7 | {brand}
21 |{name}
22 |23 | {priceCurrency} {price} 24 |
25 |Please check your internet connection and try again!
27 |{email}
34 |49 | {title.content} 50 |
51 | )} 52 | {subtitle && ( 53 |56 | {subtitle.content} 57 |
58 | )} 59 | 60 |Sign up now to receive exclusive offers.
40 |41 | In order to receive the best deals that are customized to your 42 | tastes . 43 |
44 |45 | {mode === 'Register' 46 | ? 'Already have an account?' 47 | : "Don't have an account yet?"}{' '} 48 | 50 | setMode(mode === 'Login' ? 'Register' : 'Login') 51 | } 52 | className="cursor-pointer" 53 | > 54 | {mode === 'Register' ? 'Login' : 'Register'} 55 | 56 |
57 | {mode === 'Login' ? ( 58 |{cloth.brand}
46 |{cloth.name}
47 |Size: XL • Color: White
48 |₹ {cloth.price}
51 |63 | ₹ {parseFloat(cloth.price) * 2} 64 |
65 |80 | Total:{' '} 81 | 82 | ₹ 83 | {products.clothing 84 | .reduce((acc, { price }, i) => acc + parseInt(price) * 2, 0) 85 | .toLocaleString('en')} 86 | 87 |
88 |89 | (Inclusive of all taxes + Shipping charges) 90 |
91 |{products.clothing.length} items
14 |39 | {item.name} 40 |
41 |42 | {item.priceCurrency} {item.price} 43 |
44 |
55 | {' '}
56 | Prateek Gogia
57 |
59 |
60 | 101, Holy Place India, Earth
61 |
63 |
64 | 408-857-1212
65 |
Subtotal
70 |71 | ₹{' '} 72 | {products.clothing.reduce( 73 | (acc, item) => acc + parseFloat(item.price), 74 | 0 75 | )} 76 |
77 |Shipping Charges
80 |*Free*
81 |Total price:
84 |85 | ₹{' '} 86 | {products.clothing.reduce( 87 | (acc, item) => acc + parseFloat(item.price), 88 | 0 89 | )} 90 |
91 |{name}
24 |ID: 250900097
25 |27 | {priceCurrency} {price} 28 |
29 |Special technologies
57 |Responsive Boost midsole Lightweight, supportive feel
58 |62 | About ADIDAS Original Men Nite Jogger Sneakers 63 |
64 |65 | The first Nite Jogger debuted in 1980, when recreational running 66 | was becoming popular. True to their origins, these shoes flash 67 | reflective details. Made of a mix of nylon, mesh and leather, they 68 | show off wintry silver hues. Boost cushioning adds a responsive, 69 | energy-returning feel. 70 |
71 |Product design details
75 |76 | Main materials: mesh and synthetic upper/ textile lining/ rubber 77 | outsole Brand colour: -ROYBLU/GREONE/FTWWHT Lace-up closure 78 | Colourblocked upper Warranty: 3 months Warranty provided by brand/ 79 | manufacturer 80 |
81 |Material & Care
85 |Mesh and synthetic Wipe with a clean, dry cloth when needed
86 |Specifications
90 |95 | {heading} 96 |
97 |{description}
98 |