Skip to content

Commit 96498f4

Browse files
authored
Merge pull request #169 from w3bdesign/development
@w3bdesign Remove VISA in Stripe info
2 parents 7d60fed + 5f4490f commit 96498f4

File tree

8 files changed

+82
-85
lines changed

8 files changed

+82
-85
lines changed

package-lock.json

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
"stylelint:vue": "./node_modules/.bin/stylelint **/*.vue --fix"
1414
},
1515
"devDependencies": {
16-
"@vue/compiler-sfc": "^3.0.6",
16+
"@vue/compiler-sfc": "^3.0.7",
1717
"cross-env": "^7.0.3",
1818
"eslint": "^7.21.0",
1919
"eslint-config-airbnb-base": "^14.2.1",
2020
"eslint-loader": "^4.0.2",
2121
"eslint-plugin-import": "^2.22.1",
22-
"eslint-plugin-vue": "^7.6.0",
22+
"eslint-plugin-vue": "^7.7.0",
2323
"postcss": "^8.2.6",
2424
"resolve-url-loader": "^3.1.2",
2525
"stylelint": "^13.11.0",

public/js/app.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17995,7 +17995,7 @@ var _hoisted_22 = {
1799517995
"class": "flex justify-center w-full align-center"
1799617996
};
1799717997

17998-
var _hoisted_23 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode)("<div class=\"flex justify-center w-full align-center\" data-v-67966e56><span class=\"h-10 p-4 text-lg font-bold text-center text-red-500\" data-v-67966e56>Use the following card details for testing: <br data-v-67966e56>4242424242424242 <br data-v-67966e56>Visa <br data-v-67966e56>CVC any 3 digits <br data-v-67966e56>Any future date <br data-v-67966e56></span></div><h2 class=\"h-10 p-4 mt-32 text-2xl font-bold text-center\" data-v-67966e56> Stripe payment </h2><div class=\"flex justify-center w-full p-4 align-center\" data-v-67966e56><br data-v-67966e56><div id=\"card-element\" class=\"w-full h-16 mt-4 lg:w-5/12 xl:w-5/12\" data-v-67966e56> Stripe </div></div>", 3);
17998+
var _hoisted_23 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode)("<div class=\"flex justify-center w-full align-center\" data-v-67966e56><span class=\"h-10 p-4 text-lg font-bold text-center text-red-500\" data-v-67966e56>Use the following card details for testing: <br data-v-67966e56>4242424242424242 <br data-v-67966e56>CVC any 3 digits <br data-v-67966e56>Any future date <br data-v-67966e56></span></div><h2 class=\"h-10 p-4 mt-32 text-2xl font-bold text-center\" data-v-67966e56> Stripe payment </h2><div class=\"flex justify-center w-full p-4 align-center\" data-v-67966e56><br data-v-67966e56><div id=\"card-element\" class=\"w-full h-16 mt-4 lg:w-5/12 xl:w-5/12\" data-v-67966e56> Stripe </div></div>", 3);
1799917999

1800018000
var _hoisted_26 = {
1800118001
"class": "flex justify-center w-full align-center"
@@ -18413,8 +18413,15 @@ var _hoisted_1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("
1841318413
var _hoisted_2 = {
1841418414
"class": "mt-4"
1841518415
};
18416+
18417+
var _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("h2", {
18418+
"class": "h-10 p-6 text-2xl font-bold text-center"
18419+
}, " Thank you for your order with transaction ID # ", -1
18420+
/* HOISTED */
18421+
);
18422+
1841618423
function render(_ctx, _cache, $props, $setup, $data, $options) {
18417-
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", null, [_hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("pre", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.order), 1
18424+
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", null, [_hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_2, [_hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("pre", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.order), 1
1841818425
/* TEXT */
1841918426
)])]);
1842018427
}

resources/js/components/Categories/Categories.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
<script>
66
export default {};
77
</script>
8-
9-
<style></style>

resources/js/pages/Categories/Categories.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ export default {
99
1010
};
1111
</script>
12-
13-
<style>
14-
15-
</style>

