Commit 0920ac67 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

doc: demo gif

parent 7dcaa52a
demo.gif

1.12 MB | W: | H:

demo.gif

2.17 MB | W: | H:

demo.gif
demo.gif
demo.gif
demo.gif
  • 2-up
  • Swipe
  • Onion skin
...@@ -123,7 +123,10 @@ ...@@ -123,7 +123,10 @@
topBarDiv.style.borderTopLeftRadius = '8px'; topBarDiv.style.borderTopLeftRadius = '8px';
let langDiv = document.createElement('div'); let langDiv = document.createElement('div');
langDiv.textContent = code?.className.split(' ')[0].slice(9);
let codeClassNames = code?.className.split(' ');
langDiv.textContent =
codeClassNames[0] === 'hljs' ? codeClassNames[1].slice(9) : codeClassNames[0].slice(9);
langDiv.style.color = 'white'; langDiv.style.color = 'white';
langDiv.style.margin = '4px'; langDiv.style.margin = '4px';
langDiv.style.fontSize = '0.75rem'; langDiv.style.fontSize = '0.75rem';
...@@ -771,7 +774,7 @@ ...@@ -771,7 +774,7 @@
<svelte:window <svelte:window
on:scroll={(e) => { on:scroll={(e) => {
autoScroll = window.innerHeight + window.scrollY >= document.body.offsetHeight - 30; autoScroll = window.innerHeight + window.scrollY >= document.body.offsetHeight - 40;
}} }}
/> />
...@@ -850,16 +853,12 @@ ...@@ -850,16 +853,12 @@
<div class=" h-full mt-10 mb-32 w-full flex flex-col"> <div class=" h-full mt-10 mb-32 w-full flex flex-col">
{#if messages.length == 0} {#if messages.length == 0}
<div class="m-auto text-center max-w-md pb-32 px-2"> <div class="m-auto text-center max-w-md pb-56 px-2">
<div class="flex justify-center mt-8"> <div class="flex justify-center mt-8">
<img src="/ollama.png" class="w-16 invert-[80%]" /> <img src="/ollama.png" class=" w-16 invert-[10%] dark:invert-[100%] rounded-full" />
</div>
<div class="mt-6 text-3xl text-gray-400 dark:text-gray-500 font-semibold">
Get up and running with large language models, locally.
</div> </div>
<div class=" mt-1 text-2xl text-gray-800 dark:text-gray-100 font-semibold">
<div class=" my-4 text-gray-300 dark:text-gray-600"> How can I help you today?
Run Llama 2, Code Llama, and other models. <br /> Customize and create your own.
</div> </div>
</div> </div>
{:else} {:else}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment