Code Monkey home page Code Monkey logo

nextjs-blog-starter's Issues

Search, categories and featured articles on the home page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.
First of all congratz and thx for this awesome starter :)
I am new in react/next js, basically just started learning and i am struggling to add the below features:

  • a nav bar search for site wide articles;
  • a category feature when creating a post, display the category on the post page, filter posts by a category and adding the categories on the nav bar;
  • set a post as featured and display it on the home page, maybe as a entire screen slider.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Storybook fails when running `yarn storybook`

Describe the bug
Storybook fails to load after updating to Tailwind CSS 3. This doesn't impact the functionality of the blog at all, but Storybook should ideally be working. Running yarn storybook returns quite a long error message since the CSS on all files is failing, but the crux of the issue is this bit of the error:

Error: PostCSS plugin tailwindcss requires PostCSS 8.
Migration guide for end-users:
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users

To Reproduce
Steps to reproduce the behavior:

  1. From the project root, run yarn storybook
  2. Note the error.

Expected behavior
Storybook will run normally.

Additional context
While this could be easily resolved by reverting the Tailwind CSS 3.0 upgrade, I'm leaving it as is, as I think that the ability to use new features in Tailwind outweigh what Storybook offers, in the case of this blog at least.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.