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

Commit

Permalink
Update embed, homepage and project creation fixes (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored Feb 21, 2022
1 parent 0146a07 commit b8b942c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 41 deletions.
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<NuxtLink to="/mods" class="tab">
<span>Mods</span>
</NuxtLink>
<NuxtLink to="/modpacks" class="tab">
<!-- <NuxtLink to="/modpacks" class="tab">
<span>Modpacks</span>
</NuxtLink>
</NuxtLink>-->
</div>
</section>
<section class="column-grow user-outer" aria-label="Account links">
Expand Down
14 changes: 8 additions & 6 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
htmlAttrs: {
lang: 'en',
},
title: 'Modrinth',
title: 'Modrinth: Download and publish Minecraft Mods',
meta: [
{
charset: 'utf-8',
Expand All @@ -27,7 +27,7 @@ export default {
hid: 'description',
name: 'description',
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.',
},

{
Expand Down Expand Up @@ -79,7 +79,7 @@ export default {
{
hid: 'og:image',
name: 'og:image',
content: 'https://cdn.modrinth.com/modrinth.png',
content: 'https://cdn.modrinth.com/modrinth-new.png',
},
{
hid: 'twitter:card',
Expand Down Expand Up @@ -218,11 +218,13 @@ export default {
exclude: [
'/settings/**',
'/settings',
'notifications',
'moderation',
'search',
'/notifications',
'/moderation',
'/search',
'/search/**',
'/create/**',
],
routes: ['mods', 'modpacks'],
},
/*
** Axios module configuration
Expand Down
26 changes: 13 additions & 13 deletions pages/create/project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
</button>
</header>
<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>
<label>
<span>
Expand Down Expand Up @@ -80,19 +93,6 @@
placeholder="Enter the vanity URL slug"
/>
</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 class="card project-icon">
<h3>Icon</h3>
Expand Down
28 changes: 8 additions & 20 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@
<p>
We are always adding new features and working towards making
Modrinth have the friendliest user experience possible. Right now,
we're working on finally paying out creators on our site. If you
have any more feature ideas, feel free to join our
we're working on finishing modpacks and finally paying out
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>!
</p>
<div class="features">
Expand All @@ -92,10 +93,6 @@
<CheckIcon />
<p>Real-time search</p>
</div>
<div class="feature completed">
<CheckIcon />
<p>Mods and modpacks</p>
</div>
<div class="feature completed">
<CheckIcon />
<p>Customizable project pages</p>
Expand All @@ -116,6 +113,10 @@
<CheckIcon />
<p>Dependency management</p>
</div>
<div class="feature in-progress">
<InProgressIcon />
<p>Modpacks</p>
</div>
<div class="feature in-progress">
<InProgressIcon />
<p>Creator payouts</p>
Expand Down Expand Up @@ -236,15 +237,11 @@ export default {
width: 100%;
height: 40rem;
object-fit: cover;
object-position: 10% 12.5%;
object-position: 15% 12.5%;
@media screen and (max-width: 1280px) {
border-radius: 0;
}
@media screen and (max-width: 750px) {
height: calc(75vh);
}
}
.text {
Expand Down Expand Up @@ -304,18 +301,9 @@ export default {
&.left {
flex-direction: column;
.text-container {
padding-left: 3rem;
//padding-right: 0;
}
}
.text-container {
//mobile:
padding-left: 3rem;
padding-right: 3rem;
.subheader {
margin: 0;
color: var(--color-brand);
Expand Down

0 comments on commit b8b942c

Please sign in to comment.