290 lines
13 KiB
JavaScript
290 lines
13 KiB
JavaScript
(self["webpackChunkdropship_store"] = self["webpackChunkdropship_store"] || []).push([["success-page-stories"],{
|
|
|
|
/***/ "./app/success/page.stories.tsx"
|
|
/*!**************************************!*\
|
|
!*** ./app/success/page.stories.tsx ***!
|
|
\**************************************/
|
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ Default: () => (/* binding */ Default),
|
|
/* harmony export */ __namedExportsOrder: () => (/* binding */ __namedExportsOrder),
|
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./page */ "./app/success/page.tsx");
|
|
|
|
var meta = {
|
|
title: "Pages/success",
|
|
component: _page__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
};
|
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (meta);
|
|
var Default = {
|
|
render: function render() {
|
|
return /*#__PURE__*/React.createElement(_page__WEBPACK_IMPORTED_MODULE_0__["default"], null);
|
|
}
|
|
};
|
|
;
|
|
const __namedExportsOrder = ["Default"];
|
|
Default.parameters = {
|
|
...Default.parameters,
|
|
docs: {
|
|
...Default.parameters?.docs,
|
|
source: {
|
|
originalSource: "{\n render: () => <Page />\n}",
|
|
...Default.parameters?.docs?.source
|
|
}
|
|
}
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./.storybook/mocks/next-link.js"
|
|
/*!***************************************!*\
|
|
!*** ./.storybook/mocks/next-link.js ***!
|
|
\***************************************/
|
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
|
|
var _excluded = ["href", "children"];
|
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
var React = __webpack_require__(/*! react */ "./node_modules/react/index.js");
|
|
function Link(_ref) {
|
|
var href = _ref.href,
|
|
children = _ref.children,
|
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
var resolvedHref = typeof href === "string" ? href : href && _typeof(href) === "object" ? href.pathname || "#" : "#";
|
|
return React.createElement("a", _objectSpread({
|
|
href: resolvedHref
|
|
}, props), children);
|
|
}
|
|
module.exports = Link;
|
|
;
|
|
Link.__docgenInfo = {
|
|
"description": "",
|
|
"methods": [],
|
|
"displayName": "Link"
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./app/success/page.tsx"
|
|
/*!******************************!*\
|
|
!*** ./app/success/page.tsx ***!
|
|
\******************************/
|
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (/* binding */ SuccessPage)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _components_StaticLogoHeader__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/StaticLogoHeader */ "./components/StaticLogoHeader.tsx");
|
|
/* harmony import */ var _components_Footer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../components/Footer */ "./components/Footer.tsx");
|
|
|
|
|
|
function SuccessPage() {
|
|
return /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(_components_StaticLogoHeader__WEBPACK_IMPORTED_MODULE_0__["default"], null), /*#__PURE__*/React.createElement("section", {
|
|
className: "section"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "container info-page"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Payment Successful"), /*#__PURE__*/React.createElement("p", null, "Thanks for your purchase. A confirmation email is on the way.")))), /*#__PURE__*/React.createElement(_components_Footer__WEBPACK_IMPORTED_MODULE_1__["default"], null));
|
|
}
|
|
;
|
|
SuccessPage.__docgenInfo = {
|
|
"description": "",
|
|
"methods": [],
|
|
"displayName": "SuccessPage"
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./components/Footer.tsx"
|
|
/*!*******************************!*\
|
|
!*** ./components/Footer.tsx ***!
|
|
\*******************************/
|
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (/* binding */ Footer)
|
|
/* harmony export */ });
|
|
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/link */ "./.storybook/mocks/next-link.js");
|
|
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var _categories__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./categories */ "./components/categories.ts");
|
|
|
|
|
|
function Footer() {
|
|
return /*#__PURE__*/React.createElement("footer", {
|
|
className: "footer"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "container footer__inner"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__brand"
|
|
}, /*#__PURE__*/React.createElement("img", {
|
|
src: "/icons/logo.png",
|
|
alt: "Shifted Offroad",
|
|
style: {
|
|
height: 54,
|
|
width: "auto",
|
|
display: "block",
|
|
marginBottom: 10
|
|
},
|
|
decoding: "async",
|
|
loading: "lazy"
|
|
}), /*#__PURE__*/React.createElement("div", {
|
|
style: {
|
|
opacity: 0.9,
|
|
fontSize: 13,
|
|
lineHeight: 1.65
|
|
}
|
|
}, "Shifted Offroad (Kelowna, BC) is an offroad parts and accessories company built around real fitment, honest advice, and clean installs. We focus on parts that work as advertised, pair well with common builds, and hold up to the conditions that actually get trucks and SUVs used the way they should be."), /*#__PURE__*/React.createElement("div", {
|
|
style: {
|
|
opacity: 0.9,
|
|
fontSize: 13,
|
|
lineHeight: 1.65,
|
|
marginTop: 10
|
|
}
|
|
}, "Our catalog blends trail-ready essentials with smart upgrades that improve capability without compromising daily drivability. Whether you are dialing in stance, lighting, recovery, or cargo utility, we help you choose components that fit your vehicle and your goals."), /*#__PURE__*/React.createElement("div", {
|
|
style: {
|
|
opacity: 0.9,
|
|
fontSize: 13,
|
|
lineHeight: 1.65,
|
|
marginTop: 10
|
|
}
|
|
}, "We are easy to reach, fast to respond, and focused on getting it right the first time. The goal is a simple, confident purchase and a setup you are proud to run.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__col footer__col--categories"
|
|
}, /*#__PURE__*/React.createElement("h4", null, "Categories"), _categories__WEBPACK_IMPORTED_MODULE_1__.CATEGORIES.map(function (c) {
|
|
return /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
key: c,
|
|
href: "/category/".concat((0,_categories__WEBPACK_IMPORTED_MODULE_1__.slugifyCategory)(c))
|
|
}, c);
|
|
})), /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__col footer__col--support"
|
|
}, /*#__PURE__*/React.createElement("h4", null, "Support"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/contact"
|
|
}, "Contact"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/faq"
|
|
}, "FAQ"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/warranty"
|
|
}, "Warranty")), /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__col footer__col--legal"
|
|
}, /*#__PURE__*/React.createElement("h4", null, "Legal"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/privacy-policy"
|
|
}, "Privacy Policy"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/terms-of-service"
|
|
}, "Terms of Service"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/refund-policy"
|
|
}, "Refund Policy"), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/legal/cookies"
|
|
}, "Cookies"))), /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__payments"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "container footer__payments-inner"
|
|
}, /*#__PURE__*/React.createElement("div", null, "Secure checkout powered by trusted processors."), /*#__PURE__*/React.createElement("div", {
|
|
className: "footer__payment-logos"
|
|
}, /*#__PURE__*/React.createElement("img", {
|
|
src: "/assets/payments/visa.svg",
|
|
alt: "Visa",
|
|
loading: "lazy",
|
|
decoding: "async"
|
|
}), /*#__PURE__*/React.createElement("img", {
|
|
src: "/assets/payments/visa-alt.svg",
|
|
alt: "Visa",
|
|
loading: "lazy",
|
|
decoding: "async"
|
|
}), /*#__PURE__*/React.createElement("img", {
|
|
src: "/assets/payments/stripe.svg",
|
|
alt: "Stripe",
|
|
loading: "lazy",
|
|
decoding: "async"
|
|
}), /*#__PURE__*/React.createElement("img", {
|
|
src: "/assets/payments/paypal.svg",
|
|
alt: "PayPal",
|
|
loading: "lazy",
|
|
decoding: "async"
|
|
})))));
|
|
}
|
|
;
|
|
Footer.__docgenInfo = {
|
|
"description": "",
|
|
"methods": [],
|
|
"displayName": "Footer"
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./components/StaticLogoHeader.tsx"
|
|
/*!*****************************************!*\
|
|
!*** ./components/StaticLogoHeader.tsx ***!
|
|
\*****************************************/
|
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ "default": () => (/* binding */ StaticLogoHeader)
|
|
/* harmony export */ });
|
|
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/link */ "./.storybook/mocks/next-link.js");
|
|
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
function StaticLogoHeader() {
|
|
return /*#__PURE__*/React.createElement("header", {
|
|
className: "logo-header"
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "container logo-header__inner"
|
|
}, /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/",
|
|
className: "logo-header__home",
|
|
"aria-label": "Home"
|
|
}, /*#__PURE__*/React.createElement("span", {
|
|
className: "logo-header__home-icon"
|
|
})), /*#__PURE__*/React.createElement((next_link__WEBPACK_IMPORTED_MODULE_0___default()), {
|
|
href: "/",
|
|
className: "logo-header__logo",
|
|
"aria-label": "Home"
|
|
}, /*#__PURE__*/React.createElement("img", {
|
|
src: "/icons/logo.png",
|
|
alt: "Shifted Offroad"
|
|
}))));
|
|
}
|
|
;
|
|
StaticLogoHeader.__docgenInfo = {
|
|
"description": "",
|
|
"methods": [],
|
|
"displayName": "StaticLogoHeader"
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./components/categories.ts"
|
|
/*!**********************************!*\
|
|
!*** ./components/categories.ts ***!
|
|
\**********************************/
|
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ CATEGORIES: () => (/* binding */ CATEGORIES),
|
|
/* harmony export */ slugifyCategory: () => (/* binding */ slugifyCategory)
|
|
/* harmony export */ });
|
|
var CATEGORIES = ["Interior", "Exterior", "Lighting", "Audio", "Tools", "Suspension", "Performance", "Drivetrain"];
|
|
function slugifyCategory(c) {
|
|
return c.toLowerCase();
|
|
}
|
|
|
|
/***/ }
|
|
|
|
}]);
|
|
//# sourceMappingURL=success-page-stories.iframe.bundle.js.map
|