diff --git a/angular.json b/angular.json index 4ad5dd3a8..89b6f24df 100644 --- a/angular.json +++ b/angular.json @@ -35,7 +35,8 @@ "styles": [ "src/assets/styles/styles.scss", "src/assets/icons/dist/icons.css", - "node_modules/primeflex/primeflex.css" + "node_modules/primeflex/primeflex.css", + "node_modules/@fortawesome/fontawesome-free/css/all.min.css" ], "stylePreprocessorOptions": { "includePaths": ["src"] diff --git a/package.json b/package.json index 66258b15e..515adbefe 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@angular/platform-browser-dynamic": "^19.2.0", "@angular/router": "^19.2.0", "@angular/service-worker": "^19.2.0", + "@fortawesome/fontawesome-free": "^6.7.2", "@ngx-translate/core": "^16.0.4", "@ngx-translate/http-loader": "^16.0.1", "@ngxs/devtools-plugin": "^19.0.0", diff --git a/src/app/core/components/breadcrumb/breadcrumb.component.html b/src/app/core/components/breadcrumb/breadcrumb.component.html index 2e6af7d26..3c817cf1a 100644 --- a/src/app/core/components/breadcrumb/breadcrumb.component.html +++ b/src/app/core/components/breadcrumb/breadcrumb.component.html @@ -1,6 +1,6 @@ @if (!parsedUrl()[0].includes('home') && !parsedUrl()[0].includes('confirm')) { -
/
@for (url of parsedUrl(); track url; let l = $last) { {{ url }} diff --git a/src/app/core/components/breadcrumb/breadcrumb.component.ts b/src/app/core/components/breadcrumb/breadcrumb.component.ts index 65a4bae6b..f64252511 100644 --- a/src/app/core/components/breadcrumb/breadcrumb.component.ts +++ b/src/app/core/components/breadcrumb/breadcrumb.component.ts @@ -2,9 +2,11 @@ import { Component, computed, DestroyRef, inject, signal } from '@angular/core'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { NavigationEnd, Router } from '@angular/router'; +import { IconComponent } from '@osf/shared/components'; + @Component({ selector: 'osf-breadcrumb', - imports: [], + imports: [IconComponent], templateUrl: './breadcrumb.component.html', styleUrl: './breadcrumb.component.scss', }) diff --git a/src/app/core/components/footer/footer.component.html b/src/app/core/components/footer/footer.component.html index fbb7a0a4d..521118f98 100644 --- a/src/app/core/components/footer/footer.component.html +++ b/src/app/core/components/footer/footer.component.html @@ -3,15 +3,7 @@+ Enter any term in the search box and filter by specific object types. More information is available on our + help guides. +
-- Enter any term in the search box and filter by specific object types. More information is available on our - help guides. -
+1 of 3
-1 of 3
- -- Narrow the source, discipline, and more. For example, find content supported by a specific funder or view only - datasets. -
++ Narrow the source, discipline, and more. For example, find content supported by a specific funder or view + only datasets. +
-2 of 3
+2 of 3
-- Remember to add metadata and resources to your own work on OSF to make it more discoverable! Learn more in our - help guides. -
++ Remember to add metadata and resources to your own work on OSF to make it more discoverable! Learn more in + our help guides. +
-3 of 3
+3 of 3
-