Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
e2aa27c6
Commit
e2aa27c6
authored
Sep 02, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http://localhost:4200/#/embed/dashboard/dash-1756749907168
parent
2ad457f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
app.routes.ts
src/app/app.routes.ts
+12
-0
frameless-layout.component.ts
src/app/shared/layouts/frameless-layout.component.ts
+10
-0
No files found.
src/app/app.routes.ts
View file @
e2aa27c6
...
...
@@ -10,6 +10,8 @@ import { AuthGuard } from './shared/services/auth.guard';
import
{
LoginComponent
}
from
'./authentication/login/login.component'
;
import
{
CoverComponent
}
from
'./components/authentication/reset-password/cover/cover.component'
;
import
{
HomeComponent
}
from
'./portal-manage/home/home.component'
;
import
{
FramelessLayoutComponent
}
from
'./shared/layouts/frameless-layout.component'
;
import
{
DashboardViewerComponent
}
from
'./portal-manage/dashboard-viewer/dashboard-viewer.component'
;
export
const
App_Route
:
Route
[]
=
[
{
path
:
''
,
redirectTo
:
'auth/login'
,
pathMatch
:
'full'
},
...
...
@@ -29,6 +31,16 @@ export const App_Route: Route[] = [
canActivate
:
[
AuthGuard
],
// Assuming you want to protect these routes
loadChildren
:
()
=>
import
(
'./portal-manage/portal-manage.routes'
).
then
(
r
=>
r
.
portalManageRoutes
)
},
{
path
:
'embed'
,
component
:
FramelessLayoutComponent
,
children
:
[
{
path
:
'dashboard/:dashboardId'
,
component
:
DashboardViewerComponent
}
]
},
{
path
:
'home'
,
component
:
HomeComponent
...
...
src/app/shared/layouts/frameless-layout.component.ts
0 → 100644
View file @
e2aa27c6
import
{
Component
}
from
'@angular/core'
;
import
{
RouterModule
}
from
'@angular/router'
;
@
Component
({
selector
:
'app-frameless-layout'
,
standalone
:
true
,
imports
:
[
RouterModule
],
template
:
`<router-outlet></router-outlet>`
})
export
class
FramelessLayoutComponent
{}
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