Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix deploy

Smaug673966b983a7cf6e
diff --git a/ecosystem.config.js b/ecosystem.config.js
index 515c6378..01bfc80a 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -10,6 +10,7 @@ module.exports = {
DOMAIN_CLIENT: 'https://alexandrie-hub.fr',
//DOMAIN_DASHBOARD: "https://dashboard.alexandrie-hub.fr",
FRONT_DOMAIN: 'alexandrie-hub.fr',
+ DB_NAME: 'alexandrie',
},
},
{
diff --git a/frontend/components/Notification.vue b/frontend/components/Notification.vue
index 85016bbe..2e860675 100644
--- a/frontend/components/Notification.vue
+++ b/frontend/components/Notification.vue
@@ -1,18 +1,15 @@
<template>
- <TransitionGroup name="notification-slide" tag="div" class="notification-container"
- enter-from-class="notification-enter-from" enter-to-class="notification-enter-to"
- leave-from-class="notification-leave-from" leave-to-class="notification-leave-to">
- <div v-for="notification in notifications" :key="notification.id" class="notification" :class="notification.type">
- <div class="header">
- <p>{{ notification.title }}</p>
- <svg @click="close(notification.id)" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960"
- width="24" class="close-icon">
- <path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" />
- </svg>
- </div>
- <p>{{ notification.message }}</p>
- </div>
- </TransitionGroup>
+ <TransitionGroup name="notification-slide" tag="div" class="notification-container" enter-from-class="notification-enter-from" enter-to-class="notification-enter-to" leave-from-class="notification-leave-from" leave-to-class="notification-leave-to">
+ <div v-for="notification in notifications" :key="notification.id" class="notification" :class="notification.type">
+ <div class="header">
+ <p>{{ notification.title }}</p>
+ <svg @click="close(notification.id)" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" class="close-icon">
+ <path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" />
+ </svg>
+ </div>
+ <p>{{ notification.message }}</p>
+ </div>
+ </TransitionGroup>
</template>
<script setup lang="ts">
@@ -20,95 +17,94 @@ import { useNotifications } from '~/stores';
const notifications = computed(() => useNotifications().getAll.reverse());
const close = (id: number) => useNotifications().remove(id);
-
</script>
<style scoped lang="scss">
.notification-container {
- position: fixed;
- bottom: 10px;
- right: 10px;
- z-index: 1000;
+ position: fixed;
+ bottom: 10px;
+ right: 10px;
+ z-index: 1000;
}
.notification {
- padding: 18px 15px;
- border-radius: 8px;
- color: white;
- margin-bottom: 10px;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- width: 350px;
+ padding: 18px 15px;
+ border-radius: 8px;
+ color: white;
+ margin-bottom: 10px;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+ width: 350px;
}
.header {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- font-weight: 500;
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ font-weight: 500;
}
p {
- margin: 0;
- padding: 0 5px;
+ margin: 0;
+ padding: 0 5px;
}
.close-icon {
- cursor: pointer;
- margin-left: 12px;
- transition: transform $transition-duration ease;
- fill: var(--font-color);
+ cursor: pointer;
+ margin-left: 12px;
+ transition: transform $transition-duration ease;
+ fill: var(--font-color);
}
.close-icon:hover {
- transform: scale(1.1);
+ transform: scale(1.1);
}
.info {
- border-color: var(--blue-border);
- color: var(--blue);
- background-color: var(--blue-bg);
+ border-color: var(--blue-border);
+ color: var(--blue);
+ background-color: var(--blue-bg);
}
.error {
- border-color: var(--red-border);
- color: var(--red);
- background-color: var(--red-bg);
+ border-color: var(--red-border);
+ color: var(--red);
+ background-color: var(--red-bg);
}
.success {
- border-color: var(--green-border);
- color: var(--green);
- background-color: var(--green-bg);
+ border-color: var(--green-border);
+ color: var(--green);
+ background-color: var(--green-bg);
}
.warning {
- border-color: var(--yellow-border);
- color: var(--yellow);
- background-color: var(--yellow-bg);
+ border-color: var(--yellow-border);
+ color: var(--yellow);
+ background-color: var(--yellow-bg);
}
/* Transitions */
.notification-slide-enter-active,
.notification-slide-leave-active {
- transition: transform $transition-duration, opacity $transition-duration;
+ transition: transform $transition-duration, opacity $transition-duration;
}
.notification-enter-from {
- opacity: 0;
- transform: translateX(100%);
+ opacity: 0;
+ transform: translateX(100%);
}
.notification-enter-to {
- opacity: 1;
- transform: translateX(0%);
+ opacity: 1;
+ transform: translateX(0%);
}
.notification-leave-from {
- opacity: 1;
- transform: translateX(0%);
+ opacity: 1;
+ transform: translateX(0%);
}
.notification-leave-to {
- opacity: 0;
- transform: translateX(100%);
+ opacity: 0;
+ transform: translateX(100%);
}
</style>