Category: Bootstrap 5

  • Reactjs Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Reactjs Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Hello my friends, welcome back to my blog. Today in this blog post, I am going to show you, Reactjs Free Responsive Admin Dashboard with Day Night Switch Theme Mode.

    Guy’s with this we will cover below things:

    1. Reactjs Bootstrap Responsive Admin Template Creation.
    2. React Bootstrap Responsive Toggle Navbar.
    3. React Toggle Sidebar.
    Reactjs Free Responsvie Templates

    Reactjs Free Responsive Admin Dashboard with Day Night Switch Theme Mode
    Reactjs Free Responsive Admin Dashboard with Day Night Switch Theme Mode
    Dark Mode
    Dark Mode

    For react js new comers, please check the below links:

    1. Reactjs Tutorials
    2. Bootstrap 5
    3. React Free Ecommerce Templates

    Friends now I proceed onwards and here is the working code snippet and please use this carefully to avoid the mistakes:

    1. Firstly friends we need fresh reactjs setup and for that we need to run below commands into our terminal and also w should have latest node version installed on our system:

    Guys you can skip this first step if you already have reactjs fresh setup:

    npx create-react-app reacttemplate
    
    cd reacttemplate
    
    npm start // run the project

    2. Now friends, please download zip(in this zip file there are js, css, fonts and images for landing template) file from below path and extract zip and get all the folders.

    Create `assets` folder inside reacttemplate/public folder.

    Now please put that folders(which we will get from zip file) in “reacttemplate/public/assets” folder.

    https://therichpost.com/daynigthadmin.zip

    3. Now friends please add below inside  reacttemplate/public/index.html file:

    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="utf-8" />
        <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <meta name="theme-color" content="#000000" />
        <meta
          name="description"
          content="Web site created using create-react-app"
        />
        <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
        <!--
          manifest.json provides metadata used when your web app is installed on a
          user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
        -->
        <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
        <!--
          Notice the use of %PUBLIC_URL% in the tags above.
          It will be replaced with the URL of the `public` folder during the build.
          Only files inside the `public` folder can be referenced from the HTML.
    
          Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
          work correctly both with client-side routing and a non-root public URL.
          Learn how to configure a non-root public URL by running `npm run build`.
        -->
        <title>React App</title>
         
      
        
      <!-- Custom styles -->
      <link rel="stylesheet" href="assets/css/style.min.css">
      <!-- Chart library -->
      <script src="assets/plugins/chart.min.js"></script>
     
      
      </head>
      <body >
      
        <div id="root"></div>
       
      </body>
       <!-- Icons library -->
       <script src="assets/plugins/feather.min.js"></script>
       <script src="assets/js/script.js"></script>
    </html>

    4. Finally friends we need to add below code into our reacttemplate/src/App.js file to get final output on web browser:

    import React from 'react';
    
    
    class App extends React.Component {
    
      render(){
      return (
        <div className="MainDiv">
         <div class="layer"></div>
    
    <a class="skip-link sr-only" href="#skip-target">Skip to content</a>
    <div class="page-flex">
      
      <aside class="sidebar">
        <div class="sidebar-start">
            <div class="sidebar-head">
                <a href="/" class="logo-wrapper" title="Home">
                    <span class="sr-only">Home</span>
                    <span class="icon logo" aria-hidden="true"></span>
                    <div class="logo-text">
                        <span class="logo-title">Jassa</span>
                        <span class="logo-subtitle">Dashboard</span>
                    </div>
                </a>
                <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
                    <span class="sr-only">Toggle menu</span>
                    <span class="icon menu-toggle" aria-hidden="true"></span>
                </button>
            </div>
            <div class="sidebar-body">
                <ul class="sidebar-body-menu">
                    <li>
                        <a class="active" href="/"><span class="icon home" aria-hidden="true"></span>Dashboard</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon document" aria-hidden="true"></span>Posts
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All Posts</a>
                            </li>
                            <li>
                                <a href="#">Add new post</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon folder" aria-hidden="true"></span>Categories
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All categories</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon image" aria-hidden="true"></span>Media
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Media-01</a>
                            </li>
                            <li>
                                <a href="#">Media-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon paper" aria-hidden="true"></span>Pages
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All pages</a>
                            </li>
                            <li>
                                <a href="#">Add new page</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <span class="icon message" aria-hidden="true"></span>
                            Comments
                        </a>
                        <span class="msg-counter">7</span>
                    </li>
                </ul>
                <span class="system-menu__title">system</span>
                <ul class="sidebar-body-menu">
                    <li>
                        <a href="#"><span class="icon edit" aria-hidden="true"></span>Appearance</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon category" aria-hidden="true"></span>Extentions
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Extentions-01</a>
                            </li>
                            <li>
                                <a href="#">Extentions-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon user-3" aria-hidden="true"></span>Users
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Users-01</a>
                            </li>
                            <li>
                                <a href="#">Users-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="##"><span class="icon setting" aria-hidden="true"></span>Settings</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="sidebar-footer">
            <a href="##" class="sidebar-user">
                <span class="sidebar-user-img">
                    <picture><source srcset="assets/img/avatar/avatar-illustrated-01.webp" type="image/webp" /><img src="assets/img/avatar/avatar-illustrated-01.png" alt="User name" /></picture>
                </span>
                <div class="sidebar-user-info">
                    <span class="sidebar-user__title">Jassa</span>
                    <span class="sidebar-user__subtitle">Support manager</span>
                </div>
            </a>
        </div>
    </aside>
      <div class="main-wrapper">
      
        <nav class="main-nav--bg">
      <div class="container main-nav">
        <div class="main-nav-start">
          <div class="search-wrapper">
            <i data-feather="search" aria-hidden="true"></i>
            <input type="text" placeholder="Enter keywords ..." required />
          </div>
        </div>
        <div class="main-nav-end">
          <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
            <span class="sr-only">Toggle menu</span>
            <span class="icon menu-toggle--gray" aria-hidden="true"></span>
          </button>
          <div class="lang-switcher-wrapper">
            <button class="lang-switcher transparent-btn" type="button">
              EN
              <i data-feather="chevron-down" aria-hidden="true"></i>
            </button>
            <ul class="lang-menu dropdown">
              <li><a href="##">English</a></li>
              <li><a href="##">French</a></li>
              <li><a href="##">Uzbek</a></li>
            </ul>
          </div>
          <button class="theme-switcher gray-circle-btn" type="button" title="Switch theme">
            <span class="sr-only">Switch theme</span>
            <i class="sun-icon" data-feather="sun" aria-hidden="true"></i>
            <i class="moon-icon" data-feather="moon" aria-hidden="true"></i>
          </button>
          <div class="notification-wrapper">
            <button class="gray-circle-btn dropdown-btn" title="To messages" type="button">
              <span class="sr-only">To messages</span>
              <span class="icon notification active" aria-hidden="true"></span>
            </button>
            <ul class="users-item-dropdown notification-dropdown dropdown">
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">System just updated</span>
                    <span class="notification-dropdown__subtitle">The system has been successfully upgraded. Read more
                      here.</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon danger">
                    <i data-feather="info" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">The cache is full!</span>
                    <span class="notification-dropdown__subtitle">Unnecessary caches take up a lot of memory space and
                      interfere ...</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">New Subscriber here!</span>
                    <span class="notification-dropdown__subtitle">A new subscriber has subscribed.</span>
                  </div>
                </a>
              </li>
              <li>
                <a class="link-to-page" href="##">Go to Notifications page</a>
              </li>
            </ul>
          </div>
          <div class="nav-user-wrapper">
            <button href="##" class="nav-user-btn dropdown-btn" title="My profile" type="button">
              <span class="sr-only">My profile</span>
              <span class="nav-user-img">
                <picture><source srcset="assets/img/avatar/avatar-illustrated-02.webp" type="image/webp" /><img src="assets/img/avatar/avatar-illustrated-02.png" alt="User name" /></picture>
              </span>
            </button>
            <ul class="users-item-dropdown nav-user-dropdown dropdown">
              <li><a href="##">
                  <i data-feather="user" aria-hidden="true"></i>
                  <span>Profile</span>
                </a></li>
              <li><a href="##">
                  <i data-feather="settings" aria-hidden="true"></i>
                  <span>Account settings</span>
                </a></li>
              <li><a class="danger" href="##">
                  <i data-feather="log-out" aria-hidden="true"></i>
                  <span>Log out</span>
                </a></li>
            </ul>
          </div>
        </div>
      </div>
    </nav>
      
        <main class="main users chart-page" id="skip-target">
          <div class="container">
            <h2 class="main-title">Dashboard</h2>
            <div class="row stat-cards">
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon primary">
                    <i data-feather="bar-chart-2" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>4.07%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon warning">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.24%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon purple">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit danger">
                        <i data-feather="trending-down" aria-hidden="true"></i>1.64%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon success">
                    <i data-feather="feather" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit warning">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.00%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
            </div>
            <div class="row">
              <div class="col-lg-9">
                <div class="chart">
                  <canvas id="myChart" aria-label="Site statistics" role="img"></canvas>
                </div>
                <div class="users-table table-wrapper">
                  <table class="posts-table">
                    <thead>
                      <tr class="users-table-info">
                        <th>
                          <label class="users-table__checkbox ms-20">
                            <input type="checkbox" class="check-all" />Thumbnail
                          </label>
                        </th>
                        <th>Title</th>
                        <th>Author</th>
                        <th>Status</th>
                        <th>Date</th>
                        <th>Action</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/01.webp" type="image/webp" /><img src="assets/img/categories/01.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Starting your traveling blog with Vasco
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/02.webp" type="image/webp" /><img src="assets/img/categories/02.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Start a blog to reach your creative peak
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="assets/img/avatar/avatar-face-03.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>23.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/03.webp" type="image/webp" /><img src="assets/img/categories/03.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Helping a local business reinvent itself
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/04.webp" type="image/webp" /><img src="assets/img/categories/04.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Caring is the new marketing
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/01.webp" type="image/webp" /><img src="assets/img/categories/01.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="assets/img/avatar/avatar-face-03.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check" />
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/03.webp" type="image/webp" /><img src="assets/img/categories/03.jpg" alt="category" /></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp" /><img src="assets/img/avatar/avatar-face-03.png" alt="User Name" /></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <div class="col-lg-3">
                <article class="customers-wrapper">
                  <canvas id="customersChart" aria-label="Customers statistics" role="img"></canvas>
                 
                </article>
                <article class="white-block">
                  <div class="top-cat-title">
                    <h3>Top categories</h3>
                    <p>28 Categories, 1400 Posts</p>
                  </div>
                  <ul class="top-cat-list">
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Lifestyle <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy lifestyle articles <span class="purple">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Tutorials <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Coding tutorials <span class="blue">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Technology <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy technology articles <span class="danger">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          UX design <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          UX design tips <span class="success">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Interaction tips <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Interaction articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          App development <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Mobile development articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Nature <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Wildlife animal articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Geography <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Geography articles <span class="primary">+472</span>
                        </div>
                      </a>
                    </li>
                  </ul>
                </article>
              </div>
            </div>
          </div>
        </main>
       
        <footer class="footer">
      <div class="container footer--flex">
        <div class="footer-start">
          <p>2021 © Therichpost Dashboard - <a href="https://therichpost.com" target="_blank"
              rel="noopener noreferrer">therichpost.com</a></p>
        </div>
        <ul class="footer-end">
          <li><a href="##">About</a></li>
          <li><a href="##">Support</a></li>
          <li><a href="##">Puchase</a></li>
        </ul>
      </div>
    </footer>
      </div>
    </div>
          </div>
      );
    }
    }
    export default App;

    Now we are done friends also and If you have any kind of query or suggestion or any requirement then feel free to comment below. Guys I will come with more React-Bootstrap free templates.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements. For better understanding must watch video above.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.

    Jassa

    Thanks

  • Asp.Net Core 5 Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Asp.Net Core 5 Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Hello friends, welcome back to my blog. Today in this blog post, I am going to show you, Asp.Net Core 5 Free Responsive Admin Dashboard with Day Night Switch Theme Mode.

    Working Video
    Asp.Net Core 5 Free Responsive Admin Dashboard with Day Night Switch Theme Mode
    Asp.Net Core 5 Free Responsive Admin Dashboard with Day Night Switch Theme Mode
    Dark View
    Dark View

    .Net Core 5 came and if you are new then you must check below two links:

    1. ASP.NetCore 5

    Friends now I proceed onwards and here is the working code snippet and use this carefully to avoid the mistakes:

    1. Firstly friends we need .net core 5 installed on our machine and for this please check below link:

    https://dotnet.microsoft.com/download

    2. Now guy’s we need to install c# extension inside our visual studio code editor and for this please check below images:

    install c# in visual studio code
    install c# in visual studio code

    3. Now guy’s create `demo` folder and open that folder inside visual studio code and run below command to get fresh project setup of .net code 5:

    dotnet new webApp -o testproject

    4. Now guy’s add below code inside testproject/Pages/Index.cshtml file to check output on web browser:

    @page
    @model IndexModel
    @{
        ViewData["Title"] = "Home page";
    }
    <div class="layer"></div>
    <!-- ! Body -->
    <a class="skip-link sr-only" href="#skip-target">Skip to content</a>
    <div class="page-flex">
      <!-- ! Sidebar -->
      <aside class="sidebar">
        <div class="sidebar-start">
            <div class="sidebar-head">
                <a href="/" class="logo-wrapper" title="Home">
                    <span class="sr-only">Home</span>
                    <span class="icon logo" aria-hidden="true"></span>
                    <div class="logo-text">
                        <span class="logo-title">Jassa</span>
                        <span class="logo-subtitle">Dashboard</span>
                    </div>
                </a>
                <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
                    <span class="sr-only">Toggle menu</span>
                    <span class="icon menu-toggle" aria-hidden="true"></span>
                </button>
            </div>
            <div class="sidebar-body">
                <ul class="sidebar-body-menu">
                    <li>
                        <a class="active" href="/"><span class="icon home" aria-hidden="true"></span>Dashboard</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon document" aria-hidden="true"></span>Posts
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All Posts</a>
                            </li>
                            <li>
                                <a href="#">Add new post</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon folder" aria-hidden="true"></span>Categories
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All categories</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon image" aria-hidden="true"></span>Media
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Media-01</a>
                            </li>
                            <li>
                                <a href="#">Media-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon paper" aria-hidden="true"></span>Pages
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All pages</a>
                            </li>
                            <li>
                                <a href="#">Add new page</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <span class="icon message" aria-hidden="true"></span>
                            Comments
                        </a>
                        <span class="msg-counter">7</span>
                    </li>
                </ul>
                <span class="system-menu__title">system</span>
                <ul class="sidebar-body-menu">
                    <li>
                        <a href="#"><span class="icon edit" aria-hidden="true"></span>Appearance</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon category" aria-hidden="true"></span>Extentions
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Extentions-01</a>
                            </li>
                            <li>
                                <a href="#">Extentions-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon user-3" aria-hidden="true"></span>Users
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Users-01</a>
                            </li>
                            <li>
                                <a href="#">Users-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="##"><span class="icon setting" aria-hidden="true"></span>Settings</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="sidebar-footer">
            <a href="##" class="sidebar-user">
                <span class="sidebar-user-img">
                    <picture><source srcset="img/avatar/avatar-illustrated-01.webp" type="image/webp"><img src="img/avatar/avatar-illustrated-01.png" alt="User name"></picture>
                </span>
                <div class="sidebar-user-info">
                    <span class="sidebar-user__title">Jassa</span>
                    <span class="sidebar-user__subtitle">Support manager</span>
                </div>
            </a>
        </div>
    </aside>
      <div class="main-wrapper">
        <!-- ! Main nav -->
        <nav class="main-nav--bg">
      <div class="container main-nav">
        <div class="main-nav-start">
          <div class="search-wrapper">
            <i data-feather="search" aria-hidden="true"></i>
            <input type="text" placeholder="Enter keywords ..." required>
          </div>
        </div>
        <div class="main-nav-end">
          <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
            <span class="sr-only">Toggle menu</span>
            <span class="icon menu-toggle--gray" aria-hidden="true"></span>
          </button>
          <div class="lang-switcher-wrapper">
            <button class="lang-switcher transparent-btn" type="button">
              EN
              <i data-feather="chevron-down" aria-hidden="true"></i>
            </button>
            <ul class="lang-menu dropdown">
              <li><a href="##">English</a></li>
              <li><a href="##">French</a></li>
              <li><a href="##">Uzbek</a></li>
            </ul>
          </div>
          <button class="theme-switcher gray-circle-btn" type="button" title="Switch theme">
            <span class="sr-only">Switch theme</span>
            <i class="sun-icon" data-feather="sun" aria-hidden="true"></i>
            <i class="moon-icon" data-feather="moon" aria-hidden="true"></i>
          </button>
          <div class="notification-wrapper">
            <button class="gray-circle-btn dropdown-btn" title="To messages" type="button">
              <span class="sr-only">To messages</span>
              <span class="icon notification active" aria-hidden="true"></span>
            </button>
            <ul class="users-item-dropdown notification-dropdown dropdown">
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">System just updated</span>
                    <span class="notification-dropdown__subtitle">The system has been successfully upgraded. Read more
                      here.</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon danger">
                    <i data-feather="info" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">The cache is full!</span>
                    <span class="notification-dropdown__subtitle">Unnecessary caches take up a lot of memory space and
                      interfere ...</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">New Subscriber here!</span>
                    <span class="notification-dropdown__subtitle">A new subscriber has subscribed.</span>
                  </div>
                </a>
              </li>
              <li>
                <a class="link-to-page" href="##">Go to Notifications page</a>
              </li>
            </ul>
          </div>
          <div class="nav-user-wrapper">
            <button href="##" class="nav-user-btn dropdown-btn" title="My profile" type="button">
              <span class="sr-only">My profile</span>
              <span class="nav-user-img">
                <picture><source srcset="img/avatar/avatar-illustrated-02.webp" type="image/webp"><img src="img/avatar/avatar-illustrated-02.png" alt="User name"></picture>
              </span>
            </button>
            <ul class="users-item-dropdown nav-user-dropdown dropdown">
              <li><a href="##">
                  <i data-feather="user" aria-hidden="true"></i>
                  <span>Profile</span>
                </a></li>
              <li><a href="##">
                  <i data-feather="settings" aria-hidden="true"></i>
                  <span>Account settings</span>
                </a></li>
              <li><a class="danger" href="##">
                  <i data-feather="log-out" aria-hidden="true"></i>
                  <span>Log out</span>
                </a></li>
            </ul>
          </div>
        </div>
      </div>
    </nav>
        <!-- ! Main -->
        <main class="main users chart-page" id="skip-target">
          <div class="container">
            <h2 class="main-title">Dashboard</h2>
            <div class="row stat-cards">
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon primary">
                    <i data-feather="bar-chart-2" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>4.07%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon warning">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.24%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon purple">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit danger">
                        <i data-feather="trending-down" aria-hidden="true"></i>1.64%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon success">
                    <i data-feather="feather" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit warning">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.00%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
            </div>
            <div class="row">
              <div class="col-lg-9">
                <div class="chart">
                  <canvas id="myChart" aria-label="Site statistics" role="img"></canvas>
                </div>
                <div class="users-table table-wrapper">
                  <table class="posts-table">
                    <thead>
                      <tr class="users-table-info">
                        <th>
                          <label class="users-table__checkbox ms-20">
                            <input type="checkbox" class="check-all">Thumbnail
                          </label>
                        </th>
                        <th>Title</th>
                        <th>Author</th>
                        <th>Status</th>
                        <th>Date</th>
                        <th>Action</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/01.webp" type="image/webp"><img src="img/categories/01.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Starting your traveling blog with Vasco
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/02.webp" type="image/webp"><img src="img/categories/02.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Start a blog to reach your creative peak
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>23.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/03.webp" type="image/webp"><img src="img/categories/03.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Helping a local business reinvent itself
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/04.webp" type="image/webp"><img src="img/categories/04.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Caring is the new marketing
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/01.webp" type="image/webp"><img src="img/categories/01.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="img/categories/03.webp" type="image/webp"><img src="img/categories/03.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <div class="col-lg-3">
                <article class="customers-wrapper">
                  <canvas id="customersChart" aria-label="Customers statistics" role="img"></canvas>
               
                </article>
                <article class="white-block">
                  <div class="top-cat-title">
                    <h3>Top categories</h3>
                    <p>28 Categories, 1400 Posts</p>
                  </div>
                  <ul class="top-cat-list">
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Lifestyle <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy lifestyle articles <span class="purple">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Tutorials <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Coding tutorials <span class="blue">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Technology <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy technology articles <span class="danger">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          UX design <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          UX design tips <span class="success">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Interaction tips <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Interaction articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          App development <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Mobile development articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Nature <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Wildlife animal articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Geography <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Geography articles <span class="primary">+472</span>
                        </div>
                      </a>
                    </li>
                  </ul>
                </article>
              </div>
            </div>
          </div>
        </main>
        <!-- ! Footer -->
        <footer class="footer">
      <div class="container footer--flex">
        <div class="footer-start">
          <p>2021 © Therichpost Dashboard - <a href="https://therichpost.com" target="_blank"
              rel="noopener noreferrer">therichpost.com</a></p>
        </div>
        <ul class="footer-end">
          <li><a href="##">About</a></li>
          <li><a href="##">Support</a></li>
          <li><a href="##">Puchase</a></li>
        </ul>
      </div>
    </footer>
      </div>
    </div>
    5. Now guy’s add below code inside testproject/Pages/Shared/_Layout.cshtml file to check output on web browser:
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>@ViewData["Title"] - testproject</title>
      <!-- Custom styles -->
      <link rel="stylesheet" href="~/css/style.min.css">
      <!-- Chart library -->
      <script src="~/plugins/chart.min.js"></script>
      <!-- Icons library -->
      <script src="~/plugins/feather.min.js"></script>
      <!--custom script -->
      <script src="~/js/script.js"></script>
    
    </head>
    <body>
       @RenderBody()
      
    </body>
    </html>
    </html>

    6. Now friends, please download zip(in this zip file there are js, css, fonts and images for website template) file from below path and extract zip and get all the folders and place them inside wwwroot folder:

    https://therichpost.com/daynigthadmin.zip

    7. Now guy’s in the end please run below command inside your project terminal and check the output:

    dotnet watch run //http://localhost:5000/

    Now we are done friends also and If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.

    Jassa

    Thanks

  • Angular 12 Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Angular 12 Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Hello friends, welcome back to my blog. Today this blog post I will tell you, Angular 12 Free Responsive Admin Dashboard with Day Night Switch Theme Mode.


    Angular 12 Free Dashboard

    Angular 12 Free Responsive Admin Dashboard with Day Night Switch Theme Mode
    Angular 12 Free Responsive Admin Dashboard with Day Night Switch Theme Mode

    Angular12 came and if you are new then you must check below two links:

    1. Angular12 Basic Tutorials
    2. Bootstrap 5

    Friends now I proceed onwards and here is the working code snippet and please use carefully this to avoid the mistakes:

    1. Firstly friends we need fresh angular 12 setup and for this we need to run below commands but if you already have angular 12 setup then you can avoid below commands. Secondly we should also have latest node version installed on our system:

    npm install -g @angular/cli 
    
    ng new angularadmin //Create new Angular Project
    
    cd angularadmin // Go inside the Angular Project Folder

    2. Now guy’s we need to add below code inside src/app/app.component.html file:

    <div class="layer"></div>
    <!-- ! Body -->
    <a class="skip-link sr-only" href="#skip-target">Skip to content</a>
    <div class="page-flex">
      <!-- ! Sidebar -->
      <aside class="sidebar">
        <div class="sidebar-start">
            <div class="sidebar-head">
                <a href="/" class="logo-wrapper" title="Home">
                    <span class="sr-only">Home</span>
                    <span class="icon logo" aria-hidden="true"></span>
                    <div class="logo-text">
                        <span class="logo-title">Jassa</span>
                        <span class="logo-subtitle">Dashboard</span>
                    </div>
                </a>
                <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
                    <span class="sr-only">Toggle menu</span>
                    <span class="icon menu-toggle" aria-hidden="true"></span>
                </button>
            </div>
            <div class="sidebar-body">
                <ul class="sidebar-body-menu">
                    <li>
                        <a class="active" href="/"><span class="icon home" aria-hidden="true"></span>Dashboard</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon document" aria-hidden="true"></span>Posts
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All Posts</a>
                            </li>
                            <li>
                                <a href="#">Add new post</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon folder" aria-hidden="true"></span>Categories
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All categories</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon image" aria-hidden="true"></span>Media
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Media-01</a>
                            </li>
                            <li>
                                <a href="#">Media-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon paper" aria-hidden="true"></span>Pages
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">All pages</a>
                            </li>
                            <li>
                                <a href="#">Add new page</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <span class="icon message" aria-hidden="true"></span>
                            Comments
                        </a>
                        <span class="msg-counter">7</span>
                    </li>
                </ul>
                <span class="system-menu__title">system</span>
                <ul class="sidebar-body-menu">
                    <li>
                        <a href="#"><span class="icon edit" aria-hidden="true"></span>Appearance</a>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon category" aria-hidden="true"></span>Extentions
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Extentions-01</a>
                            </li>
                            <li>
                                <a href="#">Extentions-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="show-cat-btn" href="##">
                            <span class="icon user-3" aria-hidden="true"></span>Users
                            <span class="category__btn transparent-btn" title="Open list">
                                <span class="sr-only">Open list</span>
                                <span class="icon arrow-down" aria-hidden="true"></span>
                            </span>
                        </a>
                        <ul class="cat-sub-menu">
                            <li>
                                <a href="#">Users-01</a>
                            </li>
                            <li>
                                <a href="#">Users-02</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="##"><span class="icon setting" aria-hidden="true"></span>Settings</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="sidebar-footer">
            <a href="##" class="sidebar-user">
                <span class="sidebar-user-img">
                    <picture><source srcset="assets/img/avatar/avatar-illustrated-01.webp" type="image/webp"><img src="assets/img/avatar/avatar-illustrated-01.png" alt="User name"></picture>
                </span>
                <div class="sidebar-user-info">
                    <span class="sidebar-user__title">Jassa</span>
                    <span class="sidebar-user__subtitle">Support manager</span>
                </div>
            </a>
        </div>
    </aside>
      <div class="main-wrapper">
        <!-- ! Main nav -->
        <nav class="main-nav--bg">
      <div class="container main-nav">
        <div class="main-nav-start">
          <div class="search-wrapper">
            <i data-feather="search" aria-hidden="true"></i>
            <input type="text" placeholder="Enter keywords ..." required>
          </div>
        </div>
        <div class="main-nav-end">
          <button class="sidebar-toggle transparent-btn" title="Menu" type="button">
            <span class="sr-only">Toggle menu</span>
            <span class="icon menu-toggle--gray" aria-hidden="true"></span>
          </button>
          <div class="lang-switcher-wrapper">
            <button class="lang-switcher transparent-btn" type="button">
              EN
              <i data-feather="chevron-down" aria-hidden="true"></i>
            </button>
            <ul class="lang-menu dropdown">
              <li><a href="##">English</a></li>
              <li><a href="##">French</a></li>
              <li><a href="##">Uzbek</a></li>
            </ul>
          </div>
          <button class="theme-switcher gray-circle-btn" type="button" title="Switch theme">
            <span class="sr-only">Switch theme</span>
            <i class="sun-icon" data-feather="sun" aria-hidden="true"></i>
            <i class="moon-icon" data-feather="moon" aria-hidden="true"></i>
          </button>
          <div class="notification-wrapper">
            <button class="gray-circle-btn dropdown-btn" title="To messages" type="button">
              <span class="sr-only">To messages</span>
              <span class="icon notification active" aria-hidden="true"></span>
            </button>
            <ul class="users-item-dropdown notification-dropdown dropdown">
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">System just updated</span>
                    <span class="notification-dropdown__subtitle">The system has been successfully upgraded. Read more
                      here.</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon danger">
                    <i data-feather="info" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">The cache is full!</span>
                    <span class="notification-dropdown__subtitle">Unnecessary caches take up a lot of memory space and
                      interfere ...</span>
                  </div>
                </a>
              </li>
              <li>
                <a href="##">
                  <div class="notification-dropdown-icon info">
                    <i data-feather="check" aria-hidden="true"></i>
                  </div>
                  <div class="notification-dropdown-text">
                    <span class="notification-dropdown__title">New Subscriber here!</span>
                    <span class="notification-dropdown__subtitle">A new subscriber has subscribed.</span>
                  </div>
                </a>
              </li>
              <li>
                <a class="link-to-page" href="##">Go to Notifications page</a>
              </li>
            </ul>
          </div>
          <div class="nav-user-wrapper">
            <button href="##" class="nav-user-btn dropdown-btn" title="My profile" type="button">
              <span class="sr-only">My profile</span>
              <span class="nav-user-img">
                <picture><source srcset="assets/img/avatar/avatar-illustrated-02.webp" type="image/webp"><img src="assets/img/avatar/avatar-illustrated-02.png" alt="User name"></picture>
              </span>
            </button>
            <ul class="users-item-dropdown nav-user-dropdown dropdown">
              <li><a href="##">
                  <i data-feather="user" aria-hidden="true"></i>
                  <span>Profile</span>
                </a></li>
              <li><a href="##">
                  <i data-feather="settings" aria-hidden="true"></i>
                  <span>Account settings</span>
                </a></li>
              <li><a class="danger" href="##">
                  <i data-feather="log-out" aria-hidden="true"></i>
                  <span>Log out</span>
                </a></li>
            </ul>
          </div>
        </div>
      </div>
    </nav>
        <!-- ! Main -->
        <main class="main users chart-page" id="skip-target">
          <div class="container">
            <h2 class="main-title">Dashboard</h2>
            <div class="row stat-cards">
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon primary">
                    <i data-feather="bar-chart-2" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>4.07%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon warning">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit success">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.24%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon purple">
                    <i data-feather="file" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit danger">
                        <i data-feather="trending-down" aria-hidden="true"></i>1.64%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
              <div class="col-md-6 col-xl-3">
                <article class="stat-cards-item">
                  <div class="stat-cards-icon success">
                    <i data-feather="feather" aria-hidden="true"></i>
                  </div>
                  <div class="stat-cards-info">
                    <p class="stat-cards-info__num">1478 286</p>
                    <p class="stat-cards-info__title">Total visits</p>
                    <p class="stat-cards-info__progress">
                      <span class="stat-cards-info__profit warning">
                        <i data-feather="trending-up" aria-hidden="true"></i>0.00%
                      </span>
                      Last month
                    </p>
                  </div>
                </article>
              </div>
            </div>
            <div class="row">
              <div class="col-lg-9">
                <div class="chart">
                  <canvas id="myChart" aria-label="Site statistics" role="img"></canvas>
                </div>
                <div class="users-table table-wrapper">
                  <table class="posts-table">
                    <thead>
                      <tr class="users-table-info">
                        <th>
                          <label class="users-table__checkbox ms-20">
                            <input type="checkbox" class="check-all">Thumbnail
                          </label>
                        </th>
                        <th>Title</th>
                        <th>Author</th>
                        <th>Status</th>
                        <th>Date</th>
                        <th>Action</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/01.webp" type="image/webp"><img src="assets/img/categories/01.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Starting your traveling blog with Vasco
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/02.webp" type="image/webp"><img src="assets/img/categories/02.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Start a blog to reach your creative peak
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="assets/img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-pending">Pending</span></td>
                        <td>23.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/03.webp" type="image/webp"><img src="assets/img/categories/03.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Helping a local business reinvent itself
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/04.webp" type="image/webp"><img src="assets/img/categories/04.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          Caring is the new marketing
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/01.webp" type="image/webp"><img src="assets/img/categories/01.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="assets/img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <label class="users-table__checkbox">
                            <input type="checkbox" class="check">
                            <div class="categories-table-img">
                              <picture><source srcset="assets/img/categories/03.webp" type="image/webp"><img src="assets/img/categories/03.jpg" alt="category"></picture>
                            </div>
                          </label>
                        </td>
                        <td>
                          How to build a loyal community online and offline
                        </td>
                        <td>
                          <div class="pages-table-img">
                            <picture><source srcset="https://therichpost.com/wp-content/uploads/2021/03/avatar7.png" type="image/webp"><img src="assets/img/avatar/avatar-face-03.png" alt="User Name"></picture>
                            Jassa
                          </div>
                        </td>
                        <td><span class="badge-active">Active</span></td>
                        <td>17.04.2021</td>
                        <td>
                          <span class="p-relative">
                            <button class="dropdown-btn transparent-btn" type="button" title="More info">
                              <div class="sr-only">More info</div>
                              <i data-feather="more-horizontal" aria-hidden="true"></i>
                            </button>
                            <ul class="users-item-dropdown dropdown">
                              <li><a href="##">Edit</a></li>
                              <li><a href="##">Quick edit</a></li>
                              <li><a href="##">Trash</a></li>
                            </ul>
                          </span>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <div class="col-lg-3">
                <article class="customers-wrapper">
                  <canvas id="customersChart" aria-label="Customers statistics" role="img"></canvas>
                  <!--              <p class="customers__title">New Customers <span>+958</span></p>
                  <p class="customers__date">28 Daily Avg.</p>
                  <picture><source srcset="assets/img/svg/customers.svg" type="image/webp"><img src="assets/img/svg/customers.svg" alt=""></picture> -->
                </article>
                <article class="white-block">
                  <div class="top-cat-title">
                    <h3>Top categories</h3>
                    <p>28 Categories, 1400 Posts</p>
                  </div>
                  <ul class="top-cat-list">
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Lifestyle <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy lifestyle articles <span class="purple">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Tutorials <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Coding tutorials <span class="blue">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Technology <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Dailiy technology articles <span class="danger">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          UX design <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          UX design tips <span class="success">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Interaction tips <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Interaction articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          App development <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Mobile development articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Nature <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Wildlife animal articles <span class="warning">+472</span>
                        </div>
                      </a>
                    </li>
                    <li>
                      <a href="##">
                        <div class="top-cat-list__title">
                          Geography <span>8.2k</span>
                        </div>
                        <div class="top-cat-list__subtitle">
                          Geography articles <span class="primary">+472</span>
                        </div>
                      </a>
                    </li>
                  </ul>
                </article>
              </div>
            </div>
          </div>
        </main>
        <!-- ! Footer -->
        <footer class="footer">
      <div class="container footer--flex">
        <div class="footer-start">
          <p>2021 © Therichpost Dashboard - <a href="https://therichpost.com" target="_blank"
              rel="noopener noreferrer">therichpost.com</a></p>
        </div>
        <ul class="footer-end">
          <li><a href="##">About</a></li>
          <li><a href="##">Support</a></li>
          <li><a href="##">Puchase</a></li>
        </ul>
      </div>
    </footer>
      </div>
    </div>

    3. Now friends, please download zip(in this zip file there are  css and js for angular dashboard template) file from below path and extract zip and please put all the zip file folders in “src/assets” folder(which we will get from zip file):

    https://therichpost.com/daynigthadmin.zip

    4. Now guys please add the below code inside src/index.html file to styles and fonts:

    ...
    <head>
     ...
      <!-- Custom styles -->
      <link rel="stylesheet" href="assets/css/style.min.css">
      <!-- Chart library -->
      <script src="assets/plugins/chart.min.js"></script>
      <!-- Icons library -->
      <script src="assets/plugins/feather.min.js"></script>
      
    </head>
    <body>
    ...

    5. Now guys we need to add below code into anglaradmin/angular.json file:

    ...
    "scripts": [
                
                 "src/assets/js/script.js"
                 
                ],
    ...

    Friends in the end must run ng serve command into your terminal to run the angular 12 project (localhost:4200).

    Guys click here to check the Angular 12 Bootstrap 5 Free Templates.

    Now we are done friends. If you have any kind of query, suggestion and new requirement then feel free to comment below.

    Note: Friends, In this post, I just tell the basic setup and things, you can change the code according to your requirements.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad because with your views, I will make my next posts more good and helpful.

    Jassa

    Thanks

  • Reactjs Share Data Between Components with PROPS

    Reactjs Share Data Between Components with PROPS

    Hello friends, welcome again on my blog therichpost.com. Today in this post, I will tell you, Reactjs Share Data Between Components with PROPS.

    Here friends, for live working example please check the below video:

    Working Demo
    Reactjs Share Data Between Components with PROPS
    Reactjs Share Data Between Components with PROPS

    For Reactjs new comers, please check below link:

    1. Reactjs Basic
    2. ReactJS Tutorial

    Here is the code snippet and please follow carefully:

    1. Firstly friends we need fresh react set up and for this, we need to run below commands into our terminal or if you already have then no need for this step. Importantly we should have latest node version installed on our system:

    npx create-react-app therichpost
    
    cd therichpost
    
    npm start //this will make project run on browser http://localhost:3000/

    2. Now friends we need to run below commands into our project terminal to get bootstrap and its dependencies:

    npm install bootstrap --save
    
    npm i @popperjs/core
    
    npm start

    3. Now friends we are done with commands, now please open therichpost/src/App.js file and add below code inside it:

    import React from 'react';
    
    import './App.css';
    
    import 'bootstrap/dist/css/bootstrap.min.css';
    import About from './About';
    class App extends React.Component {
      constructor(props) {
        super(props);
        this.state = {
        DataShare : "JassaS."
       
    }
    
     }
      render(){
      return (
        <div className="MainDiv">
       
            
            <div className="container">
            
                <About parentToChild={this.state.DataShare} />
              
            </div>
          </div>
      );
    }
    }
    export default App;

    4. Now guys create new file About.js fine inside therichpost/src folder and add below code inside it:

    import React from 'react';
    
    class About extends React.Component {
       
    render() {
      return (
        <h2>{ this.props.parentToChild }</h2>
      );
      
    }
    
    }
    export default About;

    Now we are done friends. If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.
    I will appreciate that if you will tell your views for this post.Nothing matters if your views will good or bad.

    Jassa

    Thanks

  • How to add and run bootswatch in angular 12 application?

    How to add and run bootswatch in angular 12 application?

    Hello friends, welcome back to my blog. Today in this blog post, I am going to tell you, How to add and run bootswatch in angular 12 application?

    Working Video
    How to add and run bootswatch in angular 12 application?
    How to add and run bootswatch in angular 12 application?

    Guy’s Angular 12 came . if you are new then you must check below two links:

    1. Angular12 Basic Tutorials
    2. Angular Free Templates

    Friends now I proceed onwards and here is the working code snippet and please use carefully this to avoid the mistakes:

    1. Firstly friends we need fresh angular 12 setup and for this we need to run below commands but if you already have angular 12 setup then you can avoid below commands.

    Secondly we should also have latest node version installed on our system:

    npm install -g @angular/cli 
    
    ng new angulardemo //Create new Angular Project
    
    cd angulardemo // Go inside the Angular Project Folder
    
    ng serve --open // Run and Open the Angular Project
    
    http://localhost:4200/ // Working Angular Project Url

    2. Now friends, here we need to run below commands into our project terminal to install  bootstrap and bootswatch(defaults themes) modules into our angular application:

    npm i bootstrap
    
    npm i bootswatch
    
    ng serve --o //will run the angular project

    3. Now friends, here we need to add below  into our angular.json file:

    ...
     "styles": [
                  "src/styles.css",
                  "bootswatch/dist/superhero/bootstrap.min.css"
                ],
                "scripts": [
                  "bootstrap/dist/js/bootstrap.min.js"
                ]
    ...

    4. Now friends we just need to add below code into src/app/app.component.html file:

    <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
      <div class="container-fluid">
        <a class="navbar-brand" href="#">Navbar</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
    
        <div class="collapse navbar-collapse" id="navbarColor01">
          <ul class="navbar-nav me-auto">
            <li class="nav-item">
              <a class="nav-link active" href="#">Home
                <span class="visually-hidden">(current)</span>
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Features</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Pricing</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">About</a>
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
              <div class="dropdown-menu">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <a class="dropdown-item" href="#">Something else here</a>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="#">Separated link</a>
              </div>
            </li>
          </ul>
          <form class="d-flex">
            <input class="form-control me-sm-2" type="text" placeholder="Search">
            <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
          </form>
        </div>
      </div>
    </nav>
    //Add your more html code here
    //for more tutorials or project helo please ping me therichpost.com

    Now we are done friends. and please ng serve command to see the output. If you have any kind of query, suggestion and new requirement then feel free to comment below.

    Note: Friends, In this post, I just tell the basic setup and things, you can change the code according to your requirements. For better live working experience, please check the video on the top.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad because with your views, I will make my next posts more good and helpful.

    Jassa

    Thanks

  • Vue 3 Bootstrap 5 Carousel Slider Working Functionality Example

    Vue 3 Bootstrap 5 Carousel Slider Working Functionality Example

    Hello friends, welcome back to my blog. Today in this blog post, I am going to show you, Vue 3 Bootstrap 5 Carousel Slider Working Functionality Example.

    Working Demo

    Guy’s here you can see more Vue 3 Bootstrap 5 working example:

    1. Bootstrap 5 Popover working in Vue 3.
    2. Bootstrap 5 Tooltip working in Vue 3.
    3. Bootstrap5 Popup Modal with Forms in Vue 3.


    Vue 3 Bootstrap 5 Carousel Slider Working Functionality Example
    Vue 3 Bootstrap 5 Carousel Slider Working Functionality Example

    Vue 3 and Bootstrap 5 came and if you are new then you must check below two links:

    1. Vuejs
    2. Bootstrap 5

    Friends now I proceed onwards and here is the working code snippet and use this carefully to avoid the mistakes:

    1. Firstly friends we need fresh vue 3 setup and for this we need to run below commands . Secondly we should also have latest node version installed on our system. With below we will have  bootstrap 5.1.0 modules in our Vue 3 application:

    npm install -g @vue/cli
    
    vue create vueboot5
    
    cd vueboot5
    
    npm i bootstrap
    
    npm i @popperjs/core
    
    npm run serve //http://localhost:8080/

    2. Now friends we need to add below code into src/App.vue file to check the final output on browser:

    <template>
     <div class="container">
        <div class="row mt-5 mb-5">
          <div class="col-sm-12">
          <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
            <div class="carousel-indicators">
              <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
              <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
              <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
            </div>
            <div class="carousel-inner">
              <div class="carousel-item active">
                <img src="https://therichpost.com/wp-content/uploads/2021/10/Vue-3-Bootstrap-5-Carousel-Slider-Working-Functionaliy-Example.png" class="d-block w-100" alt="...">
              </div>
              <div class="carousel-item">
                <img src="https://therichpost.com/wp-content/uploads/2021/10/Vue-3-Bootstrap-5-Carousel-Slider-Working-Functionaliy-Example.png" class="d-block w-100" alt="...">
              </div>
              <div class="carousel-item">
                <img src="https://therichpost.com/wp-content/uploads/2021/10/Vue-3-Bootstrap-5-Carousel-Slider-Working-Functionaliy-Example.png" class="d-block w-100" alt="...">
              </div>
            </div>
            <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
              <span class="carousel-control-prev-icon" aria-hidden="true"></span>
              <span class="visually-hidden">Previous</span>
            </button>
            <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
              <span class="carousel-control-next-icon" aria-hidden="true"></span>
              <span class="visually-hidden">Next</span>
            </button>
          </div>
          </div>
          </div>
          </div>
    </template>
    
    <script>
    //importing bootstrap 5
    import "bootstrap/dist/css/bootstrap.min.css";
    import "bootstrap/dist/js/bootstrap.min.js";
    import * as Bootstrap from 'bootstrap'
    //import DemoComponent from "./components/DemoComponent.vue"
     
    export default {
      
     mounted(){
        var myCarousel = document.querySelector('#myCarousel')
           new Bootstrap.Carousel(myCarousel)
     }
    }
    </script>

    Now we are done friends  also and If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.

    Jassa

    Thanks

  • Create Your First ReactJS Application Responsive Page with Bootstrap 5

    Create Your First ReactJS Application Responsive Page with Bootstrap 5

    Hello friends, welcome again on my blog therichpost.com. Today in this post, I will tell you, Create Your First ReactJS Application Responsive Page with Bootstrap 5.

    Guys with this post we will do below things:

    1. Add Bootstrap 5 in Reactjs Application.
    2. Create responsive page in reactjs application.
    3. Here is the first part of this post : Part 1

    Here friends, for live working example please check the below video:

    Working Demo
    Create Your First ReactJS Application Responsive Page with Bootstrap 5
    Create Your First ReactJS Application Responsive Page with Bootstrap 5

    For Reactjs new comers, please check below link:

    1. Reactjs Basic
    2. ReactJS Tutorial

    Here is the code snippet and please follow carefully:

    1. Firstly friends we need fresh react set up and for this, we need to run below commands into our terminal or if you already have then no need for this step. Importantly we should have latest node version installed on our system:

    npx create-react-app therichpost
    
    cd therichpost
    
    npm start //this will make project run on browser http://localhost:3000/

    2. Now friends we need to run below commands into our project terminal to get bootstrap and its dependencies:

    npm install bootstrap --save
    
    npm i @popperjs/core
    
    npm start

    3. Now friends we are done with commands, now please open project/src/App.js file and add below code inside it:

    import logo from './logo.svg';
    import './App.css';
    import 'bootstrap/dist/css/bootstrap.min.css'
    import 'bootstrap/dist/js/bootstrap.min.js'
    function App() {
      return (
        <div className="App">
         <nav className="navbar navbar-expand-lg navbar-light bg-light">
    <div className="container-fluid">
    <a className="navbar-brand" href="https://therichpost.com/">Therichpost</a>
    <button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span className="navbar-toggler-icon"></span>
    </button> <div className="collapse navbar-collapse" id="navbarSupportedContent">
    <ul className="navbar-nav me-auto mb-2 mb-lg-0">
    <li className="nav-item">
    <a className="nav-link active" aria-current="page" href="#">Home</a>
    </li> <li className="nav-item">
    <a className="nav-link" href="#">Link</a>
    </li> <li className="nav-item dropdown">
    <a className="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    Dropdown </a> <ul className="dropdown-menu" aria-labelledby="navbarDropdown">
    <li><a className="dropdown-item" href="#">Action</a></li>
    <li><a className="dropdown-item" href="#">Another action</a></li>
    <li><hr className="dropdown-divider" /></li>
    <li><a className="dropdown-item" href="#">Something else here</a></li>
    </ul> </li> <li class="nav-item"> <a className="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
    </li> </ul> <form className="d-flex">
    <input className="form-control me-2" type="search" placeholder="Search" aria-label="Search" />
    <button className="btn btn-outline-success" type="submit">Search</button>
    </form> </div> </div> </nav> <div className="container-fluid bg-primary p-5 text-white text-center"> <h1>First React Js Page</h1> </div> <div className="container mt-5"> <div className="row"> <div className="col-sm-4"> <h2>Column 1</h2> <p> The .navbar-brand can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles. </p> </div> <div className="col-sm-4"> <h2>Column 2</h2> <p> The .navbar-brand can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles. </p> </div> <div className="col-sm-4"> <h2>Column 3</h2> <p> The .navbar-brand can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles. </p> </div> </div> </div> <div className="container-fluid bg-primary p-2 text-white text-center fixed-bottom"> <p>Footer</p> </div> </div> ); } export default App;

    Now we are done friends. If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.
    I will appreciate that if you will tell your views for this post.Nothing matters if your views will good or bad.

    Jassa

    Thanks

  • Sharing or Passing Data Between components in Vuejs Vue 3

    Sharing or Passing Data Between components in Vuejs Vue 3

    Hello friends, welcome back to my blog. Today in this blog post, I am going to show you, Sharing or Passing Data Between components in Vuejs Vue 3.

    Working Demo

    Guy’s here you can see more Vue 3 Bootstrap 5 working example:

    1. Bootstrap 5 Popover working in Vue 3.
    2. Bootstrap 5 Tooltip working in Vue 3.
    3. Bootstrap5 Popup Modal with Forms in Vue 3.


    Sharing or Passing Data Between components in Vuejs Vue 3
    Sharing or Passing Data Between components in Vuejs Vue 3

    Vue 3 and Bootstrap 5 came and if you are new then you must check below two links:

    1. Vuejs
    2. Bootstrap 5

    Friends now I proceed onwards and here is the working code snippet and use this carefully to avoid the mistakes:

    1. Firstly friends we need fresh vue 3 setup and for this we need to run below commands . Secondly we should also have latest node version installed on our system. With below we will have  bootstrap 5.1.0 modules in our Vue 3 application:

    npm install -g @vue/cli
    
    vue create vueboot5
    
    cd vueboot5
    
    npm i bootstrap
    
    npm i @popperjs/core
    
    npm run serve //http://localhost:8080/

    2. Now friends we need to add below code into src/App.vue file to check the final output on browser:

    <template>
      <div class="container mt-5 mb-5">
        <DemoComponent :username="user.username" />
      </div>
    </template>
    
    <script>
    //importing bootstrap 5
    import "bootstrap/dist/css/bootstrap.min.css";
    
    import DemoComponent from "./components/DemoComponent.vue"
     
    export default {
     components: {
       DemoComponent
     },
     data() {
       return {
         user: {
           username: 'Ajay'
         }
       }
     }
    }
    </script>

    3. Now friends we need to create components folder inside scr folder and then create new file DemoComponent.vue inside src/components folder and add below code inside it:

    <template>
     <div>
       {{username}}
     </div>
    </template>
     
    <script>
    export default {
     props: ['username']
    }
    </script>

    Now we are done friends  also and If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.

    Jassa

    Thanks

  • Bootstrap-Vue Table with Dynamic Data Working Example in Vuejs Application

    Bootstrap-Vue Table with Dynamic Data Working Example in Vuejs Application

    Hello friends, welcome back to my blog. Today in this blog post, I am going to show you, Bootstrap-Vue Table with Dynamic Data Working Example in Vuejs Application.

    Working Video

    Guy’s here you can see more Vue 3 Bootstrap 5 working example:

    1. Bootstrap 5 Popover working in Vue 3.
    2. Bootstrap 5 Tooltip working in Vue 3.
    3. Bootstrap5 Popup Modal with Forms in Vue 3.


    Bootstrap-Vue Table with Dynamic Data Working Example in Vuejs Application
    Bootstrap-Vue Table with Dynamic Data Working Example in Vuejs Application

    Vue 3 and Bootstrap 5 came and if you are new then you must check below two links:

    1. Vuejs
    2. Bootstrap 5

    Friends now I proceed onwards and here is the working code snippet and use this carefully to avoid the mistakes:

    1. Firstly friends we need fresh vue setup and for this we need to run below commands . Secondly we should also have latest node version installed on our system. With below we will have  bootstrap-vue  modules in our Vue 2 application:

    npm install -g @vue/cli
    
    vue create vuedemo //select vue 2
    
    cd vuedemo
    
    npm install vue bootstrap bootstrap-vue
    
    npm i axios
    
    npm run serve //http://localhost:8080/

    2. Now friends we need to add below code into src/App.vue file to check the final output on browser:

    <template>
      <div>
         <b-container fluid class="p-5 bg-primary text-white text-center mb-4">
          <p>Therichpost.com is the best tutorial site</p> 
        </b-container>
          <b-container>
            <!-- bootstrap-vue table -->
            <b-table striped hover :items="items"></b-table>
        </b-container>
      </div>
    </template>
    
    <script>
    import axios from 'axios';
      export default {
        mounted(){
        //API Call
        axios
        .get("https://www.testjsonapi.com/users/")
        .then((res)=>
        {
          //pushing data to items that will show inside table
          this.items = res.data;
        })
      },
        data() {
          return {
            items: ""
          }
        }
      }
    </script>

    3. Guys now add below code inside src/main js file to get bootstrap-vue styles and scripts:

    import Vue from 'vue'
    import App from './App.vue'
    import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
    
    // Import Bootstrap an BootstrapVue CSS files (order is important)
    import 'bootstrap/dist/css/bootstrap.css'
    import 'bootstrap-vue/dist/bootstrap-vue.css'
    
    // Make BootstrapVue available throughout your project
    Vue.use(BootstrapVue)
    // Optionally install the BootstrapVue icon components plugin
    Vue.use(IconsPlugin)
    
    Vue.config.productionTip = false
    
    new Vue({
      render: h => h(App),
    }).$mount('#app')

    Now we are done friends  also and If you have any kind of query or suggestion or any requirement then feel free to comment below.

    Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.

    Jassa

    Thanks

  • Angular 12 Reset Form inside Bootstrap 5 Modal POPUP when Closed

    Angular 12 Reset Form inside Bootstrap 5 Modal POPUP when Closed

    Hello friends, welcome back to my blog. Today in this blog post, I am going to tell you, Angular 12 Reset Form inside Bootstrap 5 Modal POPUP when Closed.

    Working Video
    Angular 12 Reset Form inside Bootstrap 5 Modal POPUP when Closed
    Angular 12 Reset Form inside Bootstrap 5 Modal POPUP when Closed

    Guy’s Angular 12 came . if you are new then you must check below two links:

    1. Angular12 Basic Tutorials
    2. Angular Free Templates

    Friends now I proceed onwards and here is the working code snippet and please use carefully this to avoid the mistakes:

    1. Firstly friends we need fresh angular 12 setup and for this we need to run below commands but if you already have angular 12 setup then you can avoid below commands.

    Secondly we should also have latest node version installed on our system:

    npm install -g @angular/cli 
    
    ng new angulardemo //Create new Angular Project
    
    cd angulardemo // Go inside the Angular Project Folder
    
    ng serve --open // Run and Open the Angular Project
    
    http://localhost:4200/ // Working Angular Project Url

    2. Now friends, here we need to run below commands into our project terminal to install  bootstrap(good looks) modules into our angular application:

    npm i --save bootstrap
    
    ng serve --o //will run the angular project

    3. Now friends, here we need to add below  into our angular.json file:

    "styles": [
               ...
               "node_modules/bootstrap/dist/css/bootstrap.min.css",
               
              
             ],
                "scripts": [
                "node_modules/bootstrap/dist/js/bootstrap.min.js",
                "src/custom.js"
                ],

    4. Now friends we need to create new file `custom.js` inside src folder and add below code inside it:

    setTimeout(function(){ 
    var myModalEl = document.getElementById('exampleModal')
        myModalEl.addEventListener('hidden.bs.modal', function (event) {
            document.getElementById("myForm").reset();
    })
     }, 100);

    5. Now friends we just need to add below code into src/app/app.component.html file:

    <!-- Button trigger modal -->
    <div class="container py-5">
     
      <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
          Launch demo modal
      </button>
    </div>
    
    <!-- Modal -->
    <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel">Demo Form</h5>
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
          </div>
          <div class="modal-body">
              <form id="myForm">
                  <div class="mb-3">
                      <label for="exampleFormControlInput1" class="form-label">Email address</label>
                      <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com">
                  </div>
                  <div class="mb-3">
                      <label for="exampleFormControlTextarea1" class="form-label">Example textarea</label>
                      <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
                  </div>
              </form>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
           
          </div>
        </div>
      </div>
    </div>

    Now we are done friends. and please ng serve command to see the output. If you have any kind of query, suggestion and new requirement then feel free to comment below.

    Note: Friends, In this post, I just tell the basic setup and things, you can change the code according to your requirements. For better live working experience, please check the video on the top.

    I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad because with your views, I will make my next posts more good and helpful.

    Jassa

    Thanks