From a6667ba82fbcad8e1eb74c4ab57ec07c1717d457 Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 18:33:46 +0100 Subject: [PATCH 1/6] burn after reading unchecked --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 490dd1d..6fb3964 100644 --- a/src/App.js +++ b/src/App.js @@ -22,7 +22,7 @@ function SaveNoteScreen({ setAlert }) { const [disabledTextArea, setTextAreaDisabled] = useState(false) // to disable text area when save button is hit const [toggleOn, setToggle] = useState(true) // to change save button into start again button const [expiration, setExpiration] = useState(1) // to set the time to delete the secret note on BE - const [burnChecked, setBurnChecked] = useState(true) + const [burnChecked, setBurnChecked] = useState(false) const expirationTranslationTable = { 1: { From 1304ba25ca56bb9eda225aa1bc7e908276ad6ed8 Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 19:19:45 +0100 Subject: [PATCH 2/6] add new action --- src/App.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.js b/src/App.js index 6fb3964..44a2dfc 100644 --- a/src/App.js +++ b/src/App.js @@ -319,6 +319,7 @@ function DisplayNoteScreen( setAlert ) { { deleted === false && } { deleted === true && } + Create new secret From 3bc315537ea8ffa8df7c7906b322177b9a6ce0c1 Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 19:19:56 +0100 Subject: [PATCH 3/6] making colors less crazy --- src/scss/custom.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/custom.scss b/src/scss/custom.scss index 9aa808f..9d51d86 100644 --- a/src/scss/custom.scss +++ b/src/scss/custom.scss @@ -14,7 +14,8 @@ //#edc5e6 - background pink $primary: #FCD021; -$secondary: #A51080; +$secondary: #34495E; +$danger: #AC3B61; $lightpink: #edc5e6; $form-range-thumb-bg: $secondary; $form-range-track-bg: $lightpink; From cea250c1375b2b752b92a36c7eddda400929164a Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 20:07:55 +0100 Subject: [PATCH 4/6] seven days expiration by default --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 44a2dfc..2812737 100644 --- a/src/App.js +++ b/src/App.js @@ -21,7 +21,7 @@ function SaveNoteScreen({ setAlert }) { const [url, setUrl] = useState(null); // to picture the url on UI const [disabledTextArea, setTextAreaDisabled] = useState(false) // to disable text area when save button is hit const [toggleOn, setToggle] = useState(true) // to change save button into start again button - const [expiration, setExpiration] = useState(1) // to set the time to delete the secret note on BE + const [expiration, setExpiration] = useState(5) // to set the time to delete the secret note on BE const [burnChecked, setBurnChecked] = useState(false) const expirationTranslationTable = { From dfa8ba54242c9f0dd302336e8deba58fceda8ac3 Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 20:10:14 +0100 Subject: [PATCH 5/6] smaller link to unicorns --- src/Unicorns.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Unicorns.js b/src/Unicorns.js index 320b971..acce2c0 100644 --- a/src/Unicorns.js +++ b/src/Unicorns.js @@ -105,13 +105,7 @@ function LinkToUnicorns() { return ( ) From 6ed7fd9e42a96d6ea8e68e0e25ad8c6c8ab1371e Mon Sep 17 00:00:00 2001 From: eliska Date: Fri, 17 Nov 2023 20:13:27 +0100 Subject: [PATCH 6/6] new secondary color --- public/img/teskalabs-logo.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/img/teskalabs-logo.svg b/public/img/teskalabs-logo.svg index 89947ed..a043c06 100644 --- a/public/img/teskalabs-logo.svg +++ b/public/img/teskalabs-logo.svg @@ -6,7 +6,7 @@ - +