summaryrefslogtreecommitdiff
path: root/web/templates/partials/notes-tab.html
blob: 526f387c0de168ecba3ff1e66836e033ac4eef49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{define "notes-tab"}}
<div class="space-y-10">
    <!-- Error Messages -->
    {{template "error-banner" .}}

    <!-- Obsidian Notes Section -->
    {{if .Notes}}
        {{template "obsidian-notes" .}}
    {{else}}
        <div class="text-center py-20">
            <svg class="mx-auto h-16 w-16 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
                      d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
            </svg>
            <h3 class="mt-6 text-xl font-medium text-gray-900">No notes found</h3>
            <p class="mt-2 text-sm text-gray-500 max-w-md mx-auto">
                Configure your Obsidian vault path in the settings to see your recent notes displayed here.
            </p>
        </div>
    {{end}}
</div>
{{end}}