diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 45743b1f..00000000 --- a/.eslintrc.js +++ /dev/null @@ -1,32 +0,0 @@ -module.exports = { - root: true, - env: { - browser: true, - es2020: true, - jest: true, - node: true, - }, - extends: ["eslint:recommended", "plugin:react/recommended"], - parserOptions: { - ecmaVersion: 2020, - sourceType: "module", - ecmaFeatures: { - jsx: true, - }, - }, - settings: { - react: { - version: "detect", - }, - }, - ignorePatterns: ["public", "gatsby-node.js"], - plugins: ["react-refresh", "react"], - rules: { - "react-refresh/only-export-components": [ - "warn", - { allowConstantExport: true }, - ], - "react/no-unescaped-entities": "off", - "react/prop-types": "off", - }, -}; diff --git a/.github/workflows/build_publish.yml b/.github/workflows/build_publish.yml deleted file mode 100644 index 377070a5..00000000 --- a/.github/workflows/build_publish.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build and Deploy sdv dev - -on: - push: - branches: - - gatsby-home - workflow_dispatch: - branches: - - gatsby-home -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v3 - with: - node-version: 20 - - uses: enriikke/gatsby-gh-pages-action@v2 - with: - access-token: ${{ secrets.HOME_TOKEN }} - deploy-branch: gh-pages-home - env: - SITEURL: "https://sdv.dev/" - SITEPATH: "" - GHOST_API_URL: ${{ secrets.GHOST_API_URL }} - GHOST_CONTENT_API_KEY: ${{ secrets.GHOST_CONTENT_API_KEY }} - CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }} - CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }} diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 716e7710..00000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules -.cache -public -.DS_Store -.env \ No newline at end of file diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 12419e9c..00000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -v20.18.1 \ No newline at end of file diff --git a/108-e5b79dd521f0cd79f2a1.js b/108-e5b79dd521f0cd79f2a1.js new file mode 100644 index 00000000..e7abbbe9 --- /dev/null +++ b/108-e5b79dd521f0cd79f2a1.js @@ -0,0 +1,3 @@ +/*! For license information please see 108-e5b79dd521f0cd79f2a1.js.LICENSE.txt */ +"use strict";(self.webpackChunksdv_dev=self.webpackChunksdv_dev||[]).push([[108],{1108:function(e,t,n){n.r(t),n.d(t,{renderImageToString:function(){return p},swapPlaceholderImage:function(){return f}});var r=n(2532),o=n(6540),a=n(5848);n(5147);let l;const i=new WeakMap,u=navigator.connection||navigator.mozConnection||navigator.webkitConnection,s=["image","loading","isLoading","isLoaded","imgClassName","imgStyle","objectPosition","backgroundColor","objectFit"];function c(e,t){e.style.opacity="1",t&&(t.style.opacity="0")}function d(e,t,n,r,o,a){const l=e.querySelector("[data-main-image]"),i=e.querySelector("[data-placeholder-image]"),u=n.has(t);function s(e){this.removeEventListener("load",s);const t=e.currentTarget,n=new Image;n.src=t.currentSrc,n.decode?n.decode().then(()=>{c(this,i),null==o||o({wasCached:u})}).catch(e=>{c(this,i),null==a||a(e)}):(c(this,i),null==o||o({wasCached:u}))}return l.addEventListener("load",s),null==r||r({wasCached:u}),Array.from(l.parentElement.children).forEach(e=>{const t=e.getAttribute("data-src"),n=e.getAttribute("data-srcset");t&&(e.removeAttribute("data-src"),e.setAttribute("src",t)),n&&(e.removeAttribute("data-srcset"),e.setAttribute("srcset",n))}),n.add(t),l.complete&&s.call(l,{currentTarget:l}),()=>{l&&l.removeEventListener("load",s)}}function f(e,t,o,a,s,c,f){if(!(0,r.h)()){let r;const m=(g=()=>{r=d(e,t,o,s,c,f)},"IntersectionObserver"in window?(l||(l=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting&&(null==(t=i.get(e.target))||t(),i.delete(e.target))})},{rootMargin:"4g"!==(null==u?void 0:u.effectiveType)||null!=u&&u.saveData?"2500px":"1250px"})),function(e){return i.set(e,g),l.observe(e),function(){l&&e&&(i.delete(e),l.unobserve(e))}}):function(){return g(),function(){}}),b=m(e);var p,h;return"objectFit"in document.documentElement.style||(e.dataset.objectFit=null!=(p=a.objectFit)?p:"cover",e.dataset.objectPosition=`${null!=(h=a.objectPosition)?h:"50% 50%"}`,async function(e){"objectFitPolyfill"in window||await n.e(452).then(n.t.bind(n,1452,23)),window.objectFitPolyfill(e)}(e)),()=>{r&&r(),b()}}var g;return d(e,t,o,s,c,f)}function p(e){let{image:t,loading:n="lazy",isLoading:l,isLoaded:i,imgClassName:u,imgStyle:c={},objectPosition:d,backgroundColor:f,objectFit:p="cover"}=e,h=(0,r._)(e,s);const{width:g,height:m,layout:b,images:y,placeholder:v,backgroundColor:S}=t;return c=(0,r.a)({objectFit:p,objectPosition:d,backgroundColor:f},c),(0,a.qV)(o.createElement(r.L,{layout:b,width:g,height:m},o.createElement(r.P,(0,r.a)({},(0,r.g)(v,i,b,g,m,S,p,d))),o.createElement(r.M,(0,r.a)({},h,{width:g,height:m,className:u},(0,r.b)(l,i,y,n,c)))))}},2911:function(e,t,n){var r=n(6540);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n