Files
Shifted/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/public/legal-warranty-page-stories.iframe.bundle.js
2026-02-10 01:14:19 +00:00

367 lines
19 KiB
JavaScript

(self["webpackChunkdropship_store"] = self["webpackChunkdropship_store"] || []).push([["legal-warranty-page-stories"],{
/***/ "./app/legal/warranty/page.stories.tsx"
/*!*********************************************!*\
!*** ./app/legal/warranty/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/legal/warranty/page.tsx");
var meta = {
title: "Pages/legal/warranty",
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/legal/warranty/page.tsx"
/*!*************************************!*\
!*** ./app/legal/warranty/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 */ WarrantyPage)
/* harmony export */ });
/* harmony import */ var _components_InfoPage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../components/InfoPage */ "./components/InfoPage.tsx");
function WarrantyPage() {
return /*#__PURE__*/React.createElement(_components_InfoPage__WEBPACK_IMPORTED_MODULE_0__["default"], {
title: "Warranty",
subtitle: "Clear coverage guidelines for parts and accessories."
}, /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Manufacturer Coverage"), /*#__PURE__*/React.createElement("p", null, "Most items are covered by the manufacturer\u2019s warranty. Coverage length and terms vary by brand and product category."), /*#__PURE__*/React.createElement("p", null, "Warranty periods begin on the date of purchase unless the manufacturer specifies otherwise."), /*#__PURE__*/React.createElement("p", null, "We only carry brands with clear, documented warranty policies.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "What Is Covered"), /*#__PURE__*/React.createElement("p", null, "Defects in materials or workmanship under normal use. Coverage does not include damage from improper installation, accidents, abuse, or modifications outside product guidelines."), /*#__PURE__*/React.createElement("p", null, "Wear items are typically excluded unless a defect is confirmed by the manufacturer."), /*#__PURE__*/React.createElement("p", null, "Normal cosmetic wear, finish changes, or surface oxidation are not usually covered.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "How to File a Claim"), /*#__PURE__*/React.createElement("p", null, "Email support with your order number, product SKU, a description of the issue, and photos or video. We will coordinate with the manufacturer and keep you updated."), /*#__PURE__*/React.createElement("p", null, "If requested, we may ask for installation receipts or proof of proper maintenance."), /*#__PURE__*/React.createElement("p", null, "We will confirm whether a return authorization is needed before any items are shipped.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Resolution"), /*#__PURE__*/React.createElement("p", null, "Approved claims may result in repair, replacement, or credit per manufacturer policy. Shipping costs for warranty returns are assessed case by case."), /*#__PURE__*/React.createElement("p", null, "We provide status updates during the process so you always know the next step."), /*#__PURE__*/React.createElement("p", null, "If a replacement is not available, we will offer the closest approved alternative or a credit.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Installation Standards"), /*#__PURE__*/React.createElement("p", null, "Professional installation is recommended for complex parts. If a product requires calibration or tuning, follow the manufacturer\u2019s instructions to maintain coverage."), /*#__PURE__*/React.createElement("p", null, "Always follow torque specs and alignment procedures where required.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Warranty Exceptions"), /*#__PURE__*/React.createElement("p", null, "Products used in racing or off-road competition environments may have limited or no coverage depending on the manufacturer\u2019s policy."), /*#__PURE__*/React.createElement("p", null, "Some electrical products require proof of proper wiring and fusing.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Transferability"), /*#__PURE__*/React.createElement("p", null, "Warranties are generally non-transferable and apply only to the original purchaser unless stated otherwise by the manufacturer.")), /*#__PURE__*/React.createElement("div", {
className: "info-page__card"
}, /*#__PURE__*/React.createElement("h2", null, "Claim Timelines"), /*#__PURE__*/React.createElement("p", null, "Claim review times vary by manufacturer, but we aim to submit complete documentation within 2 business days of receiving your information.")));
}
;
WarrantyPage.__docgenInfo = {
"description": "",
"methods": [],
"displayName": "WarrantyPage"
};
/***/ },
/***/ "./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/InfoPage.tsx"
/*!*********************************!*\
!*** ./components/InfoPage.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 */ InfoPage)
/* harmony export */ });
/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Footer */ "./components/Footer.tsx");
/* harmony import */ var _StaticLogoHeader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StaticLogoHeader */ "./components/StaticLogoHeader.tsx");
function InfoPage(_ref) {
var title = _ref.title,
subtitle = _ref.subtitle,
children = _ref.children;
return /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(_StaticLogoHeader__WEBPACK_IMPORTED_MODULE_1__["default"], null), /*#__PURE__*/React.createElement("section", {
className: "section"
}, /*#__PURE__*/React.createElement("div", {
className: "container info-page"
}, /*#__PURE__*/React.createElement("div", {
className: "info-page__header"
}, /*#__PURE__*/React.createElement("h1", {
className: "info-page__title"
}, title), subtitle ? /*#__PURE__*/React.createElement("p", {
className: "info-page__subtitle"
}, subtitle) : null), /*#__PURE__*/React.createElement("div", {
className: "info-page__body"
}, children))), /*#__PURE__*/React.createElement(_Footer__WEBPACK_IMPORTED_MODULE_0__["default"], null));
}
;
InfoPage.__docgenInfo = {
"description": "",
"methods": [],
"displayName": "InfoPage",
"props": {
"title": {
"required": true,
"tsType": {
"name": "string"
},
"description": ""
},
"subtitle": {
"required": false,
"tsType": {
"name": "string"
},
"description": ""
},
"children": {
"required": true,
"tsType": {
"name": "ReactReactNode",
"raw": "React.ReactNode"
},
"description": ""
}
}
};
/***/ },
/***/ "./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=legal-warranty-page-stories.iframe.bundle.js.map