-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev 156 file names #86
Conversation
<div *ngFor="let day of days" class="text-center font-bold tracking-wider text-corn-primary-500">{{ day }}</div> | ||
</div> | ||
<div class="grid grid-cols-7 gap-1"> | ||
<ng-container *ngFor="let week of weeks"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@for pozwala pominąć *ngFor i ng-container
import { NgIcon, provideIcons } from "@ng-icons/core"; | ||
import { matArrowBack, matArrowForward } from "@ng-icons/material-icons/baseline"; | ||
|
||
interface Week { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
przenieść interfejsy do @interfaces/boards/timeline
</div> | ||
<div class="grid grid-cols-7 gap-1"> | ||
<ng-container *ngFor="let week of weeks"> | ||
<div *ngFor="let date of week.days"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tu to samo
} | ||
generateCalendar(): void { | ||
const startDate = new Date(this.currentMonth.getFullYear(), this.currentMonth.getMonth(), 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dodaj typowanie zmiennych
days: [] | ||
}; | ||
for (let j = 0; j < 7; j++) { | ||
if ((i === 0 && j < startDay) || dateCounter > numDays) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ten warunek jest średnio czytelny nie wiem co on oznacza zamknij go w prywatną metodę typu boolean aby było zrozumiałe
Jeżeli chodzi o funkcjonalności to:
|
No description provided.