Skip to content

armgit / crm

Public Imported from GitHub
0

Comp AI CRM is an open source, CRM designed for AI agents. Agentic-first CRM.

TypeScript

feat(landing): enhance agent section and footer for improved layout and user engagement

Lewis Carhartad4ceaa9abec
diff --git a/apps/app/components/landing/agent-section.tsx b/apps/app/components/landing/agent-section.tsx
index 0cf033e8..f0710e85 100644
--- a/apps/app/components/landing/agent-section.tsx
+++ b/apps/app/components/landing/agent-section.tsx
@@ -129,13 +129,16 @@ function SuggestedAction({
return (
<Link
href="/sign-in"
- className={cn(
- "group/action -mx-2 flex flex-wrap items-center gap-1.5 rounded-sm border-border border-t px-2 py-[13px] text-[13px]/4 transition-colors hover:bg-accent/40",
- className,
- )}
+ className="group/action -mx-2 flex items-center gap-3 rounded-sm border-border border-t px-2 py-[13px] text-[13px]/4 transition-colors hover:bg-accent/40"
>
- {children}
- <div className="grow" />
+ <span
+ className={cn(
+ "flex min-w-0 grow flex-wrap items-center gap-y-2 gap-x-1.5",
+ className,
+ )}
+ >
+ {children}
+ </span>
<ArrowRight
size={16}
className="shrink-0 text-muted-foreground transition-transform group-hover/action:translate-x-0.5"
diff --git a/apps/app/components/landing/landing-footer.tsx b/apps/app/components/landing/landing-footer.tsx
index bec4245c..8858eb40 100644
--- a/apps/app/components/landing/landing-footer.tsx
+++ b/apps/app/components/landing/landing-footer.tsx
@@ -5,7 +5,7 @@ import { Wordmark } from "./wordmark";
export function LandingFooter() {
return (
- <footer className="relative flex w-full shrink-0 flex-col items-center">
+ <footer className="relative flex w-full shrink-0 flex-col items-center border-border border-t">
<div className="flex w-full max-w-6xl flex-col items-start justify-between gap-12 px-6 py-16 sm:flex-row sm:gap-16">
<div className="flex w-[280px] max-w-full shrink-0 flex-col gap-[14px]">
<Wordmark />
@@ -37,13 +37,12 @@ export function LandingFooter() {
<div className="flex w-full max-w-6xl flex-wrap items-center gap-x-4 gap-y-2 px-6 py-4 md:h-[60px] md:py-0">
<p className="flex flex-1 items-center gap-[5px] pt-[2px] text-[13px]/[21px] text-muted-foreground">
Built with love by
+ <Logo className="size-[13px] shrink-0 text-foreground" />
<Link
- href="https://trycomp.ai"
+ href="https://trycomp.ai?utm_source=crm_landing_footer&utm_medium=referral"
target="_blank"
- rel="noreferrer"
- className="flex items-center gap-[5px] font-medium text-foreground"
+ className="font-medium text-foreground"
>
- <Logo className="size-[13px] shrink-0" />
Comp AI
</Link>
</p>