This is a modern and responsive blog website built with ReactJS, Vite, and Tailwind CSS. It boasts a user-friendly interface and features dynamic content loading from local JSON files.
blogWebsite.mp4
- Home: Displays featured posts and latest posts.
- Tags: Filters posts by tags.
- Authors: Displays posts by authors.
- Archive: Lists posts chronologically.
- Contact: Provides contact information.
- Single Blog Post: Displays detailed content for each post.
- archiveDropdown: Simplifies archive navigation.
- featuredpost: Highlights prominent posts on the homepage.
- featuredpostcard: Creates visually appealing cards for featured posts.
- footer: Presents essential site information at the bottom.
- navbar: Enables navigation between major pages.
- latestpost: Showcases recent posts on the homepage.
- latestpostcard: Designs attractive cards for latest posts.
- subscribe: Offers a subscription form for users.
ReactJS: JavaScript library for building user interfaces.
Vite: Build tool for optimizing development and production builds.
Tailwind CSS: Utility-first CSS framework for rapid styling.
JSON file located in the data directory store post and author information.
git clone https://github.com/pawantech12/personal-blog-website.git
cd personal-blog-website-master
npm install or npm i
(or `yarn install` if you prefer Yarn)
npm run dev
``` (or `yarn dev`)
This will usually start the server on http://localhost:5173 by default.
- The website uses Tailwind CSS for styling. You can customize the styles by modifying the tailwind.config.js file or adding custom CSS in the src/styles directory.
- You can extend the components or create new ones to enhance the website's functionality as needed.
- Update the JSON data in the data directory with your actual blog post and author information.
npm run build (or `yarn build`)
Deploy the generated static files to a hosting platform that supports frontend applications (e.g., Netlify, Vercel, GitHub Pages).