diff --git a/docs/components/analytics.md b/docs/components/analytics.md index 0ba7cfcd9..22a2a0ec0 100644 --- a/docs/components/analytics.md +++ b/docs/components/analytics.md @@ -1,6 +1,7 @@ # Analytics + + ```vue diff --git a/lib/assets/branding/404.svg b/lib/assets/branding/404.svg new file mode 100644 index 000000000..a372dacfd --- /dev/null +++ b/lib/assets/branding/404.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/assets/external/apple.svg b/lib/assets/external/apple.svg new file mode 100755 index 000000000..34399ed18 --- /dev/null +++ b/lib/assets/external/apple.svg @@ -0,0 +1,9 @@ + + + + Black Logo Square + Created with Sketch. + + + + diff --git a/lib/assets/external/bmac.svg b/lib/assets/external/bmac.svg new file mode 100644 index 000000000..be7e015eb --- /dev/null +++ b/lib/assets/external/bmac.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/lib/assets/external/discord.svg b/lib/assets/external/discord.svg new file mode 100644 index 000000000..a655bf5ce --- /dev/null +++ b/lib/assets/external/discord.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/lib/assets/external/kofi.svg b/lib/assets/external/kofi.svg new file mode 100644 index 000000000..932483aa3 --- /dev/null +++ b/lib/assets/external/kofi.svg @@ -0,0 +1 @@ +Ko-fi \ No newline at end of file diff --git a/lib/assets/external/opencollective.svg b/lib/assets/external/opencollective.svg new file mode 100644 index 000000000..70e5816e1 --- /dev/null +++ b/lib/assets/external/opencollective.svg @@ -0,0 +1 @@ +Open Collective \ No newline at end of file diff --git a/lib/assets/external/patreon.svg b/lib/assets/external/patreon.svg new file mode 100644 index 000000000..13b742d04 --- /dev/null +++ b/lib/assets/external/patreon.svg @@ -0,0 +1 @@ + diff --git a/lib/assets/external/paypal.svg b/lib/assets/external/paypal.svg new file mode 100644 index 000000000..a5da5a46c --- /dev/null +++ b/lib/assets/external/paypal.svg @@ -0,0 +1 @@ +PayPal \ No newline at end of file diff --git a/lib/assets/external/sso/discord.svg b/lib/assets/external/sso/discord.svg new file mode 100644 index 000000000..5acd13260 --- /dev/null +++ b/lib/assets/external/sso/discord.svg @@ -0,0 +1 @@ + diff --git a/lib/assets/external/sso/github.svg b/lib/assets/external/sso/github.svg new file mode 100644 index 000000000..f84e184e0 --- /dev/null +++ b/lib/assets/external/sso/github.svg @@ -0,0 +1 @@ + diff --git a/lib/assets/external/sso/gitlab.svg b/lib/assets/external/sso/gitlab.svg new file mode 100644 index 000000000..5384280fb --- /dev/null +++ b/lib/assets/external/sso/gitlab.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/lib/assets/external/sso/google.svg b/lib/assets/external/sso/google.svg new file mode 100644 index 000000000..f91fb5160 --- /dev/null +++ b/lib/assets/external/sso/google.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/lib/assets/external/sso/microsoft.svg b/lib/assets/external/sso/microsoft.svg new file mode 100644 index 000000000..b21feea96 --- /dev/null +++ b/lib/assets/external/sso/microsoft.svg @@ -0,0 +1 @@ +MS-SymbolLockup diff --git a/lib/assets/external/sso/steam.svg b/lib/assets/external/sso/steam.svg new file mode 100644 index 000000000..414d6c183 --- /dev/null +++ b/lib/assets/external/sso/steam.svg @@ -0,0 +1,4 @@ + + + + diff --git a/lib/assets/external/windows.svg b/lib/assets/external/windows.svg new file mode 100644 index 000000000..9fd544f0e --- /dev/null +++ b/lib/assets/external/windows.svg @@ -0,0 +1,3 @@ + + + diff --git a/lib/assets/icons/check-check.svg b/lib/assets/icons/check-check.svg new file mode 100644 index 000000000..d3c06bd92 --- /dev/null +++ b/lib/assets/icons/check-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/lib/assets/icons/key.svg b/lib/assets/icons/key.svg new file mode 100644 index 000000000..7449c3f71 --- /dev/null +++ b/lib/assets/icons/key.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/lib/assets/icons/languages.svg b/lib/assets/icons/languages.svg new file mode 100644 index 000000000..72ed7aeee --- /dev/null +++ b/lib/assets/icons/languages.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/lib/assets/icons/list-end.svg b/lib/assets/icons/list-end.svg new file mode 100644 index 000000000..06ded6da5 --- /dev/null +++ b/lib/assets/icons/list-end.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/assets/icons/message.svg b/lib/assets/icons/message.svg new file mode 100644 index 000000000..7b092e81a --- /dev/null +++ b/lib/assets/icons/message.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/lib/assets/icons/microphone.svg b/lib/assets/icons/microphone.svg new file mode 100644 index 000000000..a63b99671 --- /dev/null +++ b/lib/assets/icons/microphone.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/lib/assets/icons/radio-button-checked.svg b/lib/assets/icons/radio-button-checked.svg new file mode 100644 index 000000000..6571ac46e --- /dev/null +++ b/lib/assets/icons/radio-button-checked.svg @@ -0,0 +1 @@ + diff --git a/lib/assets/icons/radio-button.svg b/lib/assets/icons/radio-button.svg new file mode 100644 index 000000000..c2e74a314 --- /dev/null +++ b/lib/assets/icons/radio-button.svg @@ -0,0 +1 @@ + diff --git a/lib/assets/icons/reply.svg b/lib/assets/icons/reply.svg new file mode 100644 index 000000000..b308a45d5 --- /dev/null +++ b/lib/assets/icons/reply.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/lib/assets/icons/sort-asc.svg b/lib/assets/icons/sort-asc.svg new file mode 100644 index 000000000..859fb6e60 --- /dev/null +++ b/lib/assets/icons/sort-asc.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/assets/icons/sort-desc.svg b/lib/assets/icons/sort-desc.svg new file mode 100644 index 000000000..2df482776 --- /dev/null +++ b/lib/assets/icons/sort-desc.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/lib/components/base/Avatar.vue b/lib/components/base/Avatar.vue index e5f01e654..e4b852e58 100644 --- a/lib/components/base/Avatar.vue +++ b/lib/components/base/Avatar.vue @@ -4,7 +4,7 @@ ref="img" :class="`avatar size-${size} ${circle ? 'circle' : ''} ${noShadow ? 'no-shadow' : ''} ${ pixelated ? 'pixelated' : '' - }`" + } ${raised ? 'raised' : ''}`" :src="src" :alt="alt" :loading="loading" @@ -12,7 +12,9 @@ /> - @@ -91,6 +90,12 @@ export default { max-width: var(--size) !important; max-height: var(--size) !important; + &.size-xxs { + --size: 1.25rem; + box-shadow: var(--shadow-inset), var(--shadow-card); + border-radius: var(--radius-sm); + } + &.size-xs { --size: 2.5rem; box-shadow: var(--shadow-inset), var(--shadow-card); @@ -128,5 +133,9 @@ export default { &.pixelated { image-rendering: pixelated; } + + &.raised { + background-color: var(--color-raised-bg); + } } diff --git a/lib/components/base/Badge.vue b/lib/components/base/Badge.vue index 09a74af6b..824c55a32 100644 --- a/lib/components/base/Badge.vue +++ b/lib/components/base/Badge.vue @@ -1,27 +1,38 @@ - {{ type }} + {{ capitalizeString(type) }} - Modrinth Team - Moderator + Modrinth Team + Moderator Creator Listed + Approved Unlisted Withheld Private - Scheduled + Scheduled Draft - Archived + Archived Rejected - Under review + Under review Accepted - Pending - {{ type }} + Pending + + + Processed + Failed + Returned + + + Closed + + + {{ capitalizeString(type) }} @@ -39,7 +50,8 @@ import { CheckIcon, LockIcon, CalendarIcon, -} from '@/components' + capitalizeString, +} from '@' defineProps({ type: { @@ -52,7 +64,6 @@ defineProps({ }, }) - diff --git a/lib/components/base/DropdownSelect.vue b/lib/components/base/DropdownSelect.vue index b41fe6d88..e77428cd5 100644 --- a/lib/components/base/DropdownSelect.vue +++ b/lib/components/base/DropdownSelect.vue @@ -61,7 +61,7 @@ diff --git a/lib/components/base/FileInput.vue b/lib/components/base/FileInput.vue index ffb463c23..6d85cfd0a 100644 --- a/lib/components/base/FileInput.vue +++ b/lib/components/base/FileInput.vue @@ -13,7 +13,7 @@ - - diff --git a/lib/components/base/Notifications.vue b/lib/components/base/Notifications.vue index f2bf2c829..cdd4ad435 100644 --- a/lib/components/base/Notifications.vue +++ b/lib/components/base/Notifications.vue @@ -115,6 +115,14 @@ function stopTimer(notif) { margin: 0; } } + + @media screen and (max-width: 750px) { + bottom: calc(var(--size-mobile-navbar-height, 15px) + 10px) !important; + + &.browse-menu-open { + bottom: calc(var(--size-mobile-navbar-height-expanded, 15px) + 10px) !important; + } + } } .notifs-enter-active, diff --git a/lib/components/base/OverflowMenu.vue b/lib/components/base/OverflowMenu.vue index 328c88564..cd5de2ea0 100644 --- a/lib/components/base/OverflowMenu.vue +++ b/lib/components/base/OverflowMenu.vue @@ -36,8 +36,7 @@ + diff --git a/lib/components/base/Toggle.vue b/lib/components/base/Toggle.vue index 779285f1e..aeb01433f 100644 --- a/lib/components/base/Toggle.vue +++ b/lib/components/base/Toggle.vue @@ -33,5 +33,3 @@ export default { }, } - - diff --git a/lib/components/brand/AnimatedLogo.vue b/lib/components/brand/AnimatedLogo.vue index 64546272f..e6cea1b79 100644 --- a/lib/components/brand/AnimatedLogo.vue +++ b/lib/components/brand/AnimatedLogo.vue @@ -18,8 +18,9 @@ /> - + + @@ -72,12 +71,6 @@ - - diff --git a/lib/components/base/ShareModal.vue b/lib/components/modal/ShareModal.vue similarity index 99% rename from lib/components/base/ShareModal.vue rename to lib/components/modal/ShareModal.vue index c6eef33f4..f4563a362 100644 --- a/lib/components/base/ShareModal.vue +++ b/lib/components/modal/ShareModal.vue @@ -10,7 +10,7 @@ import { TwitterIcon, MastodonIcon, RedditIcon, -} from '@/components' +} from '@' import { computed, ref, nextTick } from 'vue' import QrcodeVue from 'qrcode.vue' diff --git a/lib/components/base/Breadcrumbs.vue b/lib/components/nav/Breadcrumbs.vue similarity index 95% rename from lib/components/base/Breadcrumbs.vue rename to lib/components/nav/Breadcrumbs.vue index 6e342122f..b23ded1e2 100644 --- a/lib/components/base/Breadcrumbs.vue +++ b/lib/components/nav/Breadcrumbs.vue @@ -15,7 +15,7 @@ - diff --git a/lib/components/search/Categories.vue b/lib/components/search/Categories.vue index 54ff9d889..a36bf9707 100644 --- a/lib/components/search/Categories.vue +++ b/lib/components/search/Categories.vue @@ -9,23 +9,16 @@ -