diff --git a/apps/frontend/pages/index.tsx b/apps/frontend/pages/index.tsx
index 360478f..c1b9134 100644
--- a/apps/frontend/pages/index.tsx
+++ b/apps/frontend/pages/index.tsx
@@ -12,6 +12,7 @@ import { OutlineButton } from '@components/buttons'
import commonService from '@lib/services/common-service'
import { useRouter } from 'next/router'
import { ContactSection } from '@components/contact'
+import Link from 'next/link'
const getServerSideProps: GetServerSideProps = async () => {
const queryClient = new QueryClient()
@@ -411,28 +412,24 @@ const HomePage: NextPageWithLayout = (): JSX.Element => {
{detailQuery.data.blogPosts.map((post, index) => (
-
- openLink(
- `${process.env.NEXT_PUBLIC_HASHNODE_BLOG_URL}/${post.slug}`
- )
- }
>
{post.title}
-
+
))}
diff --git a/apps/frontend/types/home.d.ts b/apps/frontend/types/home.d.ts
index b391aa3..c63117d 100644
--- a/apps/frontend/types/home.d.ts
+++ b/apps/frontend/types/home.d.ts
@@ -1,9 +1,9 @@
-import { ArticlePost, Exploration } from './content'
+import { ArticlePost, BlogPostItem, Exploration } from './content'
import { Inspiration } from './inspiration'
export interface HomeDetail {
inspirations: Inspiration[]
- blogPosts: ArticlePost[]
+ blogPosts: BlogPostItem[]
explorations: Exploration[]
stories: {
accentColor: string