mirror of
https://github.com/RGBCube/rgbcube.github.io
synced 2025-05-31 13:18:13 +00:00
35 lines
628 B
Rust
35 lines
628 B
Rust
use maud::{
|
|
html,
|
|
Markup,
|
|
};
|
|
|
|
use crate::{
|
|
cube,
|
|
minify,
|
|
};
|
|
|
|
pub async fn generate() -> Markup {
|
|
cube::create(
|
|
minify::css(embed::string!("index.css")),
|
|
[
|
|
html! {
|
|
a href="contact" {
|
|
div class="frame" {
|
|
"contact"
|
|
}
|
|
}
|
|
},
|
|
html! {
|
|
a href="github" {
|
|
div class="frame" {
|
|
"github"
|
|
}
|
|
}
|
|
},
|
|
html! {},
|
|
html! {},
|
|
html! {},
|
|
html! {},
|
|
],
|
|
)
|
|
}
|