|
2 | 2 | <div class="flex w-full h-full">
|
3 | 3 | <MoleculesDocsLeftSidebar />
|
4 | 4 | <div class="flex w-full h-full pt-10 bg-white dark:bg-slate-950">
|
5 |
| - <main class="h-full mx-10 px-16 overflow-auto"> |
| 5 | + <main class="h-full w-full mx-4 px-4 md:mx-6 md:px-8 lg:mx-10 lg:px-16 overflow-auto"> |
6 | 6 | <span v-if="alertVisible">
|
7 | 7 | <UAlert icon="i-heroicons-information-circle" color="orange" variant="subtle" title="Heads up!" description="These
|
8 | 8 | crates and/or categories haven't been officially adopted yet—we're just
|
9 | 9 | using these examples to sketch out what the website will look like here
|
10 | 10 | in the future. In fact... quite a few things don't seem to be working yet...
|
11 | 11 | we'll get to it!" :close-button="{
|
12 |
| - icon: 'i-heroicons-x-mark-20-solid', |
13 |
| - color: 'gray', |
14 |
| - variant: 'link', |
15 |
| - padded: false, |
16 |
| - }" @close="alertVisible = false" /> |
| 12 | + icon: 'i-heroicons-x-mark-20-solid', |
| 13 | + color: 'gray', |
| 14 | + variant: 'link', |
| 15 | + padded: false, |
| 16 | + }" @close="alertVisible = false" /> |
17 | 17 | </span>
|
18 | 18 | <div class="prose dark:prose-invert max-w-6xl pt-4">
|
19 | 19 | <h1 class="mb-2">Crates</h1>
|
20 | 20 | <div class="max-w-3xl">
|
21 |
| - <p>The following crates have been formally ratified within the <code>rust-seq</code> stack.</p> |
| 21 | + <p> |
| 22 | + The following crates have been formally ratified within the |
| 23 | + <code>rust-seq</code> stack. |
| 24 | + </p> |
22 | 25 | </div>
|
23 | 26 | </div>
|
24 | 27 |
|
25 |
| - <article class=" prose prose-slate dark:prose-invert max-w-6xl"> |
26 |
| - <div class="grid grid-cols-3 gap-4"> |
| 28 | + <article class="prose prose-slate dark:prose-invert max-w-full"> |
| 29 | + <div class="grid gap-4" style="grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));"> |
27 | 30 | <CrateCard name="noodles" organization="zaeleus" description="A
|
28 | 31 | bioinformatics I/O library written natively in Rust that values
|
29 | 32 | correctness and ergonomic APIs." :kind="Kind.Library" :category="{
|
30 |
| - name: 'File I/O', |
31 |
| - icon: 'heroicons-outline:newspaper', |
32 |
| - }" :socials="{ |
33 |
| - github: 'https://github.com/zaeleus/noodles', |
34 |
| - docs: 'https://docs.rs/noodles', |
35 |
| - zulip: true, |
36 |
| - }" /> |
| 33 | + name: 'File I/O', |
| 34 | + icon: 'heroicons-outline:newspaper', |
| 35 | + }" :socials="{ |
| 36 | + github: 'https://github.com/zaeleus/noodles', |
| 37 | + docs: 'https://docs.rs/noodles', |
| 38 | + zulip: true, |
| 39 | + }" /> |
37 | 40 |
|
38 | 41 | <CrateCard name="chainfile" organization="stjude-rust-labs" description="A
|
39 | 42 | crate for lifting over single positions or intervals using UCSC chain
|
40 | 43 | files." :kind="Kind.Library" :category="{
|
41 |
| - name: 'File I/O', |
42 |
| - icon: 'heroicons-outline:newspaper', |
43 |
| - }" :socials="{ |
44 |
| - github: 'https://github.com/stjude-rust-labs/chainfile', |
45 |
| - docs: 'https://docs.rs/chainfile', |
46 |
| - zulip: true, |
47 |
| - }" /> |
| 44 | + name: 'File I/O', |
| 45 | + icon: 'heroicons-outline:newspaper', |
| 46 | + }" :socials="{ |
| 47 | + github: 'https://github.com/stjude-rust-labs/chainfile', |
| 48 | + docs: 'https://docs.rs/chainfile', |
| 49 | + zulip: true, |
| 50 | + }" /> |
48 | 51 |
|
49 | 52 | <CrateCard name="minimizer-queue" organization="rust-seq" description="A
|
50 |
| - crate for fast computation of minimizers of |
| 53 | + crate for fast computation of minimizers of |
51 | 54 | a sequence using a monotone queue." :kind="Kind.Library" :category="{
|
52 |
| - name: 'Sequence Algorithms', |
53 |
| - icon: 'carbon:dna', |
54 |
| - }" :socials="{ |
55 |
| - github: 'https://github.com/rust-seq/minimizer-queue', |
56 |
| - zulip: true, |
57 |
| - }" /> |
| 55 | + name: 'Sequence Algorithms', |
| 56 | + icon: 'carbon:dna', |
| 57 | + }" :socials="{ |
| 58 | + github: 'https://github.com/rust-seq/minimizer-queue', |
| 59 | + zulip: true, |
| 60 | + }" /> |
58 | 61 |
|
59 | 62 | <CrateCard name="minimizer-iter" organization="rust-seq" description="A
|
60 | 63 | crate for efficient iteration of the minimizers of a sequence." :kind="Kind.Library" :category="{
|
61 |
| - name: 'Sequence Algorithms', |
62 |
| - icon: 'carbon:dna', |
63 |
| - }" :socials="{ |
64 |
| - github: 'https://github.com/rust-seq/minimizer-iter', |
65 |
| - zulip: true, |
66 |
| - }" /> |
| 64 | + name: 'Sequence Algorithms', |
| 65 | + icon: 'carbon:dna', |
| 66 | + }" :socials="{ |
| 67 | + github: 'https://github.com/rust-seq/minimizer-iter', |
| 68 | + zulip: true, |
| 69 | + }" /> |
67 | 70 |
|
68 | 71 | <CrateCard name="packed-seq" organization="rust-seq" description="A
|
69 | 72 | crate for efficient (packed) representation of strings of small alphabets." :kind="Kind.Library" :category="{
|
70 |
| - name: 'Sequence Algorithms', |
71 |
| - icon: 'carbon:dna', |
72 |
| - }" :socials="{ |
73 |
| - github: 'https://github.com/rust-seq/packed-seq', |
74 |
| - zulip: true, |
75 |
| - }" /> |
| 73 | + name: 'Sequence Algorithms', |
| 74 | + icon: 'carbon:dna', |
| 75 | + }" :socials="{ |
| 76 | + github: 'https://github.com/rust-seq/packed-seq', |
| 77 | + zulip: true, |
| 78 | + }" /> |
76 | 79 |
|
77 | 80 | <CrateCard name="foobar" organization="stjude-rust-labs" description="A
|
78 | 81 | command line tool for performing common operations on next-generation sequencing
|
79 | 82 | data—built on top of noodles." :kind="Kind.Binary" :category="{
|
80 |
| - name: 'Command Line Tools', |
81 |
| - icon: 'heroicons-outline:command-line', |
82 |
| - }" :socials="{ |
83 |
| - github: 'https://github.com/stjude-rust-labs/foobar', |
84 |
| - zulip: true, |
85 |
| - }" /> |
| 83 | + name: 'Command Line Tools', |
| 84 | + icon: 'heroicons-outline:command-line', |
| 85 | + }" :socials="{ |
| 86 | + github: 'https://github.com/stjude-rust-labs/foobar', |
| 87 | + zulip: true, |
| 88 | + }" /> |
86 | 89 |
|
87 | 90 | <CrateCard name="omics" organization="stjude-rust-labs" description="A
|
88 | 91 | crate for lifting over single positions or intervals using UCSC chain
|
89 | 92 | files." :kind="Kind.Library" :category="{
|
90 |
| - name: 'Foundational', |
91 |
| - icon: 'heroicons:code-bracket-16-solid', |
92 |
| - }" :socials="{ |
93 |
| - github: 'https://github.com/stjude-rust-labs/omics', |
94 |
| - docs: 'https://docs.rs/omics', |
95 |
| - zulip: true, |
96 |
| - }" /> |
| 93 | + name: 'Foundational', |
| 94 | + icon: 'heroicons:code-bracket-16-solid', |
| 95 | + }" :socials="{ |
| 96 | + github: 'https://github.com/stjude-rust-labs/omics', |
| 97 | + docs: 'https://docs.rs/omics', |
| 98 | + zulip: true, |
| 99 | + }" /> |
97 | 100 | </div>
|
98 | 101 | </article>
|
99 | 102 | </main>
|
|
104 | 107 | <script setup lang="ts">
|
105 | 108 | import CrateCard from "~/components/molecules/docs/CrateCard.vue";
|
106 | 109 | import { Kind } from "~/components/molecules/docs/crate-card/kind";
|
| 110 | +import { useStorage } from '@vueuse/core' |
107 | 111 |
|
108 |
| -const alertVisible = ref(true); |
| 112 | +const alertVisible = useStorage("crates-page:alert-visible", true); |
109 | 113 | </script>
|
0 commit comments