|
1 | 1 | <script lang="ts">
|
2 |
| - import Typewriter from "svelte-typewriter"; |
| 2 | + import { concurrent } from "svelte-typewriter"; |
3 | 3 | </script>
|
4 | 4 |
|
5 | 5 | <svelte:head>
|
|
8 | 8 | </svelte:head>
|
9 | 9 |
|
10 | 10 | <div class="text-column">
|
11 |
| - <Typewriter interval={60}> |
12 |
| - <h1> |
13 |
| - <span>About the</span> <code>YieldLang</code> |
14 |
| - </h1> |
15 |
| - </Typewriter> |
| 11 | + <h1 use:concurrent={{ interval: 60 }} style="min-height: 1.5em"> |
| 12 | + <span>About the</span> <code>YieldLang</code> |
| 13 | + </h1> |
16 | 14 |
|
17 | 15 | <p>
|
18 | 16 | <code>YieldLang</code> is a
|
|
30 | 28 | terminal:
|
31 | 29 | </p>
|
32 | 30 |
|
33 |
| - <Typewriter interval={60}> |
34 |
| - <pre style="user-select: all; white-space: break-spaces;"><code |
35 |
| - style="margin-right: 0.5em; user-select: none;">$</code |
36 |
| - ><span class="pip">pip</span> <span class="install">install</span |
37 |
| - > <span>yieldlang</span></pre> |
38 |
| - </Typewriter> |
39 |
| - <Typewriter interval={8}> |
40 |
| - <ul> |
41 |
| - <li>🧠 Based on a coroutine generator and sampler architecture</li> |
42 |
| - <li> |
43 |
| - 🤖 Stream-sends characters and parses the context above into a |
44 |
| - syntax tree |
45 |
| - </li> |
46 |
| - <li> |
47 |
| - 🦾 Build formal grammars with classes, methods, and combinators |
48 |
| - </li> |
49 |
| - </ul> |
50 |
| - </Typewriter> |
51 |
| - <Typewriter interval={15}> |
52 |
| - <p> |
53 |
| - <span>More information on the GitHub home page:</span> |
54 |
| - <a href="https://github.com/YieldLang" target="_blank" |
55 |
| - ><b>github.com/YieldLang</b></a |
56 |
| - > |
57 |
| - </p> |
58 |
| - </Typewriter> |
| 31 | + <pre |
| 32 | + style="user-select: all; white-space: break-spaces; min-height: 1em" |
| 33 | + use:concurrent={{ interval: 60 }}><code |
| 34 | + style="margin-right: 0.5em; user-select: none;">$</code |
| 35 | + ><span class="pip">pip</span> <span class="install">install</span> <span |
| 36 | + >yieldlang</span |
| 37 | + ></pre> |
| 38 | + <ul use:concurrent={{ interval: 7 }} style="min-height: 1em"> |
| 39 | + <li>🧠 Based on a coroutine generator and sampler architecture</li> |
| 40 | + <li> |
| 41 | + 🤖 Stream-sends characters and parses the context above into a |
| 42 | + syntax tree |
| 43 | + </li> |
| 44 | + <li>🦾 Build formal grammars with classes, methods, and combinators</li> |
| 45 | + </ul> |
| 46 | + <p use:concurrent={{ interval: 15 }} style="min-height: 1em"> |
| 47 | + <span>More information on the GitHub home page:</span> |
| 48 | + <a href="https://github.com/YieldLang" target="_blank" |
| 49 | + ><b>github.com/YieldLang</b></a |
| 50 | + > |
| 51 | + </p> |
59 | 52 | </div>
|
60 | 53 |
|
61 | 54 | <style>
|
|
0 commit comments