diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependenciesSection.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue similarity index 99% rename from apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependenciesSection.vue rename to apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue index bf885c1509..2a63c7a6a3 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependenciesSection.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadDependencies.vue @@ -95,7 +95,7 @@ import { DownloadIcon, PackageIcon, RightArrowIcon } from '@modrinth/assets' import { Avatar, ButtonStyled, defineMessages, TagItem, useVIntl } from '@modrinth/ui' defineOptions({ - name: 'DownloadDependenciesSection', + name: 'DownloadDependencies', }) defineProps({ diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue new file mode 100644 index 0000000000..dbfacf04f3 --- /dev/null +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/DownloadProject.vue @@ -0,0 +1,237 @@ + + + + + + {{ item.label }} + + + + + + + + + + + + {{ item.label }} + + + + + + + + + + {{ selectedVersion.version_number }} + + + + + {{ selectedVersion.name }} + + + + + + + + + + + diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/InstallWithModrinthApp.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/InstallWithModrinthApp.vue new file mode 100644 index 0000000000..96fd1ed06d --- /dev/null +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/InstallWithModrinthApp.vue @@ -0,0 +1,106 @@ + + + + + + + + Install with + Modrinth App + + + + + + {{ formatMessage(messages.installWithModrinthAppDescription) }} + + + + + + {{ formatMessage(messages.dontHaveModrinthApp) }} + + + + + + + + {{ formatMessage(messages.downloadManually) }} + + + + + + + + + diff --git a/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue b/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue index eebff60636..6d0decc205 100644 --- a/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue +++ b/apps/frontend/src/components/ui/ProjectDownloadModal/index.vue @@ -8,167 +8,29 @@ - - - - - - - Install with - Modrinth App - - - - - - {{ formatMessage(messages.installWithModrinthAppDescription) }} - - - - - - {{ formatMessage(messages.dontHaveModrinthApp) }} - - - - - - - - {{ formatMessage(messages.downloadManually) }} - - - - - - - (versionFilter = query)" - @close="versionFilter = ''" - > - - - {{ item.label }} - - - - - - - - - - - - {{ item.label }} - - - - + + - - - - - {{ selectedVersion.version_number }} - - - - - {{ selectedVersion.name }} - - - - - - - - + {{ formatMessage(messages.additionalFilesTitle) }} @@ -231,12 +93,9 @@ - -
+ {{ selectedVersion.name }} +
- {{ selectedVersion.name }} -