365 lines
18 KiB
JavaScript
365 lines
18 KiB
JavaScript
(self["webpackChunkdropship_store"] = self["webpackChunkdropship_store"] || []).push([["legal-cookies-page-stories"],{
|
|
|
|
/***/ "./app/legal/cookies/page.stories.tsx"
|
|
/*!********************************************!*\
|
|
!*** ./app/legal/cookies/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/cookies/page.tsx");
|
|
|
|
var meta = {
|
|
title: "Pages/legal/cookies",
|
|
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/cookies/page.tsx"
|
|
/*!************************************!*\
|
|
!*** ./app/legal/cookies/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 */ CookiesPage)
|
|
/* harmony export */ });
|
|
/* harmony import */ var _components_InfoPage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../components/InfoPage */ "./components/InfoPage.tsx");
|
|
|
|
function CookiesPage() {
|
|
return /*#__PURE__*/React.createElement(_components_InfoPage__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
title: "Cookies",
|
|
subtitle: "How and why we use cookies on our site."
|
|
}, /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "What Are Cookies"), /*#__PURE__*/React.createElement("p", null, "Cookies are small text files stored on your device that help websites remember preferences and improve user experience."), /*#__PURE__*/React.createElement("p", null, "Cookies can be first-party (set by us) or third-party (set by service providers)."), /*#__PURE__*/React.createElement("p", null, "Similar technologies like pixels or local storage may also be used for the same purposes.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "How We Use Cookies"), /*#__PURE__*/React.createElement("p", null, "We use cookies to keep items in your cart, maintain session security, analyze site performance, and personalize content."), /*#__PURE__*/React.createElement("p", null, "We also use cookies to understand which pages are most helpful and where improvements are needed."), /*#__PURE__*/React.createElement("p", null, "These insights help us prioritize content and improve fitment clarity.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Your Controls"), /*#__PURE__*/React.createElement("p", null, "You can manage cookies through your browser settings. Disabling cookies may impact site functionality."), /*#__PURE__*/React.createElement("p", null, "Most browsers allow you to remove existing cookies and block new ones."), /*#__PURE__*/React.createElement("p", null, "If you block cookies, some checkout or account features may not work correctly.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Analytics"), /*#__PURE__*/React.createElement("p", null, "Analytics cookies help us measure site performance and troubleshoot issues. Data is aggregated and used to improve the shopping experience."), /*#__PURE__*/React.createElement("p", null, "We use these insights to fix slow pages, improve navigation, and refine product information.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Advertising"), /*#__PURE__*/React.createElement("p", null, "We may use limited advertising cookies to measure campaign performance. You can opt out through browser or provider tools."), /*#__PURE__*/React.createElement("p", null, "Opting out does not reduce the number of ads, but it may make them less relevant.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Cookie Lifetimes"), /*#__PURE__*/React.createElement("p", null, "Some cookies expire when you close your browser, while others persist for a set period to remember preferences.")), /*#__PURE__*/React.createElement("div", {
|
|
className: "info-page__card"
|
|
}, /*#__PURE__*/React.createElement("h2", null, "Questions"), /*#__PURE__*/React.createElement("p", null, "If you have questions about cookies or privacy, reach out to our support team and we will help you understand your options.")));
|
|
}
|
|
;
|
|
CookiesPage.__docgenInfo = {
|
|
"description": "",
|
|
"methods": [],
|
|
"displayName": "CookiesPage"
|
|
};
|
|
|
|
/***/ },
|
|
|
|
/***/ "./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-cookies-page-stories.iframe.bundle.js.map
|