From 9d3d651ca76563582af30eccd34d71a695e2ab51 Mon Sep 17 00:00:00 2001 From: vismitap Date: Thu, 25 Feb 2021 02:32:22 +0530 Subject: [PATCH 1/2] Updated the daily quote section - added padding, colour and right-quote img Fixed #373 --- src/app/components/dashboard/dashboard.component.html | 4 ++-- src/app/components/dashboard/dashboard.component.scss | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/components/dashboard/dashboard.component.html b/src/app/components/dashboard/dashboard.component.html index 4d2a9ea4..5c45dd76 100644 --- a/src/app/components/dashboard/dashboard.component.html +++ b/src/app/components/dashboard/dashboard.component.html @@ -96,8 +96,8 @@
Error
- {{quote?.text}} - - {{quote?.author === "" ? 'Anonymous' : quote?.author}} + {{quote?.text}} + - {{quote?.author === "" ? 'Anonymous' : quote?.author}}
diff --git a/src/app/components/dashboard/dashboard.component.scss b/src/app/components/dashboard/dashboard.component.scss index 64e748e9..d76fd749 100644 --- a/src/app/components/dashboard/dashboard.component.scss +++ b/src/app/components/dashboard/dashboard.component.scss @@ -144,24 +144,24 @@ } .quoteText{ - color: black; + color: rgb(78, 4, 78); display: flex; justify-content: center; font-family: 'PT Serif', serif; font-style: italic; font-size: 16px; font-weight: bold; - opacity: 50%; + opacity: 80%; } .quoteAuthor{ - color: black; + color: brown; display: flex; justify-content: center; font-family: 'PT Serif', serif; font-style: italic; font-size: 16px; - opacity: 50%; + opacity: 80%; font-weight: bold; } From 8a80716d61079f7e03b0c50818971abcdb5c6e62 Mon Sep 17 00:00:00 2001 From: vismitap Date: Sat, 27 Feb 2021 23:39:02 +0530 Subject: [PATCH 2/2] Quotes json added Fixed #373 --- .../dashboard/dashboard.component.html | 2 +- .../dashboard/dashboard.component.scss | 8 +- .../dashboard/dashboard.component.ts | 10 +- src/interfaces/quotes.ts | 98 +++++++++++++++++++ 4 files changed, 105 insertions(+), 13 deletions(-) create mode 100644 src/interfaces/quotes.ts diff --git a/src/app/components/dashboard/dashboard.component.html b/src/app/components/dashboard/dashboard.component.html index 5c45dd76..2546b21c 100644 --- a/src/app/components/dashboard/dashboard.component.html +++ b/src/app/components/dashboard/dashboard.component.html @@ -1,7 +1,7 @@ -
+