Skip to content

Commit

Permalink
Merge branch 'main' into prism-import-dot-minecraft
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored Jan 9, 2025
2 parents 6ccc53d + 0409fce commit f91473e
Show file tree
Hide file tree
Showing 24 changed files with 439 additions and 191 deletions.
172 changes: 44 additions & 128 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions apps/frontend/src/components/ui/AdPlaceholder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import { ChevronRightIcon } from "@modrinth/assets";
useHead({
script: [
{
// Clean.io
src: "https://cadmus.script.ac/d14pdm1b7fi5kh/script.js",
},
// {
// // Clean.io
// src: "https://cadmus.script.ac/d14pdm1b7fi5kh/script.js",
// },
{
// Aditude
src: "https://dn0qt3r0xannq.cloudfront.net/modrinth-7JfmkEIXEp/modrinth-longform/prebid-load.js",
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/ui/report/ReportsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defineProps({
const viewMode = ref("open");
const reports = ref([]);
let { data: rawReports } = await useAsyncData("report", () => useBaseFetch("report"));
let { data: rawReports } = await useAsyncData("report", () => useBaseFetch("report?count=1000"));
rawReports = rawReports.value.map((report) => {
report.item_id = report.item_id.replace(/"/g, "");
Expand Down
12 changes: 10 additions & 2 deletions apps/frontend/src/components/ui/servers/ServerListing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,15 @@
Your server's hardware is currently being upgraded and will be back online shortly.
</div>
<div
v-else-if="status === 'suspended'"
v-if="status === 'suspended' && suspension_reason === 'support'"
class="relative -mt-4 flex w-full flex-row items-center gap-2 rounded-b-3xl bg-bg-blue p-4 text-sm font-bold text-contrast"
>
<HammerIcon />
You recently requested support for your server and we are actively working on it. It will be
back online shortly.
</div>
<div
v-else-if="status === 'suspended' && suspension_reason !== 'upgrading'"
class="relative -mt-4 flex w-full flex-row items-center gap-2 rounded-b-3xl bg-bg-red p-4 text-sm font-bold text-contrast"
>
<UiServersIconsPanelErrorIcon class="!size-5" />
Expand All @@ -72,7 +80,7 @@
</template>

<script setup lang="ts">
import { ChevronRightIcon, LockIcon } from "@modrinth/assets";
import { ChevronRightIcon, HammerIcon, LockIcon } from "@modrinth/assets";
import type { Project, Server } from "~/types/servers";
const props = defineProps<Partial<Server>>();
Expand Down
Loading

0 comments on commit f91473e

Please sign in to comment.