Refactor
Some checks failed
CI / Check links (push) Failing after 31s
CI / Check typos (push) Successful in 52s
CI / Clippy (push) Successful in 1m11s
CI / Build and test (push) Failing after 1m12s
CI / Build container (push) Has been skipped
CI / Deploy on waypoint (push) Has been skipped

This commit is contained in:
2025-11-05 08:59:20 -08:00
parent 063ea165d1
commit 2ee3ad3898
14 changed files with 280 additions and 245 deletions

View File

@@ -1,6 +1,7 @@
use assetserver::Asset;
use page::Page;
use crate::{page::Page, routes::assets::Image_Icon};
use crate::{components::md::page_from_markdown, routes::assets::Image_Icon};
mod handouts;
mod index;
@@ -16,11 +17,11 @@ pub fn links() -> Page {
http://www.3dprintmath.com/
*/
Page::from_markdown(include_str!("links.md"), Some(Image_Icon::URL.to_owned()))
page_from_markdown(include_str!("links.md"), Some(Image_Icon::URL.to_owned()))
}
pub fn betalupi() -> Page {
Page::from_markdown(
page_from_markdown(
include_str!("betalupi.md"),
Some(Image_Icon::URL.to_owned()),
)