Re-wordin and favicon
This commit is contained in:
@@ -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",
|
||||
|
||||
BIN
docs/public/favicon.ico
Normal file
BIN
docs/public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 731 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path fill-rule="evenodd" d="M81 36 64 0 47 36l-1 2-9-10a6 6 0 0 0-9 9l10 10h-2L0 64l36 17h2L28 91a6 6 0 1 0 9 9l9-10 1 2 17 36 17-36v-2l9 10a6 6 0 1 0 9-9l-9-9 2-1 36-17-36-17-2-1 9-9a6 6 0 1 0-9-9l-9 10v-2Zm-17 2-2 5c-4 8-11 15-19 19l-5 2 5 2c8 4 15 11 19 19l2 5 2-5c4-8 11-15 19-19l5-2-5-2c-8-4-15-11-19-19l-2-5Z" clip-rule="evenodd"/><path d="M118 19a6 6 0 0 0-9-9l-3 3a6 6 0 1 0 9 9l3-3Zm-96 4c-2 2-6 2-9 0l-3-3a6 6 0 1 1 9-9l3 3c3 2 3 6 0 9Zm0 82c-2-2-6-2-9 0l-3 3a6 6 0 1 0 9 9l3-3c3-2 3-6 0-9Zm96 4a6 6 0 0 1-9 9l-3-3a6 6 0 1 1 9-9l3 3Z"/><style>path{fill:#000}@media (prefers-color-scheme:dark){path{fill:#fff}}</style></svg>
|
||||
|
Before Width: | Height: | Size: 696 B |
@@ -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 <your-auth-token>` header.
|
||||
All endpoints require an `Authorization: Bearer <your-auth-token>` 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.*
|
||||
@@ -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.*
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user