diff --git a/web/src/components/AppLayout.vue b/web/src/components/AppLayout.vue index 2a8ecb8..4460d7c 100644 --- a/web/src/components/AppLayout.vue +++ b/web/src/components/AppLayout.vue @@ -27,6 +27,8 @@ const selectedArticleId = ref('') const appTitle = ref('') const chatOpen = ref(false) const showSettings = ref(false) +declare const __BUILD_DATE__: string +const buildDate = __BUILD_DATE__ const showUserMenu = ref(false) const editingTitle = ref(false) const titleInput = ref('') @@ -399,6 +401,9 @@ function goHome() { + @@ -636,4 +641,17 @@ function goHome() { background: var(--bg-secondary); overflow: hidden; } + +.app-footer { + height: 24px; + min-height: 24px; + display: flex; + align-items: center; + justify-content: flex-end; + padding: 0 16px; + font-size: 11px; + color: var(--text-tertiary, #888); + border-top: 1px solid var(--border); + background: var(--bg-primary); +} diff --git a/web/vite.config.ts b/web/vite.config.ts index e9c83ee..fa6fe4e 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -3,6 +3,9 @@ import vue from '@vitejs/plugin-vue' export default defineConfig({ base: process.env.VITE_BASE_PATH || '/tori/', + define: { + __BUILD_DATE__: JSON.stringify(new Date().toISOString().slice(0, 10)), + }, plugins: [vue()], server: { proxy: {