Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/marketing/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts";
import "./.next/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
3 changes: 3 additions & 0 deletions apps/marketing/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
turbopack: {
root: new URL("../..", import.meta.url).pathname,
},
typescript: {
ignoreBuildErrors: true,
},
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ChevronRightIcon,
EyeIcon,
EyeOffIcon,
FileCodeIcon,
ZapIcon,
FolderIcon,
GitMergeIcon,
GitPullRequestIcon,
Expand Down Expand Up @@ -2105,10 +2105,10 @@ export default function Sidebar() {
<SidebarMenuButton
size="sm"
className="gap-2 px-2 py-1.5 text-muted-foreground/70 hover:bg-accent hover:text-foreground"
onClick={() => void navigate({ to: "/file-view" })}
onClick={() => void navigate({ to: "/skills" })}
>
<FileCodeIcon className="size-3.5" />
<span className="text-xs">File View</span>
<ZapIcon className="size-3.5" />
<span className="text-xs">Skills</span>
</SidebarMenuButton>
</SidebarMenuItem>
<SidebarMenuItem>
Expand Down
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"dependsOn": ["^build"],
"outputs": ["dist/**", "dist-electron/**"]
},
"@okcode/marketing#build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
},
"dev": {
"dependsOn": ["@okcode/contracts#build"],
"cache": false,
Expand Down
6 changes: 6 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "bun run build:marketing",
"installCommand": "bun install",
"outputDirectory": "apps/marketing/.next"
}
Loading