diff --git a/web/app/download/page.tsx b/web/app/download/page.tsx index 17d89d0b..2ba7fedf 100644 --- a/web/app/download/page.tsx +++ b/web/app/download/page.tsx @@ -1,3 +1,4 @@ +import Header from '../header' import Downloader from './downloader' import Signup from './signup' @@ -26,22 +27,19 @@ export default async function Download() { } return ( -
- -
-

Downloading Ollama

-

- Problems downloading?{' '} - - Try again - -

- -
-
-

Sign up for updates

+ <> +
+
+ +
+

Downloading...

+

+ While Ollama downloads, sign up to get notified of new updates. +

+ {/* */} +
-
-
+ + ) } diff --git a/web/app/download/signup.tsx b/web/app/download/signup.tsx index 4cdecef9..14d22ede 100644 --- a/web/app/download/signup.tsx +++ b/web/app/download/signup.tsx @@ -28,7 +28,7 @@ export default function Signup() { return false }} - className='flex self-stretch flex-col gap-3 h-32' + className='flex self-stretch flex-col gap-3 h-32 md:mx-[10rem] lg:mx-[18rem]' > setEmail(e.target.value)} type='email' placeholder='your@email.com' - className='bg-neutral-100 rounded-lg px-4 py-2 focus:outline-none placeholder-neutral-500' + className='border border-neutral-200 rounded-lg px-4 py-2 focus:outline-none placeholder-neutral-300' /> {success &&

You're signed up for updates

} diff --git a/web/app/header.tsx b/web/app/header.tsx new file mode 100644 index 00000000..e1d542dc --- /dev/null +++ b/web/app/header.tsx @@ -0,0 +1,24 @@ + +const navigation = [ + { name: 'Github', href: 'https://github.com/jmorganca/ollama' }, + { name: 'Download', href: '/download' }, +] + +export default function Header() { + return ( +
+ +
+ ) +} \ No newline at end of file diff --git a/web/app/page.tsx b/web/app/page.tsx index ecb0e9e9..c3d00a22 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -1,34 +1,32 @@ import { AiFillApple } from 'react-icons/ai' import models from '../../models.json' +import Header from './header' export default async function Home() { return ( -
- -
-

- - Ollama - {' '} - is a tool for running large language models, currently for macOS with Windows and Linux coming soon. -
-
- - - -

-
-
-

Example models you can try running:

- {models.map(m => ( -
- ollama run {m.name} + <> +
+
+ +
+
+

Portable large language models

+

+ Bundle a model’s weights, configuration, prompts, data and more into self-contained packages that run anywhere. +

- ))} -
-
+
+ + Download + +

+ Available for macOS with Apple Silicon
+ Windows & Linux support coming soon. +

+
+
+
+ ) }