From 7e52e51db1bddd68e139b203087ea57fd1893810 Mon Sep 17 00:00:00 2001 From: Eva Ho Date: Tue, 18 Jul 2023 15:56:43 -0400 Subject: [PATCH 1/4] update website text and design --- web/app/download/page.tsx | 30 +++++++++++------------ web/app/download/signup.tsx | 6 ++--- web/app/header.tsx | 24 +++++++++++++++++++ web/app/page.tsx | 48 ++++++++++++++++++------------------- 4 files changed, 64 insertions(+), 44 deletions(-) create mode 100644 web/app/header.tsx 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. +

+
+
+
+ ) } From 576ae644de669e36606ee32dc0e0963477a14403 Mon Sep 17 00:00:00 2001 From: Eva Ho Date: Tue, 18 Jul 2023 15:57:39 -0400 Subject: [PATCH 2/4] enable downloader --- web/app/download/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/download/page.tsx b/web/app/download/page.tsx index 2ba7fedf..6c2e3f1f 100644 --- a/web/app/download/page.tsx +++ b/web/app/download/page.tsx @@ -36,7 +36,7 @@ export default async function Download() {

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

- {/* */} + From df67a90e644f0c406b2c03d60741e4c19ef6da34 Mon Sep 17 00:00:00 2001 From: Eva Ho Date: Tue, 18 Jul 2023 16:02:45 -0400 Subject: [PATCH 3/4] fix css --- web/app/download/signup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/download/signup.tsx b/web/app/download/signup.tsx index 14d22ede..99558d87 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 md:mx-[10rem] lg:mx-[18rem]' + className='flex self-stretch flex-col gap-3 h-32 md:mx-40 lg:mx-72' > Date: Tue, 18 Jul 2023 16:17:42 -0400 Subject: [PATCH 4/4] fix css on smaller screen --- web/app/download/page.tsx | 2 +- web/app/page.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/app/download/page.tsx b/web/app/download/page.tsx index 6c2e3f1f..3b82199a 100644 --- a/web/app/download/page.tsx +++ b/web/app/download/page.tsx @@ -29,7 +29,7 @@ export default async function Download() { return ( <>
-
+

Downloading...

diff --git a/web/app/page.tsx b/web/app/page.tsx index c3d00a22..b41ad0ea 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -7,20 +7,20 @@ export default async function Home() { return ( <>
-
+
-

Portable large language models

-

+

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.