summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2026-11-17 00:34:38 -0500
committerKai Gunger <kgunger12@gmail.com>2026-11-17 00:34:38 -0500
commit2c1c4ac780fe3cc84813d996ffca723ee2e2216a (patch)
tree5817eb1daa8f831cd5c6d929ec2cc11262e0c412
parent85380a96ac5de7edb341f265339f9d409f821bf2 (diff)
Login page
-rw-r--r--FEATURE_PLAN.md69
-rw-r--r--assets/comxii.svg35
-rw-r--r--assets/profile.pngbin0 -> 7760 bytes
-rw-r--r--comic/index.html2
-rw-r--r--comic/viewer.html2
-rw-r--r--index.html9
-rw-r--r--login.html20
-rw-r--r--scripts/signup.js0
-rw-r--r--signup.html50
-rw-r--r--styles/base.css52
-rw-r--r--styles/login.css44
-rw-r--r--styles/signup.css44
-rw-r--r--terms.html40
13 files changed, 352 insertions, 15 deletions
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 @@
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
- width="90mm"
+ width="100mm"
height="30mm"
- viewBox="0 0 89.999999 30.000001"
+ viewBox="0 0 99.999999 30.000001"
version="1.1"
id="svg1"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
- id="defs1" />
+ id="defs1">
+ <linearGradient
+ id="linearGradient1">
+ <stop
+ style="stop-color:#000000;stop-opacity:0;"
+ offset="0"
+ id="stop1" />
+ <stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="1"
+ id="stop2" />
+ </linearGradient>
+ <linearGradient
+ xlink:href="#linearGradient1"
+ id="linearGradient2"
+ x1="34.736897"
+ y1="15.000118"
+ x2="90.000191"
+ y2="15.000118"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(9.9998093)" />
+ </defs>
+ <path
+ id="rect1"
+ style="fill:url(#linearGradient2);stroke-width:1.60766"
+ d="M 44.736707,0 V 30.000236 H 84.999882 A 15,15 0 0 0 100,15.000118 15,15 0 0 0 84.999882,0 Z" />
<g
- id="layer1">
+ id="layer1"
+ transform="translate(5)">
<g
id="g5"
transform="translate(1.4006064)">
diff --git a/assets/profile.png b/assets/profile.png
new file mode 100644
index 0000000..7689c3a
--- /dev/null
+++ b/assets/profile.png
Binary files 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 @@
</content>
<footer>
- (C) ComXII 2026
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
</footer>
</body>
</html> \ 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 @@
</content>
<footer>
- (C) ComXII 2026
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
</footer>
<script src="../scripts/viewer.js"></script>
diff --git a/index.html b/index.html
index 9d4c33b..fc45261 100644
--- a/index.html
+++ b/index.html
@@ -22,8 +22,11 @@
</div>
<!-- User profile -->
- <div id="user-menu">
-
+ <div id="user-nav">
+ <a href="./login.html">
+ <img id="user-profile" alt="User Profile Photo" src="./assets/profile.png">
+ </a>
+ <a href="./login.html" id="user-link" class="secondary" style="height: auto; margin-left: 15px;">Login</a>
</div>
</nav>
@@ -32,7 +35,7 @@
</content>
<footer>
- (C) ComXII 2026
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
</footer>
</body>
</html> \ 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 @@
<title>Login</title>
<link type="text/css" rel="stylesheet" href="./styles/base.css" />
+ <link type="text/css" rel="stylesheet" href="./styles/login.css" />
</head>
<body>
<nav>
<!-- Logo for ComXII -->
- <div>
+ <div id="logo-nav">
<a href="./">
<img id="logo" alt="ComXII Home Page" src="./assets/comxii.svg" />
</a>
@@ -22,17 +23,26 @@
</div>
<!-- User profile -->
- <div id="user-menu">
-
+ <div id="user-nav">
+ <a href="./login.html">
+ <img id="user-profile" alt="User Profile Photo" src="./assets/profile.png">
+ </a>
+ <a href="./login.html" id="user-link" class="secondary" style="height: auto; margin-left: 15px;">Login</a>
</div>
</nav>
<content>
-
+ <div class="login">
+ <h1>Login</h1>
+ <div><label for="username">Username:</label><input type="text" id="username" /></div>
+ <div><label for="password">Password:</label><input type="password" id="password" /></div>
+ <button id="login">Login</button>
+ <span style="text-align: center; margin-top:15px;">Don't have an account? <a href="./signup.html">Sign Up</a></span>
+ </div>
</content>
<footer>
- (C) ComXII 2026
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
</footer>
</body>
</html> \ No newline at end of file
diff --git a/scripts/signup.js b/scripts/signup.js
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/scripts/signup.js
diff --git a/signup.html b/signup.html
new file mode 100644
index 0000000..a6cfa89
--- /dev/null
+++ b/signup.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Sign Up</title>
+
+ <link type="text/css" rel="stylesheet" href="./styles/base.css" />
+ <link type="text/css" rel="stylesheet" href="./styles/signup.css" />
+</head>
+<body>
+ <nav>
+ <!-- Logo for ComXII -->
+ <div id="logo-nav">
+ <a href="./">
+ <img id="logo" alt="ComXII Home Page" src="./assets/comxii.svg" />
+ </a>
+ </div>
+
+ <!-- Nav menu -->
+ <div id="main-nav">
+
+ </div>
+
+ <!-- User profile -->
+ <div id="user-nav">
+ <a href="./login.html">
+ <img id="user-profile" alt="User Profile Photo" src="./assets/profile.png">
+ </a>
+ <a href="./login.html" id="user-link" class="secondary" style="height: auto; margin-left: 15px;">Login</a>
+ </div>
+ </nav>
+
+ <content>
+ <div class="signup">
+ <h1>Sign Up</h1>
+ <div><label for="username">Username:</label><input type="text" id="username" /></div>
+ <div><label for="email">E-Mail Address:</label><input type="email" id="email" /></div>
+ <div><label for="password">Password:</label><input type="password" id="password" /></div>
+ <div><label for="password_confirm">Confirm Password:</label><input type="password" id="password_confirm" /></div>
+ <button id="signup">Sign Up</button>
+ <span style="text-align: center; margin-top:15px;">Have an account? <a href="./login.html">Login</a></span>
+ </div>
+ </content>
+
+ <footer>
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
+ </footer>
+</body>
+</html> \ 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 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Terms</title>
+
+ <link type="text/css" rel="stylesheet" href="/styles/base.css" />
+</head>
+<body>
+ <nav>
+ <!-- Logo for ComXII -->
+ <div id="logo-nav">
+ <a href="/">
+ <img id="logo" alt="ComXII Home Page" src="/assets/comxii.svg" />
+ </a>
+ </div>
+
+ <!-- Nav menu -->
+ <div id="main-nav">
+
+ </div>
+
+ <!-- User profile -->
+ <div id="user-nav">
+ <a href="/login.html">
+ <img id="user-profile" alt="User Profile Photo" src="/assets/profile.png">
+ </a>
+ </div>
+ </nav>
+
+ <content>
+
+ </content>
+
+ <footer>
+ <span>(C) <a href="https://cshift.net" class="secondary">CircleShift</a> 2026</span>
+ </footer>
+</body>
+</html> \ No newline at end of file