about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-24 18:07:24 +0100
committerEmile <hanemile@protonmail.com>2019-02-24 18:07:24 +0100
commit31dc68b64af8c30098df96d376ed509e99f73224 (patch)
tree0ebe4a4a06061a8b1d333c91c857878dfc41cca6
parent85878612e4fed8109e4eb75d4f0fbc3be88a1cec (diff)
added seperate links for the two langs the writeup is written in
-rw-r--r--.idea/workspace.xml34
-rw-r--r--src/images/barnes-hut-full.pngbin0 -> 65060 bytes
-rw-r--r--src/index.html7
-rw-r--r--src/main.go2
4 files changed, 22 insertions, 21 deletions
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4b09fc8..e071bba 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,8 +3,8 @@
   <component name="ChangeListManager">
     <list default="true" id="a9164191-d370-492b-893b-7d5187d87f7c" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/css/custom.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/css/custom.css" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/src/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/main.go" beforeDir="false" afterPath="$PROJECT_DIR$/src/main.go" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -14,20 +14,20 @@
   </component>
   <component name="FileEditorManager">
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="225">
-      <file pinned="false" current-in-tab="false">
+      <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="663">
-              <caret line="243" column="41" selection-start-line="243" selection-start-column="41" selection-end-line="243" selection-end-column="41" />
+            <state relative-caret-position="825">
+              <caret line="55" column="16" selection-start-line="55" selection-start-column="16" selection-end-line="55" selection-end-column="16" />
             </state>
           </provider>
         </entry>
       </file>
-      <file pinned="false" current-in-tab="true">
+      <file pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/src/css/custom.css">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="420">
-              <caret line="28" selection-start-line="28" selection-end-line="28" />
+            <state relative-caret-position="375">
+              <caret line="25" selection-start-line="25" selection-end-line="25" />
             </state>
           </provider>
         </entry>
@@ -51,15 +51,14 @@
     <option name="CHANGED_PATHS">
       <list>
         <option value="$PROJECT_DIR$/src/redesign2.html" />
-        <option value="$PROJECT_DIR$/src/index.html" />
         <option value="$PROJECT_DIR$/src/css/custom.css" />
+        <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" />
+    <option name="width" value="960" />
+    <option name="height" value="1061" />
   </component>
   <component name="ProjectView">
     <navigator proportions="" version="1">
@@ -116,6 +115,7 @@
   </component>
   <component name="ToolWindowManager">
     <frame x="-2" y="0" width="1924" height="1063" extended-state="6" />
+    <editor active="true" />
     <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" />
@@ -177,17 +177,17 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/src/index.html">
+    <entry file="file://$PROJECT_DIR$/src/css/custom.css">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="663">
-          <caret line="243" column="41" selection-start-line="243" selection-start-column="41" selection-end-line="243" selection-end-column="41" />
+        <state relative-caret-position="375">
+          <caret line="25" selection-start-line="25" selection-end-line="25" />
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/src/css/custom.css">
+    <entry file="file://$PROJECT_DIR$/src/index.html">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="420">
-          <caret line="28" selection-start-line="28" selection-end-line="28" />
+        <state relative-caret-position="825">
+          <caret line="55" column="16" selection-start-line="55" selection-start-column="16" selection-end-line="55" selection-end-column="16" />
         </state>
       </provider>
     </entry>
diff --git a/src/images/barnes-hut-full.png b/src/images/barnes-hut-full.png
new file mode 100644
index 0000000..b55be72
--- /dev/null
+++ b/src/images/barnes-hut-full.png
Binary files differdiff --git a/src/index.html b/src/index.html
index df4b1ff..c58a5df 100644
--- a/src/index.html
+++ b/src/index.html
@@ -44,15 +44,16 @@
         <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://writeup.emile.space">Writeup (en) </a>
+                <a class="p-2 text-muted" href="http://writeup-de.emile.space">Writeup (de)</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="#">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="/images/barnes-hut-full.png">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>
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("./"))))
 }