page.tsx 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { AiFillApple } from 'react-icons/ai'
  2. import models from '../../models.json'
  3. export default async function Home() {
  4. return (
  5. <main className='flex min-h-screen max-w-2xl flex-col p-4 lg:p-24'>
  6. <img src='/ollama.png' className='w-16 h-auto' />
  7. <section className='my-4'>
  8. <p className='my-3 max-w-md'>
  9. <a className='underline' href='https://github.com/jmorganca/ollama'>
  10. Ollama
  11. </a>{' '}
  12. is a tool for running large language models, currently for macOS with Windows and Linux coming soon.
  13. <br />
  14. <br />
  15. <a href='/download'>
  16. <button className='bg-black text-white text-sm py-2 px-3 rounded-lg flex items-center gap-2'>
  17. <AiFillApple className='h-auto w-5 relative -top-px' /> Download for macOS
  18. </button>
  19. </a>
  20. </p>
  21. </section>
  22. <section className='my-4'>
  23. <h2 className='mb-4 text-lg'>Example models you can try running:</h2>
  24. {models.map(m => (
  25. <div className='my-2 grid font-mono' key={m.name}>
  26. <code className='py-0.5'>ollama run {m.name}</code>
  27. </div>
  28. ))}
  29. </section>
  30. </main>
  31. )
  32. }