doxla 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ <p align="center">
2
+ <img src="logo.png" alt="Doxla" width="120" />
3
+ </p>
4
+
1
5
  # doxla
2
6
 
3
7
  Improve documentation discoverability within repos. Doxla discovers all `.md` and `.mdx` files in your repository, builds a beautiful docs viewer, and deploys it to GitHub Pages.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doxla",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Improve documentation discoverability within repos",
5
5
  "type": "module",
6
6
  "bin": {
Binary file
@@ -0,0 +1,31 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" fill="none">
2
+ <defs>
3
+ <linearGradient id="grad" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0%" stop-color="#6366f1" />
5
+ <stop offset="100%" stop-color="#06b6d4" />
6
+ </linearGradient>
7
+ <linearGradient id="fold" x1="0" y1="0" x2="1" y2="1">
8
+ <stop offset="0%" stop-color="#4f46e5" />
9
+ <stop offset="100%" stop-color="#0891b2" />
10
+ </linearGradient>
11
+ </defs>
12
+
13
+ <!-- Rounded square background -->
14
+ <rect x="8" y="8" width="104" height="104" rx="24" fill="url(#grad)" />
15
+
16
+ <!-- Document body -->
17
+ <path d="M38 28h26l20 20v44a4 4 0 0 1-4 4H38a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4z" fill="white" opacity="0.95" />
18
+
19
+ <!-- Folded corner -->
20
+ <path d="M64 28v16a4 4 0 0 0 4 4h16z" fill="white" opacity="0.55" />
21
+
22
+ <!-- Text lines on document -->
23
+ <rect x="42" y="56" width="28" height="3" rx="1.5" fill="url(#grad)" opacity="0.5" />
24
+ <rect x="42" y="64" width="22" height="3" rx="1.5" fill="url(#grad)" opacity="0.35" />
25
+ <rect x="42" y="72" width="26" height="3" rx="1.5" fill="url(#grad)" opacity="0.25" />
26
+
27
+ <!-- Small discovery dot / compass indicator -->
28
+ <circle cx="82" cy="82" r="14" fill="white" opacity="0.2" />
29
+ <circle cx="82" cy="82" r="8" fill="white" opacity="0.35" />
30
+ <circle cx="82" cy="82" r="3.5" fill="white" />
31
+ </svg>
@@ -1,8 +1,9 @@
1
1
  import { useState } from "react";
2
- import { Search, BookOpen, Sun, Moon } from "lucide-react";
2
+ import { Search, Sun, Moon } from "lucide-react";
3
3
  import type { Theme } from "../../App";
4
4
  import { Input } from "../ui/Input";
5
5
  import { Button } from "../ui/Button";
6
+ import logoSrc from "../../assets/logo.svg";
6
7
 
7
8
  interface HeaderProps {
8
9
  repoName: string;
@@ -23,7 +24,7 @@ export function Header({ repoName, theme, onToggleTheme }: HeaderProps) {
23
24
  return (
24
25
  <header className="sticky top-0 z-10 flex h-14 items-center gap-4 border-b border-border bg-background px-6">
25
26
  <a href="#/" className="flex items-center gap-2 font-semibold">
26
- <BookOpen className="h-5 w-5" />
27
+ <img src={logoSrc} alt="Doxla" className="h-5 w-5 object-contain" />
27
28
  <span>{repoName}</span>
28
29
  </a>
29
30