resources/js/pages/Checkout/Checkout.vue

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<span
8787
class="h-10 p-4 text-lg font-bold text-center text-red-500"
8888
>Use the following card details for testing:
89-
<br>4242424242424242 <br>Visa <br>CVC any 3
89+
<br>4242424242424242 <br>CVC any 3
9090
digits <br>Any future date
9191
<br>
9292
</span>
@@ -150,10 +150,7 @@ export default defineComponent({
150150
const cartTotal = computed(() => store.getters.cartTotal);
151151
const cartContent = computed(() => store.state.cart);
152152
const customerDetails = computed(() => store.getters.customerDetails);
153-
154-
const checkoutFormIsValid = computed(
155-
() => store.getters.checkoutFormIsValid,
156-
);
153+
const checkoutFormIsValid = computed(() => store.getters.checkoutFormIsValid);
157154
158155
const removeProductFromCart = (product) => {
159156
localState.removingCartItem = true;
@@ -245,52 +242,54 @@ export default defineComponent({
245242

246243
<style scoped>
247244
.disabledButton {
248-
@apply cursor-not-allowed opacity-50;
245+
@apply cursor-not-allowed opacity-50;
249246
}
250247
251248
.checkoutButton {
252-
@apply p-2 mt-4 mb-4 text-lg font-bold text-white bg-blue-500 rounded hover:bg-blue-700;
249+
@apply p-2 mt-4 mb-4 text-lg font-bold text-white bg-blue-500 rounded hover:bg-blue-700;
253250
}
254251
255252
.flex-container {
256-
flex-wrap: wrap;
257-
flex-direction: row;
258-
justify-content: space-around;
259-
align-items: center;
260-
align-content: center;
261-
max-width: 1380px;
262-
@apply flex border border-gray-300 rounded-lg shadow;
253+
flex-wrap: wrap;
254+
flex-direction: row;
255+
justify-content: space-around;
256+
align-items: center;
257+
align-content: center;
258+
max-width: 1380px;
259+
260+
@apply flex border border-gray-300 rounded-lg shadow;
263261
}
264262
265263
.flex-container-total {
266-
flex-wrap: wrap;
267-
flex-direction: row;
268-
justify-content: flex-end;
269-
align-items: flex-end;
270-
align-content: center;
271-
max-width: 1380px;
272-
@apply flex;
264+
flex-wrap: wrap;
265+
flex-direction: row;
266+
justify-content: flex-end;
267+
align-items: flex-end;
268+
align-content: center;
269+
max-width: 1380px;
270+
271+
@apply flex;
273272
}
274273
275274
.item {
276-
@apply lg:m-2 xl:m-4 xl:w-1/6 lg:w-1/6 sm:m-2 w-auto;
275+
@apply lg:m-2 xl:m-4 xl:w-1/6 lg:w-1/6 sm:m-2 w-auto;
277276
}
278277
279278
.item-content {
280-
@apply inline-block mt-4 lg:h-12 h-20 w-32 md:w-full lg:w-full xl:w-full;
279+
@apply inline-block mt-4 lg:h-12 h-20 w-32 md:w-full lg:w-full xl:w-full;
281280
}
282281
283282
.removing {
284-
@apply animate-spin cursor-not-allowed;
283+
@apply animate-spin cursor-not-allowed;
285284
}
286285
287286
.fade-enter-active,
288287
.fade-leave-active {
289-
transition: all 0.5s ease;
288+
transition: all 0.5s ease;
290289
}
291290
292291
.fade-enter-from,
293292
.fade-leave-to {
294-
opacity: 0;
293+
opacity: 0;
295294
}
296295
</style>

resources/js/pages/Checkout/Summary.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Order summary
55
</h1>
66
<div class="mt-4">
7+
<h2 class="h-10 p-6 text-2xl font-bold text-center">
8+
Thank you for your order with transaction ID #
9+
</h2>
710
<pre>{{ order }}</pre>
811
</div>
912
</div>
@@ -26,5 +29,3 @@ export default {
2629
2730
};
2831
</script>
29-
30-
<style></style>

resources/js/pages/Home/Error.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,3 @@ export default defineComponent({
2828
2929
});
3030
</script>
31-
32-
<style>
33-
34-
</style>

0 commit comments

Comments
 (0)