import Head from "next/head"; import Home from "../commons/home"; export default function App({ posts }) { return (
Teknoloji Rehberleri
); } export async function getStaticProps() { const res = await fetch("https://jsonplaceholder.typicode.com/posts"); const posts = await res.json(); return { props: { posts, }, }; }