Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/components/ArchivePanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface Post {
data: {
title: string;
tags: string[];
category?: string;
category?: string | null;
published: Date;
};
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ let links: NavBarLink[] = navBarConfig.links.map(
<Icon name="material-symbols:palette-outline" class="text-[1.25rem]"></Icon>
</button>
)}
{/* @ts-ignore */}
<LightDarkSwitch client:only="svelte"></LightDarkSwitch>
<button aria-label="Menu" name="Nav Menu" class="btn-plain scale-animation rounded-lg w-11 h-11 active:scale-90 md:!hidden" id="nav-menu-switch">
<Icon name="material-symbols:menu-rounded" class="text-[1.25rem]"></Icon>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/archive.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ const sortedPostsList = await getSortedPostsList();
---

<MainGridLayout title={i18n(I18nKey.archive)}>
<ArchivePanel sortedPosts={sortedPostsList} client:only="svelte"></ArchivePanel>
<ArchivePanel tags={[]} categories={[]} sortedPosts={sortedPostsList} client:only="svelte"></ArchivePanel>
</MainGridLayout>

2 changes: 1 addition & 1 deletion src/plugins/expressive-code/language-badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function pluginLanguageBadge() {
return definePlugin({
name: "Language Badge",
// @ts-expect-error
baseStyles: ({ _cssVar }) => `
baseStyles: ({ _cssVar: _unused }) => `
[data-language]::before {
position: absolute;
z-index: 2;
Expand Down