📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fixes
Smaug67391ee505d85c8e
diff --git a/@alexandrie/styles/src/_variables.scss b/@alexandrie/styles/src/_variables.scssindex 87cdfb5d..ef2a015a 100644--- a/@alexandrie/styles/src/_variables.scss+++ b/@alexandrie/styles/src/_variables.scss@@ -10,13 +10,13 @@ $green: #009879;$grey: #ffffffd9;$black: #27323A;-$primary-400: #009df7;+$primary-400: #007bff;$primary-300: lighten($primary-400, 10%);$primary-500: darken($primary-400, 10%);$selection-color: var(--bg-contrast-2);-@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");+@import "./font.scss";$external-font: 'Poppins', sans-serif;$monospace-font: monospace;@@ -37,7 +37,7 @@ $transition-duration: 0.3s;// COLORS \\--grey: #666;--grey-bg: rgb(240, 240, 240);- --blue: #009df7;+ --blue: #007bff;--blue-bg: #cce0ff;--blue-border: rgba(0, 123, 255, 0.3);--green: #009879;diff --git a/@alexandrie/styles/src/font.scss b/@alexandrie/styles/src/font.scssnew file mode 100644index 00000000..50ca1bac--- /dev/null+++ b/@alexandrie/styles/src/font.scss@@ -0,0 +1,39 @@+/* latin-ext */+@font-face {+ font-family: 'Poppins';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(https://fonts.gstatic.com/s/poppins/v21/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}++/* latin */+@font-face {+ font-family: 'Poppins';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(https://fonts.gstatic.com/s/poppins/v21/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}++/* latin-ext */+@font-face {+ font-family: 'Poppins';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');+ unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}++/* latin */+@font-face {+ font-family: 'Poppins';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}\ No newline at end of filediff --git a/dashboard/components/DocumentCardFooter.vue b/dashboard/components/DocumentCardFooter.vueindex 2c961b49..fcbb5de8 100644--- a/dashboard/components/DocumentCardFooter.vue+++ b/dashboard/components/DocumentCardFooter.vue@@ -1,7 +1,13 @@<template><footer>- <p class="update">Dernière mise à jour le {{ new Date(parseInt(document.updated_timestamp)).toLocaleDateString() }}- </p>+ <div class="infos">+ <NuxtLink :to="`/dashboard/doc/edit/${document.id}`"><svg xmlns="http://www.w3.org/2000/svg" height="24"+ viewBox="0 -960 960 960" width="24">+ <path+ d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h405l-60 60H180v600h600v-348l60-60v408q0 24-18 42t-42 18H180Zm300-360ZM360-360v-170l382-382q9-9 20-13t22-4q11 0 22.317 4.5T827-911l83 84q8.609 8.958 13.304 19.782Q928-796.394 928-785.197q0 11.197-4.5 22.697T910-742L530-360H360Zm508-425-84-84 84 84ZM420-420h85l253-253-43-42-43-42-252 251v86Zm295-295-43-42 43 42 43 42-43-42Z" />+ </svg> Edit this page</NuxtLink>+ <p>Last update: {{ new Date(parseInt(document.updated_timestamp)).toLocaleDateString() }}</p>+ </div><div class="items"><NuxtLink v-if="previous" :to="`/dashboard/doc/${previous.id}`" class="item left"><b class="min">Page précédente</b>@@ -41,7 +47,7 @@ footer {border: 1px solid var(--border-color);padding: 10px;margin: 5px 0;- font-weight: 600;+ font-weight: 500;font-size: 15px;transition: color .25s;@@ -69,7 +75,19 @@ footer {font-size: small;}-.update {- border-bottom: 1px solid lighten($grey, 20%);+.infos {+ display: flex;+ justify-content: space-between;+ align-items: center;+ font-weight: 500;+ border-bottom: 1px solid var(--border-color);++ a {+ display: flex;++ svg {+ margin-right: 5px;+ }+ }}</style>\ No newline at end of file