Added Birthdays page

Introduced a new BirthdaysComponent with its corresponding HTML, SCSS, and spec files. Added a route for '/birthdays' in the application and integrated it into the module and routing. This component showcases staff and previous staff birthdays.
This commit is contained in:
Peter
2025-04-06 22:06:48 +02:00
parent ab3abe7f6b
commit e7ac2d0462
5 changed files with 55 additions and 0 deletions
@@ -0,0 +1,16 @@
<ng-container>
<app-header [current_page]="'birthdays'" height="460px" background_image="/public/img/backgrounds/staff.png"
[overlay_gradient]="0.5">
<div class="title" header-content>
<h1>Famous Altitude Staff Birthdays</h1>
<h2>(and previous staff)</h2>
</div>
</app-header>
<main>
<section class="darkmodeSection">
<div class="container" style="padding: 50px 0 0 0; justify-content: center;">
</div>
</section>
</main>
</ng-container>
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BirthdaysComponent } from './birthdays.component';
describe('BirthdaysComponent', () => {
let component: BirthdaysComponent;
let fixture: ComponentFixture<BirthdaysComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BirthdaysComponent]
})
.compileComponents();
fixture = TestBed.createComponent(BirthdaysComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,13 @@
import {Component} from '@angular/core';
import {ScrollService} from '../scroll/scroll.service';
@Component({
selector: 'app-birthdays',
standalone: false,
templateUrl: './birthdays.component.html',
styleUrl: './birthdays.component.scss'
})
export class BirthdaysComponent {
constructor(public scrollService: ScrollService) {
}
}