Skip to content

Anas610/ANAS-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANAS - Next.js Blog Website

Welcome to ANAS, a Next.js blog website styled with Chakra UI and validated with Yup and Formik. This README file provides a guide to help you navigate and understand the structure and functionality of the website.

Table of Contents

Getting Started

To get started with ANAS, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the required dependencies using npm install.
  3. Start the development server using npm run dev.
  4. Open your browser and navigate to http://localhost:3000.

Navigation

The ANAS website features a navigation bar that allows you to easily access different pages. The navigation bar includes the ANAS logo that can direct you to the home page and the following links:

  • Blog: Clicking on this link will take you to the home page that displays all the blog posts.
  • New Blog: This button will direct you to the form page where you can add a new blog post.

Home Page

The home page of ANAS displays a list of all the blog posts. Each post is represented by an author and a title and a brief summary. To view the full details of a specific post, click directly on it.

Post Details Page

When you click on a blog post at the home page, you will be directed to the post details page. This page provides in-depth information about the selected blog post, including the title, author, content, and Comments. From here, you can read the full blog post and read any available comments.

Adding a New Blog Post

To add a new blog post to ANAS, follow these steps:

  1. Click on the "New Blog" button in the navigation bar.
  2. You will be redirected to the form page, where you can enter the details of your new blog post.
  3. Fill in the required fields, such as the title, author, and content of the blog post.
  4. Once you have entered all the necessary information, click on the "Submit" button to add the post.
  5. The new blog post will now be visible on the home page.

That's it! You now have a basic understanding of how to use ANAS, a Next.js blog website. Feel free to explore more features and functionalities of the website and make the most out of your blogging experience. Happy blogging!