mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-05-06 09:44:17 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
124a462f2c
commit
a604dd1e28
@ -3,11 +3,14 @@ import {
|
||||
getAllBlogPostsSlugs,
|
||||
getBlogPosts as serverGetBlogPosts
|
||||
} from 'lib/blog'
|
||||
//===== \/ START NEXT_PUBLIC_DATOCMS_BYPASS \/ ====================================================
|
||||
import {
|
||||
getAllBlogPostsSlugsFromSource,
|
||||
getSingleBlogPostBySlugFromSource,
|
||||
getRelatedBlogPosts
|
||||
} from 'lib/datocms-bypass'
|
||||
//import cms from 'lib/cms'
|
||||
//===== /\ FINISH NEXT_PUBLIC_DATOCMS_BYPASS /\ ====================================================
|
||||
import {
|
||||
GetStaticPaths,
|
||||
GetStaticProps,
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
import { PageLayout } from 'components/layout/page'
|
||||
|
||||
//===== \/ START NEXT_PUBLIC_DATOCMS_BYPASS \/ ====================================================
|
||||
|
||||
/*
|
||||
import {
|
||||
getBlogPosts,
|
||||
@ -9,16 +7,12 @@ import {
|
||||
getBlogPostsCategories as serverGetBlogPostsCategories
|
||||
} from 'lib/blog'
|
||||
*/
|
||||
|
||||
import { getBlogPosts } from 'lib/blog'
|
||||
|
||||
import {
|
||||
getAllBlogPostsFromSource,
|
||||
getAllBlogPostsCategoriesFromSource
|
||||
} from 'lib/datocms-bypass'
|
||||
|
||||
//===== /\ FINISH NEXT_PUBLIC_DATOCMS_BYPASS /\ ====================================================
|
||||
|
||||
import { InferGetStaticPropsType } from 'next'
|
||||
import { useRouter } from 'next/router'
|
||||
import { Fragment, useCallback, useMemo } from 'react'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user