Skip to content

Commit 3335511

Browse files
committed
fix: switching AM collection to a curated one
1 parent 24519ea commit 3335511

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

angular/src/app/home/home.component.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
9696
forensicsURL: string;
9797
chipsURL: string;
9898
aiURL: string;
99+
additiveManufacturingURL: string;
99100
recentDatasets: any[] = [];
100101
recentFeeds: RecentFeedConfig[] = [
101102
{
@@ -311,6 +312,14 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
311312
// "NIST advances the state-of-the-art in IT in such applications as cybersecurity and biometrics.",
312313
// image: "assets/images/Theme_InformationTechnology.png",
313314
// },
315+
additiveManufacturing: {
316+
title: "ADDITIVE MANUFACTURING",
317+
description:
318+
"NIST is advancing the science of additive manufacturing (3D printing) to improve the quality and reliability of 3D printed parts.",
319+
image: "assets/images/Theme_AdditiveManufacturing.jpg",
320+
searchTerm: "Additive Manufacturing",
321+
curated: true,
322+
},
314323

315324
bioscience: {
316325
title: "BIOSCIENCE",
@@ -324,13 +333,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
324333
image: "assets/images/Theme_Quantum.png",
325334
searchTerm: "Quantum",
326335
},
327-
additiveManufacturing: {
328-
title: "ADDITIVE MANUFACTURING",
329-
description:
330-
"NIST is advancing the science of additive manufacturing (3D printing) to improve the quality and reliability of 3D printed parts.",
331-
image: "assets/images/Theme_AdditiveManufacturing.jpg",
332-
searchTerm: '"Additive Manufacturing"',
333-
},
336+
334337
Materials: {
335338
title: "MATERIALS",
336339
description:
@@ -388,6 +391,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
388391
this.forensicsURL = conf.SERVERBASE + "/forensics";
389392
this.chipsURL = conf.SERVERBASE + "/chips";
390393
this.aiURL = conf.SERVERBASE + "/ai";
394+
this.additiveManufacturingURL = conf.SERVERBASE + "/am";
391395
const nextRMM = conf.RMMAPI;
392396
const shouldLoadTopics = !!nextRMM && nextRMM !== this.RMMAPIURL;
393397
this.RMMAPIURL = nextRMM;
@@ -513,6 +517,9 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit {
513517
case "Artificial Intelligence":
514518
url = this.aiURL;
515519
break;
520+
case "Additive Manufacturing":
521+
url = this.additiveManufacturingURL;
522+
break;
516523
default:
517524
// If no specific URL, fall back to search
518525
return this.search(theme.searchTerm);

0 commit comments

Comments
 (0)