Skip to content

Commit

Permalink
Merge branch 'main' into update
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanPatre authored Oct 11, 2024
2 parents 66dccea + 988e1e3 commit 1bd147a
Show file tree
Hide file tree
Showing 14 changed files with 987 additions and 600 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ A <b> responsive and dynamic website </b> to showcase the best gaming accessorie

## 🚀 Demo
#### Check out the live demo here ⬇️ :
https://collect-your-gaming-tools-git-main-swaraj-das-projects.vercel.app/

https://collect-your-gamingtools.netlify.app/




## 🛠️ Installation
Expand Down
261 changes: 184 additions & 77 deletions SignUp/signup.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
* {

box-sizing: border-box;
margin: 0;
padding:5px;
padding:0;
}

body {
background: url('https://images.pexels.com/photos/7135057/pexels-photo-7135057.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center fixed;
background-size: cover;
font-family: 'Trebuchet MS', Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
justify-content: start;
align-items: start;
height: 100vh;
color: white;
text-shadow: 1px 1px 2px #000;
Expand All @@ -20,7 +22,7 @@ body {

opacity: 0.75;
background-color: rgba(0, 0, 0, 0);
padding: 5rem;
padding:3rem 5rem;
border-radius: 20px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
text-align: center;
Expand All @@ -31,123 +33,228 @@ body {
margin: auto;
}


@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 0.75;
transform: scale(1);
}
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 0.75;
transform: scale(1);
}
}

h1 {
margin-bottom: 2rem;
margin-bottom: 1.5rem;
font-size: 1.5rem;
color: #fb5283;
}

.input-group {
margin-bottom: 1.5rem;
text-align: left;
margin-bottom: 1.5rem;
text-align: left;
}

label {
display: block;
margin-bottom: 0.5rem;
font-size: 16px;
display: block;
margin-bottom: 0.5rem;
font-size: 16px;
}

input[type="text"], input[type="email"], input[type="password"] {
width: 100%;
padding: 0.75rem;
border: 2px solid #6a1b9a;
border-radius: 5px;
background-color: #3a3f44;
color: white;
font-family: 'Press Start 2P', cursive;
font-size: 0.875rem;
input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 0.75rem;
border: 2px solid #6a1b9a;
border-radius: 5px;
background-color: #3a3f44;
color: white;
font-family: "Press Start 2P", cursive;
font-size: 0.875rem;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
outline: none;
border-color: #ba68c8;
background-color: #2a2e32;
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
outline: none;
border-color: #ba68c8;
background-color: #2a2e32;
}

