Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
23-064
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
23-064
23-064
Commits
a4444ac3
Commit
a4444ac3
authored
Aug 29, 2023
by
Yashmika Anusara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
forntend route
parent
c7589a0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
Frontend/admin/src/components/side-navigation.jsx
Frontend/admin/src/components/side-navigation.jsx
+2
-3
Frontend/admin/src/pages/actor-type-analysis.jsx
Frontend/admin/src/pages/actor-type-analysis.jsx
+7
-0
Frontend/admin/src/routes/routes.js
Frontend/admin/src/routes/routes.js
+2
-0
No files found.
Frontend/admin/src/components/side-navigation.jsx
View file @
a4444ac3
import
React
from
"
react
"
;
import
"
../css/side-navigation.css
"
;
import
{
NavLink
}
from
"
react-router-dom
"
;
import
HomeOutlinedIcon
from
"
@mui/icons-material/HomeOutlined
"
;
import
DashboardOutlinedIcon
from
"
@mui/icons-material/DashboardOutlined
"
;
import
MovieOutlinedIcon
from
"
@mui/icons-material/MovieOutlined
"
;
...
...
@@ -20,10 +19,10 @@ function SideNavigation() {
Movie Analysis
</
div
>
</
NavLink
>
<
NavLink
to=
"/home/actor-
identify
"
className=
"side-nav-link"
>
<
NavLink
to=
"/home/actor-
type-analysis
"
className=
"side-nav-link"
>
<
div
className=
"side-nav-link-wrapper"
>
<
MovieOutlinedIcon
sx=
{
{
marginRight
:
"
15px
"
}
}
/>
Actor
Identify
Actor
&
Type Analysis
</
div
>
</
NavLink
>
<
NavLink
to=
"/home/pose-identify"
className=
"side-nav-link"
>
...
...
Frontend/admin/src/pages/actor-type-analysis.jsx
0 → 100644
View file @
a4444ac3
import
React
from
'
react
'
export
default
function
ActorTypeAnalysis
()
{
return
(
<
div
>
Actor-type-analysis
</
div
>
)
}
Frontend/admin/src/routes/routes.js
View file @
a4444ac3
...
...
@@ -8,6 +8,7 @@ import Contact from "../pages/contact";
import
Dashboard
from
"
../pages/dashboard
"
;
import
MovieAnalysis
from
"
../pages/movie-analysis
"
;
import
ActorTypeAnalysis
from
"
../pages/actor-type-analysis
"
;
function
PageRoutes
()
{
return
(
...
...
@@ -21,6 +22,7 @@ function PageRoutes() {
<
Route
path
=
"
/home
"
element
=
{
<
SubApp
/>
}
>
<
Route
path
=
"
/home/dashboard
"
element
=
{
<
Dashboard
/>
}
/
>
<
Route
path
=
"
/home/movie-analysis
"
element
=
{
<
MovieAnalysis
/>
}
/
>
<
Route
path
=
"
/home/actor-type-analysis
"
element
=
{
<
ActorTypeAnalysis
/>
}
/
>
<
/Route
>
<
Route
path
=
"
/about
"
element
=
{
<
Contact
/>
}
/
>
<
Route
path
=
"
/contact
"
element
=
{
<
About
/>
}
/
>
...
...
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