page.tsx 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import Image from 'next/image'
  2. import Link from 'next/link'
  3. import Header from './header'
  4. export default async function Home() {
  5. return (
  6. <>
  7. <Header />
  8. <main className='flex min-h-screen max-w-6xl flex-col py-20 px-16 md:p-32 items-center mx-auto'>
  9. <Image src='/ollama.png' width={64} height={64} alt='ollamaIcon' />
  10. <section className='my-12 text-center'>
  11. <div className='flex flex-col space-y-2'>
  12. <h2 className='md:max-w-md mx-auto my-2 text-3xl tracking-tight'>
  13. Get up and running with large language models, locally.
  14. </h2>
  15. <h3 className='md:max-w-xs mx-auto text-base text-neutral-500'>
  16. Run Llama 2 and other models on macOS. Customize and create your own.
  17. </h3>
  18. </div>
  19. <div className='mx-auto max-w-xs flex flex-col space-y-4 mt-12'>
  20. <Link
  21. href='/download'
  22. className='md:mx-10 lg:mx-14 bg-black text-white rounded-full px-4 py-2 focus:outline-none cursor-pointer'
  23. >
  24. Download
  25. </Link>
  26. <p className='text-neutral-500 text-sm '>
  27. Available for macOS with Apple Silicon <br />
  28. Windows & Linux support coming soon.
  29. </p>
  30. </div>
  31. </section>
  32. </main>
  33. </>
  34. )
  35. }