https://github.com/codingstark-dev/hosting
https://github.com/codingstark-dev/hosting
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codingstark-dev/hosting
- Owner: codingstark-dev
- License: mit
- Created: 2021-12-08T14:47:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-08T21:19:23.000Z (about 4 years ago)
- Last Synced: 2025-03-05T11:14:34.568Z (11 months ago)
- Language: TypeScript
- Homepage: hosting-beta.vercel.app
- Size: 1.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
import { getPostsTable } from '../config/notion';
// function page() {
// return
;
// }
// export async function getStaticPaths() {
// const project = await getPostsTable('01f14251b4f741a2bbc526786725b5f5');
// return {
// paths:
// project.map((p: any) => {
// return `/${p.slug} `;
// }) || [],
// fallback: 'blocking',
// };
// }
// export async function getStaticProps() {
// const project = await getPostsTable('01f14251b4f741a2bbc526786725b5f5');
// console.log(project);
// if (!project) {
// return {
// notFound: true,
// };
// }
// return {
// props: {
// project,
// },
// revalidate: 10,
// };
// }
// export default page;