Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update edit page url

Dillion Verma17da744f89fd
diff --git a/apps/www/lib/github.ts b/apps/www/lib/github.ts
index f781c4a5..c85b8edf 100644
--- a/apps/www/lib/github.ts
+++ b/apps/www/lib/github.ts
@@ -50,7 +50,7 @@ interface GithubFileUrlParams {
export function getGithubFileUrl(params: GithubFileUrlParams) {
const { owner, repo, slug } = params;
- return `https://github.com/${owner}/${repo}/blob/main/content${
+ return `https://github.com/${owner}/${repo}/edit/main/apps/www/content${
slug === "/docs" ? "/docs/index" : slug
}.mdx`;
}