feat: components

This commit is contained in:
2025-12-27 13:05:33 -08:00
parent 6bbcb4d8fa
commit d33422be37
45 changed files with 543 additions and 0 deletions
View File
+1
View File
@@ -0,0 +1 @@
<p>about works!</p>
+29
View File
@@ -0,0 +1,29 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
import { type ComponentFixture, TestBed } from "@angular/core/testing";
import { describe, beforeEach, it, expect } from "vitest";
import { About } from "./about";
describe("about", () => {
let component: About;
let fixture: ComponentFixture<About>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ About ],
}).
compileComponents();
fixture = TestBed.createComponent(About);
component = fixture.componentInstance;
await fixture.whenStable();
});
it("should create", () => {
expect.assertions(1);
expect(component, "did not compile").toBeTruthy();
});
});
+19
View File
@@ -0,0 +1,19 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
import { Component } from "@angular/core";
/**
* Renders the about page.
*/
@Component({
imports: [],
selector: "app-about",
styleUrl: "./about.css",
templateUrl: "./about.html",
})
export class About {
}