Skip to content

Commit

Permalink
Merge pull request #1147 from ORCID/landing-page
Browse files Browse the repository at this point in the history
Landing page
  • Loading branch information
bobcaprice authored Apr 2, 2024
2 parents 87f8c2a + ca66907 commit 1214a6a
Show file tree
Hide file tree
Showing 16 changed files with 692 additions and 68 deletions.
152 changes: 98 additions & 54 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@ng-bootstrap/ng-bootstrap": "^15.1.1",
"bootstrap": "^5.3.2",
"jsrsasign": "^11.1.0",
"jsrsasign-util": "^1.0.5",
"moment": "^2.29.4",
"ngx-clipboard": "^16.0.0",
"ngx-webstorage": "^12.0.0",
Expand All @@ -45,6 +47,7 @@
"@angular/cli": "~16.2.6",
"@angular/compiler-cli": "^16.2.9",
"@types/jasmine": "~4.0.0",
"@types/jsrsasign": "^10.5.13",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "^8.49.0",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/affiliation/affiliation.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const AffiliationResolver: ResolveFn<Affiliation | null> = (

export const affiliationRoutes: Routes = [
{
path: 'affiliations',
path: '',
component: AffiliationsComponent,
data: {
authorities: ['ASSERTION_SERVICE_ENABLED'],
Expand Down Expand Up @@ -76,7 +76,7 @@ export const affiliationRoutes: Routes = [
],
},
{
path: 'affiliations/:id/view',
path: ':id/view',
component: AffiliationDetailComponent,
resolve: {
affiliation: AffiliationResolver,
Expand Down
8 changes: 5 additions & 3 deletions ui/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { NgModule } from '@angular/core'
import { ActivatedRouteSnapshot, Resolve, Route, RouterModule, RouterStateSnapshot, Routes } from '@angular/router'
import { RouterModule, Routes } from '@angular/router'
import { navbarRoute } from './layout/navbar/navbar.route'
import { errorRoutes } from './error/error.route'
import { AuthGuard } from './account/auth.guard'
import { UsersComponent } from './user/users.component'

const routes: Routes = [
{
Expand All @@ -22,6 +20,10 @@ const routes: Routes = [
path: 'affiliations',
loadChildren: () => import('./affiliation/affiliation.module').then((m) => m.AffiliationModule),
},
{
path: 'landing-page',
loadChildren: () => import('./landing-page/landing-page.module').then((m) => m.LandingPageModule),
},
]

@NgModule({
Expand Down
Loading

0 comments on commit 1214a6a

Please sign in to comment.