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
+4 -4
View File
@@ -23,14 +23,14 @@ const columns = [
{
title: "Community",
links: [
{ label: "GitHub", href: "https://github.com/ashim-hq/ashim" },
{ label: "GitHub", href: "https://github.com/snapotter-hq/snapotter" },
{
label: "Contributing",
href: "https://github.com/ashim-hq/ashim/blob/main/CONTRIBUTING.md",
href: "https://github.com/snapotter-hq/snapotter/blob/main/CONTRIBUTING.md",
},
{
label: "Discussions",
href: "https://github.com/ashim-hq/ashim/discussions",
href: "https://github.com/snapotter-hq/snapotter/discussions",
},
],
},
@@ -88,7 +88,7 @@ export function Footer() {
<div className="mx-auto mt-12 flex max-w-6xl items-center justify-between border-t border-border pt-8">
<p className="text-sm text-muted">&copy; {new Date().getFullYear()} SnapOtter</p>
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="text-muted transition-colors hover:text-foreground"
+1 -1
View File
@@ -128,7 +128,7 @@ export function Hero() {
<div className="mt-10 animate-[fadeUp_0.6s_ease-out_0.3s_both]">
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="group relative inline-flex items-center gap-2 overflow-hidden rounded-full bg-gradient-to-r from-amber-500 via-orange-500 to-amber-500 bg-[length:200%_100%] px-10 py-4 text-base font-semibold text-white shadow-[0_0_32px_-8px] shadow-amber-500/40 transition-all duration-500 hover:bg-[position:100%_0] hover:shadow-[0_0_40px_-4px] hover:shadow-amber-500/50"
+1 -1
View File
@@ -6,7 +6,7 @@ import { useState } from "react";
import { FadeIn } from "./fade-in";
const command =
"docker run -d --name ashim -p 1349:1349 -v ashim-data:/data ghcr.io/ashim-hq/ashim:latest";
"docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data ghcr.io/snapotter-hq/snapotter:latest";
export function HowItWorks() {
const [copied, setCopied] = useState(false);
+3 -3
View File
@@ -23,7 +23,7 @@ export function Navbar() {
const [stars, setStars] = useState<string>("Star");
useEffect(() => {
fetch("https://api.github.com/repos/ashim-hq/ashim")
fetch("https://api.github.com/repos/snapotter-hq/snapotter")
.then((res) => res.json())
.then((data) => {
if (typeof data.stargazers_count === "number") {
@@ -65,7 +65,7 @@ export function Navbar() {
<div className="hidden items-center gap-3 md:flex">
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-1.5 rounded-lg border border-border px-3 py-1.5 text-sm font-medium transition-colors hover:bg-background-alt"
@@ -109,7 +109,7 @@ export function Navbar() {
))}
<div className="mt-3 flex flex-col gap-2">
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center gap-1.5 rounded-lg border border-border px-4 py-2 text-sm font-medium"
+1 -1
View File
@@ -15,7 +15,7 @@ export function OpenSource() {
</p>
<div className="mt-10">
<a
href="https://github.com/ashim-hq/ashim"
href="https://github.com/snapotter-hq/snapotter"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-2 rounded-xl bg-teal px-6 py-3 text-base font-semibold text-white transition-colors hover:bg-teal-hover"
+1 -1
View File
@@ -24,7 +24,7 @@ const freePlan = {
"AGPL-3.0 licensed",
],
cta: "Get Started Free",
href: "https://github.com/ashim-hq/ashim",
href: "https://github.com/snapotter-hq/snapotter",
external: true,
};