diff --git a/src/lib/components/BackofficeModal/ChangePasswordModal.svelte b/src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte similarity index 100% rename from src/lib/components/BackofficeModal/ChangePasswordModal.svelte rename to src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte diff --git a/src/lib/components/BackofficeModal/ConfirmationModal.svelte b/src/lib/components/Backoffice/Modal/ConfirmationModal.svelte similarity index 100% rename from src/lib/components/BackofficeModal/ConfirmationModal.svelte rename to src/lib/components/Backoffice/Modal/ConfirmationModal.svelte diff --git a/src/lib/components/BackofficeModal/CreateDocumentModal.svelte b/src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte similarity index 100% rename from src/lib/components/BackofficeModal/CreateDocumentModal.svelte rename to src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte diff --git a/src/lib/components/BackofficeModal/CreateStatisticModal.svelte b/src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte similarity index 100% rename from src/lib/components/BackofficeModal/CreateStatisticModal.svelte rename to src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte diff --git a/src/lib/components/BackofficeModal/EditUserModal.svelte b/src/lib/components/Backoffice/Modal/EditUserModal.svelte similarity index 100% rename from src/lib/components/BackofficeModal/EditUserModal.svelte rename to src/lib/components/Backoffice/Modal/EditUserModal.svelte diff --git a/src/lib/components/BackofficeModal/CreateAnnouncementModal.svelte b/src/lib/components/Backoffice/Modal/FileRankingModal.svelte similarity index 95% rename from src/lib/components/BackofficeModal/CreateAnnouncementModal.svelte rename to src/lib/components/Backoffice/Modal/FileRankingModal.svelte index 595839d..c59425b 100644 --- a/src/lib/components/BackofficeModal/CreateAnnouncementModal.svelte +++ b/src/lib/components/Backoffice/Modal/FileRankingModal.svelte @@ -11,6 +11,7 @@ let contentFiles: File[] = []; let documentFiles: File[] = []; let mainCoverIndex = 0; + let variant: 'announcement' | 'statistic' = 'announcement'; let dragOver = { cover: false, content: false, @@ -103,7 +104,7 @@