···15 "createdAt"
16 ],
17 "properties": {
000000018 "content": {
19 "type": "string",
20- "description": "The content of the notebook entry. This should be some flavor of Markdown.",
21- "maxLength": 200000
22 },
23 "createdAt": {
24 "type": "string",
···15 "createdAt"
16 ],
17 "properties": {
18+ "authors": {
19+ "type": "array",
20+ "items": {
21+ "type": "ref",
22+ "ref": "sh.weaver.actor.defs#author"
23+ }
24+ },
25 "content": {
26 "type": "string",
27+ "description": "The content of the notebook entry. This should be some flavor of Markdown."
028 },
29 "createdAt": {
30 "type": "string",
···65 }
66}
6768+// Card styles (entry-card, notebook-card) loaded at navbar level
69const ENTRY_CSS: Asset = asset!("/assets/styling/entry.css");
070const HOME_CSS: Asset = asset!("/assets/styling/home.css");
7172/// The Home page component that will be rendered when the current route is `[Route::Home]`
···85 SiteOgMeta {}
8687 document::Link { rel: "stylesheet", href: HOME_CSS }
088 document::Link { rel: "stylesheet", href: ENTRY_CSS }
089 DefaultNotebookCss { }
90 div {
91 class: "home-container",
···153 Some((view, entries)) => rsx! {
154 NotebookCard {
155 notebook: view.clone(),
156+ entry_refs: entries.clone(),
157+ show_author: Some(true)
158 }
159 },
160 None => rsx! {
+6
crates/weaver-app/src/views/navbar.rs
···10use jacquard::types::string::Did;
1112const NAVBAR_CSS: Asset = asset!("/assets/styling/navbar.css");
0001314/// The Navbar component that will be rendered on all pages of our app since every page is under the layout.
15///
···61 rsx! {
62 document::Link { rel: "stylesheet", href: NAVBAR_CSS }
63 document::Link { rel: "stylesheet", href: asset!("/assets/styling/button.css") }
00064 div {
65 id: "navbar",
66 nav { class: "breadcrumbs",
···10use jacquard::types::string::Did;
1112const NAVBAR_CSS: Asset = asset!("/assets/styling/navbar.css");
13+const CARDS_BASE_CSS: Asset = asset!("/assets/styling/cards-base.css");
14+const ENTRY_CARD_CSS: Asset = asset!("/assets/styling/entry-card.css");
15+const NOTEBOOK_CARD_CSS: Asset = asset!("/assets/styling/notebook-card.css");
1617/// The Navbar component that will be rendered on all pages of our app since every page is under the layout.
18///
···64 rsx! {
65 document::Link { rel: "stylesheet", href: NAVBAR_CSS }
66 document::Link { rel: "stylesheet", href: asset!("/assets/styling/button.css") }
67+ document::Link { rel: "stylesheet", href: CARDS_BASE_CSS }
68+ document::Link { rel: "stylesheet", href: ENTRY_CARD_CSS }
69+ document::Link { rel: "stylesheet", href: NOTEBOOK_CARD_CSS }
70 div {
71 id: "navbar",
72 nav { class: "breadcrumbs",
+3-2
crates/weaver-app/src/views/notebook.rs
···44 }
45}
4647-const ENTRY_CARD_CSS: Asset = asset!("/assets/styling/entry-card.css");
04849/// The Blog page component that will be rendered when the current route is `[Route::Blog]`
50///
···96 };
9798 rsx! {
99- document::Link { rel: "stylesheet", href: ENTRY_CARD_CSS }
100101 match (&*notebook_data.read(), &*entries_resource.read()) {
102 (Some(data), Some(entries)) => {
···44 }
45}
4647+// Card styles loaded at navbar level
48+const LAYOUTS_CSS: Asset = asset!("/assets/styling/layouts.css");
4950/// The Blog page component that will be rendered when the current route is `[Route::Blog]`
51///
···97 };
9899 rsx! {
100+ document::Link { rel: "stylesheet", href: LAYOUTS_CSS }
101102 match (&*notebook_data.read(), &*entries_resource.read()) {
103 (Some(data), Some(entries)) => {