From 2779e07851ed1a4fd1a1a759ae491ec8ac7f2a2b Mon Sep 17 00:00:00 2001 From: guusvanmeerveld Date: Sat, 3 Jul 2021 19:17:06 +0200 Subject: [PATCH] Removed Binas --- public/robots.txt | 2 +- src/pages/binas.tsx | 37 ------------------------------------- src/styles/sass/binas.scss | 31 ------------------------------- src/styles/sass/index.scss | 1 - 4 files changed, 1 insertion(+), 70 deletions(-) delete mode 100644 src/pages/binas.tsx delete mode 100644 src/styles/sass/binas.scss diff --git a/public/robots.txt b/public/robots.txt index dc03585..5e4ff3e 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,2 +1,2 @@ User-agent: * -Disallow: /binas \ No newline at end of file +Disallow: \ No newline at end of file diff --git a/src/pages/binas.tsx b/src/pages/binas.tsx deleted file mode 100644 index a7b9040..0000000 --- a/src/pages/binas.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import Page from '@components/Page'; -import Layout from '@components/Layout'; - -import React, { Component } from 'react'; - -class Binas extends Component { - links: string[]; - - constructor(props: unknown) { - super(props); - - this.links = []; - - for (let i = 1; i < 305; i++) { - this.links.push(this.link(i)); - } - } - - link = (page: number): string => - `https://cdp.contentdelivery.nu/1fa0c165-3b6c-4c5b-acee-a231157e66a3/20160908101125/extract/assets/img/layout/${page}.jpg`; - - render(): JSX.Element { - return ( - - -
- {this.links.map((link, i) => ( - - ))} -
-
-
- ); - } -} - -export default Binas; diff --git a/src/styles/sass/binas.scss b/src/styles/sass/binas.scss deleted file mode 100644 index 3503c7e..0000000 --- a/src/styles/sass/binas.scss +++ /dev/null @@ -1,31 +0,0 @@ -.binas { - padding-top: 6rem; - - img { - border: 0.1rem solid var(--borders); - border-radius: 5px; - - max-width: 100vw; - - @media screen and (min-width: 0px) { - height: 55rem; - } - - @media screen and (min-width: 300px) { - height: 70rem; - } - - @media screen and (min-width: 600px) { - height: 85rem; - } - - @media screen and (min-width: 900px) { - height: 100rem; - } - - margin: auto; - display: block; - - margin-bottom: 2rem; - } -} diff --git a/src/styles/sass/index.scss b/src/styles/sass/index.scss index 7b19b53..67edf52 100644 --- a/src/styles/sass/index.scss +++ b/src/styles/sass/index.scss @@ -34,6 +34,5 @@ a { @import 'contact.scss'; @import 'footer.scss'; -@import 'binas.scss'; @import 'upload.scss'; @import 'page.scss';