use dioxus::prelude::*;

#[component]
pub(crate) fn About() -> Element {
    rsx! {
        main { class: "about-page",
            section { class: "about-intro blueprint-panel",
                h1 { "What Polymodel is" }
                p { class: "product-lede",
                    "Polymodel is a place to share the things you make and remix the things other people make — "
                    "built on an open network instead of a walled garden."
                }
            }

            section { class: "about-section blueprint-panel",
                h2 { "Why it's open" }
                p {
                    "Polymodel is built on the AT Protocol, the same open network behind Bluesky. "
                    "Your projects, your profile, and the people who follow your work live in your own account — "
                    "not locked inside one company's database. If Polymodel disappears tomorrow, your models and "
                    "your audience come with you."
                }
                p {
                    "That means no single platform owns your catalogue, and other apps on the same network can read "
                    "and build on what you publish here."
                }
            }

            section { class: "about-section blueprint-panel",
                h2 { "Remix, with credit" }
                p {
                    "Most things are made by standing on someone else's work. Polymodel treats remixing as a "
                    "first-class action: fork a model, change what you need, and publish the result with a clear "
                    "line back to the original maker."
                }
                p {
                    "Attribution travels with the project, so the people whose work you built on stay credited "
                    "wherever your version ends up."
                }
            }

            p { class: "about-footnote",
                "Polymodel is an early demo. Expect rough edges, missing features, and the occasional placeholder "
                "while the network and the catalogue fill in."
            }
        }
    }
}
