Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
chore: viewport update feature section
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Oct 4, 2024
1 parent 8820d90 commit 59bd180
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion src/components/Home/Feature/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,46 @@ const features = [
experimantal: false,
description:
'Ask your questions, brainstorm, and learn from the AI running on your device to be more productive.',
image: {
light: '/assets/images/homepage/features01.png',
dark: '/assets/images/homepage/features01dark.png',
},
},
{
title: 'Model Hub',
experimantal: false,
description: `Download and Run powerful models like Llama3, Gemma or Mistral on your computer.`,
image: {
light: '/assets/images/homepage/features02.png',
dark: '/assets/images/homepage/features02dark.png',
},
},
{
title: 'Connect to Cloud AIs',
experimantal: false,
description: `You can also route to more powerful cloud models, like OpenAI, Groq, Cohere etc., when needed.`,
image: {
light: '/assets/images/homepage/features03.png',
dark: '/assets/images/homepage/features03dark.png',
},
},
{
title: 'Local API Server',
experimantal: false,
description: `Set up and run your own OpenAI-compatible API server using local models with just one click.`,
image: {
light: '/assets/images/homepage/features04.png',
dark: '/assets/images/homepage/features04dark.png',
},
},
{
title: 'Chat with your files',
experimantal: true,
description: `Set up and run your own OpenAI-compatible API server using local models with just one click.`,
image: {
light: '/assets/images/homepage/features05.png',
dark: '/assets/images/homepage/features05dark.png',
},
},
]

Expand Down Expand Up @@ -90,12 +110,27 @@ const Feature = () => {
</p>
</div>
</div>
{isActive && (
<div className="lg:hidden block mt-4">
<ThemeImage
alt="App Screenshot Feature"
width={800}
height={800}
className="w-full h-full object-cover object-center"
priority
source={{
light: feature.image?.light,
dark: feature.image?.dark,
}}
/>
</div>
)}
</div>
)
})}
</div>

<div className="relative w-full overflow-hidden block">
<div className="relative w-full overflow-hidden hidden lg:block">
{activeFeature === 0 && (
<ThemeImage
alt="App Screenshot Feature"
Expand Down

0 comments on commit 59bd180

Please sign in to comment.