Add recemment modifié page accueil

This commit is contained in:
2025-11-12 17:44:02 +01:00
parent f903e28728
commit 6585b1765a
13 changed files with 218 additions and 60 deletions

View File

@ -17,12 +17,6 @@
<script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/highlight.min.js"></script>
<script src="/static/sidebar-resize.js"></script>
<script src="/frontend/src/theme-manager.js"></script>
<script src="/frontend/src/font-manager.js"></script>
<script src="/frontend/src/vim-mode-manager.js"></script>
<script src="/frontend/src/favorites.js"></script>
<script src="/frontend/src/sidebar-sections.js"></script>
<script src="/frontend/src/keyboard-shortcuts.js"></script>
<script type="module" src="/static/dist/personotes-frontend.es.js"></script>
</head>
<body>
@ -41,7 +35,6 @@
hx-get="/api/search"
hx-trigger="keyup changed delay:500ms, search"
hx-target="#search-results"
hx-indicator="#search-spinner"
style="flex-grow: 1; max-width: 350px;"
/>
<button
@ -53,21 +46,9 @@
title="Retour à la page d'accueil (Ctrl/Cmd+H)">
🏠 Accueil
</button>
<button
hx-get="/api/daily/today"
hx-target="#editor-container"
hx-swap="innerHTML"
hx-push-url="true"
style="white-space: nowrap;"
title="Note du jour (Ctrl/Cmd+D)">
📅 Note du jour
</button>
<button onclick="showNewNoteModal()" style="white-space: nowrap;" title="Créer une nouvelle note (Ctrl/Cmd+N)">
✨ Nouvelle note
</button>
<div id="search-spinner" class="htmx-indicator">
<progress></progress>
</div>
</header>
<!-- Modal pour nouvelle note -->