aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-17 16:21:26 +0800
committercrupest <crupest@outlook.com>2019-02-17 16:21:26 +0800
commit122a28595e45c6ec48a773ca1284238566d497d3 (patch)
tree6aed1ab9e4eef14360ad8c52fbb7d0b9943d10d9 /Timeline/ClientApp/src
parentcf593ab4ab22b9ad905763812321bc76931b6cb8 (diff)
downloadtimeline-122a28595e45c6ec48a773ca1284238566d497d3.tar.gz
timeline-122a28595e45c6ec48a773ca1284238566d497d3.tar.bz2
timeline-122a28595e45c6ec48a773ca1284238566d497d3.zip
Update the ugly favicon and add it to the toolbar.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r--Timeline/ClientApp/src/app/app.component.html3
-rw-r--r--Timeline/ClientApp/src/assets/icon.svg7
-rw-r--r--Timeline/ClientApp/src/assets/timeline.svg10
3 files changed, 9 insertions, 11 deletions
diff --git a/Timeline/ClientApp/src/app/app.component.html b/Timeline/ClientApp/src/app/app.component.html
index cb5da0fa..9d20bc91 100644
--- a/Timeline/ClientApp/src/app/app.component.html
+++ b/Timeline/ClientApp/src/app/app.component.html
@@ -1,6 +1,7 @@
<body>
<mat-toolbar color="primary" class="mat-elevation-z4">
- <a mat-button routerLink="/">Timeline</a>
+ <a mat-button routerLink="/">
+ <img width="30" height="30" src="assets/icon.svg"> Timeline</a>
<a mat-button routerLink="/todo">TodoList</a>
<span class="fill-remaining-space"></span>
<button mat-icon-button>
diff --git a/Timeline/ClientApp/src/assets/icon.svg b/Timeline/ClientApp/src/assets/icon.svg
new file mode 100644
index 00000000..a04bddac
--- /dev/null
+++ b/Timeline/ClientApp/src/assets/icon.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000">
+<line fill="none" stroke="#ffffff" stroke-width="200" x1="500" y1="0" x2="500" y2="250"/>
+<circle fill="none" stroke="#ffffff" stroke-width="120" cx="500" cy="500" r="250"/>
+<line fill="none" stroke="#ffffff" stroke-width="200" x1="500" y1="750" x2="500" y2="1000"/>
+</svg>
diff --git a/Timeline/ClientApp/src/assets/timeline.svg b/Timeline/ClientApp/src/assets/timeline.svg
deleted file mode 100644
index 1a01305f..00000000
--- a/Timeline/ClientApp/src/assets/timeline.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
- width="1000pt" height="1000pt" viewBox="0 0 1000 1000">
-<line fill="none" stroke="#2A60FF" stroke-width="80" x1="400" y1="0" x2="400" y2="250"/>
-<line fill="none" stroke="#2A60FF" stroke-width="80" x1="600" y1="0" x2="600" y2="250"/>
-<circle fill="none" stroke="#2A60FF" stroke-width="100" cx="500" cy="500" r="250"/>
-<line fill="none" stroke="#2A60FF" stroke-width="80" x1="400" y1="750" x2="400" y2="1000"/>
-<line fill="none" stroke="#2A60FF" stroke-width="80" x1="600" y1="750" x2="600" y2="1000"/>
-</svg>