Added CacheStore server side, working with blog on client side more.

This commit is contained in:
2018-10-31 21:01:03 +11:00
parent 2ca45b154c
commit 5b4be02593
10 changed files with 294 additions and 9 deletions

View File

@ -27,6 +27,7 @@ import { withLanguage } from '@public/language/Language';
import Page, { PageBoundary } from '@components/page/Page';
import FeaturedArticleSection from '@sections/blog/article/FeaturedArticleSection';
import ArticleGridSection from '@sections/blog/article/ArticleGridSection';
const TestBlogData = {
handle: "test-blog",
@ -43,6 +44,7 @@ export default withLanguage(props => {
<Page style="blog-page" className="p-blog-page" title={ lang.pages.blog.title }>
{/* First (Featured) Blog */}
<FeaturedArticleSection article={ TestBlogData } />
<ArticleGridSection articles={[ TestBlogData, TestBlogData, TestBlogData, TestBlogData, TestBlogData]} />
</Page>
);
});