Commit Graph

7 Commits

Author SHA1 Message Date
63a1107427 Patch: Receipt page (#7)
* OrderSection receipts list of lineItems instead of always getting cart

* Hide express checkout behind feature flag

* Add torn receipt paper css look to order list

* Re-use OrderSection on receipt page

* Linting

* Reduced max font from 130->120%, now only applies scaling on div.main

Reducing relative font size for the largest screen width.
Scaling only applies to main container, not header and footer.

* Minor header size changes

* Set max-width to login input elements on desktop

* Prettier doesn't liek shorthand props
2023-03-28 18:35:14 +02:00
8bb65dfc2e Feat: Checkout page redesign (#6)
* Increased padding on input elements

* Increased max layout width from 1500 to 1800

* Address input should take 2 column of space

* Updated order section with new design

* Checkout gets a new layout with sidebar

* Express checkout section

* Increase font size at larger screen width

* Environment example file

* Resolved linting issues
2023-03-26 01:59:23 +01:00
d4a0569af0 Resolved all eslint issues 2022-12-30 00:35:53 +01:00
1fb3fdd502 Checkout validates, payment response spinner, error msgs & typed resp
- When stripe responds with success we forward to receipt page which
  waits for stripe webhook to updated order status.
- Moved stripe logic out of card component and into stripeApi.ts.
- Get stripe api token from +page.server.ts environment variable.
- Spinner for stripe payment for feedback on payment until stripe
  verifies and responds.
- Error stack component trying to create card stack animation.
2022-12-29 23:02:24 +01:00
b2a15be12e Feat: Refactor jsonld & method to update document title and description (#4)
* Generates JSON ld structured metadata from a product & appends to head

* Updated IProduct & IVariation interface

* Added IProductResponse & IProductsResponse interfaces

* Fixed sitemap urls having to many protocols

* Implemented jsonld for product w/ variations

* Aligned Product responses between backend & frontend

* PageMeta for updating head meta values: title & description

Use on any page where we want to display a unique meta page title &
description

* Set document language to norwegian

* Linting
2022-11-30 00:39:04 +01:00
296cfb80a0 Feat: JsonLd product metadata (#2)
* Generates JSON ld structured metadata from a product & appends to head

* Updated IProduct & IVariation interface

* Added IProductResponse & IProductsResponse interfaces

* Fixed sitemap urls having to many protocols
2022-11-28 22:19:32 +01:00
7fdfa1ab15 All planetposen routes at version 0.1 2022-11-28 20:03:23 +01:00