canonrs-server 0.1.0

CanonRS server-side rendering support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use leptos::prelude::*;
// use crate::blocks::canonrs::pillars_strip::{CANON_PILLARS, PillarsStrip};

// #[cfg(target_arch = "wasm32")]
// use crate::blocks::canonrs::pillars_strip::PillarsController;

#[component]
pub fn ComponentPage(children: Children) -> impl IntoView {
    view! {
        <div class="component-page">
            {children()}
        </div>
    }
}