Update: temporary landing page

This commit is contained in:
VnPower 2023-06-06 16:44:49 +07:00
parent ac3942c7c5
commit b3d1b1d976
Signed by: vnpower
GPG key ID: 881DE3DEB966106C
2 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,18 @@
{{ template "header.html" }}
<div class="container">
<p>Landing page is still under construction.</p>
<small>Try pages in the sidebar, at the top left, or search something.</small>
<div class="container" style="
display: flex;
align-items: center;
justify-content: center;
flex-flow: column wrap;
height: 85vh;
">
<h2>Welcome to PixivFE!</h2>
<p>
This site is still under heavy development, so some pages will not be
available at the moment.
</p>
<p>Try out the pages in the sidebar at the top left and the search bar!</p>
<small>Fun fact: you are currently using VnPower's main Pixiv account right now,
if you are using the official instance :D</small>
</div>
{{ template "footer.html" }}

View file

@ -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})
}