purspot-nuxt

Build Setup

# install dependencies
$ npm i

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

For detailed explanation on how things work, check out Nuxt.js docs.

Styling

custom setup with scss and style-resource ...

Mode

Mode Default, Dark or Light is set in vuex "store/index.js".

appMode: "default"

A class is accordingly added to the .purspot div tag in "layouts/default.vue" to set global mode styling.

SVG Icons

https://github.com/nuxt-community/svg-sprite-module Put your svg icons in "assets/icons". The class "ps-icon" is added to icon.

// Usage

<svg-icon name="search"/>

// nuxt.config.js

buildModules: [
 '@nuxtjs/svg-sprite'
],

svgSprite: {
	input: '~/assets/icons/',
	elementClass: 'ps-icon'
},

Whats left

Bigger things from my perspective.
All functionality and flows need to be tested

FUNCTIONALITY

COOKIE

Yes/ No should be moved to local storage, now in vuex.

POP UP

"Do you want a notification..." ...etc HTML done, not implemented in nuxt

CONTENT

Strategy for your content pages is not done.
I am avalible for discussion

  • Konsumer (Not touched)
  • Merchant (Not touched)
  • Contact (Not touched)

OTHER PAGES

  • Payment History (Not touched)
  • Feedback (Not touched) - Design done

STARTPAGE

  • "Tab" - Map (Design done for the toggle tab but not the map itself) only ask for locastion tab is clicked. only load map thing if clicked, save kb.
  • "Tab" - QR (Design done for the toggle tab but n0t the QR code itself) only load QR things if clicked. save kb.
  • A-Ö - Load more function, showing all now.
  • "Groups" like A-Ö list different groups.

GROUPS

  • Not completed
  • Check static data

MERCHANT

  • Suggestion -> In only one "location" maybe redirect to loctaion directly
  • Check static data

LOCATION

  • Products search (Not touched) -> Startpage has a search working.
  • Suggestion -> In only one "location" maybe redirect to loctaion directly
  • Check static data

CART

CHECKOUT

  • Hardcoded payment method
  • Method Pay() is pending
  • Check static data

RECEIPT

As pay is pending this is the URL i use. http://localhost:3000/receipt/9ee03b15-547a-4087-93c1-3041e40c3135#

  • popup -> HTML done, not implemented in nuxt
  • Check Static data