summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/netlify.toml5
-rw-r--r--apps/web/src/components/header.tsx7
2 files changed, 4 insertions, 8 deletions
diff --git a/apps/web/netlify.toml b/apps/web/netlify.toml
index 4cf54843..55ec88ff 100644
--- a/apps/web/netlify.toml
+++ b/apps/web/netlify.toml
@@ -1,6 +1,7 @@
[build]
- command = "npm run build"
- publish = ".next"
+ base = "../.."
+ command = "bun install && bunx turbo build --filter=opencut"
+ publish = "apps/web/.next"
[[plugins]]
package = "@netlify/plugin-nextjs"
diff --git a/apps/web/src/components/header.tsx b/apps/web/src/components/header.tsx
index 812b0afc..35ad1076 100644
--- a/apps/web/src/components/header.tsx
+++ b/apps/web/src/components/header.tsx
@@ -42,13 +42,8 @@ export function Header() {
</Button>
</Link>
<Link href="https://github.com/OpenCut-app/OpenCut" target="_blank">
- <Button variant="text" className="text-sm">
- GitHub
- </Button>
- </Link>
- <Link href={session ? "/editor" : "/auth/login"}>
<Button size="sm" className="text-sm ml-4">
- Start editing
+ GitHub
<ArrowRight className="h-4 w-4" />
</Button>
</Link>