Update embed, homepage and project creation fixes (#356)

This commit is contained in:
Geometrically
2022-02-21 16:29:13 -07:00
committed by GitHub
parent 0146a077e8
commit b8b942cdae
4 changed files with 31 additions and 41 deletions

View File

@@ -13,9 +13,9 @@
<NuxtLink to="/mods" class="tab"> <NuxtLink to="/mods" class="tab">
<span>Mods</span> <span>Mods</span>
</NuxtLink> </NuxtLink>
<NuxtLink to="/modpacks" class="tab"> <!-- <NuxtLink to="/modpacks" class="tab">
<span>Modpacks</span> <span>Modpacks</span>
</NuxtLink> </NuxtLink>-->
</div> </div>
</section> </section>
<section class="column-grow user-outer" aria-label="Account links"> <section class="column-grow user-outer" aria-label="Account links">

View File

@@ -14,7 +14,7 @@ export default {
htmlAttrs: { htmlAttrs: {
lang: 'en', lang: 'en',
}, },
title: 'Modrinth', title: 'Modrinth: Download and publish Minecraft Mods',
meta: [ meta: [
{ {
charset: 'utf-8', charset: 'utf-8',
@@ -27,7 +27,7 @@ export default {
hid: 'description', hid: 'description',
name: 'description', name: 'description',
content: content:
'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.', 'Download Minecraft Fabric and Forge mods on Modrinth. Discover and publish projects on Modrinth with a modern, easy to use interface and API.',
}, },
{ {
@@ -79,7 +79,7 @@ export default {
{ {
hid: 'og:image', hid: 'og:image',
name: 'og:image', name: 'og:image',
content: 'https://cdn.modrinth.com/modrinth.png', content: 'https://cdn.modrinth.com/modrinth-new.png',
}, },
{ {
hid: 'twitter:card', hid: 'twitter:card',
@@ -218,11 +218,13 @@ export default {
exclude: [ exclude: [
'/settings/**', '/settings/**',
'/settings', '/settings',
'notifications', '/notifications',
'moderation', '/moderation',
'search', '/search',
'/search/**',
'/create/**', '/create/**',
], ],
routes: ['mods', 'modpacks'],
}, },
/* /*
** Axios module configuration ** Axios module configuration

View File

@@ -22,6 +22,19 @@
</button> </button>
</header> </header>
<section class="card essentials"> <section class="card essentials">
<h3>Project type</h3>
<label>
<span class="no-padding">The project type of your project.</span>
<Multiselect
v-model="projectType"
placeholder="Select one"
:options="projectTypes"
:searchable="false"
:close-on-select="true"
:show-labels="false"
:allow-empty="false"
/>
</label>
<h3>Name</h3> <h3>Name</h3>
<label> <label>
<span> <span>
@@ -80,19 +93,6 @@
placeholder="Enter the vanity URL slug" placeholder="Enter the vanity URL slug"
/> />
</label> </label>
<h3>Project type</h3>
<label>
<span class="no-padding">The project type of your project.</span>
<Multiselect
v-model="projectType"
placeholder="Select one"
:options="projectTypes"
:searchable="false"
:close-on-select="true"
:show-labels="false"
:allow-empty="false"
/>
</label>
</section> </section>
<section class="card project-icon"> <section class="card project-icon">
<h3>Icon</h3> <h3>Icon</h3>

View File

@@ -75,8 +75,9 @@
<p> <p>
We are always adding new features and working towards making We are always adding new features and working towards making
Modrinth have the friendliest user experience possible. Right now, Modrinth have the friendliest user experience possible. Right now,
we're working on finally paying out creators on our site. If you we're working on finishing modpacks and finally paying out
have any more feature ideas, feel free to join our creators on our site. If you have any more feature ideas, feel
free to join our
<a href="https://discord.gg/EUHuJHt" target="_blank">Discord</a>! <a href="https://discord.gg/EUHuJHt" target="_blank">Discord</a>!
</p> </p>
<div class="features"> <div class="features">
@@ -92,10 +93,6 @@
<CheckIcon /> <CheckIcon />
<p>Real-time search</p> <p>Real-time search</p>
</div> </div>
<div class="feature completed">
<CheckIcon />
<p>Mods and modpacks</p>
</div>
<div class="feature completed"> <div class="feature completed">
<CheckIcon /> <CheckIcon />
<p>Customizable project pages</p> <p>Customizable project pages</p>
@@ -116,6 +113,10 @@
<CheckIcon /> <CheckIcon />
<p>Dependency management</p> <p>Dependency management</p>
</div> </div>
<div class="feature in-progress">
<InProgressIcon />
<p>Modpacks</p>
</div>
<div class="feature in-progress"> <div class="feature in-progress">
<InProgressIcon /> <InProgressIcon />
<p>Creator payouts</p> <p>Creator payouts</p>
@@ -236,15 +237,11 @@ export default {
width: 100%; width: 100%;
height: 40rem; height: 40rem;
object-fit: cover; object-fit: cover;
object-position: 10% 12.5%; object-position: 15% 12.5%;
@media screen and (max-width: 1280px) { @media screen and (max-width: 1280px) {
border-radius: 0; border-radius: 0;
} }
@media screen and (max-width: 750px) {
height: calc(75vh);
}
} }
.text { .text {
@@ -304,18 +301,9 @@ export default {
&.left { &.left {
flex-direction: column; flex-direction: column;
.text-container {
padding-left: 3rem;
//padding-right: 0;
}
} }
.text-container { .text-container {
//mobile:
padding-left: 3rem;
padding-right: 3rem;
.subheader { .subheader {
margin: 0; margin: 0;
color: var(--color-brand); color: var(--color-brand);