Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit eb6dc002
authored
2024-04-03 12:43:29 +0530
by
Jyotsna
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
admin login page
1 parent
6daa6187
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
41 deletions
components/about-us/AboutUs.js
components/layout/DropdownUserProfile.js
components/login/Login.js
package.json
yarn.lock
components/about-us/AboutUs.js
View file @
eb6dc00
...
@@ -8,8 +8,7 @@ import SignUpToExperienceOurPlatform from '../home/SignUpToExperienceOurPlatform
...
@@ -8,8 +8,7 @@ import SignUpToExperienceOurPlatform from '../home/SignUpToExperienceOurPlatform
import
PageBanner
from
'./PageBanner.js'
import
PageBanner
from
'./PageBanner.js'
const
AboutUs
=
()
=>
{
const
AboutUs
=
()
=>
{
return
(
return
(
<>
<>
<
PageBanner
/>
<
PageBanner
/>
<
MissionVision
/>
<
MissionVision
/>
<
Offers
/>
<
Offers
/>
...
...
components/layout/DropdownUserProfile.js
deleted
100644 → 0
View file @
6daa618
import
{
signOut
}
from
"next-auth/react"
;
import
Image
from
"next/image"
;
import
Link
from
"next/link"
;
import
{
useRouter
}
from
"next/router"
;
import
React
,
{
Fragment
,
useEffect
,
useState
}
from
"react"
;
import
{
renderImage
}
from
"../../services/imageHandling"
;
const
DropdownUserProfile
=
()
=>
{
const
router
=
useRouter
();
const
logoutHandler
=
()
=>
{
signOut
();
};
return
(
<
Fragment
>
<
div
className
=
"row"
>
<
div
className
=
"col-12 col-lg-12"
>
<
div
>
<
ul
className
=
"link-list"
>
<
li
>
<
Link
href
=
"/personal-details"
>
<
a
>
Personal
Info
<
i
className
=
"arrow-right"
><
/i
>
<
/a
>
<
/Link
>
<
/li
>
<
/ul
>
<
/div
>
<
/div
>
<
/div
>
<
/Fragment
>
);
};
export
default
DropdownUserProfile
;
components/login/Login.js
View file @
eb6dc00
...
@@ -24,7 +24,7 @@ const Login = props => {
...
@@ -24,7 +24,7 @@ const Login = props => {
<
div
className
=
"row"
>
<
div
className
=
"row"
>
<
div
className
=
"col-11 col-lg-4 login-div"
>
<
div
className
=
"col-11 col-lg-4 login-div"
>
<
div
className
=
""
>
<
div
className
=
""
>
<
h2
>
{
props
.
type
==
"
vendor"
?
"Vendor Login"
:
"Login to Experience"
}
<
/h2
>
<
h2
>
{
props
.
type
==
"
user"
?
"Login to Experience"
:
(
props
.
type
==
"vendor"
?
"Vendor Login"
:
"Admin Login"
)
}
<
/h2
>
<
div
className
=
"form-container"
>
<
div
className
=
"form-container"
>
<
Formik
<
Formik
initialValues
=
{{
initialValues
=
{{
...
...
package.json
View file @
eb6dc00
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
"redux"
:
"^4.2.0"
,
"redux"
:
"^4.2.0"
,
"redux-devtools-extension"
:
"^2.13.9"
,
"redux-devtools-extension"
:
"^2.13.9"
,
"redux-thunk"
:
"^2.4.1"
,
"redux-thunk"
:
"^2.4.1"
,
"swiper"
:
"^11.
0.7
"
,
"swiper"
:
"^11.
1.0
"
,
"validator"
:
"^13.7.0"
,
"validator"
:
"^13.7.0"
,
"yup"
:
"^0.32.11"
"yup"
:
"^0.32.11"
},
},
...
...
yarn.lock
View file @
eb6dc00
This diff could not be displayed because it is too large.
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment