Skip to content

Commit

Permalink
chore: replace cover image
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-elkin committed Dec 6, 2024
1 parent bc85365 commit 65ebf7a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 3 deletions.
Binary file removed public/static/blog-placeholder.png
Binary file not shown.
1 change: 0 additions & 1 deletion public/static/blog-placeholder.svg

This file was deleted.

Binary file added public/static/cover-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const posts = defineCollection({
title: z.string(),
description: z.string(),
date: z.coerce.date(),
image: z.string().default("/static/blog-placeholder.png"),
image: z.string().default("/static/cover-logo.png"),
}),
});

Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);
const {
title,
description,
image = "/static/blog-placeholder.png",
image = "/static/cover-logo.png",
className,
} = Astro.props;
---
Expand Down

0 comments on commit 65ebf7a

Please sign in to comment.