Skip to content

warpedrhubarb/blog-posts-vanilla-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Posts (Vanilla Framework)

Example Screenshot

Description

This React app is an example of how to fetch WordPress posts and render them with Vanilla Framework by Canonical.

Card component is used to render the posts. Card header text is dynamically generated depending on whenter the post is assigned with any group, topic, tag or category. Additionally, a link to the corresponding group, topic, tag or category is generated as well, so the header title is clickable :)

Other elements (article picture and the main title) lead to the article itself.

Installation

Clone the project and run

npm install

Usage

npm start

Demo

https://blog-posts-vanilla-framework.vercel.app/