generated from nhcarrigan/template
Closes #5 Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/11 Co-authored-by: Naomi <commits@nhcarrigan.com> Co-committed-by: Naomi <commits@nhcarrigan.com>
21 lines
489 B
TypeScript
21 lines
489 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { Component } from "@angular/core";
|
|
|
|
import { Certifications } from "../config/Certifications";
|
|
|
|
/**
|
|
*
|
|
*/
|
|
@Component({
|
|
selector: "app-certifications",
|
|
standalone: true,
|
|
imports: [CommonModule],
|
|
templateUrl: "./certifications.component.html",
|
|
styleUrl: "./certifications.component.css"
|
|
})
|
|
export class CertificationsComponent {
|
|
public certs = Certifications.sort(
|
|
(a, b) => b.date.getTime() - a.date.getTime()
|
|
);
|
|
}
|