"use client" import { useEffect, useState, useTransition } from "react" import { Post } from "@/types" import { cn } from "@/lib/utils" import { actionman } from "@/lib/fonts" import { getLatestPosts } from "./engine/community" export default function Landing() { const [_isPending, startTransition] = useTransition() const [posts, setPosts] = useState([]) useEffect(() => { startTransition(async () => { const newPosts = await getLatestPosts() setPosts(newPosts) }) }, []) return (

🌐 Panoremix

Generate cool panoramas using AI!

Latest locations synthesized:

{posts.map(post => (
{post.prompt}
))}
) }