Project, Search, User redesign (#1281)

* New project page

* fix silly icon tailwind classes

* Start new versions page, add new ButtonStyled component

* Pagination and finish mocking up versions page functionality

* green download button

* hover animation

* New Modal, Avatar refactor, subpages in NavTabs

* lint

* Download modal

* New user page + fix lint

* fix ui lint

* Download animation fix

* Versions filter + finish project page

* Improve consistency of buttons on home page

* Fix ButtonStyled breaking

* Fix margin on version summary

* finish search, new modals, user + project page mobile

* fix gallery image pages

* New project header

* Fix gallery tab showing improperly

* Use auto direction + position for all popouts

* Preliminary user page

* test to see if this fixes login stuff

* remove extra slash

* Add version actions, move download button on versions page

* Listed -> public

* Shorten download modal selector height

* Fix user menu open direction

* Change breakpoint for header collapse

* Only underline title

* Tighten padding on stats a little

* New nav

* Make mobile breakpoint more consistent

* fix header breakpoint regression

* Add sign in button

* Fix edit icon color

* Fix margin at top of screen

* Fix user bios and ad width

* Fix user nav showing when there's only one type of project

* Fix plural projects on user page & extract i18n

* Remove ads on mobile for now

* Fix overflow menu showing hidden items

* NavTabs on mobile

* Fix navbar z index

* Search filter overhaul + negative filters

* fix no-max-height

* port version filters, fix following/collections, lint

* hide promos

* ui lint

* Disable modal background animation to reduce reported motion sickness

* Hide install with modrinth app button on mobile

---------

Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
This commit is contained in:
Geometrically
2024-08-20 23:03:16 -07:00
committed by GitHub
parent a19ce0458a
commit 2d416d491c
101 changed files with 5361 additions and 4488 deletions

View File

@@ -173,12 +173,18 @@
"button.continue": {
"message": "Continue"
},
"button.copy-id": {
"message": "Copy ID"
},
"button.create-a-project": {
"message": "Create a project"
},
"button.edit": {
"message": "Edit"
},
"button.report": {
"message": "Report"
},
"button.save": {
"message": "Save"
},
@@ -363,7 +369,7 @@
"message": "For security purposes, please enter your email on Modrinth."
},
"layout.banner.staging.description": {
"message": "The staging environment is running on a copy of the production Modrinth database. This is used for testing and debugging purposes, and may be running in-development versions of the Modrinth backend or frontend newer than the production instance."
"message": "The staging environment is completely separate from the production Modrinth database. This is used for testing and debugging purposes, and may be running in-development versions of the Modrinth backend or frontend newer than the production instance."
},
"layout.banner.staging.title": {
"message": "Youre viewing Modrinths staging environment."
@@ -440,14 +446,17 @@
"profile.button.manage-projects": {
"message": "Manage projects"
},
"profile.button.report": {
"message": "Report"
},
"profile.error.not-found": {
"message": "User not found"
},
"profile.joined-at": {
"message": "Joined {ago}"
"message": "Joined <date>{ago}</date>"
},
"profile.label.badges": {
"message": "Badges"
},
"profile.label.details": {
"message": "Details"
},
"profile.label.no-collections": {
"message": "This user has no collections!"
@@ -471,10 +480,13 @@
"message": "{bio} - Download {username}'s projects on Modrinth"
},
"profile.stats.downloads": {
"message": "{count, plural, one {<stat>{count}</stat> download} other {<stat>{count}</stat> downloads}}"
"message": "{count, plural, one {<stat>{count}</stat> project download} other {<stat>{count}</stat> project downloads}}"
},
"profile.stats.projects": {
"message": "{count, plural, one {<stat>{count}</stat> project} other {<stat>{count}</stat> projects}}"
},
"profile.stats.projects-followers": {
"message": "{count, plural, one {<stat>{count}</stat> follower} other {<stat>{count}</stat> followers}} of projects"
"message": "{count, plural, one {<stat>{count}</stat> project follower} other {<stat>{count}</stat> project followers}}"
},
"profile.user-id": {
"message": "User ID: {id}"
@@ -530,6 +542,99 @@
"project-type.shader.singular": {
"message": "Shader"
},
"project.about.compatibility.environments": {
"message": "Environments"
},
"project.about.compatibility.game.minecraftJava": {
"message": "Minecraft: Java Edition"
},
"project.about.compatibility.platforms": {
"message": "Platforms"
},
"project.about.compatibility.title": {
"message": "Compatibility"
},
"project.about.creators.owner": {
"message": "Project owner"
},
"project.about.creators.title": {
"message": "Creators"
},
"project.about.details.created": {
"message": "Created {date}"
},
"project.about.details.licensed": {
"message": "Licensed {license}"
},
"project.about.details.published": {
"message": "Published {date}"
},
"project.about.details.submitted": {
"message": "Submitted {date}"
},
"project.about.details.title": {
"message": "Details"
},
"project.about.details.updated": {
"message": "Updated {date}"
},
"project.about.links.discord": {
"message": "Join Discord server"
},
"project.about.links.donate.bmac": {
"message": "Buy Me a Coffee"
},
"project.about.links.donate.generic": {
"message": "Donate"
},
"project.about.links.donate.github": {
"message": "Sponsor on GitHub"
},
"project.about.links.donate.kofi": {
"message": "Donate on Ko-fi"
},
"project.about.links.donate.patreon": {
"message": "Donate on Patreon"
},
"project.about.links.donate.paypal": {
"message": "Donate on PayPal"
},
"project.about.links.issues": {
"message": "Report issues"
},
"project.about.links.source": {
"message": "View source"
},
"project.about.links.title": {
"message": "Links"
},
"project.about.links.wiki": {
"message": "Visit wiki"
},
"project.about.title": {
"message": "About"
},
"project.gallery.title": {
"message": "Gallery"
},
"project.moderation.title": {
"message": "Moderation"
},
"project.stats.downloads-label": {
"message": "download{count, plural, one {} other {s}}"
},
"project.stats.followers-label": {
"message": "follower{count, plural, one {} other {s}}"
},
"project.version.all-versions": {
"message": "All versions"
},
"project.version.back-to-versions": {
"message": "Back to versions"
},
"project.versions.title": {
"message": "Versions"
},
"revenue.transfers.total": {
"message": "You have withdrawn {amount} in total."
},
@@ -923,6 +1028,9 @@
"settings.display.project-list.layouts.collection": {
"message": "Collection"
},
"settings.display.sidebar.Left-aligned-search-sidebar.title": {
"message": "Left-aligned search sidebar"
},
"settings.display.sidebar.advanced-rendering.description": {
"message": "Enables advanced rendering such as blur effects that may cause performance issues without hardware-accelerated rendering."
},
@@ -941,17 +1049,14 @@
"settings.display.sidebar.hide-app-promos.title": {
"message": "Hide Modrinth App promotions"
},
"settings.display.sidebar.right-aligned-project-sidebar.description": {
"message": "Aligns the project details sidebar to the right of the page's content."
"settings.display.sidebar.left-aligned-project-sidebar.description": {
"message": "Aligns the project details sidebar to the left of the page's content."
},
"settings.display.sidebar.right-aligned-project-sidebar.title": {
"message": "Right-aligned project sidebar"
"settings.display.sidebar.left-aligned-project-sidebar.title": {
"message": "Left-aligned project sidebar"
},
"settings.display.sidebar.right-aligned-search-sidebar.description": {
"message": "Aligns the search filters sidebar to the right of the search results."
},
"settings.display.sidebar.right-aligned-search-sidebar.title": {
"message": "Right-aligned search sidebar"
"settings.display.sidebar.left-aligned-search-sidebar.description": {
"message": "Aligns the search filters sidebar to the left of the search results."
},
"settings.display.theme.dark": {
"message": "Dark"