mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
finalsing home page
This commit is contained in:
@@ -238,6 +238,7 @@ const mockFeaturedCreators = [
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
userName: "John Doe",
|
||||
userEmail: "john.doe@example.com",
|
||||
navLinks: mockNavLinks,
|
||||
activeLink: "/",
|
||||
featuredAgents: mockFeaturedAgents,
|
||||
|
||||
@@ -9,6 +9,7 @@ import { Separator } from "../../../ui/separator";
|
||||
import { IconType } from "../../../ui/icons";
|
||||
interface PageProps {
|
||||
userName: string;
|
||||
userEmail: string;
|
||||
navLinks: { name: string; href: string }[];
|
||||
activeLink: string;
|
||||
featuredAgents: {
|
||||
@@ -47,6 +48,7 @@ interface PageProps {
|
||||
|
||||
export const Page: React.FC<PageProps> = ({
|
||||
userName,
|
||||
userEmail,
|
||||
navLinks,
|
||||
activeLink,
|
||||
featuredAgents,
|
||||
@@ -83,6 +85,7 @@ export const Page: React.FC<PageProps> = ({
|
||||
<div className="mx-auto w-screen max-w-[1360px]">
|
||||
<Navbar
|
||||
userName={userName}
|
||||
userEmail={userEmail}
|
||||
links={navLinks}
|
||||
activeLink={activeLink}
|
||||
menuItemGroups={menuItemGroups}
|
||||
|
||||
Reference in New Issue
Block a user