ollama/web/app/page.tsx

35 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-07-07 20:07:10 +00:00
import { AiFillApple } from 'react-icons/ai'
2023-07-02 23:52:40 +00:00
import models from '../../models.json'
export default async function Home() {
return (
<main className='flex min-h-screen max-w-2xl flex-col p-4 lg:p-24'>
<img src='/ollama.png' className='w-16 h-auto' />
2023-07-07 20:07:10 +00:00
<section className='my-4'>
<p className='my-3 max-w-md'>
2023-07-02 23:52:40 +00:00
<a className='underline' href='https://github.com/jmorganca/ollama'>
Ollama
</a>{' '}
2023-07-07 20:07:10 +00:00
is a tool for running large language models, currently for macOS with Windows and Linux coming soon.
<br />
<br />
<a href='/download'>
2023-07-07 20:07:10 +00:00
<button className='bg-black text-white text-sm py-2 px-3 rounded-lg flex items-center gap-2'>
<AiFillApple className='h-auto w-5 relative -top-px' /> Download for macOS
</button>
</a>
2023-07-02 23:52:40 +00:00
</p>
</section>
<section className='my-4'>
<h2 className='mb-4 text-lg'>Example models you can try running:</h2>
{models.map(m => (
<div className='my-2 grid font-mono' key={m.name}>
<code className='py-0.5'>ollama run {m.name}</code>
</div>
))}
</section>
</main>
)
}