mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-10 18:04:22 +01:00
feat: added comments section to story/question content page
This commit is contained in:
@@ -84,7 +84,7 @@ export let posts = {
|
||||
title: 'Digital Editor, Mars Review of Books',
|
||||
body: postBody,
|
||||
cover_image: getCoverImage(),
|
||||
comments_count: 31,
|
||||
comments_count: 3,
|
||||
date: getDate(),
|
||||
votes_count: 120,
|
||||
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In odio libero accumsan...',
|
||||
@@ -95,7 +95,7 @@ export let posts = {
|
||||
{ id: 3, title: "guide" },
|
||||
],
|
||||
author: getAuthor(),
|
||||
comments: generatePostComments(),
|
||||
comments: generatePostComments(3),
|
||||
|
||||
},
|
||||
] as Story[],
|
||||
@@ -128,7 +128,7 @@ export let posts = {
|
||||
id: 33,
|
||||
title: 'Digital Editor, Mars Review of Books',
|
||||
body: postBody,
|
||||
answers_count: 31,
|
||||
answers_count: 3,
|
||||
date: getDate(),
|
||||
votes_count: 70,
|
||||
excerpt: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In odio libero accumsan...',
|
||||
|
||||
Reference in New Issue
Block a user