Skip to content

Commit 7b7ebac

Browse files
committed
Many tweaks
1 parent 4c97288 commit 7b7ebac

File tree

5 files changed

+40
-78
lines changed

5 files changed

+40
-78
lines changed

apps/web-roo-code/src/app/page.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import { getVSCodeDownloads } from "@/lib/stats"
55
import { Button } from "@/components/ui"
66
import {
77
AnimatedBackground,
8-
InstallSection,
8+
CodeExample,
9+
CompanyLogos,
10+
FAQSection,
911
Features,
12+
InstallSection,
1013
Testimonials,
11-
FAQSection,
12-
CodeExample,
13-
UserLogos,
1414
} from "@/components/homepage"
1515
import { EXTERNAL_LINKS } from "@/lib/constants"
1616
import { ArrowRight } from "lucide-react"
@@ -29,10 +29,10 @@ export default async function Home() {
2929
<div className="grid h-full relative gap-8 md:gap-12 lg:grid-cols-2 lg:gap-16">
3030
<div className="flex flex-col px-4 justify-center space-y-6 sm:space-y-8">
3131
<div>
32-
<h1 className="text-3xl font-bold tracking-tight mt-8 sm:text-4xl md:text-4xl lg:text-5xl lg:mt-0">
33-
The AI dev team which gets things done.
32+
<h1 className="text-4xl font-bold tracking-tight mt-8 text-center md:text-left md:text-4xl lg:text-5xl lg:mt-0">
33+
The AI dev team that gets things done.
3434
</h1>
35-
<p className="mt-4 max-w-md text-base text-muted-foreground sm:mt-6 sm:text-lg">
35+
<p className="mt-4 max-w-md text-lg text-muted-foreground text-center md:text-left sm:mt-6">
3636
Roo&apos;s specialized modes stay on task and ship great code. Open source and works
3737
with any model.
3838
</p>
@@ -45,7 +45,7 @@ export default async function Home() {
4545
href="https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline"
4646
target="_blank"
4747
className="flex w-full items-center justify-center">
48-
Install VSCode Extension
48+
Install VS Code Extension
4949
<ArrowRight className="ml-2" />
5050
</a>
5151
</Button>
@@ -62,7 +62,7 @@ export default async function Home() {
6262
</a>
6363
</Button>
6464
</div>
65-
<UserLogos />
65+
<CompanyLogos />
6666
</div>
6767
<div className="relative flex items-center mx-auto h-full mt-8 lg:mt-0">
6868
<div className="flex items-center justify-center">

apps/web-roo-code/src/components/homepage/company-logos.tsx

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
11
"use client"
22

33
import { motion } from "framer-motion"
4+
import Image from "next/image"
45

5-
export function CompanyLogos() {
6-
const logos = [
7-
{ name: "Company 1", logo: "/placeholder.svg?height=40&width=120" },
8-
{ name: "Company 2", logo: "/placeholder.svg?height=40&width=120" },
9-
{ name: "Company 3", logo: "/placeholder.svg?height=40&width=120" },
10-
{ name: "Company 4", logo: "/placeholder.svg?height=40&width=120" },
11-
{ name: "Company 5", logo: "/placeholder.svg?height=40&width=120" },
12-
{ name: "Company 6", logo: "/placeholder.svg?height=40&width=120" },
13-
]
6+
const logos = ["Apple", "Netflix", "Microsoft", "Red Hat", "Carvana"]
147

8+
export function CompanyLogos() {
159
return (
16-
<div className="mt-10">
17-
<div className="mx-auto grid max-w-5xl grid-cols-2 gap-8 py-8 md:grid-cols-3 lg:grid-cols-6">
18-
{logos.map((company, index) => (
10+
<div className="mt-14">
11+
<motion.p
12+
initial={{ opacity: 0, y: 10 }}
13+
animate={{ opacity: 1, y: 0 }}
14+
transition={{ duration: 0.5, ease: "easeOut" }}
15+
className="text-xs text-muted-foreground text-center mb-2 sm:text-left">
16+
Making devs more productive at
17+
</motion.p>
18+
<div className="mt-4 flex flex-wrap items-center gap-6 justify-center sm:justify-start">
19+
{logos.map((logo, index) => (
1920
<motion.div
20-
key={index}
21-
initial={{ opacity: 0, y: 20 }}
21+
key={logo}
22+
initial={{ opacity: 0, y: 10 }}
2223
animate={{ opacity: 1, y: 0 }}
23-
transition={{
24-
duration: 0.5,
25-
delay: index * 0.1,
26-
ease: "easeOut",
27-
}}
28-
className="flex items-center justify-center">
29-
{/* eslint-disable @next/next/no-img-element */}
30-
<img
31-
src={company.logo || "/placeholder.svg"}
32-
alt={company.name}
33-
className="h-10 w-auto opacity-70 grayscale transition-all duration-300 hover:opacity-100 hover:grayscale-0"
24+
transition={{ duration: 0.5, delay: index * 0.1, ease: "easeOut" }}>
25+
<Image
26+
width={0}
27+
height={0}
28+
className="h-5 w-auto overflow-clip opacity-70 dark:invert"
29+
src={`/logos/${logo.toLowerCase().replace(/\s+/g, "-")}.svg`}
30+
alt={`${logo} Logo`}
3431
/>
3532
</motion.div>
3633
))}

apps/web-roo-code/src/components/homepage/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ export * from "./faq-section"
55
export * from "./features"
66
export * from "./install-section"
77
export * from "./testimonials"
8-
export * from "./user-logos"
98
export * from "./whats-new-button"

apps/web-roo-code/src/components/homepage/install-section.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export function InstallSection({ downloads }: InstallSectionProps) {
5050
Install Roo Code now
5151
</h2>
5252
<p className="mt-6 text-lg text-muted-foreground">
53-
Install from the VSCode Marketplace or the CLI in minutes, then bring your own AI model.
53+
Install from the VS Code Marketplace or the CLI in minutes, then bring your own AI
54+
model.
5455
<br />
5556
Roo Code is also compatible with all VSCode forks.
5657
</p>
@@ -62,13 +63,15 @@ export function InstallSection({ downloads }: InstallSectionProps) {
6263
target="_blank"
6364
className="group relative inline-flex w-full items-center justify-center gap-3 rounded-xl bg-gradient-to-r from-blue-600 to-cyan-600 px-6 py-4 text-lg font-medium text-white shadow-lg transition-all duration-300 hover:from-blue-700 hover:to-cyan-700 hover:shadow-xl hover:shadow-blue-500/25 dark:from-blue-500 dark:to-cyan-500 dark:hover:from-blue-600 dark:hover:to-cyan-600 sm:w-auto sm:px-8 sm:text-xl">
6465
<div className="absolute -inset-px rounded-xl bg-gradient-to-r from-blue-400 via-cyan-400 to-blue-400 opacity-0 blur transition-opacity duration-500 group-hover:opacity-70" />
65-
<div className="relative flex items-center gap-3">
66-
<VscVscode className="h-6 w-6 sm:h-7 sm:w-7" />
67-
<span className="flex flex-wrap items-center gap-2">
68-
<span>From VSCode Marketplace</span>
66+
<div className="relative flex flex-col md:flex-row items-center md:gap-3">
67+
<VscVscode className="h-6 w-6 shrink-0" />
68+
<span className="flex flex-col md:flex-row items-center md:gap-2">
69+
<span>From VS Code Marketplace</span>
6970
{downloads !== null && (
7071
<>
71-
<span className="font-black opacity-60">&middot;</span>
72+
<span className="font-black opacity-60 hidden md:inline">
73+
&middot;
74+
</span>
7275
<span className="opacity-90">{downloads} Downloads</span>
7376
</>
7477
)}

apps/web-roo-code/src/components/homepage/user-logos.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)