Skip to content

Instantly share code, notes, and snippets.

View ghankerson's full-sized avatar

Geoff Hankerson ghankerson

  • American Public Media
View GitHub Profile
"use client";
import { useState } from "react";
import { useForm } from "react-hook-form";
import { Prisma } from "@prisma/client";
import Song from './Song';
interface PollProps {
poll: Prisma.pollsSelect;
}
{
story(slug: "2025/09/12/theme-and-variations-with-tom-crann", contentAreaSlug: "yourclassical") {
title
canonicalSlug
body
primaryVisuals {
video {
caption
background
url
{
collection(slug: "homepage", contentAreaSlug: "mprnews") {
title
body
canonicalSlug
results {
items {
title
canonicalSlug
description