about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-23 20:36:18 +0100
committerEmile <hanemile@protonmail.com>2019-02-23 20:36:18 +0100
commit89d27cb436274efea0f425cc22384306339a384c (patch)
tree4094c646dfb63e9c41b445b3ba3cb29beccf2777
parent5a60714c101e19b5452882e670b9bff8f4a5708d (diff)
:art: updated the design once again
-rw-r--r--.idea/encodings.xml4
-rw-r--r--.idea/frontpage.iml8
-rw-r--r--.idea/misc.xml6
-rw-r--r--.idea/modules.xml8
-rw-r--r--.idea/vcs.xml6
-rw-r--r--.idea/workspace.xml179
-rw-r--r--src/.main.go.swpbin12288 -> 0 bytes
-rw-r--r--src/go.mod1
-rw-r--r--src/index.html401
-rw-r--r--src/main.go2
-rw-r--r--src/redesign.html250
11 files changed, 436 insertions, 429 deletions
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..15a15b2
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding" addBOMForNewFiles="with NO BOM" />
+</project>
\ No newline at end of file
diff --git a/.idea/frontpage.iml b/.idea/frontpage.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/.idea/frontpage.iml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..28a804d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="JavaScriptSettings">
+    <option name="languageLevel" value="ES6" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..5dbb59e
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/frontpage.iml" filepath="$PROJECT_DIR$/.idea/frontpage.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..5c5b038
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ChangeListManager">
+    <list default="true" id="a9164191-d370-492b-893b-7d5187d87f7c" name="Default Changelist" comment="">
+      <change beforePath="$PROJECT_DIR$/src/.main.go.swp" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/index.html" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/main.go" beforeDir="false" afterPath="$PROJECT_DIR$/src/main.go" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/redesign.html" beforeDir="false" />
+    </list>
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="FileEditorManager">
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="225">
+      <file pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/src/index.html">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="420">
+              <caret line="49" column="173" selection-start-line="49" selection-start-column="173" selection-end-line="49" selection-end-column="173" />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/src/main.go">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="105">
+              <caret line="7" selection-start-line="7" selection-end-line="7" />
+            </state>
+          </provider>
+        </entry>
+      </file>
+    </leaf>
+  </component>
+  <component name="GOROOT" path="/usr/lib/go-1.11" />
+  <component name="Git.Settings">
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
+  </component>
+  <component name="IdeDocumentHistory">
+    <option name="CHANGED_PATHS">
+      <list>
+        <option value="$PROJECT_DIR$/src/redesign2.html" />
+        <option value="$PROJECT_DIR$/src/index.html" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectFrameBounds" extendedState="6">
+    <option name="x" value="-2" />
+    <option name="width" value="1924" />
+    <option name="height" value="1063" />
+  </component>
+  <component name="ProjectView">
+    <navigator proportions="" version="1">
+      <foldersAlwaysOnTop value="true" />
+    </navigator>
+    <panes>
+      <pane id="Scope" />
+      <pane id="ProjectPane">
+        <subPane>
+          <expand>
+            <path>
+              <item name="frontpage" type="b2602c69:ProjectViewProjectNode" />
+              <item name="frontpage" type="462c0819:PsiDirectoryNode" />
+            </path>
+            <path>
+              <item name="frontpage" type="b2602c69:ProjectViewProjectNode" />
+              <item name="frontpage" type="462c0819:PsiDirectoryNode" />
+              <item name="src" type="462c0819:PsiDirectoryNode" />
+            </path>
+            <path>
+              <item name="frontpage" type="b2602c69:ProjectViewProjectNode" />
+              <item name="frontpage" type="462c0819:PsiDirectoryNode" />
+              <item name="src" type="462c0819:PsiDirectoryNode" />
+              <item name="css" type="462c0819:PsiDirectoryNode" />
+            </path>
+          </expand>
+          <select />
+        </subPane>
+      </pane>
+    </panes>
+  </component>
+  <component name="PropertiesComponent">
+    <property name="GO_FMT" value="true" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="go.gopath.indexing.explicitly.defined" value="true" />
+    <property name="go.sdk.automatically.set" value="true" />
+    <property name="go.vendoring.notification.had.been.shown" value="true" />
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
+    <property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
+  </component>
+  <component name="RunDashboard">
+    <option name="ruleStates">
+      <list>
+        <RuleState>
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
+        </RuleState>
+        <RuleState>
+          <option name="name" value="StatusDashboardGroupingRule" />
+        </RuleState>
+      </list>
+    </option>
+  </component>
+  <component name="ToolWindowManager">
+    <frame x="-2" y="0" width="1924" height="1063" extended-state="6" />
+    <layout>
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.11902232" />
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
+      <window_info id="Favorites" order="2" side_tool="true" />
+      <window_info anchor="bottom" id="Message" order="0" />
+      <window_info anchor="bottom" id="Find" order="1" />
+      <window_info anchor="bottom" id="Run" order="2" />
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
+      <window_info anchor="bottom" id="TODO" order="6" />
+      <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Database Changes" order="8" />
+      <window_info anchor="bottom" id="Version Control" order="9" />
+      <window_info anchor="bottom" id="Terminal" order="10" />
+      <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
+      <window_info anchor="right" id="Database" order="3" />
+    </layout>
+  </component>
+  <component name="TypeScriptGeneratedFilesManager">
+    <option name="version" value="1" />
+  </component>
+  <component name="VcsManagerConfiguration">
+    <MESSAGE value="a little bit more responsive..." />
+    <MESSAGE value="minor edit" />
+    <MESSAGE value="removed the footer in the twitter panel" />
+    <option name="LAST_COMMIT_MESSAGE" value="removed the footer in the twitter panel" />
+  </component>
+  <component name="editorHistoryManager">
+    <entry file="file://$PROJECT_DIR$/src/images/code_sample_200x250.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/images/database_sample_200x250.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/images/example_boxes_750x450.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/images/generator_sample_200x250.png">
+      <provider selected="true" editor-type-id="images" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/redesign.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="405">
+          <caret line="69" selection-start-line="69" selection-end-line="69" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/index.html">
+      <provider selected="true" editor-type-id="text-editor" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/main.go">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="105">
+          <caret line="7" selection-start-line="7" selection-end-line="7" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/src/index.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="420">
+          <caret line="49" column="173" selection-start-line="49" selection-start-column="173" selection-end-line="49" selection-end-column="173" />
+        </state>
+      </provider>
+    </entry>
+  </component>
+</project>
\ No newline at end of file
diff --git a/src/.main.go.swp b/src/.main.go.swp
deleted file mode 100644
index bd222ac..0000000
--- a/src/.main.go.swp
+++ /dev/null
Binary files differdiff --git a/src/go.mod b/src/go.mod
new file mode 100644
index 0000000..489c84a
--- /dev/null
+++ b/src/go.mod
@@ -0,0 +1 @@
+module frontpage
diff --git a/src/index.html b/src/index.html
index 730920c..5d6a1d0 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,208 +1,253 @@
 <!DOCTYPE html>
 <html lang="en">
 
