mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -50,7 +50,7 @@ describe("Navbar", () => {
|
||||
it("fetches GitHub star count on mount", async () => {
|
||||
render(<Navbar />);
|
||||
await waitFor(() => {
|
||||
expect(fetchMock).toHaveBeenCalledWith("https://api.github.com/repos/ashim-hq/ashim");
|
||||
expect(fetchMock).toHaveBeenCalledWith("https://api.github.com/repos/snapotter-hq/snapotter");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -121,7 +121,7 @@ describe("Navbar", () => {
|
||||
render(<Navbar />);
|
||||
const githubLinks = screen.getAllByText("Star on GitHub");
|
||||
const link = githubLinks[0].closest("a");
|
||||
expect(link?.getAttribute("href")).toBe("https://github.com/ashim-hq/ashim");
|
||||
expect(link?.getAttribute("href")).toBe("https://github.com/snapotter-hq/snapotter");
|
||||
expect(link?.getAttribute("target")).toBe("_blank");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user