Skip to content

Commit

Permalink
Final homepage (agiresearch#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
BRama10 authored and om-raheja committed Oct 9, 2024
1 parent cbd8a1b commit bfd8142
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.html linguist-vendored
*.js linguist-vendored
*.ts linguist-vendored
*.tsx linguist-vendored
*.tsx linguist-vendored
2 changes: 1 addition & 1 deletion agenthub/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
10 changes: 8 additions & 2 deletions agenthub/components/homepage/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,19 @@ const Hero = () => {
{/* <Link as={Button} size="md" type="button" href="https://supabase.com/dashboard">
Get Started
</Link> */}
<a className='relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border text-foreground bg-getstarted hover:bg-selection border-strong hover:border-stronger focus-visible:outline-brand-600 data-[state=open]:bg-selection data-[state=open]:outline-brand-600 data-[state=open]:border-button-hover text-sm px-4 py-2 h-[38px]'>
<a
href='https://aios.readthedocs.io/en/latest/'
target='_blank'
className='relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border text-foreground bg-getstarted hover:bg-selection border-strong hover:border-stronger focus-visible:outline-brand-600 data-[state=open]:bg-selection data-[state=open]:outline-brand-600 data-[state=open]:border-button-hover text-sm px-4 py-2 h-[38px]'>
Get Started
</a>
{/* <Link as={Button} size="md" type="button" href="/contact/sales">
Request a demo
</Link> */}
<a className='relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border text-foreground bg-muted hover:bg-selection border-strong hover:border-stronger focus-visible:outline-brand-600 data-[state=open]:bg-selection data-[state=open]:outline-brand-600 data-[state=open]:border-button-hover text-sm px-4 py-2 h-[38px]'>
<a
target='_blank'
href='https://github.com/agiresearch/AIOS'
className='relative justify-center cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded-md outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 border text-foreground bg-muted hover:bg-selection border-strong hover:border-stronger focus-visible:outline-brand-600 data-[state=open]:bg-selection data-[state=open]:outline-brand-600 data-[state=open]:border-button-hover text-sm px-4 py-2 h-[38px]'>
View On Github
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions agenthub/components/homepage/Products.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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%2Fgit.luolix.top%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%2Fgit.luolix.top%2Fvercel%2Fnextjs-subscription-payments%2Ftree%2Fmain',
demo_url: 'https://subscription-payments.vercel.app/',
Expand All @@ -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%2Fgit.luolix.top%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%2Fgit.luolix.top%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/',
Expand Down
2 changes: 1 addition & 1 deletion agenthub/lib/env.ts
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit bfd8142

Please sign in to comment.