import type { Metadata } from "next";
import { ResponsiveImage } from "@/components/responsive-image";
import { PageHero } from "@/components/ui";
import { content } from "@/lib/content";
export const metadata: Metadata = {
  title: "About us",
  alternates: { canonical: "/about-us/" },
  description:
    "Meet the Movement for Better Government and its founder, Bryan McCrystal.",
};
export default function AboutPage() {
  return (
    <>
      <PageHero
        title="About the movement"
        description="An invitation for concerned citizens to help shape a Parliament that truly represents the people."
        kicker="Our people. Our purpose."
      />
      <section className="page-content">
        <div className="wrap about-layout">
          <div
            className="prose"
            dangerouslySetInnerHTML={{ __html: content.about }}
          />
          <aside className="founder-card" aria-label="Our founder">
            <ResponsiveImage
              image="founder"
              alt="Bryan McCrystal, founder of the Movement for Better Government"
              sizes="(max-width: 380px) calc(100vw - 32px), (max-width: 620px) 320px, (max-width: 860px) 240px, 280px"
            />
            <div>
              <strong>Bryan McCrystal</strong>
              <small>Founder, Movement for Better Government</small>
            </div>
          </aside>
        </div>
      </section>
    </>
  );
}
