diff options
| author | iza <59828082+izadoesdev@users.noreply.github.com> | 2025-06-24 07:56:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-24 07:56:56 +0300 |
| commit | e367d8960d8018b6c3445c8a7ff0022b8571bbc0 (patch) | |
| tree | e8bce314b6c2fbdee5358487354afe0353b8dff2 /apps/web/src/components | |
| parent | 326da414d21026bad635cdaca05bf534ecf545cf (diff) | |
| parent | ad0476e78f6e5afa93a14cba563c229a5a198b62 (diff) | |
| download | opencut-e367d8960d8018b6c3445c8a7ff0022b8571bbc0.tar.gz | |
Merge pull request #24 from 3raphat/fix/auth-url
fix: update auth routes
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/auth-form.tsx | 6 | ||||
| -rw-r--r-- | apps/web/src/components/editor/properties-panel.tsx | 1 | ||||
| -rw-r--r-- | apps/web/src/components/header.tsx | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/apps/web/src/components/auth-form.tsx b/apps/web/src/components/auth-form.tsx index 182137ef..3dd56036 100644 --- a/apps/web/src/components/auth-form.tsx +++ b/apps/web/src/components/auth-form.tsx @@ -54,7 +54,7 @@ const authConfig = { description: "Sign in to your account to continue",
buttonText: "Sign in",
linkText: "Don't have an account?",
- linkHref: "/auth/signup",
+ linkHref: "/signup",
linkLabel: "Sign up",
successRedirect: "/editor",
},
@@ -63,9 +63,9 @@ const authConfig = { description: "Get started with your free account today",
buttonText: "Create account",
linkText: "Already have an account?",
- linkHref: "/auth/login",
+ linkHref: "/login",
linkLabel: "Sign in",
- successRedirect: "/auth/login",
+ successRedirect: "/login",
},
} as const;
diff --git a/apps/web/src/components/editor/properties-panel.tsx b/apps/web/src/components/editor/properties-panel.tsx index 2b211c21..c784dab8 100644 --- a/apps/web/src/components/editor/properties-panel.tsx +++ b/apps/web/src/components/editor/properties-panel.tsx @@ -38,7 +38,6 @@ export function PropertiesPanel() { ? mediaItems.find((item) => item.id === firstVideoClip.mediaId) : null; - // Get the first image clip for preview (simplified) const firstImageClip = tracks .flatMap((track) => track.clips) .find((clip) => { diff --git a/apps/web/src/components/header.tsx b/apps/web/src/components/header.tsx index b742bf32..2ccc53fa 100644 --- a/apps/web/src/components/header.tsx +++ b/apps/web/src/components/header.tsx @@ -23,7 +23,7 @@ export function Header() { GitHub
</Button>
</Link>
- <Link href={session ? "/editor" : "/auth/login"}>
+ <Link href={session ? "/editor" : "/login"}>
<Button size="sm" className="text-sm ml-4">
Start editing
<ArrowRight className="h-4 w-4" />
|
