fix: Update docs nav links, add Blog link, rename GitHub to Git Repository

This commit is contained in:
lotherk
2026-03-27 14:44:51 +00:00
parent 1e3ed137ec
commit 71e7cdc37a
5 changed files with 29 additions and 67 deletions

View File

@@ -17,7 +17,8 @@
<div class="nav-links">
<a href="../">Home</a>
<a href="../docs/">Docs</a>
<a href="https://github.com/lotherk/deardiary" target="_blank">GitHub</a>
<a href="../blog/">Blog</a>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
</div>
</div>
</nav>
@@ -28,15 +29,10 @@
<h3>Getting Started</h3>
<a href="installation.html">Installation</a>
<a href="quick-start.html">Quick Start</a>
<a href="configuration.html">Configuration</a>
</div>
<div class="sidebar-section">
<h3>Features</h3>
<a href="events.html">Events</a>
<a href="diary-pages.html">Diary Pages</a>
<a href="ai-providers.html" class="active">AI Providers</a>
<a href="search.html">Search</a>
<a href="export-import.html">Export & Import</a>
</div>
</aside>
@@ -128,10 +124,6 @@
<li>Set base URL: <code>http://localhost:1234/v1</code></li>
</ol>
<div class="next-steps">
<a href="diary-pages.html" class="btn">← Diary Pages</a>
<a href="events.html" class="btn">Events →</a>
</div>
</main>
</div>
</body>

View File

@@ -11,13 +11,14 @@
<nav class="navbar">
<div class="nav-container">
<a href="../" class="logo">
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/></svg>
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/><path d="M35 40 L65 40 M35 50 L65 50 M35 60 L55 60" stroke="white" stroke-width="2"/></svg>
DearDiary
</a>
<div class="nav-links">
<a href="../">Home</a>
<a href="../docs/" class="active">Docs</a>
<a href="https://github.com/lotherk/deardiary" target="_blank">GitHub</a>
<a href="../blog/">Blog</a>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
</div>
</div>
</nav>
@@ -28,15 +29,7 @@
<h3>Getting Started</h3>
<a href="installation.html">Installation</a>
<a href="quick-start.html">Quick Start</a>
<a href="configuration.html">Configuration</a>
</div>
<div class="sidebar-section">
<h3>Features</h3>
<a href="events.html">Events</a>
<a href="diary-pages.html">Diary Pages</a>
<a href="ai-providers.html">AI Providers</a>
<a href="search.html">Search</a>
<a href="export-import.html">Export & Import</a>
</div>
</aside>
@@ -60,17 +53,13 @@
<h3><a href="ai-providers.html">AI Providers</a></h3>
<p>Configure Groq, OpenAI, Anthropic, or local models.</p>
</div>
<div class="feature-card">
<h3><a href="events.html">Events</a></h3>
<p>Learn about capturing and managing events.</p>
</div>
</div>
<h2>Need Help?</h2>
<p>If you encounter issues:</p>
<ul>
<li>Check the <a href="https://github.com/lotherk/deardiary/issues" target="_blank">GitHub Issues</a></li>
<li>Check the <a href="${GIT_URL}/issues" target="_blank">Issues</a></li>
<li>Review the configuration settings</li>
<li>Ensure your AI provider API key is valid</li>
</ul>

View File

@@ -6,19 +6,19 @@
<title>Installation - DearDiary</title>
<link rel="stylesheet" href="../css/styles.css">
<link rel="stylesheet" href="../css/docs.css">
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' style='stop-color:%236d28d9'/><stop offset='100%25' style='stop-color:%234c1d95'/></linearGradient></defs><rect width='100' height='100' rx='20' fill='url(%23g)'/><path d='M25 25 L75 25 L75 80 L25 80 Z' fill='none' stroke='white' stroke-width='3'/></svg>">
</head>
<body>
<nav class="navbar">
<div class="nav-container">
<a href="../" class="logo">
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/></svg>
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/><path d="M35 40 L65 40 M35 50 L65 50 M35 60 L55 60" stroke="white" stroke-width="2"/></svg>
DearDiary
</a>
<div class="nav-links">
<a href="../">Home</a>
<a href="../docs/">Docs</a>
<a href="https://github.com/lotherk/deardiary" target="_blank">GitHub</a>
<a href="../docs/" class="active">Docs</a>
<a href="../blog/">Blog</a>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
</div>
</div>
</nav>
@@ -29,15 +29,7 @@
<h3>Getting Started</h3>
<a href="installation.html" class="active">Installation</a>
<a href="quick-start.html">Quick Start</a>
<a href="configuration.html">Configuration</a>
</div>
<div class="sidebar-section">
<h3>Features</h3>
<a href="events.html">Events</a>
<a href="diary-pages.html">Diary Pages</a>
<a href="ai-providers.html">AI Providers</a>
<a href="search.html">Search</a>
<a href="export-import.html">Export & Import</a>
</div>
</aside>
@@ -53,17 +45,17 @@
<h2>Quick Install</h2>
<h3>1. Clone the repository</h3>
<pre><code>git clone https://github.com/lotherk/deardiary.git
<pre><code>git clone ${GIT_URL}.git
cd deardiary</code></pre>
<h3>2. Copy the environment file</h3>
<pre><code>cp backend/.env.example backend/.env</code></pre>
<pre><code>cp .env.example .env</code></pre>
<h3>3. Start with Docker</h3>
<pre><code>docker compose up -d</code></pre>
<h3>4. Access the app</h3>
<p>Open <code>http://localhost:5173</code> in your browser.</p>
<p>Open <code>http://localhost:3000</code> in your browser.</p>
<h2>Default Credentials</h2>
<table>
@@ -89,27 +81,21 @@ cd deardiary</code></pre>
<th>Description</th>
</tr>
<tr>
<td>Frontend</td>
<td>5173</td>
<td>Main application (nginx)</td>
</tr>
<tr>
<td>API</td>
<td>App</td>
<td>3000</td>
<td>Backend API (internal)</td>
<td>Frontend + API (nginx)</td>
</tr>
<tr>
<td>Website</td>
<td>8080</td>
<td>This website (if enabled)</td>
<td>Product website</td>
</tr>
</table>
<h2>Data Storage</h2>
<p>All data is stored in Docker volumes:</p>
<ul>
<li><code>./data/db/</code> - SQLite database</li>
<li><code>./data/media/</code> - Uploaded photos and voice memos</li>
<li><code>./data/</code> - SQLite database and media files</li>
</ul>
<div class="next-steps">

