File size: 275 Bytes
0ad74ed
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { logos, tweets } from "$lib/assets";

export async function load({ fetch }: any) {
	let r = await fetch("https://api.github.com/repos/gradio-app/gradio");
	let j = await r.json();
	let star_count = j.stargazers_count;

	return {
		logos,
		tweets,
		star_count
	};
}