mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
* pnpm prepr * feat(instance-sync): screenshots sync * fix: prepr + fmt * fix: qa * feat: screenshit editor * feat: screenshot* editor qa * fix: qa * fix: lint * fix: aecsocket rev * qa: a11y tab navigation focus is cut off * qa: Change “Edited” badge to be bg-highlight-green * qa: friends list input style wrong * qa: toolbar width + labels * qa: multiselect changes * qa: anim changes * qa: card hover colors * qa: copy feedback * qa: hide date * qa: instance icon in overflow/contextmenu * qa: spacing * qa: group empty state text * qa: drag preview badge * qa: group deletion skip warning if no screenshots * qa: redesign editor * qa: remove screenshot parent/edited badge stuff * qa: control font size consistency * qa: viewer copy control * qa: editor fixes * qa: redirect on disable screenshot sync * qa: margin police * fix: crop * fix: qa * feat: initial start on basic instance file syncing (#7220) * qa: final * qa: final 2 * fix: lint + prepr * fix: copy * fix: screenshot editing outside of app causing ghost files in db + sync fail rollback impl * chore: split up * fix: fmt --------- Co-authored-by: tdgao <mr.trumgao@gmail.com>
30 lines
831 B
Vue
30 lines
831 B
Vue
<script setup lang="ts">
|
|
import { ImagesIcon } from '@modrinth/assets'
|
|
import { defineMessages, useVIntl } from '@modrinth/ui'
|
|
import { onActivated } from 'vue'
|
|
|
|
import ScreenshotsPage from '@/components/ui/screenshots-page/index.vue'
|
|
import { useRootBreadcrumb } from '@/providers/breadcrumbs'
|
|
|
|
defineOptions({ name: 'ScreenshotsPage' })
|
|
|
|
const { formatMessage } = useVIntl()
|
|
const messages = defineMessages({
|
|
screenshots: { id: 'app.screenshots.heading', defaultMessage: 'Screenshots' },
|
|
})
|
|
const breadcrumb = useRootBreadcrumb({
|
|
slot: 'root',
|
|
id: 'screenshots',
|
|
label: formatMessage(messages.screenshots),
|
|
to: '/screenshots',
|
|
visual: { type: 'icon', component: ImagesIcon },
|
|
})
|
|
onActivated(breadcrumb.reset)
|
|
</script>
|
|
|
|
<template>
|
|
<div class="box-border h-full p-6">
|
|
<ScreenshotsPage show-heading />
|
|
</div>
|
|
</template>
|