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

@@ -0,0 +1,5 @@
<svg width="59" height="59" viewBox="0 0 59 59" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.116 20.1934C6.71473 18.3852 6.77635 16.5049 7.29513 14.7269C7.8139 12.9488 8.77304 11.3306 10.0836 10.0223C11.3942 8.71392 13.0138 7.75779 14.7922 7.24253C16.5706 6.72727 18.4503 6.66957 20.257 7.07478C21.2514 5.51897 22.6212 4.23862 24.2403 3.35174C25.8595 2.46486 27.6757 2 29.5216 2C31.3675 2 33.1838 2.46486 34.8029 3.35174C36.422 4.23862 37.7919 5.51897 38.7863 7.07478C40.5957 6.66781 42.4786 6.72525 44.2598 7.24176C46.0411 7.75826 47.6628 8.71706 48.9742 10.029C50.2856 11.3409 51.244 12.9632 51.7603 14.7452C52.2766 16.5272 52.334 18.4108 51.9272 20.2209C53.4824 21.2157 54.7623 22.5861 55.6488 24.2059C56.5353 25.8256 57 27.6426 57 29.4892C57 31.3359 56.5353 33.1528 55.6488 34.7726C54.7623 36.3923 53.4824 37.7627 51.9272 38.7575C52.3323 40.5649 52.2746 42.4453 51.7595 44.2244C51.2445 46.0036 50.2887 47.6238 48.9809 48.9349C47.6731 50.246 46.0555 51.2055 44.2781 51.7245C42.5008 52.2434 40.6213 52.3051 38.8138 51.9037C37.8207 53.4654 36.4497 54.7513 34.8278 55.6421C33.206 56.533 31.3856 57 29.5354 57C27.6851 57 25.8648 56.533 24.2429 55.6421C22.621 54.7513 21.2501 53.4654 20.257 51.9037C18.4503 52.3089 16.5706 52.2512 14.7922 51.7359C13.0138 51.2207 11.3942 50.2645 10.0836 48.9562C8.77304 47.6478 7.8139 46.0296 7.29513 44.2516C6.77635 42.4735 6.71473 40.5932 7.116 38.785C5.54886 37.7929 4.25802 36.4203 3.36354 34.795C2.46906 33.1697 2 31.3446 2 29.4892C2 27.6339 2.46906 25.8087 3.36354 24.1834C4.25802 22.5581 5.54886 21.1856 7.116 20.1934Z" fill="#1C3360" stroke="#4F9CFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22 24.5V25.5C22 26.2956 22.3161 27.0587 22.8787 27.6213C23.4413 28.1839 24.2044 28.5 25 28.5H35C35.7956 28.5 36.5587 28.1839 37.1213 27.6213C37.6839 27.0587 38 26.2956 38 25.5V24.5M34 20.5L30 24.5M30 24.5L26 20.5M30 24.5V12.5" stroke="#4F9CFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M19.822 37.2273V44.5H18.0677V38.8679H18.0251L16.3987 39.8622V38.3423L18.192 37.2273H19.822ZM24.4376 44.6776C23.8031 44.6776 23.2562 44.5272 22.797 44.2266C22.3377 43.9235 21.9838 43.4891 21.7352 42.9233C21.4866 42.3551 21.3635 41.6721 21.3659 40.8743C21.3682 40.0765 21.4925 39.3994 21.7387 38.843C21.9873 38.2843 22.3401 37.8594 22.797 37.5682C23.2562 37.2746 23.8031 37.1278 24.4376 37.1278C25.0721 37.1278 25.6189 37.2746 26.0782 37.5682C26.5399 37.8594 26.895 38.2843 27.1436 38.843C27.3921 39.4018 27.5152 40.0788 27.5129 40.8743C27.5129 41.6745 27.3886 42.3587 27.14 42.9268C26.8914 43.495 26.5375 43.9295 26.0782 44.2301C25.6213 44.5284 25.0744 44.6776 24.4376 44.6776ZM24.4376 43.2393C24.8164 43.2393 25.123 43.0464 25.3573 42.6605C25.5917 42.2723 25.7077 41.6768 25.7053 40.8743C25.7053 40.3487 25.6521 39.9155 25.5455 39.5746C25.439 39.2313 25.291 38.9756 25.1017 38.8075C24.9123 38.6394 24.6909 38.5554 24.4376 38.5554C24.0612 38.5554 23.757 38.746 23.5249 39.1271C23.2929 39.5059 23.1758 40.0883 23.1734 40.8743C23.171 41.407 23.2219 41.8485 23.3261 42.1989C23.4326 42.5492 23.5818 42.8108 23.7735 42.9837C23.9653 43.1541 24.1866 43.2393 24.4376 43.2393ZM28.5338 37.2273H30.7107L32.5573 41.7301H32.6425L34.4891 37.2273H36.6659V44.5H34.9543V40.0327H34.8939L33.1468 44.4538H32.053L30.3058 40.0078H30.2455V44.5H28.5338V37.2273ZM39.9285 43.4489V38.3068H41.3596V43.4489H39.9285ZM38.0713 41.5952V40.1605H43.2133V41.5952H38.0713Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB