+
+
CBET
@@ -25,19 +22,64 @@ const Landingpage = () => {
+ {/*
+
+ */}
+
-
+
+
+
+
+
-
+
diff --git a/src/styles/Navbar.css b/src/styles/Navbar.css
index 5d605bf..79365fa 100644
--- a/src/styles/Navbar.css
+++ b/src/styles/Navbar.css
@@ -188,5 +188,23 @@
.logout-button:hover {
background-color: #ff3737; /* darker red on hover */
}
+
+}
+
+.nav-link {
+ display: inline-flex;
+ align-items: center;
+ text-decoration: none;
+ color: white;
}
+.nav-link span {
+ margin-right: 5px; /* Adjust the spacing as needed */
+}
+
+.icon {
+ vertical-align: middle;
+}
+
+
+
diff --git a/src/styles/coursefiles.css b/src/styles/coursefiles.css
new file mode 100644
index 0000000..7270941
--- /dev/null
+++ b/src/styles/coursefiles.css
@@ -0,0 +1,314 @@
+.cf-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding-top: 50px;
+ height: 100vh;
+ position: relative;
+ }
+
+
+.cf-heading {
+ color: #ffffff;
+ margin-top: 90px;
+ margin-left: 10px;
+ padding: 0 20px;
+ text-align: left;
+ font-weight: bolder;
+ font-size: 24px;
+ }
+
+
+.cf-content {
+ background-color: #ffffff;
+ font-weight: bold;
+ border-top-left-radius: 50px;
+ border-top-right-radius: 50px;
+ padding-bottom: 10px;
+ width: 100%;
+ padding: 20px;
+ align-items: center;
+ position: absolute;
+ bottom: 0;
+ display: flex;
+ flex-direction: column;
+ height: 75vh;
+ }
+
+
+.cf-content h2 {
+ position: absolute;
+ top: 5%;
+ margin-top: 0;
+ color: #002366;
+ margin-bottom: 20px;
+}
+
+.cf-content ul {
+ position: absolute;
+ top: 17%;
+ list-style: none;
+ text-align: center;
+ width: 100%;
+ padding: 0;
+ margin: 0;
+
+ }
+
+ .cf-content li {
+ background-color: #f0f0f0;
+ width: calc(90% - 10px);
+ margin-bottom: 10px;
+ padding: 15px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-radius: 5px;
+ transition: background-color 0.3s ease;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+.cf-content li:hover {
+background-color: #e0e0e0;
+}
+
+.cf-content i {
+color: #002366;
+}
+
+.go-back {
+ position: inherit;
+ width: 30px;
+ height: 30px;
+ bottom: 12%;
+}
+
+.go-back-icon {
+ color: #ffffff;
+ width: 30px;
+ height: 30px;
+ padding: 0;
+ margin: 0;
+}
+
+@media (min-width: 1058px) {
+ .cf-container {
+ padding-top: 20px;
+ justify-content: center;
+ }
+
+ .cf-content {
+ width: 60%;
+ max-width: 600px;
+ height: auto;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ position: relative;
+ bottom: auto;
+ padding: 40px;
+ }
+ .cf-content h2 {
+ position: static;
+ color: #002366;
+ margin-bottom: 20px;
+ }
+
+ .cf-content ul {
+ position: static;
+ list-style: none;
+ text-align: center;
+ width: 100%;
+ padding: 0;
+ margin: auto;
+
+ }
+
+ .cf-content li {
+ background-color: #f0f0f0;
+ width: calc(90% - 10px);
+ margin-bottom: 10px;
+ padding: 15px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-radius: 5px;
+ transition: background-color 0.3s ease;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ .cf-content li:hover {
+ background-color: #e0e0e0;
+ }
+
+ .cf-content i {
+ color: #002366;
+ }
+
+ .go-back {
+ /* position: absolute; */
+ position: static;
+ width: 30px;
+ height: 30px;
+ /* top: 20%;
+ left: 2%; */
+ }
+
+ .go-back-icon {
+ color: #ffffff;
+ width: 30px;
+ height: 30px;
+ padding: 0;
+ margin: 0;
+ }
+ }
+
+
+ @media (min-width: 902px) {
+ .cf-container {
+ padding-top: 20px;
+ justify-content: center;
+ }
+
+ .cf-content {
+ width: 60%;
+ max-width: 600px;
+ height: auto;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ position: relative;
+ bottom: auto;
+ padding: 40px;
+ }
+
+ .cf-content h2 {
+ /* position: static; */
+ color: #002366;
+ margin-bottom: 20px;
+ }
+
+ .cf-content ul {
+ position: static;
+ list-style: none;
+ text-align: center;
+ width: 100%;
+ padding: 0;
+ margin: auto;
+
+ }
+
+ .cf-content li {
+ background-color: #f0f0f0;
+ width: calc(90% - 10px);
+ margin-bottom: 10px;
+ padding: 15px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-radius: 5px;
+ transition: background-color 0.3s ease;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ .cf-content li:hover {
+ background-color: #e0e0e0;
+ }
+
+ .cf-content i {
+ color: #002366;
+ }
+
+ .go-back {
+ /* position: absolute; */
+ position: static;
+ width: 30px;
+ height: 30px;
+ /* top: 20%;
+ left: 2%; */
+ }
+
+ .go-back-icon {
+ color: #ffffff;
+ width: 30px;
+ height: 30px;
+ padding: 0;
+ margin: 0;
+ }
+
+ }
+
+
+ @media (min-width: 608px) {
+ .cf-container {
+ padding-top: 20px;
+ justify-content: center;
+ }
+
+ .cf-content {
+ width: 60%;
+ max-width: 600px;
+ height: auto;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ position: relative;
+ bottom: auto;
+ padding: 40px;
+ }
+
+ .cf-content h2 {
+ position: static;
+ color: #002366;
+ margin-bottom: 20px;
+ }
+
+ .cf-content ul {
+ position: static;
+ list-style: none;
+ text-align: center;
+ width: 100%;
+ padding: 0;
+ margin: auto;
+
+ }
+
+ .cf-content li {
+ background-color: #f0f0f0;
+ width: calc(90% - 10px);
+ margin-bottom: 10px;
+ padding: 15px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ border-radius: 5px;
+ transition: background-color 0.3s ease;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ .cf-content li:hover {
+ background-color: #e0e0e0;
+ }
+
+ .cf-content i {
+ color: #002366;
+ }
+
+ .go-back {
+ /* position: absolute; */
+ position: static;
+ width: 30px;
+ height: 30px;
+ /* top: 20%;
+ left: 2%; */
+ }
+
+ .go-back-icon {
+ color: #ffffff;
+ width: 30px;
+ height: 30px;
+ padding: 0;
+ margin: 0;
+ }
+ }
\ No newline at end of file
diff --git a/src/styles/landingPage.css b/src/styles/landingPage.css
index a5eb959..c7ff72c 100644
--- a/src/styles/landingPage.css
+++ b/src/styles/landingPage.css
@@ -7,29 +7,29 @@
box-sizing: border-box;
font-family: "poppins";
}
-.container{
+.Landingcontainer{
max-width: 1440px;
padding: 0 50px;
margin: 0 auto;
}
-.content{
+.Landingcontent{
display: flex;
flex-direction: column;
width: 60%;
justify-content: center;
height: 90vh;
}
-.content h2{
+.Landingcontent h2{
font-size: 4.5rem;
- color: #fff;
+ color: #ffffff;
font-family: "ubuntu",sans-serif;
}
-.content p{
+.Landingcontent p{
color: #fff;
line-height: 2;
margin-top: 1rem;
}
-.content a{
+.Landingcontent a{
display: block;
margin: 2rem 0;
width: 21%;
@@ -43,13 +43,13 @@
transition: all 0.3s ease-in-out;
}
-.content .login-button{
+/* .Landingcontent .login-button{
margin-left: 30px;
-}
-.content button:hover,i:hover{
+} */
+.Landingcontent button:hover,i:hover{
background: #3498db;
}
-.content .logos{
+.Landingcontent .logos{
display: flex;
width: 50%;
@@ -59,8 +59,8 @@
}
-.content .logos img{
- width: 40px;
+.Landingcontent .logos img{
+ width: 60px;
border-radius: 50px;
transition: all 0.5s ease-in-out;
margin: 10px;
@@ -81,25 +81,25 @@
/* responsiveness */
@media(max-width: 1058px){
- .container{
+ .Landingcontainer{
padding: 0 25px;
}
- .content h2{
+ .Landingcontent h2{
font-size: 4rem;
}
- .content p{
+ .Landingcontent p{
display: none;
}
- .content .logos img{
+ .Landingcontent .logos img{
margin: 5px 5px;
}
- .content .login-button{
+ .Landingcontent .login-button{
margin-left: 20px;
}
}
@media(max-width: 902px){
- .content{
+ .Landingcontent{
display: flex;
flex-direction: column;
width:100%;
@@ -107,10 +107,10 @@
height: 90vh;
align-items: center;
}
- .content h2{
+ .Landingcontent h2{
font-size: 3.5rem;
}
- .content a{
+ .Landingcontent a{
width: 90%;
margin: 10px 0px;
background-color: #011298;
@@ -118,7 +118,7 @@
margin-left: 20px;
}
- .content .buttons{
+ .Landingcontent .buttons{
flex-direction: column;
width: 100%;
position: absolute;
@@ -131,17 +131,17 @@
}
- .content .logos{
+ .Landingcontent .logos{
justify-content: center;
width: 5%;
}
}
@media(max-width: 562px){
- .content h2{
+ .Landingcontent h2{
font-size: 2.5rem;
}
- .content .buttons{
+ .Landingcontent .buttons{
flex-direction: column;
width: 100%;
position: absolute;
diff --git a/src/styles/signin.css b/src/styles/signin.css
index b36b688..5e13549 100644
--- a/src/styles/signin.css
+++ b/src/styles/signin.css
@@ -92,7 +92,7 @@
.iconContainer {
position: relative;
- margin-right: -11px;
+ margin-right: -12px;
}
.icon {
@@ -202,7 +202,7 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 40px;
+ padding: 10px 40px 14px 40px;
}
.signInText {
@@ -244,6 +244,7 @@
width: 30%;
padding: 15px;
font-size: 16px;
+ margin-bottom: 10px;
}
.forgotPassword {
@@ -251,17 +252,19 @@
}
.socialIcons {
- margin-top: 20px;
+ margin-top: 10px;
}
.socialIcon {
width: 30px;
height: 30px;
- margin: 10px;
+ margin: 5px;
}
.signUpText {
font-size: 18px;
+ padding: 0;
+ margin: 0;
}
}
@@ -280,7 +283,7 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 40px;
+ padding: 10px 40px 14px 40px;
}
.signInText {
@@ -315,7 +318,7 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 40px;
+ padding: 10px 40px 14px 40px;
}
.signInText {
diff --git a/src/styles/signup.css b/src/styles/signup.css
index b253580..5e47dde 100644
--- a/src/styles/signup.css
+++ b/src/styles/signup.css
@@ -206,8 +206,8 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 20px;
- margin: 20px;
+ padding: 10px 40px 14px 40px;
+ margin: 10px;
}
.signInText {
@@ -248,6 +248,7 @@
.signInButton {
width: 30%;
/* padding: 15px; */
+ margin-bottom: 0;
font-size: 16px;
}
@@ -267,6 +268,8 @@
.signUpText {
font-size: 18px;
+ margin: 5px;
+ padding: 0;
}
}
@@ -285,7 +288,7 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 40px;
+ padding: 10px 40px 14px 40px;
}
.signInText {
@@ -320,7 +323,7 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
position: relative;
bottom: auto;
- padding: 40px;
+ padding: 10px 40px 14px 40px;
}
.signInText {