View File

@@ -11,13 +11,14 @@
<nav class="navbar">
<div class="nav-container">
<a href="../" class="logo">
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/></svg>
<svg width="32" height="32" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#6d28d9"/><stop offset="100%" style="stop-color:#4c1d95"/></linearGradient></defs><rect width="100" height="100" rx="20" fill="url(#g)"/><path d="M25 25 L75 25 L75 80 L25 80 Z" fill="none" stroke="white" stroke-width="3"/><path d="M35 40 L65 40 M35 50 L65 50 M35 60 L55 60" stroke="white" stroke-width="2"/></svg>
DearDiary
</a>
<div class="nav-links">
<a href="../">Home</a>
<a href="../docs/">Docs</a>
<a href="https://github.com/lotherk/deardiary" target="_blank">GitHub</a>
<a href="../docs/" class="active">Docs</a>
<a href="../blog/">Blog</a>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
</div>
</div>
</nav>
@@ -28,15 +29,7 @@
<h3>Getting Started</h3>
<a href="installation.html">Installation</a>
<a href="quick-start.html" class="active">Quick Start</a>
<a href="configuration.html">Configuration</a>
</div>
<div class="sidebar-section">
<h3>Features</h3>
<a href="events.html">Events</a>
<a href="diary-pages.html">Diary Pages</a>
<a href="ai-providers.html">AI Providers</a>
<a href="search.html">Search</a>
<a href="export-import.html">Export & Import</a>
</div>
</aside>
@@ -110,7 +103,7 @@
<div class="next-steps">
<a href="installation.html" class="btn">← Previous</a>
<a href="configuration.html" class="btn">Next: Configuration</a>
<a href="ai-providers.html" class="btn btn-primary">Next: AI Providers</a>
</div>
</main>
</div>

View File

@@ -18,6 +18,7 @@
<div class="nav-links">
<a href="#features">Features</a>
<a href="docs/">Docs</a>
<a href="blog/">Blog</a>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
<a href="${APP_URL}" target="_blank" class="btn btn-primary">Join Free Alpha</a>
</div>
@@ -35,7 +36,7 @@
<div class="hero-meta">
<span>v0.1.1</span>
<span></span>
<span>Docker</span>
<a href="${GIT_URL}" target="_blank">Git Repository</a>
<span></span>
<span>MIT License</span>
</div>
@@ -117,7 +118,7 @@
<div class="try-actions">
<a href="${APP_URL}" target="_blank" class="btn btn-primary btn-large">Join Free Alpha</a>
<span class="try-or">or</span>
<a href="docs/getting-started/installation.html" class="btn btn-secondary btn-large">Self-Host</a>
<a href="docs/installation.html" class="btn btn-secondary btn-large">Self-Host</a>
</div>
<div class="try-code">
<code>git clone ${GIT_URL}.git && cd deardiary && docker compose up -d</code>
@@ -139,9 +140,10 @@
</div>
<div class="footer-col">
<h4>Resources</h4>
<a href="docs/getting-started/installation.html">Installation</a>
<a href="docs/getting-started/quick-start.html">Quick Start</a>
<a href="docs/features/ai-providers.html">AI Providers</a>
<a href="docs/installation.html">Installation</a>
<a href="docs/quick-start.html">Quick Start</a>
<a href="docs/ai-providers.html">AI Providers</a>
<a href="blog/">Blog</a>
</div>
<div class="footer-col">
<h4>Project</h4>