2023-05-13 10:03:13 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Pixiv</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<link href="/css/style.css" rel="stylesheet" />
|
|
|
|
<link href="/css/template.css" rel="stylesheet" />
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<nav class="navbar">
|
|
|
|
<ul class="navbar-list">
|
|
|
|
<li class="navbar-item">
|
|
|
|
<a href="#" class="navbar-brand"><b>Pixiv</b></a>
|
|
|
|
</li>
|
|
|
|
<li class="navbar-item">
|
|
|
|
<input type="text" name="name" id="name" placeholder="asd" />
|
|
|
|
</li>
|
|
|
|
<li class="navbar-item">
|
|
|
|
<button>asd</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<div class="container">
|
|
|
|
<h1>Recommended works</h1>
|
|
|
|
<div class="thumbnail-container">
|
2023-05-13 12:25:32 +00:00
|
|
|
{{ range .Recommended }}
|
2023-05-13 10:03:13 +00:00
|
|
|
<div class="artwork-thumbnail-small artwork-thumbnail">
|
|
|
|
<a href="#">
|
|
|
|
<img
|
|
|
|
src="{{ .Images.square_medium }}"
|
|
|
|
alt="{{ .Title }}"
|
|
|
|
class="artwork-master-image"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<h3 class="artwork-thumbnail-title no-margin">{{ .Title }}</h3>
|
|
|
|
<a href="#" class="artwork-thumbnail-artist flex"
|
|
|
|
><img
|
2023-05-14 05:47:20 +00:00
|
|
|
src="{{ .Artist.Avatar.medium }}"
|
|
|
|
alt="{{ .Artist.Name }}"
|
2023-05-13 10:03:13 +00:00
|
|
|
class="artwork-thumbnail-artist-avatar border-rounded"
|
|
|
|
/>
|
2023-05-14 05:47:20 +00:00
|
|
|
{{ .Artist.Name }}</a
|
2023-05-13 10:03:13 +00:00
|
|
|
>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-05-13 12:25:32 +00:00
|
|
|
<h1>Today's rankings</h1>
|
2023-05-13 10:03:13 +00:00
|
|
|
<div class="thumbnail-container">
|
2023-05-13 12:25:32 +00:00
|
|
|
{{ range $i, $_ := .Rankings }}
|
2023-05-13 10:03:13 +00:00
|
|
|
<div class="artwork-thumbnail-large artwork-thumbnail">
|
2023-05-13 12:25:32 +00:00
|
|
|
<div class="artwork-rank-circle">{{ $i | inc}}</div>
|
2023-05-13 10:03:13 +00:00
|
|
|
<a href="#">
|
|
|
|
<img
|
2023-05-13 12:25:32 +00:00
|
|
|
src="{{ .Images.square_medium }}"
|
|
|
|
alt="{{ .Title }}"
|
2023-05-13 10:03:13 +00:00
|
|
|
class="artwork-master-image"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
|
2023-05-13 12:25:32 +00:00
|
|
|
<h3 class="artwork-thumbnail-title no-margin">{{ .Title }}</h3>
|
2023-05-13 10:03:13 +00:00
|
|
|
<a href="#" class="artwork-thumbnail-artist flex"
|
|
|
|
><img
|
2023-05-14 05:47:20 +00:00
|
|
|
src="{{ .Artist.Avatar.medium }}"
|
|
|
|
alt="{{ .Artist.Name }}"
|
2023-05-13 10:03:13 +00:00
|
|
|
class="artwork-thumbnail-artist-avatar border-rounded"
|
|
|
|
/>
|
2023-05-14 05:47:20 +00:00
|
|
|
{{ .Artist.Name }}</a
|
2023-05-13 10:03:13 +00:00
|
|
|
>
|
|
|
|
</div>
|
2023-05-13 12:25:32 +00:00
|
|
|
{{ end }}
|
2023-05-13 10:03:13 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h1>Pixivision</h1>
|
|
|
|
<div class="thumbnail-container">
|
2023-05-13 14:33:40 +00:00
|
|
|
{{ range .Spotlights }}
|
|
|
|
<a href="{{ .URL }}" class="spotlight-thumbnail">
|
2023-05-13 10:03:13 +00:00
|
|
|
<img
|
2023-05-13 14:33:40 +00:00
|
|
|
src="{{ .Thumbnail }}"
|
|
|
|
alt="{{ .Title }}"
|
2023-05-13 10:03:13 +00:00
|
|
|
class="spotlight-master-image"
|
|
|
|
/>
|
|
|
|
<div class="spotlight-title-wrapper">
|
2023-05-13 14:33:40 +00:00
|
|
|
<h2 class="spotlight-title">{{ .Title }}</h2>
|
2023-05-13 10:03:13 +00:00
|
|
|
</div>
|
|
|
|
</a>
|
2023-05-13 14:33:40 +00:00
|
|
|
{{ end }}
|
2023-05-13 10:03:13 +00:00
|
|
|
</div>
|
2023-05-14 04:11:44 +00:00
|
|
|
<h1>Newest by all</h1>
|
|
|
|
<div>
|
|
|
|
{{ range .Newest }}
|
|
|
|
<div class="artwork-thumbnail-small artwork-thumbnail">
|
|
|
|
<a href="#">
|
|
|
|
<img
|
|
|
|
src="{{ .Images.square_medium }}"
|
|
|
|
alt="{{ .Title }}"
|
|
|
|
class="artwork-master-image"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<h3 class="artwork-thumbnail-title no-margin">{{ .Title }}</h3>
|
|
|
|
<a href="#" class="artwork-thumbnail-artist flex"
|
|
|
|
><img
|
2023-05-14 05:47:20 +00:00
|
|
|
src="{{ .Artist.Avatar.medium }}"
|
|
|
|
alt="{{ .Artist.Name }}"
|
2023-05-14 04:11:44 +00:00
|
|
|
class="artwork-thumbnail-artist-avatar border-rounded"
|
|
|
|
/>
|
2023-05-14 05:47:20 +00:00
|
|
|
{{ .Artist.Name }}</a
|
2023-05-14 04:11:44 +00:00
|
|
|
>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2023-05-13 10:03:13 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|