diff --git a/front/gatsby-config.js b/front/gatsby-config.js index 3cea725..e1d20e6 100644 --- a/front/gatsby-config.js +++ b/front/gatsby-config.js @@ -6,13 +6,6 @@ module.exports = { trailingSlash: 'never', plugins: [ 'gatsby-plugin-react-helmet', - { - resolve: `gatsby-source-filesystem`, - options: { - name: `images`, - path: `${__dirname}/src/images`, - }, - }, { resolve: 'gatsby-source-strapi-graphql', options: { diff --git a/front/package.json b/front/package.json index 5ab8904..d17d737 100644 --- a/front/package.json +++ b/front/package.json @@ -28,7 +28,6 @@ "gatsby-plugin-sharp": "^5.12.3", "gatsby-plugin-sitemap": "^6.12.3", "gatsby-plugin-webfonts": "^2.3.2", - "gatsby-source-filesystem": "^5.12.1", "gatsby-source-strapi-graphql": "^6.1.2", "gatsby-transformer-sharp": "^5.12.3", "raw-loader": "^4.0.2", diff --git a/front/src/pages/PribatutasunPolitika.tsx b/front/src/pages/PribatutasunPolitika.tsx deleted file mode 100644 index 42b859a..0000000 --- a/front/src/pages/PribatutasunPolitika.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; - -import { graphql, PageProps, useStaticQuery } from 'gatsby'; - -import { SEO } from '../components/SEO'; -import { RegularPage } from '../views/RegularPage/RegularPage'; -import { DataProps } from './pribatutasun-politika'; - -export const PribatutasunPolitika: React.FC = ({ location }) => { - const { strapiPribatutasunPolitika } = useStaticQuery(graphql` - { - strapiPribatutasunPolitika { - izenburua - edukia - } - } - `); - - return ( - <> - - - - - ); -}; diff --git a/yarn.lock b/yarn.lock index d0cb64f..b02aed9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10325,21 +10325,6 @@ gatsby-source-filesystem@^4.17.0: valid-url "^1.0.9" xstate "4.32.1" -gatsby-source-filesystem@^5.12.1: - version "5.13.0" - resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-5.13.0.tgz#33d6a5307a268a67c931dd3602d3e9150b597905" - integrity sha512-yn4axQhIPHLQDMgrhEmerXyoawiTVB1haUz36BTlQers0HfMmODyjbnIK01Dt1IKAbYVfS0A2suBjBjIbNLwAg== - dependencies: - "@babel/runtime" "^7.20.13" - chokidar "^3.5.3" - file-type "^16.5.4" - fs-extra "^11.1.1" - gatsby-core-utils "^4.13.0" - mime "^3.0.0" - pretty-bytes "^5.6.0" - valid-url "^1.0.9" - xstate "^4.38.0" - gatsby-source-rest-api@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/gatsby-source-rest-api/-/gatsby-source-rest-api-0.2.3.tgz#1bbe2274a7ec686a5f07d0e5eabc84f537967287"