diff --git a/playground/src/app.rs b/playground/src/app.rs index 9829d8f..592859b 100644 --- a/playground/src/app.rs +++ b/playground/src/app.rs @@ -60,15 +60,32 @@ fn diagram_only_init() -> bool { } } +#[component] +pub fn GoogleAnalyticsHeader() -> impl IntoView { + view! { + + + } +} + #[component] pub fn GoogleTagManagerHeader() -> impl IntoView { view! { } } @@ -104,6 +121,7 @@ pub fn App() -> impl IntoView { // through client side routing. if site_prefix.is_empty() { view! { + // injects a stylesheet into the document