Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-196
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
2022-196
2022-196
Commits
80282abb
Commit
80282abb
authored
Nov 15, 2022
by
Dilip Wijethunga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Customer Dashboard Udpdate
parent
c920c044
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
0 deletions
+126
-0
frontend/src/components/dashboard/customer/CustomerDashboard.jsx
...d/src/components/dashboard/customer/CustomerDashboard.jsx
+16
-0
frontend/src/components/dashboard/customer/NavbarCustomer.css
...tend/src/components/dashboard/customer/NavbarCustomer.css
+72
-0
frontend/src/components/dashboard/customer/NavbarCustomer.jsx
...tend/src/components/dashboard/customer/NavbarCustomer.jsx
+38
-0
No files found.
frontend/src/components/dashboard/customer/CustomerDashboard.jsx
0 → 100644
View file @
80282abb
import
React
from
"
react
"
;
import
{
Container
}
from
"
react-bootstrap
"
;
import
ForetellerCard
from
"
../../../containers/currency-forteller/ForetellerCard
"
;
import
CommonCheckAuth
from
"
../../../services/CommonAuthCheck
"
;
function
CustomerDashboard
()
{
return
(
<>
<
Container
>
<
ForetellerCard
/>
</
Container
>
</>
);
}
export
default
CommonCheckAuth
(
CustomerDashboard
);
frontend/src/components/dashboard/customer/NavbarCustomer.css
0 → 100644
View file @
80282abb
.navbar
{
background-color
:
#060b26
;
height
:
80px
;
display
:
flex
;
justify-content
:
start
;
align-items
:
center
;
}
.menu-bars
{
margin-left
:
2rem
;
font-size
:
2rem
;
background
:
none
;
}
.nav-menu
{
background-color
:
#060b26
;
width
:
250px
;
height
:
100vh
;
display
:
flex
;
justify-content
:
center
;
position
:
fixed
;
top
:
0
;
left
:
-100%
;
transition
:
850ms
;
}
.nav-menu.active
{
left
:
0
;
transition
:
350ms
;
}
.nav-text
{
display
:
flex
;
justify-content
:
start
;
align-items
:
center
;
padding
:
8px
0px
8px
16px
;
list-style
:
none
;
height
:
60px
;
}
.nav-text
a
{
text-decoration
:
none
;
color
:
#f5f5f5
;
font-size
:
18px
;
width
:
95%
;
height
:
100%
;
display
:
flex
;
align-items
:
center
;
padding
:
0
16px
;
border-radius
:
4px
;
}
.nav-text
a
:hover
{
background-color
:
#1a83ff
;
}
.nav-menu-items
{
width
:
100%
;
}
.navbar-toggle
{
background-color
:
#060b26
;
width
:
100%
;
height
:
80px
;
display
:
flex
;
justify-content
:
start
;
align-items
:
center
;
}
span
{
margin-left
:
16px
;
}
frontend/src/components/dashboard/customer/NavbarCustomer.jsx
0 → 100644
View file @
80282abb
import
React
,
{
useState
}
from
'
react
'
;
import
{
Link
}
from
'
react-router-dom
'
;
import
{
Nav
}
from
"
react-bootstrap
"
;
import
{
IconContext
}
from
'
react-icons
'
;
import
UserService
from
"
../../../services/UserService
"
;
import
Logo
from
"
../../header/Logo
"
;
import
'
./NavbarCustomer.css
'
;
function
NavbarCustomer
(
props
)
{
return
(
<>
<
IconContext
.
Provider
value=
{
{
color
:
'
#fff
'
}
}
>
<
div
className=
'navbar'
>
<
Link
to=
'#'
className=
'menu-bars'
>
<
Logo
image=
{
"
/images/logo/1.png
"
}
/>
</
Link
>
<
Nav
>
<
li
className=
"nav-item"
>
<
Link
to=
{
'
/customer-dashboard
'
}
className=
{
'
nav-link text-white
'
}
>
Dashboard
</
Link
>
</
li
>
{
/*<li className="nav-item">*/
}
{
/* <Link to={'/customer-profile'} className={'nav-link text-white'}> Profile </Link>*/
}
{
/*</li>*/
}
<
li
className=
"nav-item"
>
<
Link
className=
{
'
nav-link text-white
'
}
onClick=
{
UserService
.
logout
}
>
Logout
</
Link
>
</
li
>
</
Nav
>
</
div
>
</
IconContext
.
Provider
>
</>
);
}
export
default
NavbarCustomer
;
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