diff --git a/src/components/Footer/InstagramFeaturette.tsx b/src/components/Footer/InstagramFeaturette.tsx index b7a8a77..a6e35e4 100644 --- a/src/components/Footer/InstagramFeaturette.tsx +++ b/src/components/Footer/InstagramFeaturette.tsx @@ -6,49 +6,49 @@ import { device } from "../Primitives" import { useTranslation } from "gatsby-plugin-react-i18next" const InstagramFeaturette: FC = () => { - const { - allInstaNode: { nodes: posts }, - } = useStaticQuery(graphql` - query InstagramQuery { - allInstaNode(sort: { order: DESC, fields: timestamp }, limit: 10) { - nodes { - id - username - timestamp - preview - } - } - } - `) as { - allInstaNode: { - nodes: [ - { - likes: number - comments: number - caption: string - username: string - timestamp: number - preview: string - id: string - } - ] - } - } - const { t } = useTranslation() - return ( - -

{t("ABOUT.INSTAGRAM")}

- - {posts.map((post) => ( - - - @{post.username} - {/* {post.caption} */} - - ))} - -
- ) + // const { + // allInstaNode: { nodes: posts }, + // } = useStaticQuery(graphql` + // query InstagramQuery { + // allInstaNode(sort: { order: DESC, fields: timestamp }, limit: 10) { + // nodes { + // id + // username + // timestamp + // preview + // } + // } + // } + // `) as { + // allInstaNode: { + // nodes: [ + // { + // likes: number + // comments: number + // caption: string + // username: string + // timestamp: number + // preview: string + // id: string + // } + // ] + // } + // } + // const { t } = useTranslation() + // return ( + // + //

{t("ABOUT.INSTAGRAM")}

+ // + // {posts.map((post) => ( + // + // + // @{post.username} + // {/* {post.caption} */} + // + // ))} + // + //
+ // ) } export default InstagramFeaturette diff --git a/src/pages/about.tsx b/src/pages/about.tsx index 36c2332..497ffbe 100644 --- a/src/pages/about.tsx +++ b/src/pages/about.tsx @@ -5,7 +5,7 @@ import { GatsbyImage } from "../../@types/childImageSharp" import { Meta } from "../../@types/content/meta" import devices from "../devices" import PersonCard from "../components/About/PersonCard" -import InstagramFeaturette from "../components/Footer/InstagramFeaturette" +// import InstagramFeaturette from "../components/Footer/InstagramFeaturette" import { H1, H2 } from "../components/Html/HtmlContent" import Layout from "../components/layout" import { Container, P } from "../components/Primitives" @@ -158,7 +158,7 @@ const AboutPage: FC> = ({

{t("ABOUT.WORK_FOR_US_TEXT")}

- + {/* */} )