-  <head>
+    <head>
 
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-    <meta name="description" content="">
-    <meta name="author" content="">
+        <meta charset="utf-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+        <meta name="description" content="">
+        <meta name="author" content="">
 
-    <title>Galaxy Simulator</title>
+        <title>Galaxy Simulator</title>
 
-    <!-- Bootstrap core CSS -->
-    <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+        <!-- Bootstrap core CSS
+        <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+        000 -->
 
-    <!-- Custom styles for this template -->
-    <link href="css/small-business.css" rel="stylesheet">
+        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
+        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
 
-  </head>
+        <!-- Custom styles for this template
+        <link href="css/small-business.css" rel="stylesheet">
+        -->
+        <link href="/css/bootstrap.min.css" rel="stylesheet">
+        <link rel="stylesheet" href="/css/custom.css">
 
-  <body>
+    </head>
 
-    <!-- Navigation -->
-    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
-      <div class="container">
-        <a class="navbar-brand" href="#">Galaxy Simulator</a>
-        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
-          <span class="navbar-toggler-icon"></span>
-        </button>
-        <div class="collapse navbar-collapse" id="navbarResponsive">
-          <ul class="navbar-nav ml-auto">
-
-            <li class="nav-item active">
-              <a class="nav-link" href="#">Home
-                <span class="sr-only">(current)</span>
-              </a>
-            </li>
-
-            <li class="nav-item">
-              <a class="nav-link" href="about.html">About</a>
-            </li>
-
-            <li class="nav-item">
-              <a class="nav-link" href="contact.html">Contact</a>
-            </li>
-
-          </ul>
-        </div>
-      </div>
-    </nav>
-
-
-    <!-- Page Content -->
     <div class="container">
