From 90fae26aa4bd0e0eb3272ff6e6524060e9004fbb Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 29 Jun 2020 15:47:09 +0200 Subject: Prepare frontend repository for monorepo This change prepares the frontend Git repository for the monorepo residing at https://github.com/atlarge-research.com/opendc. To accomodate for this, we move all files into a frontend subdirectory. --- src/components/home/ContactSection.js | 64 ------------------------------ src/components/home/ContactSection.sass | 15 ------- src/components/home/ContentSection.js | 19 --------- src/components/home/ContentSection.sass | 9 ----- src/components/home/IntroSection.js | 40 ------------------- src/components/home/JumbotronHeader.js | 20 ---------- src/components/home/JumbotronHeader.sass | 24 ----------- src/components/home/ModelingSection.js | 24 ----------- src/components/home/ScreenshotSection.js | 32 --------------- src/components/home/ScreenshotSection.sass | 5 --- src/components/home/SimulationSection.js | 25 ------------ src/components/home/StakeholderSection.js | 42 -------------------- src/components/home/TeamSection.js | 56 -------------------------- src/components/home/TechnologiesSection.js | 42 -------------------- 14 files changed, 417 deletions(-) delete mode 100644 src/components/home/ContactSection.js delete mode 100644 src/components/home/ContactSection.sass delete mode 100644 src/components/home/ContentSection.js delete mode 100644 src/components/home/ContentSection.sass delete mode 100644 src/components/home/IntroSection.js delete mode 100644 src/components/home/JumbotronHeader.js delete mode 100644 src/components/home/JumbotronHeader.sass delete mode 100644 src/components/home/ModelingSection.js delete mode 100644 src/components/home/ScreenshotSection.js delete mode 100644 src/components/home/ScreenshotSection.sass delete mode 100644 src/components/home/SimulationSection.js delete mode 100644 src/components/home/StakeholderSection.js delete mode 100644 src/components/home/TeamSection.js delete mode 100644 src/components/home/TechnologiesSection.js (limited to 'src/components/home') diff --git a/src/components/home/ContactSection.js b/src/components/home/ContactSection.js deleted file mode 100644 index 4e640924..00000000 --- a/src/components/home/ContactSection.js +++ /dev/null @@ -1,64 +0,0 @@ -import React from "react"; -import FontAwesome from "react-fontawesome"; -import "./ContactSection.css"; -import ContentSection from "./ContentSection"; - -const ContactSection = () => ( - -
-
- - -
- atlarge-research/opendc - -
-
- - - -
-
-
- TU Delft -
-
-
-
- A project by the   - - @Large Research Group - . -
-
-
-
- -
- OpenDC is an experimental tool. Your data may get lost, overwritten, or - otherwise become unavailable. -
- The OpenDC authors should in no way be liable in the event this happens - (see our{" "} - - - license - - ). Sorry for the inconvenience. -
-
- -); - -export default ContactSection; diff --git a/src/components/home/ContactSection.sass b/src/components/home/ContactSection.sass deleted file mode 100644 index 2cde7391..00000000 --- a/src/components/home/ContactSection.sass +++ /dev/null @@ -1,15 +0,0 @@ -.contact-section - background-color: #444 - color: #ddd - - a - color: #ddd - - a:hover - color: #fff - - .tudelft-icon - height: 100px - - .disclaimer - color: #cccccc diff --git a/src/components/home/ContentSection.js b/src/components/home/ContentSection.js deleted file mode 100644 index 2e24ee10..00000000 --- a/src/components/home/ContentSection.js +++ /dev/null @@ -1,19 +0,0 @@ -import classNames from "classnames"; -import PropTypes from "prop-types"; -import React from "react"; -import "./ContentSection.css"; - -const ContentSection = ({ name, title, children }) => ( -
-
-

{title}

- {children} -
-
-); - -ContentSection.propTypes = { - name: PropTypes.string.isRequired -}; - -export default ContentSection; diff --git a/src/components/home/ContentSection.sass b/src/components/home/ContentSection.sass deleted file mode 100644 index 67541179..00000000 --- a/src/components/home/ContentSection.sass +++ /dev/null @@ -1,9 +0,0 @@ -@import ../../style-globals/_variables.sass - -.content-section - padding-top: 50px - padding-bottom: 100px - text-align: center - - h1 - margin-bottom: 30px diff --git a/src/components/home/IntroSection.js b/src/components/home/IntroSection.js deleted file mode 100644 index 59f5face..00000000 --- a/src/components/home/IntroSection.js +++ /dev/null @@ -1,40 +0,0 @@ -import React from "react"; - -const IntroSection = () => ( -
-
-
-
-

The datacenter (DC) industry...

-
    -
  • Is worth over $15 bn, and growing
  • -
  • Has many hard-to-grasp concepts
  • -
  • Needs to become accessible to many
  • -
-
- -
-

OpenDC provides...

-
    -
  • Collaborative online DC modeling
  • -
  • Diverse and effective DC simulation
  • -
  • Exploratory DC performance feedback
  • -
-
-
-
-
-); - -export default IntroSection; diff --git a/src/components/home/JumbotronHeader.js b/src/components/home/JumbotronHeader.js deleted file mode 100644 index 8a5312b3..00000000 --- a/src/components/home/JumbotronHeader.js +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react"; -import "./JumbotronHeader.css"; - -const JumbotronHeader = () => ( -
-
-
-

