Skip to main content

generate_og_svg

Function generate_og_svg 

Source
pub fn generate_og_svg(
    title: &str,
    site_name: &str,
    brand_color: &str,
    text_color: &str,
) -> String
Expand description

Generates an SVG social card with the given title and site name.

The card is 1200x630 pixels (standard OG image dimensions).