From 2c1c4ac780fe3cc84813d996ffca723ee2e2216a Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Tue, 17 Nov 2026 00:34:38 -0500 Subject: Login page --- FEATURE_PLAN.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ assets/comxii.svg | 35 +++++++++++++++++++++++---- assets/profile.png | Bin 0 -> 7760 bytes comic/index.html | 2 +- comic/viewer.html | 2 +- index.html | 9 ++++--- login.html | 20 ++++++++++++---- scripts/signup.js | 0 signup.html | 50 ++++++++++++++++++++++++++++++++++++++ styles/base.css | 52 +++++++++++++++++++++++++++++++++++++++- styles/login.css | 44 ++++++++++++++++++++++++++++++++++ styles/signup.css | 44 ++++++++++++++++++++++++++++++++++ terms.html | 40 +++++++++++++++++++++++++++++++ 13 files changed, 352 insertions(+), 15 deletions(-) create mode 100644 FEATURE_PLAN.md create mode 100644 assets/profile.png create mode 100644 scripts/signup.js create mode 100644 signup.html create mode 100644 styles/login.css create mode 100644 styles/signup.css create mode 100644 terms.html diff --git a/FEATURE_PLAN.md b/FEATURE_PLAN.md new file mode 100644 index 0000000..e67373c --- /dev/null +++ b/FEATURE_PLAN.md @@ -0,0 +1,69 @@ +# Feature roadmap: + +## Main page + +Depends on: +- Rows of comics + - First row subscribed (with unread first) + - Second row history + - Third row onwards discover (requires backend algo) + - Discover varieties: + - By theme + - Staff picks + - Inferred user algo + - Random + +## Login page + +Depends on: +- Backend + - Session management + - User auth flow (base + salt + digest func) + - OAuth flows (Google, etc) + - DB connection + user storage + +## Search pages + +Depends on: +- Backend + - Search frameworks (indexing of comics, comic types and tags) + - User indexing + +## Purchase page + +Depends on: +- Backend + - User credit management + - Payment processor integration + +## Comic index page + +Depends on: +- Backend + - CDN for content (or just host) + - Comic indexing framework (comic author + name? uuid?) + - Comic object (page or chapter? vertical or horizontal?) + +Later: +- Custom style +- Blog? +- Comments? +- Custom domain? Requires integration into server framework... + +## Comic view page + +Depends on: +- Backend + - CDN for content + - View api (ltr or rtl? vertical? chapter or page based?) + +Later: +- Custom style +- Blog? +- Comments? + +## Create page + +Depends on + +# Edit page \ No newline at end of file diff --git a/assets/comxii.svg b/assets/comxii.svg index 536e691..12f0c57 100644 --- a/assets/comxii.svg +++ b/assets/comxii.svg @@ -2,17 +2,44 @@ + id="defs1"> + + + + + + + + id="layer1" + transform="translate(5)"> diff --git a/assets/profile.png b/assets/profile.png new file mode 100644 index 0000000..7689c3a Binary files /dev/null and b/assets/profile.png differ diff --git a/comic/index.html b/comic/index.html index a06243c..cdd2487 100644 --- a/comic/index.html +++ b/comic/index.html @@ -32,7 +32,7 @@
- (C) ComXII 2026 +
(C) CircleShift 2026 \ No newline at end of file diff --git a/comic/viewer.html b/comic/viewer.html index 75ffcb5..7e8341a 100644 --- a/comic/viewer.html +++ b/comic/viewer.html @@ -32,7 +32,7 @@ diff --git a/index.html b/index.html index 9d4c33b..fc45261 100644 --- a/index.html +++ b/index.html @@ -22,8 +22,11 @@ -
- + @@ -32,7 +35,7 @@ \ No newline at end of file diff --git a/login.html b/login.html index 05c15bf..9f53fab 100644 --- a/login.html +++ b/login.html @@ -6,11 +6,12 @@ Login + - + \ No newline at end of file diff --git a/scripts/signup.js b/scripts/signup.js new file mode 100644 index 0000000..e69de29 diff --git a/signup.html b/signup.html new file mode 100644 index 0000000..a6cfa89 --- /dev/null +++ b/signup.html @@ -0,0 +1,50 @@ + + + + + + Sign Up + + + + + + + + + + + + + + \ No newline at end of file diff --git a/styles/base.css b/styles/base.css index 338b19f..f5a3085 100644 --- a/styles/base.css +++ b/styles/base.css @@ -23,17 +23,40 @@ nav { display: flex; background-color: #9f3050; + padding: 0 15px 0 15px; + height: 64px; } +nav a { + display: block; + height: 100%; +} + +#main-nav { + flex:1; +} + +#user-nav { + margin: 5px 0; + display: flex; + align-items: center; +} + #logo { height: 100%; } +#user-profile { + height: 100%; + border-radius: 50%; + border: 4px solid #ffecdc; +} content { display:flex; + flex-direction: column; width: 100vw; min-height: calc(100vh - 128px); padding: 10px 10px 10px 10px; @@ -54,4 +77,31 @@ footer { background-color: #777; color: #eee; -} \ No newline at end of file +} + +a { + color: #9f3050; + text-decoration: none; + font-weight: bold; + transition-duration: 0.2s; +} + +a:hover { + color: #c24166; +} + +a:active { + color: #85233f; +} + +a.secondary { + color: #ffecdc; +} + +a.secondary:hover { + color: white; +} + +a.secondary:active { + color: #e4c1a5 +} diff --git a/styles/login.css b/styles/login.css new file mode 100644 index 0000000..43ca200 --- /dev/null +++ b/styles/login.css @@ -0,0 +1,44 @@ +content { + justify-content: center; + align-items: center; +} + +.login { + display: flex; + flex-direction: column; + width: 500px; + border-radius: 5px; + background: white; + box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3); + padding: 15px; +} + +.login > div { + display: flex; + margin-bottom: 5px; +} + +.login > div > * { + flex: 1; +} + +#login { + width: 50%; + border: none; + border-radius: 5px; + font-size: x-large; + color: white; + background-color: #9f3050; + margin-left: 25%; + margin-top: 15px; + cursor: pointer; + transition-duration: 0.2s; +} + +#login:hover { + background-color: #c24166; +} + +#login:active { + background-color: #85233f; +} \ No newline at end of file diff --git a/styles/signup.css b/styles/signup.css new file mode 100644 index 0000000..bb1ba0d --- /dev/null +++ b/styles/signup.css @@ -0,0 +1,44 @@ +content { + justify-content: center; + align-items: center; +} + +.signup { + display: flex; + flex-direction: column; + width: 500px; + border-radius: 5px; + background: white; + box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3); + padding: 15px; +} + +.signup > div { + display: flex; + margin-bottom: 5px; +} + +.signup > div > * { + flex: 1; +} + +#signup { + width: 50%; + border: none; + border-radius: 5px; + font-size: x-large; + color: white; + background-color: #9f3050; + margin-left: 25%; + margin-top: 15px; + cursor: pointer; + transition-duration: 0.2s; +} + +#signup:hover { + background-color: #c24166; +} + +#signup:active { + background-color: #85233f; +} \ No newline at end of file diff --git a/terms.html b/terms.html new file mode 100644 index 0000000..bec38ba --- /dev/null +++ b/terms.html @@ -0,0 +1,40 @@ + + + + + + Terms + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.3.1