Updated initial diagram and adding fontawesome

This commit is contained in:
Knut Sveidqvist
2019-11-23 17:14:40 +01:00
parent 48c28bfe0d
commit 731fbf13e8
6 changed files with 11 additions and 12 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -59,3 +59,4 @@ button:active {
button:focus {
border-color: #666;
}
+1
View File
@@ -9,6 +9,7 @@
<link rel='icon' type='image/png' href='favicon.png'>
<link rel='stylesheet' href='styles.css'>
<link rel='stylesheet' href='bundle.css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+1 -1
View File
@@ -26,5 +26,5 @@ body {
}
i {
font-size: 11px;
font-size: 10px !important;
}
-1
View File
@@ -23,6 +23,5 @@
</script>
<style>
</style>
<Router {routes}/>
+6 -8
View File
@@ -18,15 +18,13 @@ export const fromUrl = data => {
}
code = state.code;
} catch (e) {
console.error('Init error', e);
// console.error('Init error', e);
code = `graph TD
A[Client] --> B[Load Balancer2]
B --> C[Server01]
B --> D[Server02]
D --> F[Server03]
D --> I[Server02]
D --> H[Server05]
D --> G[Server04]
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
`;
state = { code, mermaid: { theme: 'default' } };
}