diff --git a/src/app.js b/src/app.js index a649028..2ef588e 100644 --- a/src/app.js +++ b/src/app.js @@ -484,45 +484,54 @@ const user = { name: '', email: '', }, - info: { - 'Name': { + billingDetails: [ + { + title: 'Name', type: 'text', placeholder: 'John, Doe', - content: '' + content: '', }, - 'Company name (optional)': { + { + title: 'Company name (optional)', type: 'text', - content: '' + content: '', }, - 'Country / Region': { + { + title: 'Country / Region', type: 'text', - content: '' + content: '', }, - 'Street address': { + { + title: 'Street address', type: 'text', - content: '' + content: '', }, - 'Town / City': { + { + title: 'Town / City', type: 'text', - content: '' + content: '', }, - 'State': { + { + title: 'State', type: 'text', - content: '' + content: '', }, - 'ZIP Code': { + { + title: 'ZIP Code', type: 'number', placeholder: '22004', - content: '' + content: '', }, - 'Phone': { + { + title: 'Phone', type: 'tel', - content: '' + content: '', }, - 'Email': { + { + title: 'Email', type: 'email', placeholder: 'example@gmail.com', - content: '' - } - } + content: '', + }, + ], }; diff --git a/src/pages/shop/checkout.html b/src/pages/shop/checkout.html index 441347a..1f26ec3 100644 --- a/src/pages/shop/checkout.html +++ b/src/pages/shop/checkout.html @@ -1,31 +1,32 @@

Billing details

-