Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 671f570

Browse files
committed
import config
1 parent d0f4955 commit 671f570

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

components/alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import PropTypes from 'prop-types'
22
import Container from './container'
33
import cn from 'classnames'
4-
import {EXAMPLE_PATH} from '@/lib/constants'
4+
import {EXAMPLE_PATH} from '@/lib/config'
55

66
export default function Alert({preview}) {
77
return (

components/footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Container from './container'
2-
import {EXAMPLE_PATH} from '@/lib/constants'
2+
import {EXAMPLE_PATH} from '@/lib/config'
33

44
export default function Footer() {
55
return (

components/intro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {CMS_NAME, CMS_URL} from '@/lib/constants'
1+
import {CMS_NAME, CMS_URL} from '@/lib/config'
22

33
export default function Intro() {
44
return (

components/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Head from 'next/head'
2-
import {CMS_NAME, HOME_OG_IMAGE_URL} from '@/lib/constants'
2+
import {CMS_NAME, HOME_OG_IMAGE_URL} from '@/lib/config'
33

44
export default function Meta() {
55
return (

pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import HeroPost from '@/components/hero-post'
66
import Intro from '@/components/intro'
77
import Layout from '@/components/layout'
88
import {getAllPostsForHome} from '@/lib/api'
9-
import {CMS_NAME} from '@/lib/constants'
9+
import {CMS_NAME} from '@/lib/config'
1010

1111
export default function Index({allPosts: {edges}, preview}) {
1212
const heroPost = edges[0]?.node

pages/posts/[slug].js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Layout from '@/components/layout'
1111
import {getAllPostsWithSlug, getPostAndMorePosts} from '@/lib/api'
1212
import PostTitle from '@/components/post-title'
1313
import Head from 'next/head'
14-
import {CMS_NAME} from '@/lib/constants'
14+
import {CMS_NAME} from '@/lib/config'
1515
import Tags from '@/components/tags'
1616

1717
export default function Post({post, posts, preview}) {

0 commit comments

Comments
 (0)