defmodule WhoNeedHelpWeb.PageController do
  use WhoNeedHelpWeb, :controller

  def home(conn, _params) do
    render(conn, :home)
  end

  def privacy(conn, _params) do
    render(conn, :privacy,
      page_title: "Privacy Policy",
      page_description:
        "How Who Need Help processes account, Google sign-in, location, communication, and safety data."
    )
  end

  def safety(conn, _params) do
    render(conn, :safety)
  end

  def terms(conn, _params) do
    render(conn, :terms,
      page_title: "Terms of Service",
      page_description:
        "The conditions for using Who Need Help to coordinate voluntary help and social activities."
    )
  end
end
