import React from "react"; import Layout from "../layouts/default"; import { Trans, Link, useI18next } from "gatsby-plugin-react-i18next"; import { graphql } from "gatsby"; import PropTypes from "prop-types"; import * as styles from "./social.module.scss"; import { GatsbyImage, getImage } from "gatsby-plugin-image"; export const query = graphql` query AllSocialsQuery($language: String!) { allSocialsJson { nodes { platformHandle platformName url localImage { childImageSharp { gatsbyImageData( height: 300 width: 300 placeholder: BLURRED ) } } } } locales: allLocale(filter: { language: { eq: $language } }) { edges { node { ns data language } } } } `; const SocialPage = ({ data }) => { const { t } = useI18next(); return (
); }; SocialPage.propTypes = { data: PropTypes.object.isRequired, }; export default SocialPage;