0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Do we really need a massive 5MB+ banner that takes multiple seconds to load when people open the readme? (#1459)

* 5MB PNG > 789K JPG

* Different RAW address

* Revert "Different RAW address"

This reverts commit db47b99211.
This commit is contained in:
Joshua Byrd 2021-09-30 17:28:53 +10:00 committed by GitHub
parent 8c3221a0df
commit ee27583111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

BIN
assets/social/banner.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 770 KiB

View file

@ -6,7 +6,7 @@ export const SITE = {
export const OPEN_GRAPH = {
image: {
src: 'https://github.com/snowpackjs/astro/blob/main/assets/social/banner.png?raw=true',
src: 'https://github.com/snowpackjs/astro/blob/main/assets/social/banner.jpg?raw=true',
alt: 'astro logo on a starry expanse of space,' + ' with a purple saturn-like planet floating in the right foreground',
},
twitter: 'astrodotbuild',

View file

@ -1,4 +1,4 @@
<img src="https://github.com/snowpackjs/astro/blob/main/assets/social/banner.png?raw=true" />
<img src="https://github.com/snowpackjs/astro/blob/main/assets/social/banner.jpg?raw=true" />
**Astro** is a _fresh but familiar_ approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. Use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default.