From 2b5a3f502c188de67e8df84c961d0187b6b21edd Mon Sep 17 00:00:00 2001 From: Anant Date: Fri, 18 Sep 2026 22:34:02 +0530 Subject: [PATCH 1/3] fix: update landing page for issue 110 --- apps/dashboard/src/pages/landing.tsx | 208 ++++++++------------------- 1 file changed, 59 insertions(+), 149 deletions(-) diff --git a/apps/dashboard/src/pages/landing.tsx b/apps/dashboard/src/pages/landing.tsx index 4040c0a8..33ebd84f 100644 --- a/apps/dashboard/src/pages/landing.tsx +++ b/apps/dashboard/src/pages/landing.tsx @@ -1,177 +1,87 @@ import { Button, GithubMark, LinkButton } from '@codraoss/ui'; -import { Sun, Moon, ExternalLink } from 'lucide-react'; +import { Sun, Moon } from 'lucide-react'; import { useTheme } from '@codraoss/ui/theme'; -import codraDark from '@/assets/codra-fullicon-dark.svg'; -import codraLight from '@/assets/codra-fullicon-light.svg'; -const FEATURES = [ - { - title: 'Understands your codebase', - desc: 'Reviews diffs with full context from the surrounding code, not just the changed lines.', - }, - { - title: 'Flags real issues', - desc: 'Security vulnerabilities, logic errors, and pattern violations - surfaced before merge.', - }, - { - title: 'Configurable per repo', - desc: 'Set review depth, model chain, and strictness from the dashboard. No config files.', - }, -]; +const TERMS_URL = 'https://codra.run/terms'; +const PRIVACY_URL = 'https://codra.run/privacy'; -/** Faint dotted-grid texture, faded out toward the bottom - the "control panel" backdrop. */ const dotGrid = { backgroundImage: - 'radial-gradient(circle, color-mix(in oklch, var(--ui-line) 75%, transparent) 1px, transparent 1px)', + 'radial-gradient(circle, var(--ui-line) 1px, transparent 1.5px)', backgroundSize: '22px 22px', - maskImage: 'radial-gradient(ellipse 90% 80% at 30% 0%, black, transparent 80%)', - WebkitMaskImage: 'radial-gradient(ellipse 90% 80% at 30% 0%, black, transparent 80%)', + maskImage: + 'radial-gradient(ellipse 85% 75% at 50% 45%, black 35%, rgba(0, 0, 0, 0.35) 100%)', + WebkitMaskImage: + 'radial-gradient(ellipse 85% 75% at 50% 45%, black 35%, rgba(0, 0, 0, 0.35) 100%)', }; function DotGrid() { return
; } +const legalLink = + 'rounded-sm text-ui-default underline-offset-2 transition-colors hover:text-ui-strong hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ui-brand'; + export function LandingPage() { const { theme, toggleTheme } = useTheme(); return ( -
- -
-
- Codra -
- - - - - + + + + +
+
+
+
- Sign in - -
-
-
- -
- -
- + C +
-
-

- AI code review
- on every PR. +

+ Sign in to Codra

- -

- Codra reviews pull requests automatically, checking for bugs, - security issues, and code patterns specific to your repository. +

+ Use your GitHub account to open the dashboard.

- -
- } - className="!rounded-sm" - > - Get started with GitHub - - - Read the docs - -
-
- - - codra.run + } + className="mt-8 !h-11 !w-full !justify-center" + > + Continue with GitHub + + +

+ By continuing, you agree to GitHub's{' '} + + Terms of Service + {' '} + and{' '} + + Privacy Statement - / - - - GitHub - -

+ . +

- -
- - -
- - What it does - - -
- -
- {FEATURES.map((item, i) => ( -
- - -
- - {String(i + 1).padStart(2, '0')} - -

{item.title}

-
- -

- {item.desc} -

-
- ))} -
-
-
); -} +} \ No newline at end of file From 345ff4cbf45dfff432c3e9f80496d6c25ebe1a46 Mon Sep 17 00:00:00 2001 From: Anant Date: Fri, 18 Sep 2026 22:50:43 +0530 Subject: [PATCH 2/3] fix: use Codra icon on login page --- apps/dashboard/src/pages/landing.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/dashboard/src/pages/landing.tsx b/apps/dashboard/src/pages/landing.tsx index 33ebd84f..ddffbf48 100644 --- a/apps/dashboard/src/pages/landing.tsx +++ b/apps/dashboard/src/pages/landing.tsx @@ -43,12 +43,12 @@ export function LandingPage() {
-
- C +
+ Codra

From 340e960f9b915a21aad8908319fe18fb319d4faf Mon Sep 17 00:00:00 2001 From: Anant Date: Fri, 18 Sep 2026 23:11:49 +0530 Subject: [PATCH 3/3] fix: update legal statement --- apps/dashboard/src/pages/landing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/pages/landing.tsx b/apps/dashboard/src/pages/landing.tsx index ddffbf48..67773fc3 100644 --- a/apps/dashboard/src/pages/landing.tsx +++ b/apps/dashboard/src/pages/landing.tsx @@ -70,7 +70,7 @@ export function LandingPage() {

- By continuing, you agree to GitHub's{' '} + By continuing, you agree to Codra's{' '} Terms of Service {' '}