Skip to content

Commit d4a894b

Browse files
committed
Fix astro check command errors and warnings
1 parent a30f22f commit d4a894b

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

src/components/GoogleCalendar.astro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ const mobileEmbedUrl = `https://calendar.google.com/calendar/embed?src=${encodeU
4343
src={embedUrl}
4444
class="hidden md:block w-full max-w-4xl rounded-lg shadow-lg border-0"
4545
style={`border: 0; width: ${width}px; height: ${height}px;`}
46-
frameborder="0"
47-
scrolling="no"
4846
title={title}
4947
loading="lazy"
5048
></iframe>
@@ -54,8 +52,6 @@ const mobileEmbedUrl = `https://calendar.google.com/calendar/embed?src=${encodeU
5452
src={mobileEmbedUrl}
5553
class="block md:hidden w-full rounded-lg shadow-lg border-0"
5654
style="height: 400px;"
57-
frameborder="0"
58-
scrolling="no"
5955
title={`${title} - Mobile View`}
6056
loading="lazy"
6157
></iframe>

src/components/SprintCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { data, body } = sprint;
1616
// <a href={`/sprints/${slug}`} id={slug} class="text-blue-600 hover:text-blue-800 hover:underline"></a>
1717
---
1818

19-
<article class=`${data.draft?"draft2":""} sprint-card bg-white border border-gray-200 rounded-lg p-6 mb-8 shadow-sm hover:shadow-md transition-shadow duration-200` data-python-level={data.pythonLevel} data-room={data.room}>
19+
<article class=`${data.draft?"draft2":""} sprint-card bg-white border border-gray-200 rounded-lg p-6 mb-8 shadow-sm hover:shadow-md transition-shadow duration-200` data-python-level={data.pythonLevel} >
2020
<header class="mb-4">
2121
<h3 class="text-2xl font-semibold mb-2">
2222
{data.title}

src/pages/api/media/sponsors/posts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getCollection, getEntry } from "astro:content";
1+
import { getCollection } from "astro:content";
22
import type { APIRoute } from "astro";
33

44
export const GET: APIRoute = async () => {

src/pages/sprints.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const sprints = await getCollection("sprints", ({ data }) => {
2222
2323
---
2424

25-
<Layout title=`${entry.data.title}` description=`${entry.data.description}` toc=true>
25+
<Layout title=`${entry.data.title}` description=`${entry.data.subtitle}` toc=true>
2626

2727
<Markdown content={entry.body} />
2828
<div class="flex flex-wrap gap-8 justify-center my-8">

0 commit comments

Comments
 (0)