From c8991cd329ec79be889ac6a06834499be164e10a Mon Sep 17 00:00:00 2001
From: btskyo <141910082+btskyo@users.noreply.github.com>
Date: Wed, 16 Oct 2024 21:59:43 +0800
Subject: [PATCH 1/4] Update index.html
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
加了一个sign up按钮事件
---
frontend/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/index.html b/frontend/index.html
index 1e56c24..f772f7a 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -31,7 +31,7 @@
Notes
IDE
Contact Us
- Sign Up
+ Sign Up
Login
From 3ed8d25b1b1b5a22f4c99bf7ea643e5f393648e6 Mon Sep 17 00:00:00 2001
From: btskyo <141910082+btskyo@users.noreply.github.com>
Date: Wed, 16 Oct 2024 22:01:06 +0800
Subject: [PATCH 2/4] Update styles.css
new register
---
frontend/styles.css | 53 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 52 insertions(+), 1 deletion(-)
diff --git a/frontend/styles.css b/frontend/styles.css
index aa7056f..8573866 100644
--- a/frontend/styles.css
+++ b/frontend/styles.css
@@ -502,4 +502,55 @@ body {
width: 100%;
}
}
- }
\ No newline at end of file
+ }
+
+ /* new register */
+ .register-section {
+ text-align: center;
+ padding: 50px;
+}
+
+.register-form {
+ display: inline-block;
+ text-align: left;
+ max-width: 400px;
+ width: 100%;
+ margin: auto;
+}
+
+.register-form input {
+ width: 100%;
+ padding: 10px;
+ margin-bottom: 15px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+.btn-primary {
+ background-color: #3498db;
+ color: #fff;
+ padding: 10px 20px;
+ border: none;
+ cursor: pointer;
+}
+
+.oauth-buttons {
+ display: flex;
+ justify-content: center;
+ gap: 10px;
+}
+
+.btn-oauth {
+ text-decoration: none;
+ color: white;
+ padding: 10px 20px;
+ border-radius: 4px;
+}
+
+.btn-oauth.google {
+ background-color: #db4437;
+}
+
+.btn-oauth.github {
+ background-color: #333;
+}
From 2b968d38600941d8e3bb84176cfe271172c470cd Mon Sep 17 00:00:00 2001
From: btskyo
Date: Wed, 16 Oct 2024 22:06:42 +0800
Subject: [PATCH 3/4] Create Sign-Up Page
---
frontend/index.html | 11 +++++-----
frontend/script.js | 34 +++++++++++++++++++++++++++++
frontend/styles.css | 53 ++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 91 insertions(+), 7 deletions(-)
diff --git a/frontend/index.html b/frontend/index.html
index 1e56c24..28a6412 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -25,13 +25,13 @@
-
+
@@ -50,7 +50,7 @@ Your Courses
You haven't bought any courses yet.
-
+
Recommended Courses
@@ -134,7 +134,6 @@
Connect With Us
-