Skip to content

Commit 079c8f4

Browse files
committed
Remove obsolete client preview
1 parent d1372b0 commit 079c8f4

3 files changed

Lines changed: 0 additions & 52 deletions

File tree

-750 Bytes
Binary file not shown.

app/scss/custom.scss

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -242,36 +242,6 @@ pre {
242242
}
243243
}
244244

245-
.client-preview {
246-
background: #50525e;
247-
padding: 17px 24px 17px 24px;
248-
gap: 25px;
249-
font-size: 15px;
250-
251-
.mt-thumb {
252-
width: 96px;
253-
height: 64px;
254-
}
255-
256-
p {
257-
color: #fefefe;
258-
margin: 0;
259-
}
260-
261-
.desc p:nth-child(2) {
262-
@include line_clamp(2);
263-
line-height: 1.4;
264-
}
265-
266-
.title {
267-
color: #72fe63;
268-
}
269-
270-
.desc {
271-
margin-top: -4px;
272-
}
273-
}
274-
275245
.flex-grow {
276246
flex-grow: 1;
277247
}

app/templates/packages/screenshots.html

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -85,28 +85,6 @@ <h2 class="mt-0">{{ _("Screenshots") }}</h2>
8585
</noscript>
8686
{% endif %}
8787

88-
<h2 id="client-preview">{{ _("Client Preview") }}</h2>
89-
<p class="mb-4">
90-
{{ _("The first screenshot in the list above will be the package thumbnail.") }}
91-
</p>
92-
<div class="client-preview d-flex flex-row align-items-center">
93-
<img class="mt-thumb" src="{{ package.get_thumb_or_placeholder(1) }}" alt="{{ _('Thumbnail') }}">
94-
<div class="flex-grow-1 desc align-self-stretch">
95-
<p>
96-
<span class="title">{{ package.title }}</span> by {{ package.author.username }}
97-
</p>
98-
<p>
99-
{% if package.state.name == 'WORK_IN_PROGRESS' %}
100-
Work in Progress.
101-
{% endif %}
102-
{{ package.short_desc }}
103-
</p>
104-
</div>
105-
<div>
106-
<img src="/static/minetest_client_buttons.png" alt="Install">
107-
</div>
108-
</div>
109-
11088
<h2>{{ _("Cover Image") }}</h2>
11189

11290
{% if screenshots %}

0 commit comments

Comments
 (0)