rusty-long #16

Merged
longjacksonle merged 4 commits from rusty-long into main 2026-03-18 03:08:12 +01:00
Member

Summary

  • Fix Docker dev build: Added Node.js, npm, and @tailwindcss/cli to the dev Dockerfile so
    assets/tailwind.css is generated automatically at container startup. Previously the build failed on a
    fresh clone because the generated CSS file is gitignored and no tooling was available inside the container
    to produce it.
  • Add static landing page (static/): New static/index.html landing page styled after the a8n-tools design
    system. Includes:
    • Hero section with animated gradient headline, badge linking to a8n-tools, and large bookmark icon
    • 6-card features grid (Auto Metadata, Full-Text Search, Secure by Design, GitHub Integration,
      Hierarchical Categories, Docker Ready)
    • About section linking back to the a8n-tools suite
    • CTA band with gradient background
    • 4-column footer (Brand, Product, Account, Legal)
  • Wire landing page into Axum router (src/main.rs): Serve static/index.html at / in standalone mode,
    taking precedence over the Dioxus router. Authenticated users are redirected to /links via a localStorage
    token check in the page itself.
  • Update compose.yml: Mount ./static:/app/static so edits to the landing page are reflected without a full
    image rebuild.
  • Update .gitignore: Add .claude/settings.local.json to prevent machine-specific Claude Code settings from
    being committed.

Test plan

  • docker compose build && docker compose up completes without errors from a fresh clone
  • Visiting / shows the landing page when logged out
  • Visiting / redirects to /links when logged in
  • All "Get Started" / "Create Account" / "Sign Up" buttons link to https://pugtsurani.net/register
  • "Report Abuse" footer link opens https://go.pugtsurani.net/report.html in a new tab
  • SaaS mode behaviour at / is unchanged
Summary - Fix Docker dev build: Added Node.js, npm, and @tailwindcss/cli to the dev Dockerfile so assets/tailwind.css is generated automatically at container startup. Previously the build failed on a fresh clone because the generated CSS file is gitignored and no tooling was available inside the container to produce it. - Add static landing page (static/): New static/index.html landing page styled after the a8n-tools design system. Includes: - Hero section with animated gradient headline, badge linking to a8n-tools, and large bookmark icon - 6-card features grid (Auto Metadata, Full-Text Search, Secure by Design, GitHub Integration, Hierarchical Categories, Docker Ready) - About section linking back to the a8n-tools suite - CTA band with gradient background - 4-column footer (Brand, Product, Account, Legal) - Wire landing page into Axum router (src/main.rs): Serve static/index.html at / in standalone mode, taking precedence over the Dioxus router. Authenticated users are redirected to /links via a localStorage token check in the page itself. - Update compose.yml: Mount ./static:/app/static so edits to the landing page are reflected without a full image rebuild. - Update .gitignore: Add .claude/settings.local.json to prevent machine-specific Claude Code settings from being committed. Test plan - docker compose build && docker compose up completes without errors from a fresh clone - Visiting / shows the landing page when logged out - Visiting / redirects to /links when logged in - All "Get Started" / "Create Account" / "Sign Up" buttons link to https://pugtsurani.net/register - "Report Abuse" footer link opens https://go.pugtsurani.net/report.html in a new tab - SaaS mode behaviour at / is unchanged
6-card features grid, about section, CTA band, and 4-col footer
  - Serve it from Axum at \"/\" (standalone only) before the Dioxus router,
    so unauthenticated visitors see the landing page instead of a redirect
  - Add inline JS to redirect already-authenticated users to /links via
    localStorage auth_token check
  - Mount ./static in compose.yml so HTML edits reflect without rebuilding
longjacksonle deleted branch rusty-long 2026-03-18 03:08:12 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
a8n-tools/rusty-links!16
No description provided.