summaryrefslogtreecommitdiff
path: root/apps/web/src/components
diff options
context:
space:
mode:
authoriza <59828082+izadoesdev@users.noreply.github.com>2025-06-24 07:56:56 +0300
committerGitHub <noreply@github.com>2025-06-24 07:56:56 +0300
commite367d8960d8018b6c3445c8a7ff0022b8571bbc0 (patch)
treee8bce314b6c2fbdee5358487354afe0353b8dff2 /apps/web/src/components
parent326da414d21026bad635cdaca05bf534ecf545cf (diff)
parentad0476e78f6e5afa93a14cba563c229a5a198b62 (diff)
downloadopencut-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.tsx6
-rw-r--r--apps/web/src/components/editor/properties-panel.tsx1
-rw-r--r--apps/web/src/components/header.tsx2
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" />