generated from nhcarrigan/template
feat: new site #1
@@ -4,7 +4,6 @@
|
|||||||
* @author Naomi Carrigan
|
* @author Naomi Carrigan
|
||||||
*/
|
*/
|
||||||
import { About } from "./about/about";
|
import { About } from "./about/about";
|
||||||
import { Bulletin } from "./bulletin/bulletin";
|
|
||||||
import { Faq } from "./faq/faq";
|
import { Faq } from "./faq/faq";
|
||||||
import { Handbook } from "./handbook/handbook";
|
import { Handbook } from "./handbook/handbook";
|
||||||
import { Home } from "./home/home";
|
import { Home } from "./home/home";
|
||||||
@@ -16,7 +15,6 @@ export const routes: Routes = [
|
|||||||
{ component: Home, path: "", pathMatch: "full" },
|
{ component: Home, path: "", pathMatch: "full" },
|
||||||
{ component: Handbook, path: "handbook" },
|
{ component: Handbook, path: "handbook" },
|
||||||
{ component: About, path: "about" },
|
{ component: About, path: "about" },
|
||||||
{ component: Bulletin, path: "bulletin" },
|
|
||||||
{ component: Faq, path: "faq" },
|
{ component: Faq, path: "faq" },
|
||||||
{ component: Reviews, path: "reviews" },
|
{ component: Reviews, path: "reviews" },
|
||||||
{ component: Staff, path: "staff" },
|
{ component: Staff, path: "staff" },
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
<p>bulletin works!</p>
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
/**
|
|
||||||
* @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();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
/**
|
|
||||||
* @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 {
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
<ul class="nav-menu" [class.menu-open]="isMenuOpen">
|
<ul class="nav-menu" [class.menu-open]="isMenuOpen">
|
||||||
<a routerLink="/about" (click)="closeMenu()"><li>About</li></a>
|
<a routerLink="/about" (click)="closeMenu()"><li>About</li></a>
|
||||||
<a routerLink="/handbook" (click)="closeMenu()"><li>Handbook</li></a>
|
<a routerLink="/handbook" (click)="closeMenu()"><li>Handbook</li></a>
|
||||||
<a routerLink="/bulletin" (click)="closeMenu()"><li>Bulletin</li></a>
|
|
||||||
<a routerLink="/faq" (click)="closeMenu()"><li>FAQ</li></a>
|
<a routerLink="/faq" (click)="closeMenu()"><li>FAQ</li></a>
|
||||||
<a routerLink="/reviews" (click)="closeMenu()"><li>Reviews</li></a>
|
<a routerLink="/reviews" (click)="closeMenu()"><li>Reviews</li></a>
|
||||||
<a routerLink="/staff" (click)="closeMenu()"><li>Staff</li></a>
|
<a routerLink="/staff" (click)="closeMenu()"><li>Staff</li></a>
|
||||||
|
|||||||
Reference in New Issue
Block a user