-
-      <div class="row my-4">
-        <div class="col-lg-8">
-          <img class="img-fluid rounded" src="images/example_image_cropped_900x400.png" alt="">
-        </div>
-        <!-- /.col-lg-8 -->
-        <div class="col-lg-4">
-          <h1>Generation and Simulation</h1>
-          <p>Generating star clusters and simulating the forces acting in them seemed like a good way to learn a lot of new programming concepts. You can find many of the results on this page and read the blogpost I update regularly by clicking on the button below.</p>
-          <a class="btn btn-primary btn-lg" href="https://www.tildeho.me/generating-galaxies/">Read the Blogpost!</a>
-        </div>
-        <!-- /.col-md-4 -->
-      </div>
-
-      <hr>
-
-      <div class="card-columns">
-
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">What is this all?</h5>
-            <p class="card-text">How did this all begin? How are the star clusters simulated? How is the simulation so fast? Where can I learn more about this? Who are Julio Navarro, Carlos Frenk, Simon White, Josh Barnes and  Piet Hut?</p>
-          </div>
-          <div class="card-footer">
-            <a href="about.html" class="btn btn-primary">More info</a>
-          </div>
-        </div>
-
-        <div class="card p-3">
-          <blockquote class="blockquote mb-0 card-body">
-            <p>A galaxy is a gravitationally bound system of stars, stellar remnants, interstellar gas, dust, and dark matter.</p>
-            <footer class="blockquote-footer">
-              <small class="text-muted">
-                <cite title="Source Title">Wikipedia</cite>
-              </small>
-            </footer>
-          </blockquote>
-        </div>
-
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Writeup</h5>
-            <p class="card-text">I wrote a writeup for people who want to implement this or just want to dive deeper into the rabbit hole. It contains the process of generating the star clusters and how the simulation efficiency can be increased alot.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://writeup.emile.space/" class="btn btn-primary">Writeup</a>
-          </div>
-        </div>
-
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Code</h5>
-            <p class="card-text">The complete project is currently split up into multiple docker containers representing a micro-service each. It is currently stored in git and is always happy if new post-request are made!</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://code.emile.space" class="btn btn-primary">Code</a>
-          </div>
-        </div>
-
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Generating</h5>
-            <p class="card-text">The Generator container generates stars using NFW containers. This makes it incredibly fast, because it is not bound to a machine, but can operate on a giant cluster.</p>
-          </div>
-          <div class="card-footer">
-            <a href="about.html#generating" class="btn btn-primary">More information</a>
-            <a href="http://generator.nbg1.emile.space" class="btn btn-primary">Generator module</a>
-          </div>
+        <header class="blog-header py-3">
+            <div class="row flex-nowrap justify-content-between align-items-center">
+                <div class="col-4 text-center">
+                </div>
+
+                <div class="col-4 text-center">
+                    <a class="blog-header-logo text-dark" href="/">Simulator</a>
+                </div>
+
+                <div class="col-4 text-center">
+                </div>
+
+            </div>
+        </header>
+
+        <div class="nav-scroller py-1 mb-2">
+            <nav class="nav d-flex justify-content-between">
+                <a class="p-2 text-unmuted">Home</a>
+                <a class="p-2 text-muted" href="http://writeup.emile.space">Writeup</a>
+                <a class="p-2 text-muted" href="http://code.emile.space">Code</a>
+                <a class="p-2 text-muted" href="https://git.darknebu.la/plugins/pdfjs-1.4.20/web/viewer.html?file=/GalaxySimulator/Writeup/raw/lang-en/main.pdf#section.2">Generation</a>
+                <a class="p-2 text-muted" href="https://git.darknebu.la/plugins/pdfjs-1.4.20/web/viewer.html?file=/GalaxySimulator/Writeup/raw/master/main.pdf#subsection.5.4">Database</a>
+                <a class="p-2 text-muted" href="#">Manager</a>
+                <a class="p-2 text-muted" href="https://git.darknebu.la/plugins/pdfjs-1.4.20/web/viewer.html?file=/GalaxySimulator/Writeup/raw/lang-en/main.pdf#section.3">Simulation</a>
+                <a class="p-2 text-muted" href="https://traefik.io">Load balancing</a>
+                <a class="p-2 text-muted" href="https://grafana.com/">Monitoring</a>
+                <a class="p-2 text-muted" href="#">Visualization</a>
+                <a class="p-2 text-muted" href="https://twitter.com/">Social Media</a>
+                <a class="p-2 text-muted" href="/contact">Contact</a>
+            </nav>
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Database</h5>
-            <p class="card-text">The current "Database" is a go array containing the galaxy stored in the form of a tree. This is not optimal, but it works and I'm working on a more scalable solution.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://db.nbg1.emile.space" class="btn btn-primary">Database</a>
-            <a href="http://db.nbg1.emile.space/metrics" class="btn btn-primary">Metrics</a>
-          </div>
-        </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Manager</h5>
-            <p class="card-text">The manager manages distributing stars to the simulator containers, it also collects the metrics from the Simulator containers and functions as a target for prometheus.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://manager.nbg1.emile.space" class="btn btn-primary">Manager</a>
-            <a href="http://manager.nbg1.emile.space/metrics" class="btn btn-primary">Metrics</a>
-          </div>
+        <div class="row my-4">
+            <div class="col-lg-8">
+                <img class="img-fluid rounded" src="images/example_image_cropped_900x400.png" alt="">
+            </div>
+            <!-- /.col-lg-8 -->
+            <div class="col-lg-4">
+                <h1>Generation and Simulation</h1>
+                <p>Generating star clusters and simulating the forces acting in them seemed like a good way to learn a lot of new programming concepts. You can find many of the results on this page and read the blogpost I update regularly by clicking on the button below.</p>
+                <a class="btn btn-primary btn-lg" href="https://www.tildeho.me/generating-galaxies/">Read the Blogpost!</a>
+            </div>
+            <!-- /.col-md-4 -->
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Simulator</h5>
-            <p class="card-text">The simulator container get's stars from the manager and calculates the forces acting on it. It then inserts the new star into the database.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://simulator.nbg1.emile.space" class="btn btn-primary">Simulator</a>
-          </div>
+        <!-- Row 1 -->
+        <div class="row mb-2">
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Documentation</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Writeup</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">The complete project is documented so that everybody can access
+                            and use it a a reference for other projects.</p>
+                        <a href="http://writeup.emile.space">Read the writeup</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/writeup_sample_200x250.png" alt="">
+                </div>
+            </div>
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Code</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">The simulator is completely writting in
+                            <a href="https://golang.org/">go</a> and can be found in the git.
+                        </p>
+                        <a href="http://code.emile.space">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/code_sample_200x250.png" alt="">
+                </div>
+            </div>
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Traefik</h5>
-            <p class="card-text"><a href="https://traefik.io/">Traefik</a> ist used as a reverse proxy for some services such as the generator container. It also allows a lot of other services to work.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://traefik.nbg1.emile.space" class="btn btn-primary">Traefik</a>
-          </div>
+        <!-- Row 2 -->
+        <div class="row mb-2">
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Generator</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            The generator generates stars using the NFW profile.
+                        </p>
+                        <a href="http://code.emile.space/generator-container">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/generator_sample_200x250.png" alt="">
+                </div>
+            </div>
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Storage</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Database</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">A <a href="https://www.postgresql.org/">PostgreSQL</a>
+                            database is used to store the stars.
+                        </p>
+                        <a href="http://code.emile.space/database-container">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/database_sample_200x250.png" alt="">
+                </div>
+            </div>
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Monitoring</h5>
-            <p class="card-text">Monitoring is done by combining the power of <a href="https://prometheus.io">Prometheus</a> and <a href="https://grafana.com/">Grafana</a> using the other containers as targets to pull metrics from.</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://manager.nbg1.emile.space" class="btn btn-primary">Manager</a>
-            <a href="http://prometheus.nbg1.emile.space" class="btn btn-primary">Prometheus</a>
-            <a href="http://grafana.nbg1.emile.space" class="btn btn-primary">Grafana</a>
-          </div>
+        <!-- Row 3 -->
+        <div class="row mb-2">
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Manager</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            The manager container distributes the stars that need to be processed by providing them
+                            to the simulation services.
+                        </p>
+                        <a href="http://code.emile.space/manager-container">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/manager_sample_200x250.png" alt="">
+                </div>
+            </div>
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Simulator</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            The simulator continer gets stars from the manager, calculates their new position
+                            and inserts them into the next timestep.
+                        </p>
+                        <a href="http://code.emile.space">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/simulator_sample_200x250.png" alt="">
+                </div>
+            </div>
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Viewer</h5>
-            <p class="card-text">Viewing the galaxies that were generated in the form of scalable vector graphics</p>
-          </div>
-          <div class="card-footer">
-            <a href="http://viewer.nbg1.emile.space/drawtree/0" class="btn btn-primary">viewer</a>
-          </div>
+        <!-- Row 4 -->
+        <div class="row mb-2">
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Load balancing</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Traefik</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            Routing traffic is done using <a href="https://traefik.io">Traefik</a>,
+                            "A reverse proxy / load balancer that's easy, dynamic, automatic, fast [...]"
+                        </p>
+                        <a href="http://code.emile.space/manager-container">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/traefik_sample_200x250.png" alt="">
+                </div>
+            </div>
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Monitoring</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Grafana + Prometheus</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            The metrics are pushed to <a href="https://prometheus.io">prometheus</a> and displayed in a nice dashboard using <a
+                                    href="https://grafana.com">grafana</a>.
+                        </p>
+                        <a href="http://code.emile.space">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/grafana_sample_200x250.png" alt="">
+                </div>
+            </div>
         </div>
 
