beet_design 0.0.8

Design system and components for beet rsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::prelude::*;


/// Wraps an entire page, including the head and body
#[template]
pub fn DocumentLayout() -> impl Bundle {
	rsx! {
		<!DOCTYPE html>
		<html lang="en">
			<Head>
				<slot name="head" />
			</Head>
			<body>
				<slot />
			</body>
		</html>
	}
}