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
7 changes: 3 additions & 4 deletions components/HomeCatalogSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export async function HomeCatalogSections() {
},
),
]);
const featured = agents.data.slice(0, 3);
const latestNews = news.posts.slice(0, 3);
const previewAgents = selectHomepagePreviewAgents(agents.data, categories.data).map((agent) => {
const trust = getAgentTrustState(agent);
Expand All @@ -39,9 +38,9 @@ export async function HomeCatalogSections() {
const jsonLd = {
"@context": "https://schema.org",
"@type": "ItemList",
name: "Featured AI agents",
numberOfItems: featured.length,
itemListElement: featured.map((agent, index) => ({
name: "AI agents by category",
numberOfItems: previewAgents.length,
itemListElement: previewAgents.map((agent, index) => ({
"@type": "ListItem",
position: index + 1,
name: agent.name,
Expand Down
12 changes: 8 additions & 4 deletions components/ProfileAvatars.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { MaskedAvatars } from "@/components/ui/masked-avatars";

const emptyAvatar =
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3C/svg%3E";

export function ProfileAvatars({
size = 88,
className,
Expand All @@ -10,10 +13,11 @@ export function ProfileAvatars({
return (
<MaskedAvatars
avatars={[
{ avatar: "/nilesh-profile.jpeg", name: "Nilesh Raj", href: "/about" },
{ avatar: "/ali-sibtain-profile.webp", name: "Ali Sibtain", href: "/about" },
{ avatar: "/armaan-profile.jpeg", name: "Armaan Amba", href: "/about" },
{ avatar: "/ronit-profile.jpeg", name: "Ronit Jaiswal", href: "/about" },
{ avatar: "/nilesh-profile.jpeg", name: "Nilesh", href: "/about" },
{ avatar: "/ali-sibtain-profile.webp", name: "Ali", href: "/about" },
{ avatar: "/armaan-profile.jpeg", name: "Armaan", href: "/about" },
{ avatar: "/ronit-profile.jpeg", name: "Ronit", href: "/about" },
{ avatar: emptyAvatar, name: "Join us", href: "/join" },
]}
size={size}
column={Math.round(size * 0.68)}
Expand Down
Loading