chore: deploy to Cloudflare Pages and update branding

- Add Cloudflare Pages deployment for landing page (snapotter.com) and
  docs (docs.snapotter.com)
- Create deploy-landing.yml and update deploy-docs.yml workflows
- Update CI to ignore apps/landing/** paths
- Fix logo transparency (remove white background) across all apps
- Recreate social-preview.png with SnapOtter branding
- Update all docs URLs from GitHub Pages to docs.snapotter.com
- Update VitePress config: light theme default, fix llms.txt paths
- Add .vitepress/cache/ and .env.* to gitignore
This commit is contained in:
SnapOtter
2026-04-24 18:06:29 +08:00
parent fbaa603d03
commit 0309e0f680
174 changed files with 970 additions and 926 deletions
@@ -1,4 +1,4 @@
import type { FeatureBundleState } from "@ashim/shared";
import type { FeatureBundleState } from "@snapotter/shared";
import { Clock, Download, Loader2, RefreshCw, RotateCcw, Trash2 } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { apiGet } from "@/lib/api";
@@ -1,4 +1,4 @@
import { APP_VERSION, CATEGORIES, TOOLS } from "@ashim/shared";
import { APP_VERSION, CATEGORIES, TOOLS } from "@snapotter/shared";
import {
Check,
Copy,
@@ -216,7 +216,7 @@ function GeneralSection() {
.catch(() => {
setUser({
id: 0,
username: localStorage.getItem("ashim-username") || "",
username: localStorage.getItem("snapotter-username") || "",
role: "unknown",
});
}),
@@ -232,7 +232,7 @@ function GeneralSection() {
const handleLogout = () => {
clearToken();
localStorage.removeItem("ashim-username");
localStorage.removeItem("snapotter-username");
window.location.href = "/login";
};
@@ -2530,7 +2530,7 @@ function AboutSection() {
<h4 className="text-sm font-medium text-foreground">Links</h4>
<div className="flex flex-col gap-1.5">
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="text-sm text-primary hover:underline"
@@ -2538,7 +2538,7 @@ function AboutSection() {
GitHub Repository
</a>
<a
href="https://ashim-hq.github.io/ashim/"
href="https://docs.snapotter.com/"
target="_blank"
rel="noopener noreferrer"
className="text-sm text-primary hover:underline"