Skip to content

Clean up #1263

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

Merged
merged 2 commits into from
May 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@astrojs/mdx": "^4.2.6",
"@astrojs/sitemap": "^3.3.1",
"@astrojs/tailwind": "^5.1.5",
"@astrojs/ts-plugin": "^1.10.4",
"@fortawesome/fontawesome-free": "^6.7.2",
"@tailwindcss/typography": "^0.5.16",
"astro": "^5.7.5",
Expand Down
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions src/components/schedule/day.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type ScheduleSession = {
end: Date;
endTime: string;
duration: number;
sessionType?: string;
sessionType?: string | undefined;
type: string;
rooms: string[];
};
Expand Down Expand Up @@ -331,9 +331,6 @@ const dateText = format(date, "eeee - do MMMM");
);

const endStart = numberToTime(lastEndTime);
const endStartDate = addMinutes(parseISO(dayName), lastEndTime);
const endEndDate = addMinutes(endStartDate, 10);
const endEnd = numberToTime(lastEndTime + 10);

---

Expand Down
6 changes: 3 additions & 3 deletions src/components/sections/keynoters/keynoter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import Person5 from "./placeholders/person-5.astro";
export interface Props {
name: string;
slug: string;
tagline?: string;
tagline?: string | undefined;
image?: ImageMetadata;
placeholder?: boolean;
order?: number;
placeholder?: boolean | undefined;
order?: number | undefined;
class?: string;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/sections/speakers.astro
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const sectionSubtitle = "Meet some of our amazing speakers";

let currentPosition = 0;
const scrollSpeed = 4000;
let slidingInterval: ReturnType<typeof setInterval> | null = null;
let slidingInterval: number | null = null;

// Function to determine slides per view based on window width
function getSlidesPerView() {
Expand Down Expand Up @@ -110,7 +110,7 @@ const sectionSubtitle = "Meet some of our amazing speakers";
function startAnimation(slideWidth: number) {
// Initial setup
moveCarousel();
slidingInterval = setInterval(moveCarousel, scrollSpeed);
slidingInterval = window.setInterval(moveCarousel, scrollSpeed) as number;

function moveCarousel() {
currentPosition += slideWidth;
Expand Down
67 changes: 45 additions & 22 deletions src/content/sponsors/pycon-fi/pycon-fi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 17 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
"compilerOptions": {
"strictNullChecks": true,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// TODO: around 63 errors to clean up
// "noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,

"paths": {
"@utils/*": ["./src/utils/*"],
"@data/*": ["./src/data/*"],
Expand All @@ -15,5 +26,10 @@
"@i18n/*": ["./src/i18n/*"],
"@src/*": ["./src/*"]
}
}
},
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
]
}