Skip to content

Commit 05a05d8

Browse files
committed
convert png to svg, create common shared public images folder
1 parent f9ba75e commit 05a05d8

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

β€Žapps/labs/posts/uarray-intro.mdxβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ published: April 30, 2019
55
description: 'The problem is, stated simply: How do we use all of the PyData libraries in tandem, moving seamlessly from one to the other, without actually changing the API, or even the imports?'
66
category: [PyData ecosystem]
77
featuredImage:
8-
src: /posts/uarray-intro/blog_feature_var1.svg
8+
src: /images/blog_feature_var1.png
99
alt: 'An illustration of a brown and a dark brown hand coming towards each other to pass a business card with the logo of Quansight Labs.'
1010
hero:
11-
imageSrc: /posts/uarray-intro/blog_hero_var1.svg
11+
imageSrc: /images/blog_hero_var1.svg
1212
imageAlt: 'An illustration of a brown hand holding up a microphone, with some graphical elements highlighting the top of the microphone.'
1313
---
1414

70.1 KB
Loading

β€Žapps/labs/public/posts/uarray-intro/blog_feature_var1.svgβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žapps/labs/services/posts/serializePost.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const serializePost = async (
2626

2727
if ((data as TPost['meta']).featuredImage.src.endsWith('.svg')) {
2828
throw Error(
29-
`SVG not allowed for featured image. Convert to PNG or JPEG: ${data.featuredImage.src}`,
29+
`SVG not allowed for featured image (not widely supported by social media sites). Convert to PNG or JPEG: ${data.featuredImage.src}`,
3030
);
3131
}
3232

0 commit comments

Comments
Β (0)