- OpenDC -

-

- Collaborative Datacenter Simulation and Exploration for Everybody -

- OpenDC -
-
-
-); - -export default JumbotronHeader; diff --git a/src/components/home/JumbotronHeader.sass b/src/components/home/JumbotronHeader.sass deleted file mode 100644 index b88b79f7..00000000 --- a/src/components/home/JumbotronHeader.sass +++ /dev/null @@ -1,24 +0,0 @@ -.jumbotron-header - background: #00A6D6 - -.jumbotron - background-color: inherit - margin-bottom: 0 - - padding-top: 120px - padding-bottom: 120px - - img - max-width: 110px - - h1 - color: #fff - font-size: 4.5em - - .dc - color: #fff - font-weight: bold - - .lead - color: #fff - font-size: 1.4em diff --git a/src/components/home/ModelingSection.js b/src/components/home/ModelingSection.js deleted file mode 100644 index 17834b0b..00000000 --- a/src/components/home/ModelingSection.js +++ /dev/null @@ -1,24 +0,0 @@ -import React from "react"; -import ScreenshotSection from "./ScreenshotSection"; - -const ModelingSection = () => ( - -

Collaboratively...

-
    -
  • Model DC layout, and room locations and types
  • -
  • Place racks in rooms and nodes in racks
  • -
  • - Add real-world CPU, GPU, memory, storage and network units to each node -
  • -
  • Select from diverse scheduling policies
  • -
-
-); - -export default ModelingSection; diff --git a/src/components/home/ScreenshotSection.js b/src/components/home/ScreenshotSection.js deleted file mode 100644 index 42b8ac77..00000000 --- a/src/components/home/ScreenshotSection.js +++ /dev/null @@ -1,32 +0,0 @@ -import classNames from "classnames"; -import React from "react"; -import ContentSection from "./ContentSection"; -import "./ScreenshotSection.css"; - -const ScreenshotSection = ({ - name, - title, - imageUrl, - caption, - imageIsRight, - children -}) => ( - -
-
- {children} -
-
- {caption} -
{caption}
-
-
-
-); - -export default ScreenshotSection; diff --git a/src/components/home/ScreenshotSection.sass b/src/components/home/ScreenshotSection.sass deleted file mode 100644 index a349ad48..00000000 --- a/src/components/home/ScreenshotSection.sass +++ /dev/null @@ -1,5 +0,0 @@ -.screenshot - outline: 2px black solid - padding-left: 0 - padding-right: 0 - margin-bottom: 5px diff --git a/src/components/home/SimulationSection.js b/src/components/home/SimulationSection.js deleted file mode 100644 index 3961e549..00000000 --- a/src/components/home/SimulationSection.js +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react"; -import ScreenshotSection from "./ScreenshotSection"; - -const ModelingSection = () => ( - -

Working with OpenDC:

-
    -
  • Seamlessly switch between construction and simulation modes
  • -
  • - Choose one of several predefined workloads (Big Data, Bag of Tasks, - Hadoop, etc.) -
  • -
  • Play, pause, and skip around the informative simulation timeline
  • -
  • Visualize and demo live
  • -
-
-); - -export default ModelingSection; diff --git a/src/components/home/StakeholderSection.js b/src/components/home/StakeholderSection.js deleted file mode 100644 index 6d25fd86..00000000 --- a/src/components/home/StakeholderSection.js +++ /dev/null @@ -1,42 +0,0 @@ -import React from "react"; -import ContentSection from "./ContentSection"; - -const Stakeholder = ({ name, title, subtitle }) => ( -
- {title} -
-

{title}

-

{subtitle}

-
-
-); - -const StakeholderSection = () => ( - -
- - - - - -
-
-); - -export default StakeholderSection; diff --git a/src/components/home/TeamSection.js b/src/components/home/TeamSection.js deleted file mode 100644 index b86655b4..00000000 --- a/src/components/home/TeamSection.js +++ /dev/null @@ -1,56 +0,0 @@ -import React from "react"; -import ContentSection from "./ContentSection"; - -const TeamMember = ({ photoId, name, description }) => ( -
- {name} -
-

{name}

-
{description}
-
-
-); - -const TeamSection = () => ( - -
- - - - -
-
- See{" "} - - atlarge.science/opendc - {" "} - for the full team! -
-
-); - -export default TeamSection; diff --git a/src/components/home/TechnologiesSection.js b/src/components/home/TechnologiesSection.js deleted file mode 100644 index fdcfc522..00000000 --- a/src/components/home/TechnologiesSection.js +++ /dev/null @@ -1,42 +0,0 @@ -import React from "react"; -import FontAwesome from "react-fontawesome"; -import ContentSection from "./ContentSection"; - -const TechnologiesSection = () => ( - -
    -
  • - - - Browser - - JavaScript, React, Redux, Konva -
  • -
  • - - - Server - - - Python, Flask, FlaskSocketIO, OpenAPI - -
  • -
  • - - - Database - - MariaDB -
  • -
  • - - - Simulator - - Kotlin -
  • -
-
-); - -export default TechnologiesSection; -- cgit v1.2.3