Files
pasargad/src/app/page.tsx
T

18 lines
449 B
TypeScript
Raw Normal View History

2025-05-31 14:46:26 +03:30
// ... existing imports ...
async function getData() {
// Simulate a delay to show server-side data fetching
await new Promise((resolve) => setTimeout(resolve, 1000));
return { message: 'This data was fetched on the server!' };
}
export default async function Home() {
const data = await getData();
2025-05-31 13:17:46 +03:30
return (
2025-05-31 14:46:26 +03:30
<main className="flex min-h-screen flex-col items-center justify-between p-24 text-gray-300">
ssss
2025-05-31 14:46:26 +03:30
</main>
2025-05-31 13:17:46 +03:30
);
}