Skip to content

Commit 0e41e88

Browse files
Fix build warnings and errors, imporove build process. (#1055)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e48488d commit 0e41e88

File tree

7 files changed

+13
-5
lines changed

7 files changed

+13
-5
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ check:
4242
pnpm run astro check
4343

4444
build:
45-
# TODO: update this to just `pnpm build` after resolving the astro-check warnings
46-
pnpm run astro build
45+
pnpm build
4746
# NOTE: also let's find a better way to do this :D
4847
find ./dist/_astro/ -iname '*.jpg' -delete
4948

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"date-fns": "^4.1.0",
2929
"date-fns-tz": "^3.2.0",
3030
"hastscript": "^9.0.0",
31+
"pagefind": "^1.3.0",
3132
"react": "^19.0.0",
3233
"react-dom": "^19.0.0",
3334
"rehype-autolink-headings": "^7.1.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/header/header-actions.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ const IS_LIVE = false;
5151
<script>
5252
document.addEventListener("DOMContentLoaded", function () {
5353
const searchContainer = document.querySelector(".pagefind-ui");
54-
const searchClear = document.querySelector(".pagefind-ui__search-clear");
5554
const searchInput = searchContainer?.querySelector("input");
5655
let selectedIndex = -1;
5756

src/components/keynoters/keynoters.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const placeholders = Math.max(0, 6 - keynoters.length);
102102
{
103103
new Array(placeholders)
104104
.fill(null)
105-
.map((_, index) => (
105+
.map((_, _index) => (
106106
<Keynoter
107107
name=""
108108
slug=""

src/components/logo/logo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//@ts-nocheck
12
// TODO: LogoInverted needs to be adapted to the new logo
23
const LogoInverted = ({ className }: { className?: string }) => {
34
return (

src/components/ticket-tiers/ticket-tiers.astro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@ interface Props {
55
ticketShopLink: string;
66
}
77
8+
interface Feature {
9+
text: string;
10+
icon?: string;
11+
}
12+
813
interface TicketTierProps {
914
title: string;
1015
educationPrice: number | string;
1116
personalPrice: number | string;
1217
businessPrice: number | string;
1318
lateBusinessPrice?: number | string;
1419
latePersonalPrice?: number | string;
15-
features: string[];
20+
features: Feature[];
1621
}
1722
1823
const tiers: TicketTierProps[] = [

0 commit comments

Comments
 (0)