diff --git a/components/Cart.vue b/components/Cart.vue
index a53774b..6019349 100644
--- a/components/Cart.vue
+++ b/components/Cart.vue
@@ -1,48 +1,48 @@
-
-
- {{ cart }}
- {{ viewer }}
- Get User
-
+
+
+ {{ cart }}
+ {{ viewer }}
+ Get User
+
diff --git a/layouts/default.vue b/layouts/default.vue
index ff56fd8..1aa9e70 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -1,66 +1,76 @@
-
-
-
-
NEXT DAY DELIVERY
-
LOGIN / SIGN UP
-
LOGOUT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
NEXT DAY DELIVERY
+
LOGIN / SIGN UP
+
LOGOUT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/netlify.toml b/netlify.toml
index 3276411..c149f3f 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -19,13 +19,12 @@
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Headers = "Content-Type"
- # X-Frame-Options = "ALLOW-FROM https://testing.2cubedtest.com"
- # X-XSS-Protection = "1; mode=block"
- # Referrer-Policy = "no-referrer"
- # X-Content-Type-Options = "nosniff"
- # Strict-Transport-Security = "max-age=15780000; includeSubDomains; preload"
- # Feature-Policy = "geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'none'; payment 'none'"
- # Content-Security-Policy = "default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'"
+ X-XSS-Protection = "1; mode=block"
+ Referrer-Policy = "no-referrer"
+ X-Content-Type-Options = "nosniff"
+ Strict-Transport-Security = "max-age=15780000; includeSubDomains; preload"
+ Feature-Policy = "geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'none'; payment 'none'"
+ Content-Security-Policy = "default-src * 'unsafe-inline' 'unsafe-eval'; script-src * 'unsafe-inline' 'unsafe-eval'; connect-src * 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; frame-src *; style-src * 'unsafe-inline'"
[[redirects]]
diff --git a/nuxt.config.js b/nuxt.config.js
index f43497c..01fa239 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -15,7 +15,7 @@ export default {
link: [{ rel: "icon", type: "image/x-icon", href: "/icon.svg" }],
},
- modules: ["@nuxtjs/pwa", "@nuxtjs/axios", "@nuxtjs/auth-next"],
+ modules: ["@nuxtjs/pwa", "@nuxtjs/axios", "@nuxtjs/auth-next", '@nuxtjs/apollo'],
buildModules: ["@nuxtjs/tailwindcss", "@nuxt/image", "nuxt-graphql-request"],
graphql: {
@@ -30,6 +30,14 @@ export default {
},
},
+ apollo: {
+ clientConfigs: {
+ default:{
+ httpEndpoint: `${process.env.WORDPRESS_URL}/graphql`
+ }
+ }
+ },
+
auth: {
strategies: {
google: {
diff --git a/package.json b/package.json
index 5300cb2..35ec380 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"dev:host": "nuxt --hostname '0' --port 8000",
"build": "nuxt build",
"start": "nuxt start",
- "generate": "nuxt generate --modern",
+ "generate": "nuxt generate -m",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint": "npm run lint:js"
},
@@ -18,7 +18,7 @@
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/pwa": "^3.3.5",
"@nuxtjs/tailwindcss": "^4.2.1",
- "core-js": "^3.18.0",
+ "core-js": "^3.18.1",
"graphql-tag": "^2.12.5",
"nuxt": "^2.15.8"
},
@@ -34,7 +34,7 @@
"eslint-plugin-vue": "^7.18.0",
"graphql": "^15.6.0",
"nuxt-graphql-request": "^4.1.0",
- "postcss": "^8.3.7",
+ "postcss": "^8.3.8",
"prettier": "^2.4.1"
}
}
diff --git a/pages/index.vue b/pages/index.vue
index fedc18f..93191e0 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -6,6 +6,7 @@
Just landed.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde nam dignissimos nostrum veritatis nisi autem accusantium modi? Enim, voluptatibus consectetur.
Shop New Arrivals
+
diff --git a/pages/product/_slug.vue b/pages/product/_slug.vue
index 2903f5a..b4aa50e 100644
--- a/pages/product/_slug.vue
+++ b/pages/product/_slug.vue
@@ -1,231 +1,112 @@
-
-
-
-
-
- BRAND NAME
-
-
- {{ product.name }}
-
-
-
- Fam locavore kickstarter distillery. Mixtape chillwave tumeric
- sriracha taximy chia microdosing tilde DIY. XOXO fam indxgo juiceramps
- cornhole raw denim forage brooklyn. Everyday carry +1 seitan poutine
- tumeric. Gastropub blue bottle austin listicle pour-over, neutra jean
- shorts keytar banjo tattooed umami cardigan.
-
-
-
- Color
-
-
-
-
-
-
Size
-
-
- SM
- M
- L
- XL
-
-
-
-
-
-
-
-
-
-
-
- {{ product.price }}
-
-
- Button
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ BRAND NAME
+
+
+ {{ product.name }}
+
+
+
+ Fam locavore kickstarter distillery. Mixtape chillwave tumeric
+ sriracha taximy chia microdosing tilde DIY. XOXO fam indxgo juiceramps
+ cornhole raw denim forage brooklyn. Everyday carry +1 seitan poutine
+ tumeric. Gastropub blue bottle austin listicle pour-over, neutra jean
+ shorts keytar banjo tattooed umami cardigan.
+
+
+
+ Color
+
+
+
+
+
+
Size
+
+
+ SM
+ M
+ L
+ XL
+
+
+
+
+
+
+
+
+
+
+
+ {{ product.price }}
+
+
+ Button
+
+
+
+
+
+
+
+
+
+