-        <div class="card">
-          <div class="card-body">
-            <h5 class="card-title">Social Media</h5>
-            <p class="card-text">
-              <a class="twitter-timeline" data-width="400" data-height="600" data-theme="light" href="https://twitter.com/GalaxySimulator?ref_src=twsrc%5Etfw">Tweets by GalaxySimulator</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
-             </p>
-          </div>
+        <!-- Row 5 -->
+        <div class="row mb-2">
+            <div class="col-md-6">
+                <div class="card flex-md-row mb-4 box-shadow h-md-250">
+                    <div class="card-body d-flex flex-column align-items-start">
+                        <strong class="d-inline-block mb-2 text-primary">Visualizing</strong>
+                        <h3 class="mb-0">
+                            <a class="text-dark" href="#">Manager</a>
+                        </h3>
+                        <div class="mb-1 text-muted">Feb 3 2019</div>
+                        <p class="card-text mb-auto">
+                            The manager container distributes the stars that need to be processed by providing them
+                            to the simulation services.
+                        </p>
+                        <a href="http://code.emile.space/manager-container">Read the code</a>
+                    </div>
+                    <img class="img-fluid rounded" src="images/view_sample_200x250.png" alt="">
+                </div>
+            </div>
         </div>
-
-      </div>
-
     </div>
 
