diff --git a/api/trending.go b/api/trending.go index 0c41b69..2026f8f 100644 --- a/api/trending.go +++ b/api/trending.go @@ -10,7 +10,7 @@ import ( ) func (client *Client) FetchTrending(section, sort, page string) ([]Submission, error) { - req, err := http.NewRequest("GET", "https://api.imgur.com/post/v1/posts?client_id="+client.ClientID+"&filter[section]=eq:"+section+"&include=cover,viral&page=1" /* "https://imgur.com/search/all/page/"+page+"?scrolled&q_size_is_mpx=off&qs=list&q="+query */, nil) + req, err := http.NewRequest("GET", "https://api.imgur.com/post/v1/posts?client_id="+client.ClientID+"&filter[section]=eq:"+section+"&include=cover,viral&page=1", nil) if err != nil { return []Submission{}, err } diff --git a/static/icons/PhArrowUpRight.svg b/static/icons/PhArrowUpRight.svg new file mode 100644 index 0000000..4d98f58 --- /dev/null +++ b/static/icons/PhArrowUpRight.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/views/frontpage.hbs b/views/frontpage.hbs index 11b3b97..6101526 100644 --- a/views/frontpage.hbs +++ b/views/frontpage.hbs @@ -13,6 +13,7 @@

The fast, private image viewer for Imgur.

{{> partials/searchBar }} + Or see what's trending