feat: new site #1

Merged
naomi merged 20 commits from feat/init into main 2025-12-27 19:54:35 -08:00
45 changed files with 543 additions and 0 deletions
Showing only changes of commit d33422be37 - Show all commits
+4
View File
@@ -24,6 +24,8 @@ export default [
"import/extensions": "off", "import/extensions": "off",
// This is a web app // This is a web app
"no-console": "off", "no-console": "off",
// Sometimes a component class will be empty. Not all components require logic.
"@typescript-eslint/no-extraneous-class": "off",
} }
}, },
{ {
@@ -42,6 +44,8 @@ export default [
"import/extensions": "off", "import/extensions": "off",
// We turn this off because the test bed has weak types. // We turn this off because the test bed has weak types.
"@typescript-eslint/consistent-type-assertions": "off", "@typescript-eslint/consistent-type-assertions": "off",
// This one allows us to define test globals.
"@typescript-eslint/init-declarations": "off",
} }
} }
] ]
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 {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>bulletin 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 { Bulletin } from "./bulletin";
describe("bulletin", () => {
let component: Bulletin;
let fixture: ComponentFixture<Bulletin>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Bulletin ],
}).
compileComponents();
fixture = TestBed.createComponent(Bulletin);
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 bulletin page.
*/
@Component({
imports: [],
selector: "app-bulletin",
styleUrl: "./bulletin.css",
templateUrl: "./bulletin.html",
})
export class Bulletin {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>disclaimer 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 { Disclaimer } from "./disclaimer";
describe("disclaimer", () => {
let component: Disclaimer;
let fixture: ComponentFixture<Disclaimer>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Disclaimer ],
}).
compileComponents();
fixture = TestBed.createComponent(Disclaimer);
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 disclaimer page.
*/
@Component({
imports: [],
selector: "app-disclaimer",
styleUrl: "./disclaimer.css",
templateUrl: "./disclaimer.html",
})
export class Disclaimer {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>faq 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 { Faq } from "./faq";
describe("faq", () => {
let component: Faq;
let fixture: ComponentFixture<Faq>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Faq ],
}).
compileComponents();
fixture = TestBed.createComponent(Faq);
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 FAQ page.
*/
@Component({
imports: [],
selector: "app-faq",
styleUrl: "./faq.css",
templateUrl: "./faq.html",
})
export class Faq {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>footer 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 { Footer } from "./footer";
describe("footer", () => {
let component: Footer;
let fixture: ComponentFixture<Footer>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Footer ],
}).
compileComponents();
fixture = TestBed.createComponent(Footer);
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 footer.
*/
@Component({
imports: [],
selector: "app-footer",
styleUrl: "./footer.css",
templateUrl: "./footer.html",
})
export class Footer {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>handbook 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 { Handbook } from "./handbook";
describe("handbook", () => {
let component: Handbook;
let fixture: ComponentFixture<Handbook>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Handbook ],
}).
compileComponents();
fixture = TestBed.createComponent(Handbook);
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 handbook page.
*/
@Component({
imports: [],
selector: "app-handbook",
styleUrl: "./handbook.css",
templateUrl: "./handbook.html",
})
export class Handbook {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>home 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 { Home } from "./home";
describe("home", () => {
let component: Home;
let fixture: ComponentFixture<Home>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Home ],
}).
compileComponents();
fixture = TestBed.createComponent(Home);
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 home page.
*/
@Component({
imports: [],
selector: "app-home",
styleUrl: "./home.css",
templateUrl: "./home.html",
})
export class Home {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>nav 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 { Nav } from "./nav";
describe("nav", () => {
let component: Nav;
let fixture: ComponentFixture<Nav>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Nav ],
}).
compileComponents();
fixture = TestBed.createComponent(Nav);
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 navigation bar.
*/
@Component({
imports: [],
selector: "app-nav",
styleUrl: "./nav.css",
templateUrl: "./nav.html",
})
export class Nav {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>reviews 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 { Reviews } from "./reviews";
describe("reviews", () => {
let component: Reviews;
let fixture: ComponentFixture<Reviews>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Reviews ],
}).
compileComponents();
fixture = TestBed.createComponent(Reviews);
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 reviews page.
*/
@Component({
imports: [],
selector: "app-reviews",
styleUrl: "./reviews.css",
templateUrl: "./reviews.html",
})
export class Reviews {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>staff 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 { Staff } from "./staff";
describe("staff", () => {
let component: Staff;
let fixture: ComponentFixture<Staff>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Staff ],
}).
compileComponents();
fixture = TestBed.createComponent(Staff);
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 staff page.
*/
@Component({
imports: [],
selector: "app-staff",
styleUrl: "./staff.css",
templateUrl: "./staff.html",
})
export class Staff {
}
View File
+1
View File
@@ -0,0 +1 @@
<p>ticker 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 { Ticker } from "./ticker";
describe("ticker", () => {
let component: Ticker;
let fixture: ComponentFixture<Ticker>;
beforeEach(async() => {
await TestBed.configureTestingModule({
imports: [ Ticker ],
}).
compileComponents();
fixture = TestBed.createComponent(Ticker);
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 ticker.
*/
@Component({
imports: [],
selector: "app-ticker",
styleUrl: "./ticker.css",
templateUrl: "./ticker.html",
})
export class Ticker {
}