App redesign (#2946)

* Start of app redesign

* format

* continue progress

* Content page nearly done

* Fix recursion issues with content page

* Fix update all alignment

* Discover page progress

* Settings progress

* Removed unlocked-size hack that breaks web

* Revamp project page, refactor web project page to share code with app, fixed loading bar, misc UI/UX enhancements, update ko-fi logo, update arrow icons, fix web issues caused by floating-vue migration, fix tooltip issues, update web tooltips, clean up web hydration issues

* Ads + run prettier

* Begin auth refactor, move common messages to ui lib, add i18n extraction to all apps, begin Library refactor

* fix ads not hiding when plus log in

* rev lockfile changes/conflicts

* Fix sign in page

* Add generated

* (mostly) Data driven search

* Fix search mobile issue

* profile fixes

* Project versions page, fix typescript on UI lib and misc fixes

* Remove unused gallery component

* Fix linkfunction err

* Search filter controls at top, localization for locked filters

* Fix provided filter names

* Fix navigating from instance browse to main browse

* Friends frontend (#2995)

* Friends system frontend

* (almost) finish frontend

* finish friends, fix lint

* Fix lint

---------

Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>

* Refresh macOS app icon

* Update web search UI more

* Fix link opens

* Fix frontend build

---------

Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
Prospector
2024-12-11 19:54:18 -08:00
committed by GitHub
parent 6ec1dcf088
commit c39bb78e38
257 changed files with 15713 additions and 9475 deletions

View File

@@ -1,6 +1,6 @@
# Modrinth Documentation
Welcome to the Modrinth documentation!
Welcome to the Modrinth documentation!
## Development

View File

@@ -354,7 +354,7 @@ components:
items:
type: string
description: The mod loaders that this version supports. In case of resource packs, use "minecraft"
example: ["fabric", "forge", "minecraft"]
example: ['fabric', 'forge', 'minecraft']
featured:
type: boolean
description: Whether the version is featured or not

View File

@@ -6,19 +6,21 @@
- title: __Welcome to Modrinth's Discord server!__
url: https://modrinth.com
color: 0x1bd96a
description: "Modrinth is the place for Minecraft mods, plugins, data packs, shaders, resource packs, and
modpacks. Discover, play, and share Minecraft content through our open-source platform built for the community."
description:
'Modrinth is the place for Minecraft mods, plugins, data packs, shaders, resource packs, and
modpacks. Discover, play, and share Minecraft content through our open-source platform built for the community.'
- type: embed
embeds:
- title: "**:scroll: __Rules__**"
- title: '**:scroll: __Rules__**'
color: 0x4f9cff
description: "Modrinth's rules are easy to follow. Despite this, please keep in mind that this is not an entirely
description:
"Modrinth's rules are easy to follow. Despite this, please keep in mind that this is not an entirely
open forum. First and foremost, this Discord server is intended to facilitate the development of Modrinth and
for communication regarding Modrinth. Ultimately, it is up to the discretion of the moderators whether your
messages are in violation of our rules.\n\n
Modrinth's rules are split up into two categories: the **__DOs__** and the **__DO NOTs__**."
- title: ":white_check_mark: Do:"
- title: ':white_check_mark: Do:'
color: 0x1bd96a
description: >-
1. Treat every user with respect and consider the opinions and viewpoints of others
@@ -33,7 +35,7 @@
4. Contact the moderators at any time via the <@&895382919772766219> ping
5. Respect the use of accessibility and self-identity tools such as [PluralKit](https://pluralkit.me)
- title: ":no_entry: Do not:"
- title: ':no_entry: Do not:'
color: 0xff496e
description: >-
6. Harass, bother, provoke, or insult anyone, including by sending unsolicited DMs or friend requests
@@ -46,7 +48,7 @@
9. Report Modrinth content in the Discord (use the Report button on the website)
10. Assume staff member's opinions reflect those of Modrinth
- title: ":pencil2: Nickname policy:"
- title: ':pencil2: Nickname policy:'
color: 0xffa347
description: >-
We want to keep this server clean and therefore require that display names of all members on the server are
@@ -60,7 +62,7 @@
from the server. We will also permanently remove any users whose profiles contain inappropriate content.
- type: links
color: 0x4f9cff
title: "**:link: __Links__**"
title: '**:link: __Links__**'
links:
Website: https://modrinth.com
Support: https://support.modrinth.com

View File

@@ -1,6 +1,6 @@
import { defineCollection } from 'astro:content';
import { docsSchema } from '@astrojs/starlight/schema';
import { defineCollection } from 'astro:content'
import { docsSchema } from '@astrojs/starlight/schema'
export const collections = {
docs: defineCollection({ schema: docsSchema() }),
};
docs: defineCollection({ schema: docsSchema() }),
}

View File

@@ -7,4 +7,4 @@ description: Guide for contributing to Modrinth's gradle plugin
Minotaur contains two test environments within it - one with ForgeGradle and one with Fabric Loom. You may tweak with these environments to test whatever you may be trying; just make sure that the `modrinth` task within each still functions properly. GitHub Actions will validate this if you're making a pull request, so you may want to use [`act pull_request`](https://github.com/nektos/act) to test them locally.
[minotaur]: https://github.com/modrinth/minotaur
[minotaur]: https://github.com/modrinth/minotaur

View File

@@ -12,4 +12,4 @@ hero:
link: https://support.modrinth.com
icon: external
variant: minimal
---
---

View File

@@ -1,9 +1,9 @@
:root,
::backdrop,
:root[data-theme='light'],
[data-theme='light'] ::backdrop{
[data-theme='light'] ::backdrop {
--sl-font-system: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto,
Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
--sl-color-white: var(--color-contrast); /* “white” */
--sl-color-gray-1: var(--color-base);
@@ -49,6 +49,6 @@
}
:root[data-theme='light'],
[data-theme='light'] ::backdrop{
[data-theme='light'] ::backdrop {
--sl-color-bg: var(--color-raised-bg);
}

View File

@@ -1,3 +1,3 @@
{
"extends": "astro/tsconfigs/strict"
}
}