From b3d1b1d9769c741618f983555394d7363642e767 Mon Sep 17 00:00:00 2001 From: VnPower Date: Tue, 6 Jun 2023 16:44:49 +0700 Subject: [PATCH] Update: temporary landing page --- template/temp.html | 18 +++++++++++++++--- views/routes.go | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/template/temp.html b/template/temp.html index 1d94010..b4a5e14 100644 --- a/template/temp.html +++ b/template/temp.html @@ -1,6 +1,18 @@ {{ template "header.html" }} -
-

Landing page is still under construction.

- Try pages in the sidebar, at the top left, or search something. +
+

Welcome to PixivFE!

+

+ This site is still under heavy development, so some pages will not be + available at the moment. +

+

Try out the pages in the sidebar at the top left and the search bar!

+ Fun fact: you are currently using VnPower's main Pixiv account right now, + if you are using the official instance :D
{{ template "footer.html" }} diff --git a/views/routes.go b/views/routes.go index a543201..4999a90 100644 --- a/views/routes.go +++ b/views/routes.go @@ -157,7 +157,7 @@ func discovery_page(c *gin.Context) { mode = "safe" } - artworks, _ := PC.GetDiscoveryArtwork(mode) + artworks, _ := PC.GetDiscoveryArtwork(mode, 300) c.HTML(http.StatusOK, "discovery.html", gin.H{"Artworks": artworks}) }