Skip to content

don't hardcode the images #146

Description

@github-actions

don't hardcode the images

// TODO: don't hardcode the images

export default async function Page() {
  const cardsPromise = await getAllCards({ limit: 12 })
  // TODO: don't hardcode the images
  const filesPromise = Promise.all([573, 571, 572].map(async (file) => await getFile(file)))

  const [cards, files] = await Promise.all([cardsPromise, filesPromise])

  return (
    // <main className="relative">

79f27bf64220e1d108caa08c722b40467e170f02

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions