From bfd814290b51cd3a1071a4fef7121660b4d6d8f3 Mon Sep 17 00:00:00 2001 From: BRama10 Date: Wed, 25 Sep 2024 07:04:39 -0400 Subject: [PATCH] Final homepage (#254) --- .gitattributes | 2 +- agenthub/app/layout.tsx | 2 +- agenthub/components/homepage/Hero.tsx | 10 ++++++++-- agenthub/components/homepage/Products.tsx | 4 ++-- agenthub/lib/env.ts | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index 25d1b5ab..ac804cfa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,4 +2,4 @@ *.html linguist-vendored *.js linguist-vendored *.ts linguist-vendored -*.tsx linguist-vendored \ No newline at end of file +*.tsx linguist-vendored diff --git a/agenthub/app/layout.tsx b/agenthub/app/layout.tsx index 8a01f1f5..4b435eb5 100644 --- a/agenthub/app/layout.tsx +++ b/agenthub/app/layout.tsx @@ -52,7 +52,7 @@ export const metadata: Metadata = { title: 'AIOS – The future of AI Agents', type: 'website', url: 'aiosfoundation', - images: 'https://my.aios.foundation/Agent.svg', + images: 'https://my.aios.foundation/Agent.png', }, description: 'We’re on a journey to advance and democratize artificial intelligence through open source and open science.', diff --git a/agenthub/components/homepage/Hero.tsx b/agenthub/components/homepage/Hero.tsx index ed5870b0..c8f36c4e 100644 --- a/agenthub/components/homepage/Hero.tsx +++ b/agenthub/components/homepage/Hero.tsx @@ -28,13 +28,19 @@ const Hero = () => { {/* Get Started */} - + Get Started {/* Request a demo */} - + View On Github diff --git a/agenthub/components/homepage/Products.tsx b/agenthub/components/homepage/Products.tsx index 8b32d197..acb188d3 100644 --- a/agenthub/components/homepage/Products.tsx +++ b/agenthub/components/homepage/Products.tsx @@ -17,7 +17,7 @@ const Examples = [ author_url: 'https://github.com/vercel', author_img: 'https://avatars.githubusercontent.com/u/14985020', repo_name: 'vercel/nextjs-subscription-payments', - repo_url: 'https://github.com/vercel/nextjs-subscription-payments', + repo_url: 'https://my.aios.foundation/agents', vercel_deploy_url: 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments&env=NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,STRIPE_SECRET_KEY&envDescription=Enter%20your%20Stripe%20API%20keys.&envLink=https%3A%2F%2Fdashboard.stripe.com%2Fapikeys&project-name=nextjs-subscription-payments&repository-name=nextjs-subscription-payments&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnextjs-subscription-payments%2Ftree%2Fmain', demo_url: 'https://subscription-payments.vercel.app/', @@ -33,7 +33,7 @@ const Examples = [ author_url: 'https://github.com/supabase', author_img: 'https://avatars.githubusercontent.com/u/54469796', repo_name: 'vercel/next.js/examples/with-supabase', - repo_url: 'https://github.com/vercel/next.js/tree/canary/examples/with-supabase', + repo_url: 'https://my.aios.foundation/chat', vercel_deploy_url: 'https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&project-name=nextjs-with-supabase&repository-name=nextjs-with-supabase&demo-title=nextjs-with-supabase&demo-description=This%20starter%20configures%20Supabase%20Auth%20to%20use%20cookies%2C%20making%20the%20user%27s%20session%20available%20throughout%20the%20entire%20Next.js%20app%20-%20Client%20Components%2C%20Server%20Components%2C%20Route%20Handlers%2C%20Server%20Actions%20and%20Middleware.&demo-url=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2F&external-id=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fwith-supabase&demo-image=https%3A%2F%2Fdemo-nextjs-with-supabase.vercel.app%2Fopengraph-image.png&integration-ids=oac_VqOgBHqhEoFTPzGkPd7L0iH6', demo_url: 'https://demo-nextjs-with-supabase.vercel.app/', diff --git a/agenthub/lib/env.ts b/agenthub/lib/env.ts index bd20287a..f2e3afb6 100644 --- a/agenthub/lib/env.ts +++ b/agenthub/lib/env.ts @@ -1,6 +1,6 @@ export const inDevEnvironment = !!process && process.env.NODE_ENV === 'development'; // export const serverUrl = inDevEnvironment ? 'http://localhost:8000' : 'https://myapp-y5z35kuonq-uk.a.run.app' -export const baseUrl = inDevEnvironment ? 'http://localhost:3000' : 'https://agenthub.aios.foundation' +export const baseUrl = inDevEnvironment ? 'http://localhost:3000' : 'https://my.aios.foundation' export const serverUrl = 'http://35.232.56.61:8000' // export const serverUrl = 'https://myapp-y5z35kuonq-uk.a.run.app';