You've already forked AstralRinth
forked from didirus/AstralRinth
Prefer icons from modrinth/assets (#3394)
Replaced all icon usages of `apps/frontend/src/assets/image/utils` for `@modrinth/assets`. The only icon which has been changed is the `WorldIcon`, which has been replaced by the `GlobeIcon`.
This commit is contained in:
@@ -24,7 +24,10 @@
|
||||
</h2>
|
||||
<div class="button-group">
|
||||
<ButtonStyled color="brand" size="large">
|
||||
<nuxt-link to="/mods"> <CompassIcon aria-hidden="true" /> Discover mods </nuxt-link>
|
||||
<nuxt-link to="/mods">
|
||||
<CompassIcon aria-hidden="true" />
|
||||
Discover mods
|
||||
</nuxt-link>
|
||||
</ButtonStyled>
|
||||
<ButtonStyled size="large" type="outlined">
|
||||
<nuxt-link v-if="!auth.user" to="/auth/sign-up" rel="noopener nofollow">
|
||||
@@ -197,8 +200,8 @@
|
||||
<p>
|
||||
Modrinth's open-source API lets launchers add deep integration with Modrinth. You can
|
||||
use Modrinth through
|
||||
<nuxt-link class="title-link" to="/app">our own app</nuxt-link> and some of the most
|
||||
popular launchers like ATLauncher, MultiMC, and Prism Launcher.
|
||||
<nuxt-link class="title-link" to="/app">our own app</nuxt-link>
|
||||
and some of the most popular launchers like ATLauncher, MultiMC, and Prism Launcher.
|
||||
</p>
|
||||
</div>
|
||||
<div class="blob-demonstration gradient-border">
|
||||
@@ -521,10 +524,15 @@
|
||||
<script setup>
|
||||
import { Multiselect } from "vue-multiselect";
|
||||
import { ButtonStyled } from "@modrinth/ui";
|
||||
import { CompassIcon, LogInIcon, DashboardIcon, NewspaperIcon } from "@modrinth/assets";
|
||||
import SearchIcon from "~/assets/images/utils/search.svg?component";
|
||||
import CalendarIcon from "~/assets/images/utils/calendar.svg?component";
|
||||
import ModrinthIcon from "~/assets/images/logo.svg?component";
|
||||
import {
|
||||
CompassIcon,
|
||||
LogInIcon,
|
||||
DashboardIcon,
|
||||
NewspaperIcon,
|
||||
SearchIcon,
|
||||
CalendarIcon,
|
||||
ModrinthIcon,
|
||||
} from "@modrinth/assets";
|
||||
import PrismLauncherLogo from "~/assets/images/external/prism.svg?component";
|
||||
import ATLauncherLogo from "~/assets/images/external/atlauncher.svg?component";
|
||||
import Avatar from "~/components/ui/Avatar.vue";
|
||||
@@ -1119,6 +1127,7 @@ async function updateSearchProjects() {
|
||||
background: var(--landing-green-label-bg);
|
||||
color: var(--landing-green-label);
|
||||
}
|
||||
|
||||
&.blue {
|
||||
background: var(--landing-blue-label-bg);
|
||||
color: var(--landing-blue-label);
|
||||
@@ -1235,6 +1244,7 @@ async function updateSearchProjects() {
|
||||
h3 {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
@@ -1302,6 +1312,7 @@ async function updateSearchProjects() {
|
||||
h3 {
|
||||
font-size: 4rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.625rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user