Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
<template>
|
|
|
|
|
<div>
|
2023-01-07 17:37:47 -08:00
|
|
|
<Modal ref="editLinksModal" header="Edit links">
|
|
|
|
|
<div class="universal-modal links-modal">
|
|
|
|
|
<p>
|
2023-03-09 10:05:32 -07:00
|
|
|
Any links you specify below will be overwritten on each of the selected projects. Any you
|
|
|
|
|
leave blank will be ignored. You can clear a link from all selected projects using the
|
|
|
|
|
trash can button.
|
2023-01-07 17:37:47 -08:00
|
|
|
</p>
|
|
|
|
|
<section class="links">
|
|
|
|
|
<label
|
|
|
|
|
for="issue-tracker-input"
|
|
|
|
|
title="A place for users to report bugs, issues, and concerns about your project."
|
|
|
|
|
>
|
|
|
|
|
<span class="label__title">Issue tracker</span>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="input-group shrink-first">
|
|
|
|
|
<input
|
|
|
|
|
id="issue-tracker-input"
|
|
|
|
|
v-model="editLinks.issues.val"
|
|
|
|
|
:disabled="editLinks.issues.clear"
|
|
|
|
|
type="url"
|
|
|
|
|
:placeholder="
|
2023-03-09 10:05:32 -07:00
|
|
|
editLinks.issues.clear ? 'Existing link will be cleared' : 'Enter a valid URL'
|
2023-01-07 17:37:47 -08:00
|
|
|
"
|
|
|
|
|
maxlength="2048"
|
|
|
|
|
/>
|
|
|
|
|
<button
|
|
|
|
|
v-tooltip="'Clear link'"
|
2023-03-09 10:05:32 -07:00
|
|
|
aria-label="Clear link"
|
2023-01-07 17:37:47 -08:00
|
|
|
class="square-button label-button"
|
|
|
|
|
:data-active="editLinks.issues.clear"
|
|
|
|
|
@click="editLinks.issues.clear = !editLinks.issues.clear"
|
|
|
|
|
>
|
|
|
|
|
<TrashIcon />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<label
|
|
|
|
|
for="source-code-input"
|
|
|
|
|
title="A page/repository containing the source code for your project"
|
|
|
|
|
>
|
|
|
|
|
<span class="label__title">Source code</span>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="input-group shrink-first">
|
|
|
|
|
<input
|
|
|
|
|
id="source-code-input"
|
|
|
|
|
v-model="editLinks.source.val"
|
|
|
|
|
:disabled="editLinks.source.clear"
|
|
|
|
|
type="url"
|
|
|
|
|
maxlength="2048"
|
|
|
|
|
:placeholder="
|
2023-03-09 10:05:32 -07:00
|
|
|
editLinks.source.clear ? 'Existing link will be cleared' : 'Enter a valid URL'
|
2023-01-07 17:37:47 -08:00
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
<button
|
|
|
|
|
v-tooltip="'Clear link'"
|
2023-03-09 10:05:32 -07:00
|
|
|
aria-label="Clear link"
|
2023-01-07 17:37:47 -08:00
|
|
|
class="square-button label-button"
|
|
|
|
|
:data-active="editLinks.source.clear"
|
|
|
|
|
@click="editLinks.source.clear = !editLinks.source.clear"
|
|
|
|
|
>
|
|
|
|
|
<TrashIcon />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<label
|
|
|
|
|
for="wiki-page-input"
|
|
|
|
|
title="A page containing information, documentation, and help for the project."
|
|
|
|
|
>
|
|
|
|
|
<span class="label__title">Wiki page</span>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="input-group shrink-first">
|
|
|
|
|
<input
|
|
|
|
|
id="wiki-page-input"
|
|
|
|
|
v-model="editLinks.wiki.val"
|
|
|
|
|
:disabled="editLinks.wiki.clear"
|
|
|
|
|
type="url"
|
|
|
|
|
maxlength="2048"
|
|
|
|
|
:placeholder="
|
2023-03-09 10:05:32 -07:00
|
|
|
editLinks.wiki.clear ? 'Existing link will be cleared' : 'Enter a valid URL'
|
2023-01-07 17:37:47 -08:00
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
<button
|
|
|
|
|
v-tooltip="'Clear link'"
|
2023-03-09 10:05:32 -07:00
|
|
|
aria-label="Clear link"
|
2023-01-07 17:37:47 -08:00
|
|
|
class="square-button label-button"
|
|
|
|
|
:data-active="editLinks.wiki.clear"
|
|
|
|
|
@click="editLinks.wiki.clear = !editLinks.wiki.clear"
|
|
|
|
|
>
|
|
|
|
|
<TrashIcon />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2023-03-09 10:05:32 -07:00
|
|
|
<label for="discord-invite-input" title="An invitation link to your Discord server.">
|
2023-01-07 17:37:47 -08:00
|
|
|
<span class="label__title">Discord invite</span>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="input-group shrink-first">
|
|
|
|
|
<input
|
|
|
|
|
id="discord-invite-input"
|
|
|
|
|
v-model="editLinks.discord.val"
|
|
|
|
|
:disabled="editLinks.discord.clear"
|
|
|
|
|
type="url"
|
|
|
|
|
maxlength="2048"
|
|
|
|
|
:placeholder="
|
|
|
|
|
editLinks.discord.clear
|
|
|
|
|
? 'Existing link will be cleared'
|
|
|
|
|
: 'Enter a valid Discord invite URL'
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
<button
|
|
|
|
|
v-tooltip="'Clear link'"
|
2023-03-09 10:05:32 -07:00
|
|
|
aria-label="Clear link"
|
2023-01-07 17:37:47 -08:00
|
|
|
class="square-button label-button"
|
|
|
|
|
:data-active="editLinks.discord.clear"
|
|
|
|
|
@click="editLinks.discord.clear = !editLinks.discord.clear"
|
|
|
|
|
>
|
|
|
|
|
<TrashIcon />
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
<p>
|
|
|
|
|
Changes will be applied to
|
|
|
|
|
<strong>{{ selectedProjects.length }}</strong> project{{
|
2024-07-06 20:57:32 -07:00
|
|
|
selectedProjects.length > 1 ? "s" : ""
|
2023-01-07 17:37:47 -08:00
|
|
|
}}.
|
|
|
|
|
</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
v-for="project in selectedProjects.slice(
|
|
|
|
|
0,
|
2024-07-06 20:57:32 -07:00
|
|
|
editLinks.showAffected ? selectedProjects.length : 3,
|
2023-01-07 17:37:47 -08:00
|
|
|
)"
|
|
|
|
|
:key="project.id"
|
|
|
|
|
>
|
|
|
|
|
{{ project.title }}
|
|
|
|
|
</li>
|
|
|
|
|
<li v-if="!editLinks.showAffected && selectedProjects.length > 3">
|
|
|
|
|
<strong>and {{ selectedProjects.length - 3 }} more...</strong>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<Checkbox
|
|
|
|
|
v-if="selectedProjects.length > 3"
|
|
|
|
|
v-model="editLinks.showAffected"
|
|
|
|
|
:label="editLinks.showAffected ? 'Less' : 'More'"
|
|
|
|
|
description="Show all loaders"
|
|
|
|
|
:border="false"
|
|
|
|
|
:collapsing-toggle-style="true"
|
|
|
|
|
/>
|
|
|
|
|
<div class="push-right input-group">
|
|
|
|
|
<button class="iconified-button" @click="$refs.editLinksModal.hide()">
|
|
|
|
|
<CrossIcon />
|
|
|
|
|
Cancel
|
|
|
|
|
</button>
|
2023-03-09 10:05:32 -07:00
|
|
|
<button class="iconified-button brand-button" @click="bulkEditLinks()">
|
2023-01-07 17:37:47 -08:00
|
|
|
<SaveIcon />
|
|
|
|
|
Save changes
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Modal>
|
|
|
|
|
<ModalCreation ref="modal_creation" />
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
<section class="universal-card">
|
2023-01-07 17:37:47 -08:00
|
|
|
<div class="header__row">
|
|
|
|
|
<h2 class="header__title">Projects</h2>
|
|
|
|
|
<div class="input-group">
|
2023-03-09 10:05:32 -07:00
|
|
|
<button class="iconified-button brand-button" @click="$refs.modal_creation.show()">
|
2023-01-07 17:37:47 -08:00
|
|
|
<PlusIcon />
|
Add translations for the default page layout (#1616)
* Convert default.vue to composition API
* Add translations to default page layout
* Generate index.json
* Fix sign up page
* Generate index.json
* Fix atUserLabel
* Fix composition API port
* Follow-up fixes for #1616 (#1618)
* Re-organize default layout messages
- Group some of the messages by their appearance (like banners)
Grouping makes avoids having to think too much about the property
names, keeps declarations clean, and also can be minified better,
since variable names, unlike property names, can be easily mangled.
- Remove needless type specification in property name[^1]
It's already clear from where the message is formatted what it does,
and if you need clarification, you can Ctrl+hover and see the type in
the key.
- Change some keys to conform to conventions
We generally follow the pattern location > kind?. Things like 'label'
are unnecessary, as everything is assumed to be label by default; the
same applies to things like 'button', which are also often unnecessary
as they're part of the location compound.
- Remove message for handle, which should not be translatable
It's very unlikely user handle format changes between any of the
locales.
[^1]: Common messages are pending restructuring that would fix this
* Fix navRoutes not being computed in default layout
* Fix untranslated Get Modrinth App buttons in default layout
* Make legal disclaimer in the default layout translatable
It wouldn't make much sense to leave it untranslated since it is meant
for the end users too. It is also so small that it's unlikely to be
mistranslated.
* Extract missed legal disclaimer message from default layout
* Make SEO strings in default layout translatable
---------
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-29 18:55:54 -08:00
|
|
|
{{ formatMessage(commonMessages.createAProjectButton) }}
|
2023-01-07 17:37:47 -08:00
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<p v-if="projects.length < 1">
|
|
|
|
|
You don't have any projects yet. Click the green button above to begin.
|
|
|
|
|
</p>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<p>You can edit multiple projects at once by selecting them below.</p>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<button
|
|
|
|
|
class="iconified-button"
|
|
|
|
|
:disabled="selectedProjects.length === 0"
|
|
|
|
|
@click="$refs.editLinksModal.show()"
|
|
|
|
|
>
|
|
|
|
|
<EditIcon />
|
|
|
|
|
Edit links
|
|
|
|
|
</button>
|
|
|
|
|
<div class="push-right">
|
|
|
|
|
<div class="labeled-control-row">
|
2023-07-15 20:39:33 -07:00
|
|
|
Sort by
|
2023-01-07 17:37:47 -08:00
|
|
|
<Multiselect
|
|
|
|
|
v-model="sortBy"
|
|
|
|
|
:searchable="false"
|
|
|
|
|
class="small-select"
|
|
|
|
|
:options="['Name', 'Status', 'Type']"
|
|
|
|
|
:close-on-select="true"
|
|
|
|
|
:show-labels="false"
|
|
|
|
|
:allow-empty="false"
|
2023-05-06 16:12:35 +01:00
|
|
|
@update:model-value="projects = updateSort(projects, sortBy, descending)"
|
2023-03-09 10:05:32 -07:00
|
|
|
/>
|
2023-07-15 20:39:33 -07:00
|
|
|
<button
|
|
|
|
|
v-tooltip="descending ? 'Descending' : 'Ascending'"
|
|
|
|
|
class="square-button"
|
|
|
|
|
@click="updateDescending()"
|
|
|
|
|
>
|
|
|
|
|
<DescendingIcon v-if="descending" />
|
|
|
|
|
<AscendingIcon v-else />
|
2023-05-06 16:12:35 +01:00
|
|
|
</button>
|
2023-01-07 17:37:47 -08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="grid-table">
|
|
|
|
|
<div class="grid-table__row grid-table__header">
|
|
|
|
|
<div>
|
|
|
|
|
<Checkbox
|
2023-03-09 10:05:32 -07:00
|
|
|
:model-value="selectedProjects === projects"
|
|
|
|
|
@update:model-value="
|
2023-01-07 17:37:47 -08:00
|
|
|
selectedProjects === projects
|
|
|
|
|
? (selectedProjects = [])
|
|
|
|
|
: (selectedProjects = projects)
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div>Icon</div>
|
|
|
|
|
<div>Name</div>
|
|
|
|
|
<div>ID</div>
|
|
|
|
|
<div>Type</div>
|
|
|
|
|
<div>Status</div>
|
2023-03-09 10:05:32 -07:00
|
|
|
<div />
|
2023-01-07 17:37:47 -08:00
|
|
|
</div>
|
2023-03-09 10:05:32 -07:00
|
|
|
<div v-for="project in projects" :key="`project-${project.id}`" class="grid-table__row">
|
2023-01-07 17:37:47 -08:00
|
|
|
<div>
|
|
|
|
|
<Checkbox
|
2023-03-09 10:05:32 -07:00
|
|
|
:disabled="(project.permissions & EDIT_DETAILS) === EDIT_DETAILS"
|
|
|
|
|
:model-value="selectedProjects.includes(project)"
|
|
|
|
|
@update:model-value="
|
2023-01-07 17:37:47 -08:00
|
|
|
selectedProjects.includes(project)
|
2023-03-09 10:05:32 -07:00
|
|
|
? (selectedProjects = selectedProjects.filter((it) => it !== project))
|
2023-01-07 17:37:47 -08:00
|
|
|
: selectedProjects.push(project)
|
|
|
|
|
"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
2023-04-07 18:39:04 -07:00
|
|
|
<nuxt-link
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
:to="`/${$getProjectTypeForUrl(project.project_type, project.loaders)}/${
|
2023-04-15 12:08:11 -07:00
|
|
|
project.slug ? project.slug : project.id
|
2023-04-07 18:39:04 -07:00
|
|
|
}`"
|
|
|
|
|
>
|
2023-01-07 17:37:47 -08:00
|
|
|
<Avatar
|
|
|
|
|
:src="project.icon_url"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
:alt="'Icon for ' + project.title"
|
|
|
|
|
no-shadow
|
|
|
|
|
/>
|
|
|
|
|
</nuxt-link>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<span class="project-title">
|
|
|
|
|
<IssuesIcon
|
|
|
|
|
v-if="project.moderator_message"
|
|
|
|
|
aria-label="Project has a message from the moderators. View the project to see more."
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<nuxt-link
|
|
|
|
|
class="hover-link wrap-as-needed"
|
2023-04-07 18:39:04 -07:00
|
|
|
:to="`/${$getProjectTypeForUrl(project.project_type, project.loaders)}/${
|
2023-04-15 12:08:11 -07:00
|
|
|
project.slug ? project.slug : project.id
|
2023-04-07 18:39:04 -07:00
|
|
|
}`"
|
2023-01-07 17:37:47 -08:00
|
|
|
>
|
|
|
|
|
{{ project.title }}
|
|
|
|
|
</nuxt-link>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<CopyCode :text="project.id" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
2023-03-09 10:05:32 -07:00
|
|
|
{{ $formatProjectType($getProjectTypeForUrl(project.project_type, project.loaders)) }}
|
2023-01-07 17:37:47 -08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
2023-03-09 10:05:32 -07:00
|
|
|
<Badge v-if="project.status" :type="project.status" class="status" />
|
2023-01-07 17:37:47 -08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<nuxt-link
|
|
|
|
|
class="square-button"
|
2023-04-07 18:39:04 -07:00
|
|
|
:to="`/${$getProjectTypeForUrl(project.project_type, project.loaders)}/${
|
2023-04-15 12:08:11 -07:00
|
|
|
project.slug ? project.slug : project.id
|
2023-04-07 18:39:04 -07:00
|
|
|
}/settings`"
|
2023-01-07 17:37:47 -08:00
|
|
|
>
|
|
|
|
|
<SettingsIcon />
|
|
|
|
|
</nuxt-link>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-07-06 20:57:32 -07:00
|
|
|
import { Multiselect } from "vue-multiselect";
|
|
|
|
|
|
|
|
|
|
import Badge from "~/components/ui/Badge.vue";
|
|
|
|
|
import Checkbox from "~/components/ui/Checkbox.vue";
|
|
|
|
|
import Modal from "~/components/ui/Modal.vue";
|
|
|
|
|
import Avatar from "~/components/ui/Avatar.vue";
|
|
|
|
|
import ModalCreation from "~/components/ui/ModalCreation.vue";
|
|
|
|
|
import CopyCode from "~/components/ui/CopyCode.vue";
|
|
|
|
|
|
|
|
|
|
import SettingsIcon from "~/assets/images/utils/settings.svg?component";
|
|
|
|
|
import TrashIcon from "~/assets/images/utils/trash.svg?component";
|
|
|
|
|
import IssuesIcon from "~/assets/images/utils/issues.svg?component";
|
|
|
|
|
import PlusIcon from "~/assets/images/utils/plus.svg?component";
|
|
|
|
|
import CrossIcon from "~/assets/images/utils/x.svg?component";
|
|
|
|
|
import EditIcon from "~/assets/images/utils/edit.svg?component";
|
|
|
|
|
import SaveIcon from "~/assets/images/utils/save.svg?component";
|
|
|
|
|
import AscendingIcon from "~/assets/images/utils/sort-asc.svg?component";
|
|
|
|
|
import DescendingIcon from "~/assets/images/utils/sort-desc.svg?component";
|
2023-01-07 17:37:47 -08:00
|
|
|
|
2023-03-09 10:05:32 -07:00
|
|
|
export default defineNuxtComponent({
|
2023-01-07 17:37:47 -08:00
|
|
|
components: {
|
|
|
|
|
Avatar,
|
|
|
|
|
Badge,
|
|
|
|
|
SettingsIcon,
|
|
|
|
|
TrashIcon,
|
|
|
|
|
Checkbox,
|
|
|
|
|
IssuesIcon,
|
|
|
|
|
PlusIcon,
|
|
|
|
|
CrossIcon,
|
|
|
|
|
EditIcon,
|
|
|
|
|
SaveIcon,
|
|
|
|
|
Modal,
|
|
|
|
|
ModalCreation,
|
|
|
|
|
Multiselect,
|
|
|
|
|
CopyCode,
|
2023-07-15 20:39:33 -07:00
|
|
|
AscendingIcon,
|
|
|
|
|
DescendingIcon,
|
2023-01-07 17:37:47 -08:00
|
|
|
},
|
2023-03-09 10:05:32 -07:00
|
|
|
async setup() {
|
2024-07-06 20:57:32 -07:00
|
|
|
const { formatMessage } = useVIntl();
|
Add translations for the default page layout (#1616)
* Convert default.vue to composition API
* Add translations to default page layout
* Generate index.json
* Fix sign up page
* Generate index.json
* Fix atUserLabel
* Fix composition API port
* Follow-up fixes for #1616 (#1618)
* Re-organize default layout messages
- Group some of the messages by their appearance (like banners)
Grouping makes avoids having to think too much about the property
names, keeps declarations clean, and also can be minified better,
since variable names, unlike property names, can be easily mangled.
- Remove needless type specification in property name[^1]
It's already clear from where the message is formatted what it does,
and if you need clarification, you can Ctrl+hover and see the type in
the key.
- Change some keys to conform to conventions
We generally follow the pattern location > kind?. Things like 'label'
are unnecessary, as everything is assumed to be label by default; the
same applies to things like 'button', which are also often unnecessary
as they're part of the location compound.
- Remove message for handle, which should not be translatable
It's very unlikely user handle format changes between any of the
locales.
[^1]: Common messages are pending restructuring that would fix this
* Fix navRoutes not being computed in default layout
* Fix untranslated Get Modrinth App buttons in default layout
* Make legal disclaimer in the default layout translatable
It wouldn't make much sense to leave it untranslated since it is meant
for the end users too. It is also so small that it's unlikely to be
mistranslated.
* Extract missed legal disclaimer message from default layout
* Make SEO strings in default layout translatable
---------
Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-29 18:55:54 -08:00
|
|
|
|
2024-07-06 20:57:32 -07:00
|
|
|
const user = await useUser();
|
|
|
|
|
await initUserProjects();
|
|
|
|
|
return { formatMessage, user: ref(user) };
|
2023-03-09 10:05:32 -07:00
|
|
|
},
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
data() {
|
2023-01-07 17:37:47 -08:00
|
|
|
return {
|
2024-07-06 20:57:32 -07:00
|
|
|
projects: this.updateSort(this.user.projects, "Name"),
|
2023-01-07 17:37:47 -08:00
|
|
|
versions: [],
|
|
|
|
|
selectedProjects: [],
|
2024-07-06 20:57:32 -07:00
|
|
|
sortBy: "Name",
|
2023-05-06 16:12:35 +01:00
|
|
|
descending: false,
|
2023-01-07 17:37:47 -08:00
|
|
|
editLinks: {
|
|
|
|
|
showAffected: false,
|
|
|
|
|
source: {
|
2024-07-06 20:57:32 -07:00
|
|
|
val: "",
|
2023-01-07 17:37:47 -08:00
|
|
|
clear: false,
|
|
|
|
|
},
|
|
|
|
|
discord: {
|
2024-07-06 20:57:32 -07:00
|
|
|
val: "",
|
2023-01-07 17:37:47 -08:00
|
|
|
clear: false,
|
|
|
|
|
},
|
|
|
|
|
wiki: {
|
2024-07-06 20:57:32 -07:00
|
|
|
val: "",
|
2023-01-07 17:37:47 -08:00
|
|
|
clear: false,
|
|
|
|
|
},
|
|
|
|
|
issues: {
|
2024-07-06 20:57:32 -07:00
|
|
|
val: "",
|
2023-01-07 17:37:47 -08:00
|
|
|
clear: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-07-06 20:57:32 -07:00
|
|
|
};
|
2023-01-07 17:37:47 -08:00
|
|
|
},
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
head: {
|
2024-07-06 20:57:32 -07:00
|
|
|
title: "Projects - Modrinth",
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
},
|
2023-01-07 17:37:47 -08:00
|
|
|
created() {
|
2024-07-06 20:57:32 -07:00
|
|
|
this.UPLOAD_VERSION = 1 << 0;
|
|
|
|
|
this.DELETE_VERSION = 1 << 1;
|
|
|
|
|
this.EDIT_DETAILS = 1 << 2;
|
|
|
|
|
this.EDIT_BODY = 1 << 3;
|
|
|
|
|
this.MANAGE_INVITES = 1 << 4;
|
|
|
|
|
this.REMOVE_MEMBER = 1 << 5;
|
|
|
|
|
this.EDIT_MEMBER = 1 << 6;
|
|
|
|
|
this.DELETE_PROJECT = 1 << 7;
|
2023-01-07 17:37:47 -08:00
|
|
|
},
|
|
|
|
|
methods: {
|
2023-05-06 16:12:35 +01:00
|
|
|
updateDescending() {
|
2024-07-06 20:57:32 -07:00
|
|
|
this.descending = !this.descending;
|
|
|
|
|
this.projects = this.updateSort(this.projects, this.sortBy, this.descending);
|
2023-05-06 16:12:35 +01:00
|
|
|
},
|
|
|
|
|
updateSort(projects, sort, descending) {
|
2024-07-06 20:57:32 -07:00
|
|
|
let sortedArray = projects;
|
2023-03-09 10:05:32 -07:00
|
|
|
switch (sort) {
|
2024-07-06 20:57:32 -07:00
|
|
|
case "Name":
|
2023-05-06 16:12:35 +01:00
|
|
|
sortedArray = projects.slice().sort((a, b) => {
|
2024-07-06 20:57:32 -07:00
|
|
|
return a.title.localeCompare(b.title);
|
|
|
|
|
});
|
|
|
|
|
break;
|
|
|
|
|
case "Status":
|
2023-05-06 16:12:35 +01:00
|
|
|
sortedArray = projects.slice().sort((a, b) => {
|
2023-01-07 17:37:47 -08:00
|
|
|
if (a.status < b.status) {
|
2024-07-06 20:57:32 -07:00
|
|
|
return -1;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
if (a.status > b.status) {
|
2024-07-06 20:57:32 -07:00
|
|
|
return 1;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
2024-07-06 20:57:32 -07:00
|
|
|
return 0;
|
|
|
|
|
});
|
|
|
|
|
break;
|
|
|
|
|
case "Type":
|
2023-05-06 16:12:35 +01:00
|
|
|
sortedArray = projects.slice().sort((a, b) => {
|
2023-01-07 17:37:47 -08:00
|
|
|
if (a.project_type < b.project_type) {
|
2024-07-06 20:57:32 -07:00
|
|
|
return -1;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
if (a.project_type > b.project_type) {
|
2024-07-06 20:57:32 -07:00
|
|
|
return 1;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
2024-07-06 20:57:32 -07:00
|
|
|
return 0;
|
|
|
|
|
});
|
|
|
|
|
break;
|
2023-01-07 17:37:47 -08:00
|
|
|
default:
|
2024-07-06 20:57:32 -07:00
|
|
|
break;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
2023-05-06 16:12:35 +01:00
|
|
|
|
|
|
|
|
if (descending) {
|
2024-07-06 20:57:32 -07:00
|
|
|
sortedArray = sortedArray.reverse();
|
2023-05-06 16:12:35 +01:00
|
|
|
}
|
|
|
|
|
|
2024-07-06 20:57:32 -07:00
|
|
|
return sortedArray;
|
2023-01-07 17:37:47 -08:00
|
|
|
},
|
|
|
|
|
async bulkEditLinks() {
|
|
|
|
|
try {
|
|
|
|
|
const baseData = {
|
2023-04-17 23:07:21 +01:00
|
|
|
issues_url: this.editLinks.issues.clear ? null : this.editLinks.issues.val.trim(),
|
|
|
|
|
source_url: this.editLinks.source.clear ? null : this.editLinks.source.val.trim(),
|
|
|
|
|
wiki_url: this.editLinks.wiki.clear ? null : this.editLinks.wiki.val.trim(),
|
|
|
|
|
discord_url: this.editLinks.discord.clear ? null : this.editLinks.discord.val.trim(),
|
2024-07-06 20:57:32 -07:00
|
|
|
};
|
2023-04-17 23:07:21 +01:00
|
|
|
|
|
|
|
|
if (!baseData.issues_url?.length ?? 1 > 0) {
|
2024-07-06 20:57:32 -07:00
|
|
|
delete baseData.issues_url;
|
2023-04-17 23:07:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!baseData.source_url?.length ?? 1 > 0) {
|
2024-07-06 20:57:32 -07:00
|
|
|
delete baseData.source_url;
|
2023-04-17 23:07:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!baseData.wiki_url?.length ?? 1 > 0) {
|
2024-07-06 20:57:32 -07:00
|
|
|
delete baseData.wiki_url;
|
2023-04-17 23:07:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!baseData.discord_url?.length ?? 1 > 0) {
|
2024-07-06 20:57:32 -07:00
|
|
|
delete baseData.discord_url;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
2023-03-09 10:05:32 -07:00
|
|
|
await useBaseFetch(
|
|
|
|
|
`projects?ids=${JSON.stringify(this.selectedProjects.map((x) => x.id))}`,
|
|
|
|
|
{
|
2024-07-06 20:57:32 -07:00
|
|
|
method: "PATCH",
|
2023-03-09 10:05:32 -07:00
|
|
|
body: baseData,
|
2024-07-06 20:57:32 -07:00
|
|
|
},
|
|
|
|
|
);
|
2023-01-07 17:37:47 -08:00
|
|
|
|
2024-07-06 20:57:32 -07:00
|
|
|
this.$refs.editLinksModal.hide();
|
2023-01-07 17:37:47 -08:00
|
|
|
this.$notify({
|
2024-07-06 20:57:32 -07:00
|
|
|
group: "main",
|
|
|
|
|
title: "Success",
|
2023-01-07 17:37:47 -08:00
|
|
|
text: "Bulk edited selected project's links.",
|
2024-07-06 20:57:32 -07:00
|
|
|
type: "success",
|
|
|
|
|
});
|
|
|
|
|
this.selectedProjects = [];
|
|
|
|
|
|
|
|
|
|
this.editLinks.issues.val = "";
|
|
|
|
|
this.editLinks.source.val = "";
|
|
|
|
|
this.editLinks.wiki.val = "";
|
|
|
|
|
this.editLinks.discord.val = "";
|
|
|
|
|
this.editLinks.issues.clear = false;
|
|
|
|
|
this.editLinks.source.clear = false;
|
|
|
|
|
this.editLinks.wiki.clear = false;
|
|
|
|
|
this.editLinks.discord.clear = false;
|
2023-01-07 17:37:47 -08:00
|
|
|
} catch (e) {
|
|
|
|
|
this.$notify({
|
2024-07-06 20:57:32 -07:00
|
|
|
group: "main",
|
|
|
|
|
title: "An error occurred",
|
2023-01-07 17:37:47 -08:00
|
|
|
text: e,
|
2024-07-06 20:57:32 -07:00
|
|
|
type: "error",
|
|
|
|
|
});
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-07-06 20:57:32 -07:00
|
|
|
});
|
Rewrite Parity (#647)
* Rewrite Parity
* Update SEO, fix modals, add dashes to changelog
* Edit create version title
* Cache tags, SEO for search/partial noscript support, notifications fix
* Deploy?
* Fix vercel config
* Fix it again
* Finish user editing
* Remove broken docker build
* Switch reports to modals
* Update project card
* Navbar line animation in most places
* Add chips
* Move to navlink query params
* remove autogen file
* Add copy code
* Fix webkit text box outlines, port report modal
* Update error page
* Switch to avatar component
* Make keyboard nav work
* Fix team member spacing
* improve project ID display (#676)
* Bug fixes
* Update OG site title
* More fixes
* Design tweaks
* Fix card wrapping on mobile
* Darken light theme color a little
* Sidebar navigation for settings, notifications, and moderation
* Change follow icon from a heart to a bell
* Revert "Change follow icon from a heart to a bell"
This reverts commit e30b46ec5d93c57df847be88eba123c7419dd03b.
* Change follows icon in settings
* AaaaUUUUUUUGghghhhhhhhh
* Project sidebar transparent button animations
* Update file input button styling and change icon remove button text
* Fix environments filter condition being inverted
* Remove -> revert
* Improve readability of warning banners on light mode
* Fix mobile menu button colors
* Clean up notifications page more
* Creator dashboard and monetization work
* Add processing fees declarations and acknowledgement box
* Beta badges
* Downgrade Nuxt Vercel Builder
* Update the style of button groups to be more consistent
* More button consistency
* Remove desktop navbar on mobile
* Update home page progress indicators
* Fix page jumping (Thanks @stairman06)
* Make checkbox checked style consistent with other selection indicators
* More home page updates
* Properly reset NavRows
* Move filters menu on mobile
* Stylized checkbox updated to match active styling
* Filters icon
* Respect prefers-reduced-motion
* Add most backend payouts changes (untested)
* Finish tested payouts code
* Allow monetization unenrolling
* No longer use brand color for active highlights on standard nav elements
* More consistent button group on project page
* Rounded tables
* Fix some things (#716)
* Team member fixes + re-add changelog/versions stuff
* Remove dummy data
* The great CSS refactor
* Remove commented out css
* Give modals the legacy label styles and update profile edit labels
* Fix active chip size
* Remove shadow from selected chip
* Require email set for CMP
* Update styles of notifications to universal-card
* Equivalent exchange, trading some jank for some less bad jank
* Fix all gallery buttons being missing when there is only 1 image
* Update project creation modal
* Make beta badge less bright
* Beta badge heading styling
* Update withdraw processing fees info
* Remove redundant label
* be
* Fix inverted logic
* 2% is 0.02
* Add toggle to turn off alpha modpacks banner
* Why warning button?
* Add more footer links (#719)
* Add more footer links
* Move twitter
* Make items on user pages less comically large and move ad above navigation
* Bump text down a little on home page
* Update favicon colors
* Remove task list package and change default description to use bullet points
* I don't remember why I made this important but let's not
* Ah, yes
* this doesn't actually need to be important
* Align items in input groups
* Adjust some spacings and clear creation modal on opening
* Versions now clickable
* Add link to edit page to default description
* Improve monetization information text
* Make wrapped text inputs not shrink
* Make chips work better
* smol margin on clear mod message button
* Allow non-authenticated users to access settings
* Remove settings anchors
* Fix versions page button style on firefox
* Add advanced rendering toggle
* Update slug input and icon card in project edit page
* Legal sidebar
* h1 at beginning of description no longer has top margin
* Use universal card for legal pages
* Update email addresses on legal pages
* Update various page titles and descriptions for consistency
* Various fixes and consolidation to API URL retrieval
Prevents a bug where it's possible to generate the tags under one API, switch the API, and still have tags leftover from the old API
Also finally fixes staging URL being jank
* Make the theme button show regardless of login state
Also remove the change theme from the user dropdown because it's very redundant with the several other ways of changing theme
* Make mobile profile dropdown ordering consistent with desktop
* Change the base url back
* Revert "Change the base url back"
This reverts commit c1da89fddb83776b39f626eab33c8dc67f8a75e4.
* constantize
* Tiny fixes (#722)
* Box-shadow chip outlines
* Show settings when signed out
* mods -> projects
* space
* Beta badge border
* Slug input overflow fix, scrollable
* 🙈 it will all be okay 🙊 this is just temporary 🙉 😭😭 forgive me
* Fix minor bugs
* fix moderation page
* More fixes
* Temp fix for download button
* BEGONE TABLES
* Fix download button
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
2022-11-12 17:57:40 -07:00
|
|
|
</script>
|
2023-01-07 17:37:47 -08:00
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.grid-table {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns:
|
|
|
|
|
min-content min-content minmax(min-content, 2fr)
|
|
|
|
|
minmax(min-content, 1fr) minmax(min-content, 1fr) minmax(min-content, 1fr) min-content;
|
|
|
|
|
border-radius: var(--size-rounded-sm);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-top: var(--spacing-card-md);
|
2024-04-09 11:18:56 -07:00
|
|
|
outline: 1px solid transparent;
|
2023-01-07 17:37:47 -08:00
|
|
|
|
|
|
|
|
.grid-table__row {
|
|
|
|
|
display: contents;
|
|
|
|
|
|
|
|
|
|
> div {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: var(--spacing-card-sm);
|
|
|
|
|
|
|
|
|
|
// Left edge of table
|
|
|
|
|
&:first-child {
|
|
|
|
|
padding-left: var(--spacing-card-bg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Right edge of table
|
|
|
|
|
&:last-child {
|
|
|
|
|
padding-right: var(--spacing-card-bg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:nth-child(2n + 1) > div {
|
|
|
|
|
background-color: var(--color-table-alternate-row);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.grid-table__header > div {
|
|
|
|
|
background-color: var(--color-bg);
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: var(--color-text-dark);
|
|
|
|
|
padding-top: var(--spacing-card-bg);
|
|
|
|
|
padding-bottom: var(--spacing-card-bg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 750px) {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
.grid-table__row {
|
|
|
|
|
display: grid;
|
2024-07-06 20:57:32 -07:00
|
|
|
grid-template: "checkbox icon name type settings" "checkbox icon id status settings";
|
2023-01-07 17:37:47 -08:00
|
|
|
grid-template-columns:
|
|
|
|
|
min-content min-content minmax(min-content, 2fr)
|
|
|
|
|
minmax(min-content, 1fr) min-content;
|
|
|
|
|
|
|
|
|
|
:nth-child(1) {
|
|
|
|
|
grid-area: checkbox;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(2) {
|
|
|
|
|
grid-area: icon;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(3) {
|
|
|
|
|
grid-area: name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(4) {
|
|
|
|
|
grid-area: id;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(5) {
|
|
|
|
|
grid-area: type;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(6) {
|
|
|
|
|
grid-area: status;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:nth-child(7) {
|
|
|
|
|
grid-area: settings;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid-table__header {
|
2024-07-06 20:57:32 -07:00
|
|
|
grid-template: "checkbox settings";
|
2023-01-07 17:37:47 -08:00
|
|
|
grid-template-columns: min-content minmax(min-content, 1fr);
|
|
|
|
|
|
|
|
|
|
:nth-child(2),
|
|
|
|
|
:nth-child(3),
|
|
|
|
|
:nth-child(4),
|
|
|
|
|
:nth-child(5),
|
|
|
|
|
:nth-child(6) {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 560px) {
|
|
|
|
|
.grid-table__row {
|
|
|
|
|
display: grid;
|
2024-07-06 20:57:32 -07:00
|
|
|
grid-template: "checkbox icon name settings" "checkbox icon id settings" "checkbox icon type settings" "checkbox icon status settings";
|
2023-01-07 17:37:47 -08:00
|
|
|
grid-template-columns: min-content min-content minmax(min-content, 1fr) min-content;
|
|
|
|
|
|
|
|
|
|
:nth-child(5) {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.grid-table__header {
|
2024-07-06 20:57:32 -07:00
|
|
|
grid-template: "checkbox settings";
|
2023-01-07 17:37:47 -08:00
|
|
|
grid-template-columns: min-content minmax(min-content, 1fr);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.project-title {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
gap: var(--spacing-card-xs);
|
|
|
|
|
|
|
|
|
|
svg {
|
2024-06-11 19:46:07 -07:00
|
|
|
color: var(--color-orange);
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status {
|
|
|
|
|
margin-top: var(--spacing-card-xs);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hover-link:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.labeled-control-row {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: var(--spacing-card-md);
|
2023-07-15 20:39:33 -07:00
|
|
|
white-space: nowrap;
|
2023-01-07 17:37:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.small-select {
|
|
|
|
|
width: -moz-fit-content;
|
|
|
|
|
width: fit-content;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-06 20:57:32 -07:00
|
|
|
.label-button[data-active="true"] {
|
2024-06-11 19:46:07 -07:00
|
|
|
--background-color: var(--color-red);
|
2023-01-07 17:37:47 -08:00
|
|
|
--text-color: var(--color-brand-inverted);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.links-modal {
|
|
|
|
|
.links {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: var(--spacing-card-sm);
|
|
|
|
|
grid-template-columns: 1fr 2fr;
|
|
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 530px) {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
.input-group {
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
margin: 0 0 var(--spacing-card-sm) 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|