I had to add something to main component, sry
Introduces a vertical stepper to the main component to visually represent project sprints, including dynamic completion and edit states. Adds project information and team details to the main page, customizes stepper icon styles, and updates module imports to include MatStepperModule.
This commit is contained in:
@@ -7,5 +7,13 @@ import { Component } from '@angular/core';
|
||||
styleUrl: './main.component.css'
|
||||
})
|
||||
export class MainComponent {
|
||||
currentSprint = 3;
|
||||
|
||||
isCompleted(index: number): boolean {
|
||||
return index <= this.currentSprint;
|
||||
}
|
||||
|
||||
isEditable(index: number): boolean {
|
||||
return index === this.currentSprint;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user