Add base data structures for pool matches
Some checks failed
Build Crate / build (push) Failing after 4m29s

This commit is contained in:
2023-09-22 03:45:48 -04:00
parent 0a68829d6c
commit 30f3aa63d5
16 changed files with 148 additions and 123 deletions

View File

@@ -2,9 +2,7 @@ use sycamore::prelude::*;
#[derive(Prop)]
pub struct LayoutProps<'a, G: Html> {
/// The title of the page, which will be displayed in the header.
pub title: &'a str,
/// The content to put inside the layout.
pub children: Children<'a, G>,
}
@@ -15,11 +13,7 @@ pub fn Layout<'a, G: Html>(
) -> View<G> {
let children = children.call(cx);
// example params
// p { (title.to_string()) }
view! { cx,
// These elements are styled with bright colors for demonstration purposes
header {
div (class = "flex items-center justify-between") {
div (class = "w-full text-gray-700 md:text-center text-2xl font-semibold") {