.signup-button {
color:white;
font-family:Helvetica, sans-serif;
font-weight:bold;
font-size:20px;
color: white;
font-family: Helvetica, sans-serif;
font-weight: bold;
font-size: 20px;
text-align: center;
background-color:#FFA12B;
display:block;
position:relative;
padding:15px 60px;
background-color: #ffa12b;
display: block;
position: relative;
padding: 15px 60px;
margin: auto;





cursor: pointer;
transition: background-color 0.2s, color 0.2s;

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
text-shadow: 0px 1px 0px #000;
filter: dropshadow(color=#000, offx=0px, offy=1px);
-webkit-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, 0 10px 0 #915100;

-webkit-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;
-moz-box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;
box-shadow: inset 0 1px 0 #ffe5c4, 0 10px 0 #915100;

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.signup-button:active{
top:10px;
background-color:#F78900;
-webkit-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
-moz-box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3pxpx 0 #915100;
box-shadow:inset 0 1px 0 #FFE5C4, inset 0 -3px 0 #915100;
.signup-button:active {
top: 10px;
background-color: #f78900;

-webkit-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100;
-moz-box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3pxpx 0 #915100;
box-shadow: inset 0 1px 0 #ffe5c4, inset 0 -3px 0 #915100;
}
.signup-button:after{
content:"";
height:100%;
width:100%;
padding:4px;
.signup-button:after {
content: "";
height: 100%;
width: 100%;
padding: 4px;
position: absolute;
bottom:-15px;
left:-4px;
z-index:-1;
background-color:#2B1800;
bottom: -15px;
left: -4px;
z-index: -1;
background-color: #2b1800;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.signup-button:hover{
background-color: #FFD198;
color: #F78900;

.signup-button:hover {
background-color: #ffd198;
color: #f78900;
}

.links {
margin-top: 18px;
margin-top: 18px;
}

.links a {
color: #fb5283;
text-decoration: none;
transition: color 0.3s;
font-size: 18px;
color: #fb5283;
text-decoration: none;
transition: color 0.3s;
font-size: 18px;
}

.links a:hover {
color: #ff80ab;
text-decoration: underline;
color: #ff80ab;
text-decoration: underline;
}

.linksHome {
position: absolute;
top: 20px;
left: 20px;
cursor: pointer;
padding: 10px;
font-size: large;
text-decoration: none;
border-radius: 15px;
border: none;
background: linear-gradient(
0deg,
rgba(255, 193, 219, 1) 0%,
rgba(245, 131, 202, 1) 100%
);
color: #fff;
overflow: hidden;
}

.linksHome:hover {
text-decoration: none;
background: linear-gradient(
0deg,
rgba(245, 131, 202, 1) 0%,
rgba(255, 193, 219, 1) 100%
);
color: #fff;
}

.linksHome:before {
position: absolute;
content: "";
display: inline-block;
top: -180px;
left: 0;
width: 30px;
height: 100%;
background-color: rgba(255, 255, 255, 0.3);
animation: shiny-btn1 3s ease-in-out infinite;
}

.linksHome:active {
box-shadow: 4px 4px 6px 0 rgba(255, 193, 219, 0.3),
-4px -4px 6px 0 rgba(245, 131, 202, 0.3),
inset -4px -4px 6px 0 rgba(255, 193, 219, 0.3),
inset 4px 4px 6px 0 rgba(245, 131, 202, 0.3);
}

@keyframes shiny-btn1 {
0% {
transform: scale(0) rotate(45deg);
opacity: 0;
}
80% {
transform: scale(0) rotate(45deg);
opacity: 0.5;
}
81% {
transform: scale(4) rotate(45deg);
opacity: 1;
}
100% {
transform: scale(50) rotate(45deg);
opacity: 0;
}
}

.linksHome a {
color: #ffe4e9;
}

a {
text-decoration: none;
}

#link-home{
border: 1px solid rgb(255, 255, 255);
box-shadow: 0 0 5px white;
border-radius: 15px;
padding: 8px 15px;

margin-left: 1rem;
margin-top: 1rem;

}

#link-home:hover{
border: 1px solid rgb(202, 202, 202);
box-shadow: 0 0 5px #424242;
background-color: #42424222;
border-radius: 15px;
padding: 8px 15px;

margin-left: 1rem;
margin-top: 1rem;
}

#link-home a{
text-decoration: none;
color: #fff;
font-size: 1.4rem;
text-shadow: none;
font-family: 'Trebuchet MS', Arial, sans-serif;

}
8 changes: 5 additions & 3 deletions SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
<link rel="shortcut icon" href="../images/logo.png" type="image/x-icon">
</head>
<body>
<div class="linksHome">
<a href="../index.html">home</a>
</div>

<span id="link-home" class="linksHome">
<a href="../index.html">Home</a>
</span>

<div class="signup-container">
<h1>Create Your Account</h1>
<form action="#" method="post">
Expand Down
4 changes: 2 additions & 2 deletions backend/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const express = require('express');
const app = express();

const emailRouter = require("./router/EmailRoute.js");
const authRouter = require('./router/authRoute.js');
const databaseconnect = require('./config/databaseConfig.js');
const cookieParser = require('cookie-parser');
Expand All @@ -16,7 +16,7 @@ app.use(cors({ origin: [process.env.CLIENT_URL], credentials: true })); //Third-

// Auth router
app.use('/auth', authRouter);

app.use("/email", emailRouter);
app.use('/', (req, res) => {
res.status(200).json({ data: 'JWTauth server ;)' });
});
Expand Down
Loading

0 comments on commit 1bd147a

Please sign in to comment.