at main 57 lines 1.5 kB view raw
1//! The views module contains the components for all Layouts and Routes for our app. Each layout and route in our [`Route`] 2//! enum will render one of these components. 3//! 4//! 5//! The [`Home`] and [`Blog`] components will be rendered when the current route is [`Route::Home`] or [`Route::Blog`] respectively. 6//! 7//! 8//! The [`Navbar`] component will be rendered on all pages of our app since every page is under the layout. The layout defines 9//! a common wrapper around all child routes. 10 11mod home; 12pub use home::Home; 13 14mod navbar; 15pub use navbar::Navbar; 16 17mod notebookpage; 18pub use notebookpage::NotebookPage; 19 20mod notebook; 21pub use notebook::{Notebook, NotebookIndex}; 22 23mod record; 24pub use record::{RecordIndex, RecordPage, RecordView}; 25 26mod callback; 27pub use callback::Callback; 28 29mod editor; 30pub use editor::Editor; 31 32mod drafts; 33pub use drafts::{DraftEdit, DraftsList, NewDraft, NotebookEntryEdit, StandaloneEntryEdit}; 34 35mod entry; 36pub use entry::{NotebookEntryByRkey, StandaloneEntry, StandaloneEntryNsid}; 37 38mod invites; 39pub use invites::InvitesPage; 40 41mod footer; 42pub use footer::{Footer, should_show_full_footer}; 43 44mod static_page; 45pub use static_page::{AboutPage, PrivacyPage, TermsPage}; 46 47mod external; 48pub use external::{ 49 LeafletEntry, LeafletEntryNsid, PcktEntry, PcktEntryBlogNsid, PcktEntryNsid, WhiteWindEntry, 50 WhiteWindEntryNsid, 51}; 52 53mod subdomain_navbar; 54pub use subdomain_navbar::{SubdomainErrorLayout, SubdomainNavbar}; 55 56mod notebook_settings; 57pub use notebook_settings::NotebookSettings;