@@ -31,26 +31,24 @@ const LoginPage = () => {
Welcome Back!
-
- To keep connected with us please login with your personal info
-
+
Please login with your personal info
-
Hello, Friend!
-
Enter your personal details and start journey with us
+
Hello, Instructor!
+
Please enter your personal details here
diff --git a/src/pages/SignIn.jsx b/src/pages/SignIn.jsx
index b6a203a..9976eb5 100644
--- a/src/pages/SignIn.jsx
+++ b/src/pages/SignIn.jsx
@@ -31,22 +31,16 @@ function SignInForm() {
return (
diff --git a/src/pages/SignUp.jsx b/src/pages/SignUp.jsx
index 64d9042..4617f1d 100644
--- a/src/pages/SignUp.jsx
+++ b/src/pages/SignUp.jsx
@@ -18,7 +18,7 @@ function SignUpForm() {
const { name, email, password } = state;
alert(
- `You are sign up with name: ${name} email: ${email} and password: ${password}`
+ `You are signed in with name: ${name} email: ${email} and password: ${password}`
);
for (const key in state) {
@@ -29,20 +29,18 @@ function SignUpForm() {
}
};
+ const googleAuth = () => {
+ window.open("https://byte-camp-auth-service.fly.dev/auth/google", "_self");
+ };
+
return (
);
diff --git a/src/routers/AppRouter.jsx b/src/routers/AppRouter.jsx
index 0ca9c86..5899d8f 100644
--- a/src/routers/AppRouter.jsx
+++ b/src/routers/AppRouter.jsx
@@ -11,6 +11,7 @@ import HomePage from "../pages/HomePage";
import LoginPage from "../pages/LoginPage";
import PageCodeEditor from "../pages/CodeEditor";
import PageNotFound from "../pages/PageNotFound";
+import AssignmentPage from "../pages/AssignmentPage";
import Hero from "../components/Hero";
import Navbar from "../components/Navbar";
import Services from "../components/Services";
@@ -20,16 +21,14 @@ const AppRouter = () => {
return (
- {/*
*/}
-
-
-
+
+
>
}
/>
@@ -43,7 +42,7 @@ const AppRouter = () => {
/>
} />
@@ -53,7 +52,7 @@ const AppRouter = () => {
} />
-
+
diff --git a/src/scss/page/_login.scss b/src/scss/page/_login.scss
index d80b2f5..145d026 100644
--- a/src/scss/page/_login.scss
+++ b/src/scss/page/_login.scss
@@ -1,3 +1,21 @@
+// .login-page {
+// min-height: 100vh;
+// display: flex;
+// justify-content: center;
+// align-items: center;
+
+// background-image: url("../../../public/images/grid-background.png");
+// background-size: cover;
+// background-position: center;
+// background-repeat: no-repeat;
+// background-attachment: fixed;
+
+// section {
+// width: 100%;
+// max-width: 800px;
+// padding: 20px;
+// }
+// }
.App {
font-family: sans-serif;
text-align: center;
@@ -10,7 +28,12 @@
}
body {
- background: #f6f5f7;
+ background: transparent;
+ background-image: url("../../../public/images/grid-background.jpg");
+ background-size: cover;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
@@ -27,6 +50,8 @@ h1 {
h2 {
text-align: center;
+ color: #fff;
+ text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
p {
@@ -227,8 +252,8 @@ input {
justify-content: center;
align-items: center;
margin: 0 5px;
- height: 40px;
- width: 40px;
+ height: 60px;
+ width: 60px;
}
footer {
diff --git a/src/scss/page/assignment.scss b/src/scss/page/assignment.scss
new file mode 100644
index 0000000..04c9baf
--- /dev/null
+++ b/src/scss/page/assignment.scss
@@ -0,0 +1,198 @@
+// Assignment Page Styling
+
+.assignment-page {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 2rem;
+
+ section {
+ width: 100%;
+ max-width: 900px;
+ }
+
+ .assignment-header {
+ margin-bottom: 2rem;
+ border-bottom: 1px solid #e0e0e0;
+ padding-bottom: 1rem;
+
+ h2 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ color: #ffffff;
+ }
+
+ .due-date {
+ color: #c6c6c6;
+ font-size: 1.2rem;
+ }
+ }
+
+ .assignment-container {
+ background-color: #fff;
+ border-radius: 8px;
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ padding: 2rem;
+
+ .assignment-info {
+ margin-bottom: 2rem;
+
+ h3 {
+ font-size: 1.4rem;
+ margin-bottom: 0.5rem;
+ color: #333;
+ }
+
+ .files-count {
+ font-size: 1rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .submission-note {
+ font-size: 0.9rem;
+ color: #666;
+ }
+ }
+
+ .file-upload-section {
+ margin-bottom: 2rem;
+
+ .upload-buttons {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 1.5rem;
+ flex-wrap: wrap;
+
+ .file-upload-btn,
+ .record-audio-btn,
+ .record-video-btn {
+ background-color: #f5f5f5;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ padding: 0.6rem 1rem;
+ cursor: pointer;
+ font-size: 0.9rem;
+ transition: all 0.2s ease;
+ color: #333;
+
+ &:hover {
+ background-color: #e9e9e9;
+ }
+ }
+ }
+
+ .files-list {
+ background-color: #f9f9f9;
+ border-radius: 6px;
+ padding: 1rem;
+
+ h4 {
+ margin-bottom: 0.8rem;
+ font-size: 1rem;
+ }
+
+ ul {
+ list-style: none;
+ padding: 0;
+
+ .file-item {
+ display: flex;
+ align-items: center;
+ padding: 0.5rem 0;
+ border-bottom: 1px solid #eee;
+
+ &:last-child {
+ border-bottom: none;
+ }
+
+ .file-name {
+ flex-grow: 1;
+ font-weight: 500;
+ }
+
+ .file-size {
+ color: #777;
+ margin: 0 1rem;
+ font-size: 0.8rem;
+ }
+
+ .remove-file-btn {
+ background-color: transparent;
+ border: none;
+ color: #ff5252;
+ cursor: pointer;
+ font-size: 0.8rem;
+ padding: 0.3rem 0.6rem;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .comments-section {
+ margin-bottom: 2rem;
+
+ h4 {
+ margin-bottom: 0.8rem;
+ font-size: 1rem;
+ }
+
+ textarea {
+ width: 100%;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ padding: 0.8rem;
+ font-family: inherit;
+ resize: vertical;
+
+ &:focus {
+ outline: none;
+ border-color: #4a90e2;
+ }
+ }
+ }
+
+ .submission-buttons {
+ display: flex;
+ gap: 1rem;
+
+ .submit-btn,
+ .cancel-btn {
+ padding: 0.7rem 1.5rem;
+ border-radius: 4px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: all 0.2s ease;
+ }
+
+ .submit-btn {
+ background-color: #4a90e2;
+ color: white;
+ border: none;
+
+ &:hover {
+ background-color: #3a7bc8;
+ }
+
+ &:disabled {
+ background-color: #a0c3e8;
+ cursor: not-allowed;
+ }
+ }
+
+ .cancel-btn {
+ background-color: transparent;
+ border: 1px solid #ddd;
+ color: #666;
+
+ &:hover {
+ background-color: #f5f5f5;
+ }
+ }
+ }
+ }
+}
diff --git a/src/scss/styles.scss b/src/scss/styles.scss
index 6379fda..aeb88bb 100644
--- a/src/scss/styles.scss
+++ b/src/scss/styles.scss
@@ -13,6 +13,7 @@
@use "./page//home";
@use "./page//login";
@use "./page/code_editor";
+@use "./page/assignment";
// Utilities
@use "./utilities/utility-classes";