Spaces:
Running
Running
File size: 579 Bytes
2a7eb2e 67ea2ab 39ccc4b 2a7eb2e b857757 67ea2ab 39ccc4b 67ea2ab |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import { getLastLogos } from "./_actions/logos";
import { Gallery } from "./_components/gallery";
import { Generation } from "./_components/generation";
import { HeroHeader } from "./_components/hero-header";
async function lastLogos() {
const logos = await getLastLogos();
return logos;
}
export const revalidate = 0;
export default async function Home() {
const logos = await lastLogos();
return (
<section>
<div className="max-w-4xl mx-auto">
<HeroHeader />
<Generation />
</div>
<Gallery logos={logos} />
</section>
);
}
|