use assetserver::Asset;
use maud::{Markup, html};
use crate::{
components::{
base::{BasePage, PageMetadata},
md::Markdown,
misc::Backlinks,
},
routes::assets::Image_Icon,
};
pub async fn handouts() -> Markup {
let meta = PageMetadata {
title: "Mark's Handouts".into(),
author: Some("Mark".into()),
description: None,
image: Some(Image_Icon::URL.into()),
};
html! {
(BasePage(
meta,
html!(
(Backlinks(&[("/", "home")], "handouts"))
(Markdown(MD_A))
)
))
}
}
const MD_A: &str = r#"# Mark's Handouts
[ORMC]: https://circles.math.ucla.edu/circles
This page lists all the handouts I've written for my classes at the [ORMC],
arguably the best math circle in the western world. We teach students mathematics
far beyond the regular school curriculum, much like [AOPS](https://artofproblemsolving.com)
and the [BMC](https://mathcircle.berkeley.edu).
{style(color_var:pink) For my students: } \
Don't look at solutions we haven't discussed,
and don't start any handouts before class. That spoils all the fun!
{style(color_var:green) For everyone else:} \
If you're using any of these, please let me know---especially \
if you find errors, mistakes, or a poorly designed section. \
Such things must be fixed! { include(email_beta) }
## Overview & Context
Our classes are two hours long, with a ten-minute break in between. The lessons below
are written with this in mind.\
I do not expect the average student to finish all problems during this two-hour session.
If the class finishes early, the lesson is either too short or too easy.