From 5c253a06473e574c16c89d0b5aace820ee5425d0 Mon Sep 17 00:00:00 2001 From: Varad Prabhu Date: Tue, 18 Feb 2025 12:12:24 +0530 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20revamp=20wip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prisma | 2 +- src/app/layout.tsx | 14 +-- src/app/page.tsx | 4 +- .../(auth)/org/create/create-org-form.tsx | 2 +- .../pages/(auth)/org/create/index.tsx | 2 +- .../pages/(auth)/user/login/index.tsx | 2 +- .../pages/(auth)/user/login/login-form.tsx | 2 +- .../pages/(protected)/common/navbar/index.tsx | 8 +- .../(protected)/common/navbar/upper-nav.tsx | 2 +- .../projects/[projectId]/index.tsx | 2 +- .../projects/[projectId]/project-info.tsx | 4 +- .../pages/(protected)/projects/index.tsx | 86 +++++++++++++++++-- .../(protected)/teams/[teamId]/index.tsx | 2 +- .../(protected)/teams/[teamId]/team-info.tsx | 6 +- src/components/pages/landing/index.tsx | 44 +++++----- src/lib/constants/projects.ts | 5 ++ src/lib/data/landing.ts | 2 +- 17 files changed, 132 insertions(+), 57 deletions(-) create mode 100644 src/lib/constants/projects.ts diff --git a/prisma b/prisma index 451b929..12b2d7d 160000 --- a/prisma +++ b/prisma @@ -1 +1 @@ -Subproject commit 451b9293de49a6ada33b8d0b65bbb997c9a19edb +Subproject commit 12b2d7dfc9633de92383882d78a15a6585cd915c diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ef8f50a..af66f47 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -21,17 +21,17 @@ export default function RootLayout({ }>) { return ( - + - -
{children}
- -
+ > */} +
{children}
+ + {/* */}
diff --git a/src/app/page.tsx b/src/app/page.tsx index c5c2114..e855d69 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,9 +10,9 @@ export default function Home() {
- + {/* - + */}
diff --git a/src/components/pages/(auth)/org/create/create-org-form.tsx b/src/components/pages/(auth)/org/create/create-org-form.tsx index 889c42b..6be70a8 100644 --- a/src/components/pages/(auth)/org/create/create-org-form.tsx +++ b/src/components/pages/(auth)/org/create/create-org-form.tsx @@ -56,7 +56,7 @@ export default function CreateOrgForm() {
+

Create Organization

diff --git a/src/components/pages/(auth)/user/login/index.tsx b/src/components/pages/(auth)/user/login/index.tsx index accb0ca..2c93cce 100644 --- a/src/components/pages/(auth)/user/login/index.tsx +++ b/src/components/pages/(auth)/user/login/index.tsx @@ -3,7 +3,7 @@ import React from "react" export default function LoginPage({ orgId }: { orgId: string }) { return ( -
+

Login with credentials

diff --git a/src/components/pages/(auth)/user/login/login-form.tsx b/src/components/pages/(auth)/user/login/login-form.tsx index 973dac4..8026a2b 100644 --- a/src/components/pages/(auth)/user/login/login-form.tsx +++ b/src/components/pages/(auth)/user/login/login-form.tsx @@ -55,7 +55,7 @@ export default function LoginForm({ orgId }: { orgId: string }) { return ( +
-
- -
+ - +
) } diff --git a/src/components/pages/(protected)/common/navbar/upper-nav.tsx b/src/components/pages/(protected)/common/navbar/upper-nav.tsx index b22afbb..0feb357 100644 --- a/src/components/pages/(protected)/common/navbar/upper-nav.tsx +++ b/src/components/pages/(protected)/common/navbar/upper-nav.tsx @@ -35,7 +35,7 @@ export default function UpperNavbar() { Docs - + {/* */}
diff --git a/src/components/pages/(protected)/projects/[projectId]/index.tsx b/src/components/pages/(protected)/projects/[projectId]/index.tsx index 41ba1ab..0bf1965 100644 --- a/src/components/pages/(protected)/projects/[projectId]/index.tsx +++ b/src/components/pages/(protected)/projects/[projectId]/index.tsx @@ -37,7 +37,7 @@ export default function ProjectIdPage() { - Workflows + Commits diff --git a/src/components/pages/(protected)/projects/[projectId]/project-info.tsx b/src/components/pages/(protected)/projects/[projectId]/project-info.tsx index 152c71a..5928539 100644 --- a/src/components/pages/(protected)/projects/[projectId]/project-info.tsx +++ b/src/components/pages/(protected)/projects/[projectId]/project-info.tsx @@ -221,10 +221,10 @@ export default function ProjectInfo() { - + - + ))} {!projectsList.length && !isLoading && (
diff --git a/src/components/pages/(protected)/teams/[teamId]/index.tsx b/src/components/pages/(protected)/teams/[teamId]/index.tsx index 12fec40..b9e86d7 100644 --- a/src/components/pages/(protected)/teams/[teamId]/index.tsx +++ b/src/components/pages/(protected)/teams/[teamId]/index.tsx @@ -40,7 +40,7 @@ export default function TeamViewPage({ teamId }: { teamId: string }) { - Project Settings + Team Settings diff --git a/src/components/pages/(protected)/teams/[teamId]/team-info.tsx b/src/components/pages/(protected)/teams/[teamId]/team-info.tsx index bc8de95..13f5793 100644 --- a/src/components/pages/(protected)/teams/[teamId]/team-info.tsx +++ b/src/components/pages/(protected)/teams/[teamId]/team-info.tsx @@ -140,14 +140,14 @@ export default function TeamInfo({ - + diff --git a/src/components/pages/landing/index.tsx b/src/components/pages/landing/index.tsx index 67eda99..f698dc4 100644 --- a/src/components/pages/landing/index.tsx +++ b/src/components/pages/landing/index.tsx @@ -1,4 +1,4 @@ -import { Button, buttonVariants } from "@/components/ui/button" +import { buttonVariants } from "@/components/ui/button" import { FeatureCardProps, StepCardProps, @@ -10,27 +10,27 @@ import { import { cn } from "@/lib/utils" import Link from "next/link" -function NavLink({ title, href }: TNavLink, index: number) { - return ( - - {title} - - ) -} +// function NavLink({ title, href }: TNavLink, index: number) { +// return ( +// +// {title} +// +// ) +// } export function Navbar() { return (
{/* logo */}
From Code to Clarity
- AI-Powered README Generator + AI-Powered documentation Generator

- Our AI-powered tool generates clear, detailed README files by - scanning GitHub repositories. It automates documentation with - features, structure, and screenshots in seconds. Focus on coding - while we handle the rest. + Our AI-powered tool generates clear, detailed documentation of + files by scanning GitHub repositories. It automates + documentation with features and structure in seconds. Focus on + coding while we handle the rest.

= { + [ProjectType.typescript]: "ts", +} diff --git a/src/lib/data/landing.ts b/src/lib/data/landing.ts index e8298cf..93203e0 100644 --- a/src/lib/data/landing.ts +++ b/src/lib/data/landing.ts @@ -4,7 +4,7 @@ export type TNavLink = { } export const navLinks: TNavLink[] = [ { title: "Home", href: "/" }, - { title: "Features", href: "/features" }, + { title: "Features", href: "/" }, { title: "Docs", href: "/docs" }, { title: "Demo", href: "/demo" }, { title: "About", href: "/about" }, From fd1fd351b082d1334c86c40e7ac15ee3c3cd2e07 Mon Sep 17 00:00:00 2001 From: Varad Prabhu Date: Tue, 18 Feb 2025 23:34:43 +0530 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20requested=20changes?= =?UTF-8?q?=20wip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prisma | 2 +- .../pages/(protected)/common/navbar/index.tsx | 7 +- .../(protected)/common/navbar/sub-nav.tsx | 2 +- .../(protected)/common/navbar/upper-nav.tsx | 7 +- .../projects/[projectId]/index.tsx | 36 ++++- .../workflows/[workflowId]/form.tsx | 59 ++++---- .../workflows/[workflowId]/index.tsx | 35 +---- .../pages/(protected)/projects/index.tsx | 135 +++++++----------- .../projects/project-table-skeleton.tsx | 28 ++++ .../pages/(protected)/settings/index.tsx | 2 +- .../pages/(protected)/teams/index.tsx | 78 ++++++++-- .../(protected)/teams/team-table-skeleton.tsx | 28 ++++ .../pages/(protected)/users/index.tsx | 79 ++++++++-- .../(protected)/users/user-table-skeleton.tsx | 31 ++++ .../skeletons/workflow-skeleton.tsx | 77 ++++------ src/components/ux/remark.tsx | 48 ++++++- src/lib/context/workflow-id.tsx | 12 ++ 17 files changed, 423 insertions(+), 243 deletions(-) create mode 100644 src/components/pages/(protected)/projects/project-table-skeleton.tsx create mode 100644 src/components/pages/(protected)/teams/team-table-skeleton.tsx create mode 100644 src/components/pages/(protected)/users/user-table-skeleton.tsx diff --git a/prisma b/prisma index 12b2d7d..451b929 160000 --- a/prisma +++ b/prisma @@ -1 +1 @@ -Subproject commit 12b2d7dfc9633de92383882d78a15a6585cd915c +Subproject commit 451b9293de49a6ada33b8d0b65bbb997c9a19edb diff --git a/src/components/pages/(protected)/common/navbar/index.tsx b/src/components/pages/(protected)/common/navbar/index.tsx index 53de614..c8c163b 100644 --- a/src/components/pages/(protected)/common/navbar/index.tsx +++ b/src/components/pages/(protected)/common/navbar/index.tsx @@ -1,14 +1,13 @@ -import NavLogo from "@/components/pages/(protected)/common/navbar//nav-logo" import { SubNavbar } from "@/components/pages/(protected)/common/navbar/sub-nav" import UpperNavbar from "@/components/pages/(protected)/common/navbar/upper-nav" import React from "react" export default function ProtectedNavbar() { return ( -
- + <> + {/* */} -
+ ) } diff --git a/src/components/pages/(protected)/common/navbar/sub-nav.tsx b/src/components/pages/(protected)/common/navbar/sub-nav.tsx index 6221004..d03f14e 100644 --- a/src/components/pages/(protected)/common/navbar/sub-nav.tsx +++ b/src/components/pages/(protected)/common/navbar/sub-nav.tsx @@ -16,7 +16,7 @@ export function SubNavbar() { const pathname = usePathname() return ( -
+