Commit Graph

50 Commits

Author SHA1 Message Date
KevinMidboe cc7308cdfa Merge pull request #12 from KevinMidboe/feat/product-page
Feat/product page
2020-07-21 13:11:47 +02:00
KevinMidboe f525bb499e Use slug for searching specific product. 2020-07-21 13:03:12 +02:00
KevinMidboe f05336b5b9 Navigation bar should have dark text for product view page. 2020-07-21 13:02:36 +02:00
KevinMidboe 942a9140f0 New product page with defined route and link from productCard. 2020-07-21 13:00:08 +02:00
KevinMidboe 488de7cb7e Ignore new config and contents of /assets/well-known 2020-07-21 12:56:34 +02:00
KevinMidboe f57b3295bb Implemented payments with stripe. 2020-07-21 12:56:16 +02:00
KevinMidboe 5757d4ba90 Can handle apple pay requests with local certificate files. 2020-07-21 12:40:05 +02:00
KevinMidboe 9cd6fcdf05 Renamed .keep to .gitkeep and ignore all files in /well-known 2020-07-21 12:35:00 +02:00
KevinMidboe fdae74bdfa Server serves .well-known from local folder. 2020-07-20 11:06:25 +02:00
KevinMidboe 2b7bbf4341 Updated sass & css loaders. 2020-07-19 23:39:57 +02:00
KevinMidboe 0f69861f68 Button normalization; font & margin = 0. 2020-07-19 23:39:40 +02:00
KevinMidboe 6f889cdfd4 ApplePay checkout button (only frontend). 2020-07-19 23:38:52 +02:00
KevinMidboe 9898c163ee Rapid button presses no longer zoom page. 2020-07-19 19:27:10 +02:00
KevinMidboe 310955eb6e Home banner button not links to shop. 2020-07-19 19:21:12 +02:00
KevinMidboe 7e7e0568f5 Button has xs prop and size. 2020-07-19 19:18:28 +02:00
KevinMidboe 0c94c75c63 Table cart table for mobile. 2020-07-19 19:18:18 +02:00
KevinMidboe 73ae20eb88 Id on header for cart intersection observer. 2020-07-19 18:06:14 +02:00
KevinMidboe 800bbf808e When adding cart items always create copy of product first. 2020-07-19 18:05:04 +02:00
KevinMidboe 0ef676ba98 Link title for better accessibilty 2020-07-19 18:04:46 +02:00
KevinMidboe e8ee4f832c Remove button for cart items. 2020-07-19 18:04:31 +02:00
KevinMidboe c7653cd9f1 Intersection observer for cart to always appear on screen when on shop page. 2020-07-19 18:03:35 +02:00
KevinMidboe 06280b4fd9 Forgot to use newly declared url var. 2020-07-19 16:19:05 +02:00
KevinMidboe 29f1eef759 UglifyJS throws error, disabled for now. 2020-07-19 16:15:09 +02:00
KevinMidboe fb5365048c Updated webpack dev config. 2020-07-19 16:14:58 +02:00
KevinMidboe 5564975dbf Global color classes and relative font url. 2020-07-19 16:14:26 +02:00
KevinMidboe b77fe8c8dc Adds to cart w/ store. Moved color classes to global.scss. 2020-07-19 16:14:02 +02:00
KevinMidboe 2ce06580a8 Cleaned up cart page, now with tables. 2020-07-19 16:12:48 +02:00
KevinMidboe 9d2cd9e9f9 Changed api calls to check for localhost. 2020-07-19 16:12:16 +02:00
KevinMidboe df18245f0d Separated cart nav item to separate component.
Includes a badge that shows number of items, connected with store and
links to /cart page.
Always visible on mobile.
2020-07-19 16:11:15 +02:00
KevinMidboe 68123bf0b0 Add card that has same shape as products, but links to /add 2020-07-19 16:10:10 +02:00
KevinMidboe af0db6f4e4 Changed home image to planetposen.no url. 2020-07-19 16:09:09 +02:00
KevinMidboe 0059b85674 Only hoved button when on hover enable browsers. 2020-07-19 16:08:47 +02:00
KevinMidboe e0482e85f3 Cart store module. 2020-07-19 16:08:22 +02:00
KevinMidboe 4a8a950efa Update icon font 2020-07-19 16:07:31 +02:00
KevinMidboe 03fe66c9f1 Renamed command for starting server to "start" 2020-07-18 22:25:47 +02:00
KevinMidboe 141977c825 Drone build agent configuration file. 2020-07-18 22:24:07 +02:00
KevinMidboe 66dc34796a Hide public/ and new yarn lock. 2020-07-18 22:23:52 +02:00
KevinMidboe 5d320b9d54 Server frontend build files from backend server. 2020-07-18 22:23:22 +02:00
KevinMidboe 7ce54306b7 Updated webpack config for prod builds. 2020-07-18 22:22:20 +02:00
KevinMidboe 0dd3944fd2 Server setup with mongodb.
Server handles creating and fetching products and their variations.
Models are saved to mongo using mongoose.
STILL PRETTY BARE BONES!
2020-07-18 21:48:45 +02:00
KevinMidboe 7078d994c0 Finally landed on a design, created a bunch of pages. 2020-07-18 21:48:06 +02:00
KevinMidboe 92bd44cedb New font mabry. 2020-07-18 21:47:06 +02:00
KevinMidboe ce8e934104 Extended scss files. 2020-07-18 21:46:14 +02:00
KevinMidboe 4640ca09f8 Viewport size in meta tag and removed google font. 2020-07-18 21:45:42 +02:00
KevinMidboe 6ade12d3c6 Update icon font 2020-07-18 21:44:45 +02:00
KevinMidboe 59bfbbfc01 Renamed header to navigation. Added scss mixin for desktop and mobile. Separate mobile and desktop navigation elements. Transparent planetposen logos in assets/ 2019-12-03 00:45:13 +01:00
KevinMidboe 57b1b6cd16 Removed all ds_store dotfiles 2019-12-02 23:49:29 +01:00
KevinMidboe c52f61e5dd Gitignore with ds_store and node_modules/ 2019-12-02 23:47:14 +01:00
KevinMidboe 6f15c53cca Created header and the start of a shopping cart. 2019-12-02 23:46:32 +01:00
KevinMidboe 36db97a7d6 Initial commit 2018-09-28 21:14:48 +02:00