Giter Site home page Giter Site logo

sametcn99 / nextui-blog-template Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 3.0 536 KB

The Next UI Blog Template is a powerful foundation for crafting your very own blog website using Next.js, coupled with sleek UI components from Next UI. This template not only jumpstarts your project but also ensures a responsive and customizable blog experience.

Home Page: https://nextui-blog-template.vercel.app

License: GNU General Public License v3.0

TypeScript 86.97% CSS 2.72% JavaScript 10.32%
blog-template nextjs nextjs14 nextui nextui-template react reactjs templae redux-toolkit nextui-theme

nextui-blog-template's Introduction

Next UIBlogTemplate

The Next UIBlogTemplate is a powerful foundation for crafting your very own blog website using Next.js, coupled with sleek UI components from Next UI. This template not only jumpstarts your project but also ensures a responsive and customizable blog experience. Key features include dynamic routing, code splitting, and server-side rendering.

Note

  • An application is set up to render blog pages using markdown files. Each markdown file corresponds to a blog post, and its filename determines the URL at which the post will be accessible.
  • For instance, if there's a markdown file named my-first-blog-post.md, the application will render that blog post at https://next-uiblogtemplate.vercel.app/blog/my-first-blog-post.
  • To simplify the process of renaming markdown files to adhere to this format, you can utilize the Markdown File Renamer Web App.
  • This tool automates the renaming process, ensuring that your markdown files are correctly formatted for the application to render them as blog posts.

Tech Stack

Frontend

  • Next.js (v14.0.0): A React framework for building server-rendered and statically generated web applications.
  • @nextui-org/react (v2.1.13): UI components for React applications, providing a consistent and customizable design system.
  • Framer Motion (v10.16.4): A motion library for React that makes it easy to create stunning animations.
  • Next Themes (v0.2.1): Enables theme support in Next.js applications for dynamic theme switching.
  • React (v18) & React DOM (v18): The core libraries for building user interfaces with React.

State Management

  • Redux Toolkit (v1.9.7): A set of tools for efficient Redux development, simplifying common patterns and reducing boilerplate.

Styling

  • Tailwind CSS (v3.3.5): A utility-first CSS framework that allows for rapid and maintainable styling.

Markdown Processing

  • Gray Matter (v4.0.3): Parses front-matter from markdown files, making it easy to extract metadata.
  • Remark (v15.0.1) & Remark HTML (v16.0.1): Markdown processor and HTML compiler for transforming markdown content.

Code Quality and Tooling

  • TypeScript (v5): Adds static typing to JavaScript, enhancing code quality and developer productivity.
  • ESLint (v8): A linter tool for identifying and fixing problems in JavaScript/TypeScript code.
  • PostCSS (v8) & Autoprefixer (v10): Tools for transforming styles with JavaScript plugins and automatically adding vendor prefixes.

Build and Deployment

  • Next.js (v14.0.0): Used for building and serving the application.
  • Vercel Analytics (v1.1.1): Analytics integration for Vercel deployments.

Scripts

  • dev: Run the development server with next dev.
  • build: Build the application for production using next build.
  • start: Start the production server with next start.
  • lint: Lint the project using next lint.

Getting Started

  1. Clone this repository.
  2. Install dependencies with npm install.
  3. Run the development server with npm run dev.
  4. Build for production using npm run build.
  5. Start the production server with npm start.

Project Structure

The project is organized into the following key components:

  • pages: This directory houses the various pages of your blog, including the home page and individual post pages.

  • components: Here, you'll find reusable components such as the navbar, footer, and post components, keeping your codebase modular and clean.

  • public: Static assets like images and icons are stored in this directory.

  • sampleposts: Discover sample blog posts in Markdown format. Easily add your own by creating Markdown files in this directory.

  • next.config.js: The configuration file for Next.js, allowing you to tailor the behavior of your blog.

  • package.json: A manifest of your project, listing dependencies and scripts.

Usage

Once your project is set up, unleash your creativity by customizing components, styles, and content according to your preferences. To add new posts, simply create Markdown files in the sampleposts directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.

nextui-blog-template's People

Contributors

dependabot[bot] avatar sametcn99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.