You've already forked AstralRinth
forked from didirus/AstralRinth
Landing page (#353)
* Landing page * Change legal corp name, remove google from privacy policy, other fixes
This commit is contained in:
+345
-10
@@ -11,8 +11,9 @@
|
||||
<h1>Discover, Play, and Create Minecraft content</h1>
|
||||
<h3>
|
||||
Find enjoyable and quality content through our open-source modding
|
||||
platform built for the community. Create stuff, get paid*, and deploy
|
||||
your project with our fully documented API!
|
||||
platform built for the community. Create stuff, get
|
||||
paid<sup>WIP</sup>, and deploy your project with our fully documented
|
||||
API!
|
||||
</h3>
|
||||
<form action="/mods">
|
||||
<div class="iconified-input">
|
||||
@@ -33,17 +34,173 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="points card">
|
||||
<div class="point">
|
||||
<div class="image">
|
||||
<video
|
||||
v-if="$colorMode.value === 'light'"
|
||||
autoplay
|
||||
loop
|
||||
muted
|
||||
src="~/assets/images/search.mp4"
|
||||
/>
|
||||
<video
|
||||
v-else
|
||||
autoplay
|
||||
loop
|
||||
muted
|
||||
src="~/assets/images/search-dark.mp4"
|
||||
/>
|
||||
</div>
|
||||
<div class="text-container">
|
||||
<h3 class="subheader">Fast and Powerful Search</h3>
|
||||
<h1>Find What You Want, Quickly and Easily</h1>
|
||||
<p>
|
||||
We are invested in making it extremely simple to find what you want
|
||||
to play. Our search is adaptable, customizable and easy to use!
|
||||
Whether you're a power user or someone who just discovered the world
|
||||
of Minecraft modding, we've got you covered.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="point left">
|
||||
<div class="text-container">
|
||||
<div>
|
||||
<h3 class="subheader">Packed with Features</h3>
|
||||
<h1>A Constantly Evolving Platform</h1>
|
||||
<p>
|
||||
We are always adding new features and making Modrinth have the
|
||||
best user experience. 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 discord!
|
||||
</p>
|
||||
<div class="features">
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Open Source</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Real-time search</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Project Gallery</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Robust Team Management</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Completely documented API</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Dependency Management</p>
|
||||
</div>
|
||||
<div class="feature completed">
|
||||
<CheckIcon />
|
||||
<p>Modpacks</p>
|
||||
</div>
|
||||
<div class="feature in-progress">
|
||||
<InProgressIcon />
|
||||
<p>Creator Payouts</p>
|
||||
</div>
|
||||
<div class="feature in-progress">
|
||||
<InProgressIcon />
|
||||
<p>More project types</p>
|
||||
</div>
|
||||
<div class="feature in-progress">
|
||||
<InProgressIcon />
|
||||
<p>Creator analytics</p>
|
||||
</div>
|
||||
<div class="feature in-progress">
|
||||
<InProgressIcon />
|
||||
<p>In-house auth</p>
|
||||
</div>
|
||||
<div class="feature in-progress">
|
||||
<InProgressIcon />
|
||||
<p>Comments</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="image">
|
||||
<FeaturesIllustration />
|
||||
</div>
|
||||
</div>
|
||||
<div class="point">
|
||||
<div class="image">
|
||||
<div class="terminal">
|
||||
<div class="line-nums">
|
||||
<span>1</span>
|
||||
<span>2</span>
|
||||
<span>3</span>
|
||||
<span>4</span>
|
||||
<span>5</span>
|
||||
<span>6</span>
|
||||
<span>7</span>
|
||||
<span>8</span>
|
||||
<span>9</span>
|
||||
<span>10</span>
|
||||
<span>11</span>
|
||||
<span>12</span>
|
||||
<span>13</span>
|
||||
<span>14</span>
|
||||
<span>15</span>
|
||||
</div>
|
||||
<div class="text" v-highlightjs>
|
||||
<span class="command">curl</span>
|
||||
<span>https://api.modrinth.com/v2/project/sodium</span>
|
||||
<pre><code class="language-json">
|
||||
{
|
||||
"id": "AANobbMI",
|
||||
"slug": "sodium",
|
||||
"project_type": "mod",
|
||||
"team": "4reLOAKe",
|
||||
"title": "Sodium",
|
||||
"description": "Modern rendering engine and client-side optimization mod for Minecraft",
|
||||
"body": "...",
|
||||
"body_url": "https://cdn.modrinth.com/data/AANobbMI/description.md",
|
||||
"published": "2021-01-03T00:53:34.185936Z",
|
||||
"updated": "2022-01-14T02:35:40.373686Z",
|
||||
...
|
||||
}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-container">
|
||||
<h3 class="subheader">Simple to Integrate</h3>
|
||||
<h1>An Open-Source API for Everyone to Use</h1>
|
||||
<p>
|
||||
We have created an open source modding platform for the community.
|
||||
We're committed to open source so the community can trust us as
|
||||
their modding platform. Our API is
|
||||
<a href="https://docs.modrinth.com">fully documented</a> so anyone
|
||||
can use it. We will never add restrictions on our API!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import SearchIcon from '~/assets/images/utils/search.svg?inline'
|
||||
import CheckIcon from '~/assets/images/utils/check.svg?inline'
|
||||
import InProgressIcon from '~/assets/images/utils/updated.svg?inline'
|
||||
import RightArrowIcon from '~/assets/images/utils/right-arrow.svg?inline'
|
||||
|
||||
import FeaturesIllustration from '~/assets/images/illustrations/features.svg?inline'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
SearchIcon,
|
||||
RightArrowIcon,
|
||||
CheckIcon,
|
||||
InProgressIcon,
|
||||
FeaturesIllustration,
|
||||
},
|
||||
auth: false,
|
||||
data() {
|
||||
@@ -62,7 +219,7 @@ export default {
|
||||
img {
|
||||
border-radius: var(--size-rounded-card);
|
||||
width: 100%;
|
||||
height: calc(75vh - var(--size-navbar-height));
|
||||
height: 40rem;
|
||||
object-fit: cover;
|
||||
object-position: 10% 12.5%;
|
||||
|
||||
@@ -77,18 +234,13 @@ export default {
|
||||
|
||||
.text {
|
||||
position: absolute;
|
||||
top: calc(10vh + var(--size-navbar-height));
|
||||
top: calc(5rem + var(--size-navbar-height));
|
||||
max-width: 30rem;
|
||||
text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
|
||||
padding-left: 6rem;
|
||||
|
||||
color: #fff;
|
||||
|
||||
h2 {
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
margin: 1rem 0;
|
||||
@@ -115,8 +267,191 @@ export default {
|
||||
}
|
||||
|
||||
@media screen and (max-width: 750px) {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.points {
|
||||
border-radius: 0;
|
||||
padding: var(--spacing-card-lg);
|
||||
margin-top: 1rem;
|
||||
|
||||
.point {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column-reverse;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
&.left {
|
||||
flex-direction: column;
|
||||
|
||||
.text-container {
|
||||
padding-left: 3rem;
|
||||
//padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.text-container {
|
||||
//mobile:
|
||||
padding-left: 3rem;
|
||||
max-width: 55%;
|
||||
padding-right: 3rem;
|
||||
|
||||
.subheader {
|
||||
margin: 0;
|
||||
color: var(--color-brand);
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.features {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
row-gap: 1rem;
|
||||
|
||||
.feature {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
svg {
|
||||
min-width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
&.completed {
|
||||
svg {
|
||||
color: var(--color-brand);
|
||||
}
|
||||
}
|
||||
|
||||
&.in-progress {
|
||||
svg {
|
||||
color: var(--color-badge-yellow-text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.image {
|
||||
display: none;
|
||||
padding: 2rem;
|
||||
|
||||
svg {
|
||||
color: var(--color-brand);
|
||||
width: fit-content;
|
||||
height: unset;
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
border-radius: var(--size-rounded-lg);
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
.terminal {
|
||||
display: flex;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: var(--size-rounded-lg);
|
||||
background-color: var(--color-code-bg);
|
||||
font-family: monospace;
|
||||
font-size: 80%;
|
||||
line-height: 1.5rem;
|
||||
|
||||
.line-nums {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0.5rem;
|
||||
color: var(--color-icon);
|
||||
}
|
||||
|
||||
.text {
|
||||
padding: 0.5rem;
|
||||
.command {
|
||||
color: var(--color-brand);
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
overflow-y: hidden;
|
||||
background-color: var(--color-code-bg);
|
||||
|
||||
code {
|
||||
padding: 0;
|
||||
|
||||
border-radius: 0;
|
||||
background-color: var(--color-code-bg);
|
||||
color: var(--color-code-text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 500px) {
|
||||
.points {
|
||||
.point {
|
||||
.text-container {
|
||||
.features {
|
||||
.feature {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 750px) {
|
||||
.points {
|
||||
.point {
|
||||
margin-bottom: 0;
|
||||
|
||||
.image {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.points {
|
||||
border-radius: var(--spacing-card-lg);
|
||||
.point {
|
||||
flex-direction: row;
|
||||
|
||||
&.left {
|
||||
flex-direction: row;
|
||||
|
||||
.text-container {
|
||||
padding-left: 3rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.text-container {
|
||||
width: 60%;
|
||||
padding-right: 3rem;
|
||||
|
||||
.features {
|
||||
.feature {
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user