diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index c3f7780..55702ec 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -14,7 +14,7 @@ export default defineConfig({ light: "./src/assets/logo.svg", dark: "./src/assets/logo-dark.svg", }, - favicon: "/favicon.svg", + favicon: "/favicon.png", social: [ { icon: "github", diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico new file mode 100644 index 0000000..f1a44c2 Binary files /dev/null and b/docs/public/favicon.ico differ diff --git a/docs/public/favicon.png b/docs/public/favicon.png index e8a74e4..1d482ee 100644 Binary files a/docs/public/favicon.png and b/docs/public/favicon.png differ diff --git a/docs/public/favicon.svg b/docs/public/favicon.svg deleted file mode 100644 index cba5ac1..0000000 --- a/docs/public/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/src/content/docs/sync/overview.md b/docs/src/content/docs/sync/overview.md index 4232595..38c331a 100644 --- a/docs/src/content/docs/sync/overview.md +++ b/docs/src/content/docs/sync/overview.md @@ -7,11 +7,11 @@ You can run your own sync server to keep your data in sync across devices. The s ## How It Works -This server is dead simple. It uses a single `ascently.json` file for your data and a directory for images. The last client to upload wins, overwriting the old data. Authentication is just a static bearer token. +This server uses a single `ascently.json` file for your data and a directory for images. The last client to upload wins, overwriting the old data. Authentication is just a static bearer token. ## API -The API is minimal, just enough for the app to work. All endpoints require an `Authorization: Bearer ` header. +All endpoints require an `Authorization: Bearer ` header. - `GET /sync`: Download `ascently.json` - `POST /sync`: Upload `ascently.json` @@ -28,7 +28,3 @@ You'll need: - A place to store your data The server will be available at `http://localhost:8080` by default. Configure your clients with your server URL and auth token to start syncing. - ---- - -*For technical details, check out `main.go` in the sync directory.* \ No newline at end of file diff --git a/docs/src/content/docs/sync/quick-start.md b/docs/src/content/docs/sync/quick-start.md index c125227..590c36f 100644 --- a/docs/src/content/docs/sync/quick-start.md +++ b/docs/src/content/docs/sync/quick-start.md @@ -59,7 +59,3 @@ For remote access, you'll need to: - Set up port forwarding on your router (port 8080) - Use your public IP address or set up a domain name - Consider using HTTPS with a reverse proxy for security - ---- - -*The sync server is designed to be simple and lightweight. Your data stays under your control.* \ No newline at end of file diff --git a/docs/src/styles/custom.css b/docs/src/styles/custom.css index 2573b29..e36a943 100644 --- a/docs/src/styles/custom.css +++ b/docs/src/styles/custom.css @@ -1,5 +1,3 @@ -/* Ascently Documentation Styles */ - :root { --sl-color-accent: hsl(45, 100%, 50%); --sl-color-accent-low: hsl(45, 100%, 96%); @@ -13,48 +11,3 @@ --sl-color-accent-low: hsl(45, 100%, 10%); --sl-color-accent-high: hsl(45, 100%, 70%); } - -.hero h1 { - color: var(--climbing-amber); - font-weight: 700; -} - -.sidebar nav a[aria-current="page"] { - background: var(--sl-color-accent-low); - border-left: 3px solid var(--sl-color-accent); -} - -.download-button { - display: inline-flex; - align-items: center; - gap: 0.5rem; - padding: 0.75rem 1.5rem; - background: var(--sl-color-accent); - color: white; - text-decoration: none; - border-radius: 0.5rem; - font-weight: 600; - transition: background 0.2s ease; - margin: 0.25rem; -} - -.download-button:hover { - background: var(--sl-color-accent-high); - color: white; -} - -@media (max-width: 768px) { - .hero h1 { - font-size: 2rem; - } - - .download-button { - width: 100%; - justify-content: center; - margin: 0.25rem 0; - } -} - -[data-theme="dark"] .feature-callout { - background: var(--sl-color-gray-6); -}