-    <!-- Bootstrap core JavaScript -->
-    <script src="vendor/jquery/jquery.min.js"></script>
-    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
+    <footer class="blog-footer">
+        <p> Design adapted from the Blog template built for <a href="https://getbootstrap.com/">Bootstrap</a> by <a href="https://twitter.com/mdo">@mdo</a>.</p>
+        <p>
+            <a href="#">Back to top</a>
+        </p>
+    </footer>
 
-  </body>
+    </body>
 
 </html>
diff --git a/src/main.go b/src/main.go
index 0808608..9e01b74 100644
--- a/src/main.go
+++ b/src/main.go
@@ -3,5 +3,5 @@ package main
 import "net/http"
 
 func main() {
-	panic(http.ListenAndServe(":80", http.FileServer(http.Dir("./"))))
+	panic(http.ListenAndServe(":8081", http.FileServer(http.Dir("./"))))
 }
diff --git a/src/redesign.html b/src/redesign.html
deleted file mode 100644
index 86d9139..0000000
--- a/src/redesign.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-    <head>
-
-        <meta charset="utf-8">
-        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-        <meta name="description" content="">
-        <meta name="author" content="">
-
-        <title>Galaxy Simulator</title>
-
-        <!-- Bootstrap core CSS
-        <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
-        000 -->
-
-        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
-        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
-
-        <!-- Custom styles for this template
-        <link href="css/small-business.css" rel="stylesheet">
-        -->
-        <link href="css/bootstrap.min.css" rel="stylesheet">
-        <link rel="stylesheet" href="css/custom.css">
-
-    </head>
-
-    <body>
-
-    <div class="container">
-        <header class="blog-header py-3">
-            <div class="row flex-nowrap justify-content-between align-items-center">
-                <div class="col-4 text-center">
-                </div>
-
-                <div class="col-4 text-center">
-                    <a class="blog-header-logo text-dark" href="index.html">Galaxy Simulator</a>
-                </div>
-
-                <div class="col-4 text-center">
-                </div>
-
-            </div>
-        </header>
-
-        <div class="nav-scroller py-1 mb-2">
-            <nav class="nav d-flex justify-content-between">
-                <a class="p-2 text-muted" href="http://writeup.emile.space">Writeup</a>
-                <a class="p-2 text-muted" href="http://code.emile.space">Code</a>
-                <a class="p-2 text-muted" href="#">Generation</a>
-                <a class="p-2 text-muted" href="#">Database</a>
-                <a class="p-2 text-muted" href="#">Manager</a>
-                <a class="p-2 text-muted" href="#">Simulation</a>
-                <a class="p-2 text-muted" href="#">Load balancing</a>
-                <a class="p-2 text-muted" href="#">Monitoring</a>
-                <a class="p-2 text-muted" href="#">Visualization</a>
-                <a class="p-2 text-muted" href="#">Social Media</a>
-            </nav>
-        </div>
-
-        <div class="jumbotron jumbotron-head p-3 p-md-5 text-white rounded bg-dark">
-            <div class="col-md-6 px-0">
-                <h1 class="display-4 font-italic">Generating and simulating star clusters</h1>
-                <p class="lead my-3">Generating Point clouds using the Random Sampling function on the Navarro Frenk
-                    White profile for further simulation of the forces acting inbetween the stars.</p>
-                <p class="lead mb-0"><a href="#" class="text-white font-weight-bold">Continue reading...</a></p>
-            </div>
-        </div>
-
-        <!-- Row 1 -->
-        <div class="row mb-2">
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Documentation</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Writeup</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">The complete project is documented so that everybody can access
-                        and use it a a reference for other projects.</p>
-                        <a href="http://writeup.emile.space">Read the writeup</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/writeup_sample_200x250.png" alt="">
-                </div>
-            </div>
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Code</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">The simulator is completely writting in
-                            <a href="https://golang.org/">go</a> and can be found in the git.
-                        </p>
-                        <a href="http://code.emile.space">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/code_sample_200x250.png" alt="">
-                </div>
-            </div>
-        </div>
-
-        <!-- Row 2 -->
-        <div class="row mb-2">
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Generator</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            The generator generates stars using the NFW profile.
-                        </p>
-                        <a href="http://code.emile.space/generator-container">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/generator_sample_200x250.png" alt="">
-                </div>
-            </div>
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Storage</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Database</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">A <a href="https://www.postgresql.org/">PostgreSQL</a>
-                            database is used to store the stars.
-                        </p>
-                        <a href="http://code.emile.space/database-container">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/database_sample_200x250.png" alt="">
-                </div>
-            </div>
-        </div>
-
-        <!-- Row 3 -->
-        <div class="row mb-2">
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Manager</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            The manager container distributes the stars that need to be processed by providing them
-                            to the simulation services.
-                        </p>
-                        <a href="http://code.emile.space/manager-container">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/manager_sample_200x250.png" alt="">
-                </div>
-            </div>
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Tech</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Simulator</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            The simulator continer gets stars from the manager, calculates their new position
-                            and inserts them into the next timestep.
-                        </p>
-                        <a href="http://code.emile.space">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/simulator_sample_200x250.png" alt="">
-                </div>
-            </div>
-        </div>
-
-        <!-- Row 4 -->
-        <div class="row mb-2">
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Load balancing</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Traefik</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            Routing traffic is done using <a href="https://traefik.io">Traefik</a>,
-                            "A reverse proxy / load balancer that's easy, dynamic, automatic, fast [...]"
-                        </p>
-                        <a href="http://code.emile.space/manager-container">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/traefik_sample_200x250.png" alt="">
-                </div>
-            </div>
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Monitoring</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Grafana + Prometheus</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            The metrics are pushed to <a href="https://prometheus.io">prometheus</a> and displayed in a nice dashboard using <a
-                                    href="https://grafana.com">grafana</a>.
-                        </p>
-                        <a href="http://code.emile.space">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/grafana_sample_200x250.png" alt="">
-                </div>
-            </div>
-        </div>
-
-        <!-- Row 5 -->
-        <div class="row mb-2">
-            <div class="col-md-6">
-                <div class="card flex-md-row mb-4 box-shadow h-md-250">
-                    <div class="card-body d-flex flex-column align-items-start">
-                        <strong class="d-inline-block mb-2 text-primary">Visualizing</strong>
-                        <h3 class="mb-0">
-                            <a class="text-dark" href="#">Manager</a>
-                        </h3>
-                        <div class="mb-1 text-muted">Feb 3 2019</div>
-                        <p class="card-text mb-auto">
-                            The manager container distributes the stars that need to be processed by providing them
-                            to the simulation services.
-                        </p>
-                        <a href="http://code.emile.space/manager-container">Read the code</a>
-                    </div>
-                    <img class="img-fluid rounded" src="images/view_sample_200x250.png" alt="">
-                </div>
-            </div>
-        </div>
-    </div>
-
-    <footer class="blog-footer">
-        <p>Blog template built for <a href="https://getbootstrap.com/">Bootstrap</a> by <a href="https://twitter.com/mdo">@mdo</a>.</p>
-        <p>
-            <a href="#">Back to top</a>
-        </p>
-    </footer>
-
-    </body>
-
-</html>
-
-