Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-24-088
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rishad M.H.M
2023-24-088
Commits
ea449fbb
Commit
ea449fbb
authored
Nov 01, 2023
by
IT20613686
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Login & Register UI created
parent
ff63cbe2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
286 additions
and
0 deletions
+286
-0
frontend/.gitignore
frontend/.gitignore
+23
-0
frontend/public/robots.txt
frontend/public/robots.txt
+3
-0
frontend/src/Component/Login/Login.css
frontend/src/Component/Login/Login.css
+49
-0
frontend/src/Component/Login/Login.js
frontend/src/Component/Login/Login.js
+98
-0
frontend/src/Component/Register/Register.js
frontend/src/Component/Register/Register.js
+113
-0
No files found.
frontend/.gitignore
0 → 100644
View file @
ea449fbb
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
frontend/public/robots.txt
0 → 100644
View file @
ea449fbb
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
frontend/src/Component/Login/Login.css
0 → 100644
View file @
ea449fbb
.login-bg
{
background
:
linear-gradient
(
to
bottom
,
#001061
,
#049cfb
d4
);
height
:
100vh
;
}
.login-card
{
background
:
linear-gradient
(
to
right
,
purple
,
#1F3D88
);
color
:
white
;
width
:
55%
;
border-radius
:
20px
;
}
.login-card-body
{
margin
:
10px
80px
60px
80px
;
}
.login-container
{
background-color
:
white
;
color
:
black
;
border-radius
:
10px
;
margin-top
:
23%
;
}
.login-form
{
margin
:
40px
20px
40px
20px
;
width
:
330px
;
}
.login-btn
{
float
:
right
;
background-color
:
#192FA2
;
color
:
white
;
}
.logo-container
{
width
:
250px
;
margin-right
:
50px
;
}
.login-form-label
{
color
:
#696969
;
}
.login-form-input
{
color
:
#B8B8B8
;
}
.create-account
{
background-color
:
#192FA2
;
color
:
white
;
}
.register-container
{
background-color
:
white
;
color
:
black
;
border-radius
:
10px
;
margin-top
:
16%
;
}
\ No newline at end of file
frontend/src/Component/Login/Login.js
0 → 100644
View file @
ea449fbb
import
React
from
'
react
'
import
'
./Login.css
'
function
Login
()
{
return
(
<
div
className
=
"
login-bg
"
>
<
div
className
=
"
d-flex justify-content-center align-items-center
"
style
=
{{
height
:
"
100vh
"
}}
>
<
div
className
=
"
card login-card
"
>
<
div
className
=
"
card-body login-card-body
"
>
<
div
className
=
"
d-flex
"
>
<
div
className
=
"
logo-container
"
>
<
div
>
<
img
src
=
"
/Images/Logo-no-background.png
"
alt
=
"
Logo
"
className
=
"
img-fluid
"
style
=
{{
width
:
"
150px
"
}}
/
>
<
/div
>
<
h4
className
=
"
card-title mt-5
"
style
=
{{
width
:
"
150px
"
,
fontFamily
:
"
serif
"
,
fontWeight
:
"
bold
"
}}
>
Login
into
your
account
<
/h4
>
<
div
className
=
"
card-text mt-1
"
style
=
{{
fontSize
:
"
17px
"
,
fontFamily
:
"
serif
"
}}
>
Let
us
make
your
life
easier
!
<
/div
>
<
/div
>
<
div
className
=
"
login-container
"
>
<
form
className
=
"
login-form
"
>
<
div
className
=
"
mb-1
"
>
<
label
htmlFor
=
"
email
"
className
=
"
form-label login-form-label
"
>
Email
<
/label
>
<
input
type
=
"
email
"
className
=
"
form-control login-form-input
"
id
=
"
email
"
placeholder
=
"
name@example.com
"
/>
<
/div
>
<
div
className
=
"
mb-1
"
>
<
label
htmlFor
=
"
password
"
className
=
"
form-label login-form-label
"
>
Password
<
/label
>
<
input
type
=
"
password
"
className
=
"
form-control login-form-input
"
id
=
"
password
"
placeholder
=
"
Your password
"
/>
<
/div
>
<
div
className
=
"
d-flex mt-4
"
>
<
div
className
=
"
mt-1
"
>
<
p
style
=
{{
color
:
"
#3c3c3c
"
}}
>
Don
'
t have an account?
<a
style={{
color: "#000000",
fontWeight: "400",
textDecoration: "none",
}}
href="/register"
>
Sign up
</a>
</p>
</div>
<div className="col-md-4">
<button type="submit" className="btn login-btn">
Login
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
export default Login
\ No newline at end of file
frontend/src/Component/Register/Register.js
0 → 100644
View file @
ea449fbb
import
React
from
'
react
'
import
'
../Login/Login.css
'
function
Register
()
{
return
(
<
div
className
=
"
login-bg
"
>
<
div
className
=
"
d-flex justify-content-center align-items-center
"
style
=
{{
height
:
"
100vh
"
}}
>
<
div
className
=
"
card login-card
"
>
<
div
className
=
"
card-body login-card-body
"
>
<
div
className
=
"
d-flex
"
>
<
div
className
=
"
logo-container
"
>
<
div
>
<
img
src
=
"
/Images/Logo-no-background.png
"
alt
=
"
Logo
"
className
=
"
img-fluid
"
style
=
{{
width
:
"
150px
"
}}
/
>
<
/div
>
<
h4
className
=
"
card-title mt-5
"
style
=
{{
width
:
"
150px
"
,
fontFamily
:
"
serif
"
,
fontWeight
:
"
bold
"
,
}}
>
Create
an
account
here
<
/h4
>
<
div
className
=
"
card-text mt-1
"
style
=
{{
fontSize
:
"
17px
"
,
fontFamily
:
"
serif
"
}}
>
Let
'
s make it happen together!
</div>
</div>
<div className="register-container">
<form className="login-form">
<div className="mb-1">
<label
htmlFor="First Name"
className="form-label login-form-label"
>
First Name
</label>
<input
type="text"
className="form-control login-form-input"
id="fname"
placeholder="Your first name"
/>
</div>
<div className="mb-1">
<label
htmlFor="lname"
className="form-label login-form-label"
>
Last Name
</label>
<input
type="text"
className="form-control login-form-input"
id="lname"
placeholder="Your last name"
/>
</div>
<div className="mb-1">
<label
htmlFor="email"
className="form-label login-form-label"
>
Email
</label>
<input
type="email"
className="form-control login-form-input"
id="email"
placeholder="name@example.com"
/>
</div>
<div className="mb-1">
<label
htmlFor="password"
className="form-label login-form-label"
>
Password
</label>
<input
type="password"
className="form-control login-form-input"
id="password"
placeholder="Your password"
/>
</div>
<div className=
'
mt
-
4
'
style={{textAlign: "center"}}>
<button type="submit" className="btn create-account">
Create Account
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
);
}
export default Register
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment