diff --git a/static/src/img/IE-scare.png b/static/src/img/IE-scare.png deleted file mode 100644 index f834d43..0000000 Binary files a/static/src/img/IE-scare.png and /dev/null differ diff --git a/static/src/img/SR-logo-banner.png b/static/src/img/SR-logo-banner.png deleted file mode 100644 index a4d9434..0000000 Binary files a/static/src/img/SR-logo-banner.png and /dev/null differ diff --git a/static/src/img/header-bg.png b/static/src/img/header-bg.png deleted file mode 100644 index c87c7a9..0000000 Binary files a/static/src/img/header-bg.png and /dev/null differ diff --git a/static/src/img/logo-transparent.png b/static/src/img/logo-transparent.png deleted file mode 100644 index 602aded..0000000 Binary files a/static/src/img/logo-transparent.png and /dev/null differ diff --git a/static/src/img/ninjas.png b/static/src/img/ninjas.png deleted file mode 100644 index 15525a8..0000000 Binary files a/static/src/img/ninjas.png and /dev/null differ diff --git a/static/src/img/projects/BSOD_Enabler_Screenshot.png b/static/src/img/projects/BSOD_Enabler_Screenshot.png deleted file mode 100644 index 24232db..0000000 Binary files a/static/src/img/projects/BSOD_Enabler_Screenshot.png and /dev/null differ diff --git a/static/src/img/projects/collyers-logo.gif b/static/src/img/projects/collyers-logo.gif deleted file mode 100644 index ca69f3b..0000000 Binary files a/static/src/img/projects/collyers-logo.gif and /dev/null differ diff --git a/static/src/img/projects/kermit-typing.gif b/static/src/img/projects/kermit-typing.gif deleted file mode 100644 index bb1b552..0000000 Binary files a/static/src/img/projects/kermit-typing.gif and /dev/null differ diff --git a/static/src/js/app.js b/static/src/js/app.js deleted file mode 100644 index 47090a0..0000000 --- a/static/src/js/app.js +++ /dev/null @@ -1,24 +0,0 @@ -import './events.js'; -import './globals.js'; - -import 'whatwg-fetch'; - -import React from 'react'; - -import NavBar from './components/navbar/navbar'; -import Breadcrumbs from './components/breadcrumbs'; -import renderImagePanels from './components/image-panel'; - -renderImagePanels(); - -if ($('navbar').length > 0) { - React.render(, $('navbar')[0]); -} - -if ($('#breadcrumbs').length > 0) { - React.render(, $('#breadcrumbs')[0]); -} - -if ($('.header h1').text()) { - $('.markdown-content h1').eq(0).hide(); -} diff --git a/static/src/js/components/breadcrumbs.js b/static/src/js/components/breadcrumbs.js deleted file mode 100644 index bdbaa51..0000000 --- a/static/src/js/components/breadcrumbs.js +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; - -export default class Breadcrumbs extends React.Component { - render() { - const loc = location.pathname.endsWith('/') ? location.pathname.slice(0, -1) : location.pathname; - const urlParts = Object.freeze(loc.split('/').slice(1)); - if (urlParts.length < 2) { - return null; - } - var elements = []; - for (var i = 0; i < urlParts.length; i++) { - var dirs = []; - for (var j = 0; j <= i; j++) { - dirs.push(urlParts[j]); - } - if (i === (urlParts.length - 1)) { - elements.push( -
  • {urlParts[i]}
  • - ); - } else { - var url = '/' + dirs.join('/') + '/'; - elements.push( -
  • {urlParts[i]}
  • - ); - } - } - return ( -
      - { elements } -
    - ); - } -} diff --git a/static/src/js/components/image-panel.js b/static/src/js/components/image-panel.js deleted file mode 100644 index 085df6c..0000000 --- a/static/src/js/components/image-panel.js +++ /dev/null @@ -1,24 +0,0 @@ -export default function renderImagePanels() { - $('.image-panel').each(function () { - const element = $(this); - if (!element.data('image')) { // if it doesnt have an image, ignore it. - return; - } - - element.css('background-image', 'url("' + element.data('image') + '")'); - - let height; - switch (element.data('size')) { - case 'small': - height = '30'; - break; - default: - case 'medium': - height = '60'; - break; - case 'large': - height = '100'; - } - element.css('height', `${height}vh`); - }); -} diff --git a/static/src/js/components/navbar/dropdown.js b/static/src/js/components/navbar/dropdown.js deleted file mode 100644 index 728a505..0000000 --- a/static/src/js/components/navbar/dropdown.js +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; - -export default class Dropdown extends React.Component { - render() { - return ( -
  • - -
      - { this.props.children } -
    -
  • - ); - } -} diff --git a/static/src/js/components/navbar/header.js b/static/src/js/components/navbar/header.js deleted file mode 100644 index 5b2137c..0000000 --- a/static/src/js/components/navbar/header.js +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; - -export default class Header extends React.Component { - render() { - const items = [0, 1, 2]; - var iconBars = items.map(function (item) { - return ( - - ); - }); - return ( -
    - - - - Navigation - -
    - ); - } -} diff --git a/static/src/js/components/navbar/item.js b/static/src/js/components/navbar/item.js deleted file mode 100644 index 03e2984..0000000 --- a/static/src/js/components/navbar/item.js +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; - - -export default class Item extends React.Component { - render() { - const href = this.props.href.endsWith('/') ? this.props.href : this.props.href + '/'; - let icon; - if (this.props.icon) { - if (this.props.icon.startsWith('ion')) { - icon = ( - - ); - } else if (this.props.icon.startsWith('glyphicon')) { - icon = ( -