Skip to content

Commit

Permalink
Merge pull request #35 from THS-International/hotfix/teemp-remove-insta
Browse files Browse the repository at this point in the history
Update index.tsx
  • Loading branch information
olandr authored Jul 8, 2021
2 parents c3b1cf5 + 9ffd0d6 commit 3efc1be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module.exports = {
},
},
{
// FIXME: this solution for scraping insta is deprecated
resolve: `gatsby-source-instagram`,
options: {
username: `5387282036`,
Expand Down
2 changes: 1 addition & 1 deletion src/components/pictureSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ const Pictures = () => {

)
}
export default Pictures
//export default Pictures
9 changes: 3 additions & 6 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import Logo from "../images/logowhite.png"
import NewsGenerator from "../components/NewsGenerator"
import Markdown from "react-markdown"
import ImageLoader from "../components/ImageLoader"
import PictureSlider from "../components/pictureSlider"
// Temporarily removes instagram comp. due to auth issues
//import PictureSlider from "../components/pictureSlider"


const TopImageStyle = styled.span`
Expand Down Expand Up @@ -342,11 +343,7 @@ const IndexPage: React.FC = () => {
}}
/>
</Aline>
<Center id="test">
<SliderBox>
<PictureSlider/>
</SliderBox>
</Center>
<Center id="test" />
<Footer />
</IndexLayout>
</>
Expand Down

0 comments on commit 3efc1be

Please sign in to comment.