File tree Expand file tree Collapse file tree 18 files changed +647
-54
lines changed Expand file tree Collapse file tree 18 files changed +647
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ @import url("https://fonts.googleapis.com/css2?family=" );
2
+ @import url(
"https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&Space+Grotesk:[email protected] &display=swap" );
3
+
4
+ /* Prose Code */
5
+ * {
6
+ @apply prose-code :rounded-md;
7
+ @apply prose-code :px-2;
8
+ @apply prose-code :py-1;
9
+
10
+ @apply prose-code :text-slate-900;
11
+ @apply prose-code :bg-slate-100;
12
+ @apply dark :prose-code:text-slate-100;
13
+ @apply dark :prose-code:bg-slate-800;
14
+ }
15
+
16
+ code::before ,
17
+ code::after {
18
+ content : none !important ;
19
+ }
Original file line number Diff line number Diff line change @@ -14,6 +14,4 @@ enum Mode {
14
14
Dark = " dark" ,
15
15
System = " system" ,
16
16
}
17
-
18
- colorMode .preference = Mode .System ;
19
17
</script >
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" card" >
3
+ <div class =" header" >
4
+ <div class =" title" >
5
+ In
6
+ <Icon :name =" category.icon" />
7
+ {{ category.name }}
8
+
9
+ <div class =" ml-1 font-normal text-xs font-mono" >
10
+ <div
11
+ class =" px-1 py-0.5 rounded-md text-green-900 bg-green-300 border border-green-500"
12
+ v-if =" kind === Kind.Library"
13
+ >
14
+ lib
15
+ </div >
16
+ <div
17
+ class =" px-1 py-0.5 rounded-md text-purple-900 bg-purple-300 border border-purple-500"
18
+ v-else-if =" kind === Kind.Binary"
19
+ >
20
+ bin
21
+ </div >
22
+ </div >
23
+ </div >
24
+ <div class =" flex gap-x-1.5" >
25
+ <a
26
+ v-if =" socials && socials.github"
27
+ class =" flex items-center justify-center w-7 h-7 bg-gray-100 border border-gray-200 rounded-full"
28
+ :href =" socials.github"
29
+ >
30
+ <Icon class =" w-4 h-4" name =" octicon:mark-github-16" ></Icon >
31
+ </a >
32
+ <a
33
+ v-if =" socials && socials.zulip"
34
+ class =" flex items-center justify-center w-7 h-7 bg-gray-100 border border-gray-200 rounded-full"
35
+ href =" https://rustseq.zulipchat.com"
36
+ :title =" `Chat about ${name} in the rust-seq Zulip`"
37
+ >
38
+ <Icon class =" w-4 h-4" name =" tabler:brand-zulip" ></Icon >
39
+ </a >
40
+ </div >
41
+ </div >
42
+ <div class =" flex items-center justify-start gap-x-1" >
43
+ <div class =" crate" >{{ organization }}/{{ name }}</div >
44
+ </div >
45
+ <div class =" description" >
46
+ {{ description }}
47
+ </div >
48
+ </div >
49
+ </template >
50
+
51
+ <script setup lang="ts">
52
+ import { Kind } from " ~/components/molecules/docs/crate-card/kind" ;
53
+
54
+ interface Category {
55
+ name: string ;
56
+ icon: string ;
57
+ }
58
+
59
+ interface Socials {
60
+ github? : string ;
61
+ zulip: boolean ;
62
+ }
63
+
64
+ interface Props {
65
+ name: string ;
66
+ kind: Kind ;
67
+ organization: string ;
68
+ category: Category ;
69
+ socials: Socials ;
70
+ description: string ;
71
+ }
72
+
73
+ // Define props with TypeScript
74
+ const props = defineProps <Props >();
75
+ </script >
Original file line number Diff line number Diff line change 9
9
<div class =" header" >Get Started</div >
10
10
<RouterLink to =" /docs/get-started/overview" >Overview</RouterLink >
11
11
<RouterLink to =" /docs/get-started/values" >Values</RouterLink >
12
- <RouterLink to =" /docs/get-started/stack" >Stack</RouterLink >
12
+
13
+ <div class =" header" >Writing Crates</div >
14
+ <RouterLink to =" /docs/writing-crates/checklist" >Checklist</RouterLink >
13
15
</div >
14
16
</div >
15
17
</template >
98
100
@apply dark :text-gray-200;
99
101
}
100
102
103
+ .header:not (:first-child ) {
104
+ @apply mt-5;
105
+ }
106
+
101
107
a {
102
108
@apply transition;
103
109
@apply block;
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ export enum Kind {
2
+ Binary ,
3
+ Library ,
4
+ }
Original file line number Diff line number Diff line change @@ -15,8 +15,17 @@ related initiatives:
15
15
(e.g., common continuous integration/continuous delivery pipelines that can be
16
16
leveraged by tool authors).
17
17
- Improving awareness of ongoing efforts generally within the community via
18
- common discussion channels (i.e., the [ ` rust-seq ` Zulip chat] and the
19
- [ ` rust-seq ` GitHub discussions] ).
18
+ common discussion channels (i.e., the [ ` rust-seq ` Zulip chat] [ zulip-chat ] and
19
+ the [ ` rust-seq ` GitHub discussions ] [ github- discussions] ).
20
20
21
- [ `rust-seq` Zulip chat ] : https://rustseq.zulipchat.com/join/e23ago52gswtbnp3azlidfem/
22
- [ `rust-seq` GitHub discussions ] : https://github.com/orgs/rust-seq/discussions
21
+ ## Stack
22
+
23
+ The ` rust-seq ` stack is developed in a distributed manner across multiple
24
+ organizations in the community. This means that some crates will be available on
25
+ the ` rust-seq ` [ GitHub] [ github-organization ] while others may be available under
26
+ different organizations. Officially ratified crates are indexed on [ this
27
+ page] ( /docs ) .
28
+
29
+ [ zulip-chat ] : https://rustseq.zulipchat.com/
30
+ [ github-discussions ] : https://github.com/orgs/rust-seq/discussions
31
+ [ github-organization ] : https://github.com/rust-seq
You can’t perform that action at this time.
0 commit comments