Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit b8b942c

Browse files
Update embed, homepage and project creation fixes (#356)
1 parent 0146a07 commit b8b942c

File tree

4 files changed

+31
-41
lines changed

4 files changed

+31
-41
lines changed

layouts/default.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<NuxtLink to="/mods" class="tab">
1414
<span>Mods</span>
1515
</NuxtLink>
16-
<NuxtLink to="/modpacks" class="tab">
16+
<!-- <NuxtLink to="/modpacks" class="tab">
1717
<span>Modpacks</span>
18-
</NuxtLink>
18+
</NuxtLink>-->
1919
</div>
2020
</section>
2121
<section class="column-grow user-outer" aria-label="Account links">

nuxt.config.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
htmlAttrs: {
1515
lang: 'en',
1616
},
17-
title: 'Modrinth',
17+
title: 'Modrinth: Download and publish Minecraft Mods',
1818
meta: [
1919
{
2020
charset: 'utf-8',
@@ -27,7 +27,7 @@ export default {
2727
hid: 'description',
2828
name: 'description',
2929
content:
30-
'Modrinth is a mod distribution platform. Modrinth is modern, easy to use, and built for modders. Modrinth currently supports Minecraft, including Forge and Fabric mod loaders.',
30+
'Download Minecraft Fabric and Forge mods on Modrinth. Discover and publish projects on Modrinth with a modern, easy to use interface and API.',
3131
},
3232

3333
{
@@ -79,7 +79,7 @@ export default {
7979
{
8080
hid: 'og:image',
8181
name: 'og:image',
82-
content: 'https://cdn.modrinth.com/modrinth.png',
82+
content: 'https://cdn.modrinth.com/modrinth-new.png',
8383
},
8484
{
8585
hid: 'twitter:card',
@@ -218,11 +218,13 @@ export default {
218218
exclude: [
219219
'/settings/**',
220220
'/settings',
221-
'notifications',
222-
'moderation',
223-
'search',
221+
'/notifications',
222+
'/moderation',
223+
'/search',
224+
'/search/**',
224225
'/create/**',
225226
],
227+
routes: ['mods', 'modpacks'],
226228
},
227229
/*
228230
** Axios module configuration

pages/create/project.vue

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@
2222
</button>
2323
</header>
2424
<section class="card essentials">
25+
<h3>Project type</h3>
26+
<label>
27+
<span class="no-padding">The project type of your project.</span>
28+
<Multiselect
29+
v-model="projectType"
30+
placeholder="Select one"
31+
:options="projectTypes"
32+
:searchable="false"
33+
:close-on-select="true"
34+
:show-labels="false"
35+
:allow-empty="false"
36+
/>
37+
</label>
2538
<h3>Name</h3>
2639
<label>
2740
<span>
@@ -80,19 +93,6 @@
8093
placeholder="Enter the vanity URL slug"
8194
/>
8295
</label>
83-
<h3>Project type</h3>
84-
<label>
85-
<span class="no-padding">The project type of your project.</span>
86-
<Multiselect
87-
v-model="projectType"
88-
placeholder="Select one"
89-
:options="projectTypes"
90-
:searchable="false"
91-
:close-on-select="true"
92-
:show-labels="false"
93-
:allow-empty="false"
94-
/>
95-
</label>
9696
</section>
9797
<section class="card project-icon">
9898
<h3>Icon</h3>

pages/index.vue

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@
7575
<p>
7676
We are always adding new features and working towards making
7777
Modrinth have the friendliest user experience possible. Right now,
78-
we're working on finally paying out creators on our site. If you
79-
have any more feature ideas, feel free to join our
78+
we're working on finishing modpacks and finally paying out
79+
creators on our site. If you have any more feature ideas, feel
80+
free to join our
8081
<a href="https://discord.gg/EUHuJHt" target="_blank">Discord</a>!
8182
</p>
8283
<div class="features">
@@ -92,10 +93,6 @@
9293
<CheckIcon />
9394
<p>Real-time search</p>
9495
</div>
95-
<div class="feature completed">
96-
<CheckIcon />
97-
<p>Mods and modpacks</p>
98-
</div>
9996
<div class="feature completed">
10097
<CheckIcon />
10198
<p>Customizable project pages</p>
@@ -116,6 +113,10 @@
116113
<CheckIcon />
117114
<p>Dependency management</p>
118115
</div>
116+
<div class="feature in-progress">
117+
<InProgressIcon />
118+
<p>Modpacks</p>
119+
</div>
119120
<div class="feature in-progress">
120121
<InProgressIcon />
121122
<p>Creator payouts</p>
@@ -236,15 +237,11 @@ export default {
236237
width: 100%;
237238
height: 40rem;
238239
object-fit: cover;
239-
object-position: 10% 12.5%;
240+
object-position: 15% 12.5%;
240241
241242
@media screen and (max-width: 1280px) {
242243
border-radius: 0;
243244
}
244-
245-
@media screen and (max-width: 750px) {
246-
height: calc(75vh);
247-
}
248245
}
249246
250247
.text {
@@ -304,18 +301,9 @@ export default {
304301
305302
&.left {
306303
flex-direction: column;
307-
308-
.text-container {
309-
padding-left: 3rem;
310-
//padding-right: 0;
311-
}
312304
}
313305
314306
.text-container {
315-
//mobile:
316-
padding-left: 3rem;
317-
padding-right: 3rem;
318-
319307
.subheader {
320308
margin: 0;
321309
color: var(--color-brand);

0 commit comments

Comments
 (0)