From 14bbea4c9ff568f5c9694f537c161efef76dc7e5 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 15 May 2023 21:07:36 -0700 Subject: [PATCH] Add welcome page --- app/src/main/assets/memories.svg | 79 ++++++++++++++++++++++++++++++++ app/src/main/assets/styles.css | 74 ++++++++++++++++++++++++++++++ app/src/main/assets/welcome.html | 28 +++++++++++ 3 files changed, 181 insertions(+) create mode 100644 app/src/main/assets/memories.svg create mode 100644 app/src/main/assets/styles.css create mode 100644 app/src/main/assets/welcome.html diff --git a/app/src/main/assets/memories.svg b/app/src/main/assets/memories.svg new file mode 100644 index 00000000..e0038bfc --- /dev/null +++ b/app/src/main/assets/memories.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/assets/styles.css b/app/src/main/assets/styles.css new file mode 100644 index 00000000..2d9e3d4a --- /dev/null +++ b/app/src/main/assets/styles.css @@ -0,0 +1,74 @@ +body { + margin: 0; + padding: 0; + --theme-color: #2b94f0; + overflow: hidden; +} + +* { + user-select: none; + -webkit-user-select: none; + -webkit-touch-callout: none; + -webkit-tap-highlight-color: transparent; +} + +.container { + width: 90vw; + max-width: 800px; + margin: 40px auto; + text-align: center; +} + +p { + color: #666; + font-size: 14px; + margin-bottom: 30px; +} + +.logo { + margin-bottom: 30px; + width: 60vw; + max-width: 400px; +} + +input.m-input { + width: 80vw; + max-width: 800px; + padding: 10px 12px; + font-size: 16px; + border: 1px solid #ccc; + border-radius: 10px; + background-color: #f9f9f9; + color: #333; + outline: none; + transition: border-color 0.3s ease-in-out; +} + +input.m-input:focus { + border-color: #0096FF; + box-shadow: 0 0 4px var(--theme-color); +} + +.m-button { + display: inline-block; + padding: 10px 20px; + font-size: 16px; + font-weight: bold; + color: #fff; + background-color: var(--theme-color); + border: none; + border-radius: 20px; + cursor: pointer; + transition: background-color 0.3s ease-in-out; +} + +.m-button.link { + background-color: unset; + color: var(--theme-color); + text-decoration: none; +} + +.login-button { + margin: 10px; + margin-top: 20px; +} \ No newline at end of file diff --git a/app/src/main/assets/welcome.html b/app/src/main/assets/welcome.html new file mode 100644 index 00000000..341df63a --- /dev/null +++ b/app/src/main/assets/welcome.html @@ -0,0 +1,28 @@ + + + + + Memories + + + +
+ +

+ Start organizing and sharing your precious moments.
+ To begin, enter the URL of your Nextcloud server below. +

+ + + + + + + I don't have a server + +
+ + \ No newline at end of file