Categories

Friday, November 22, 2024
#919814419350 therichposts@gmail.com
Angular 10Angular Templates

Angular 10 Restaurant Free Template

Angular 10 Restaurant Free Template

Hello to all, welcome back to blog. Today in this blog post, I am going to show you, Angular 10 Restaurant Free Template.

Angular Restaurant Template

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

  1. Angular10 for beginners
  2. Angular10 Basic Tutorials

Friends now I proceed onwards and here is the working code snippet for Angular 10 Restaurant Free Template use this carefully to avoid the mistakes:

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

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

npm install -g @angular/cli 

ng new angularbootstrap //Create new Angular Project

cd angularbootstrap  // 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, please download zip(in this zip file there are js, css and images for angular bootstrap 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/downloadssss.zip

3. Now friends please add below code into src/index.html file:

<head>
...
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  <link rel="stylesheet" type="text/css" href="assets/css/style.css">
  <link href='https://fonts.googleapis.com/css?family=Merienda' rel='stylesheet'>
 
  <script src="assets/js/jquery-3.3.1.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
  
  <script type="text/javascript" src="assets/js/smooth-scroll.js"></script>
</head>

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

<div id="Welcome">
  <!---Start navigation Bar -->
  <nav class="navbar navbar-expand-lg navbar fixed-top  navbar-light bg-light">
   <a class="navbar-brand" href="#Welcome">
      <img src="assets/images/logo.png" width="50" height="50" class="d-inline-block" alt=""> Punjabi Restaurant
   </a>
   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
   </button>
    <div class="collapse navbar-collapse" id="navbarText">
      <ul class="navbar-nav ml-auto">
          <li class="nav-item">
            <a class="nav-link" href="#Welcome">Welcome</a>
          </li>
        <li class="nav-item">
          <a class="nav-link" href="#Restaurant">Restaurant</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#Menu">Menu</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#Reservation">Reservation</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#OurLocation">Our Location</a>
        </li>
       
      </ul>
  </div>
</nav>
<!--- End Navigation Bar -->
<!--- Start Carousel -->
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
  <ol class="carousel-indicators">
    <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
      <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
      <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
  </ol>
  <div class="carousel-inner">
    <div class="carousel-item active">
        <img class="d-block w-100 img-fluid img-slider" src="assets/images/slider1.jpg" alt="First slide">
        <div class="carousel-caption">
          <h2>Welcome!</h2>
        <p>...</p>
      </div>
      </div>
      <div class="carousel-item">
          <img class="d-block w-100 img-fluid img-slider" src="assets/images/slider2.jpg" alt="Second slide">
          <div class="carousel-caption">
          <h2>Traditional Italian Cuisine</h2>
        <p>...</p>
      </div>
      </div>
      <div class="carousel-item">
          <img class="d-block w-100 img-fluid img-slider" src="assets/images/slider3.jpg" alt="Third slide">
          <div class="carousel-caption">
          <h2>Selected Products</h2>
        <p>...</p>
      </div>
      </div>
  </div>
  <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
  </a>
  <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
  </a>
</div>
</div>
<!--- End of Carousel -->
<!--- Restaurant-->
<div class="container">
 <div class="row" id="Restaurant">
    <div class="col navMenu">
        <h2 class="text-center" >~ Restaurant ~</h2>
    </div>
  </div>
  <div class="row bg-light" >
    <div class="col-md-6">
      <h3>Location</h3>
      <p>Thanks for stopping by. We are the last authentic Italian restaurant in Milan, serving delicious Italian cuisine cooked by the best chefs. It only takes a few minutes to browse through our website and check out our menu. We hope you'll soon join us for a superb Italian culinary experience.</p>
      <h5>A Unique Experience</h5>
      <p>Thanks for stopping by. We are the last authentic Italian restaurant in Milan, serving delicious Italian cuisine cooked by the best chefs. It only takes a few minutes to browse through our website and check out our menu. We hope you'll soon join us for a superb Italian culinary experience.</p>
    </div>
    <div class="col-md-6" data-aos="fade-up">
      <img class="img-fluid" src="assets/images/location.jpg">
    </div>
  </div>
  <div class="row bg-light"><br></div>
  <div class="row bg-light">
    <div class="col-md-6 order-md-1 order-2" data-aos="fade-up">
      <img class="img-fluid " src="assets/images/cuisine.jpg">
    </div>
    <div class="col-md-6 order-md-12 order-1">
      <h3>Cuisine</h3>
      <p>Thanks for stopping by. We are the last authentic Italian restaurant in Milan, serving delicious Italian cuisine cooked by the best chefs. It only takes a few minutes to browse through our website and check out our menu. We hope you'll soon join us for a superb Italian culinary experience.</p>
      <h5>A Unique Experience</h5>
      <p>Thanks for stopping by. We are the last authentic Italian restaurant in Milan, serving delicious Italian cuisine cooked by the best chefs. It only takes a few minutes to browse through our website and check out our menu. We hope you'll soon join us for a superb Italian culinary experience.</p>
    </div>
  </div>
  <!--- End of Restaurant -->
  <!--- Start of Menu-->
<div class="row" id="Menu">
  <div class="col navMenu">
        <h2 class="text-center" >~ Menu ~</h2>
  </div>
</div>
<div class="row bg-light">
  <div class="col-md-4" data-aos="slide-up">
    <div class="card view zoom">
        <img class="card-img-top img-fluid " src="assets/images/meat-menu.jpg">
        <div class="card-body">
          <h5 class="card-title">~ Meat Menu ~</h5>
          <ul class="list-group list-group-flush">
            <li class="list-group-item">Bocconcini di carne in nido di sfoglia</li>
            <li class="list-group-item">Bruschette con maiale al curry</li>
           <li class="list-group-item">Uova al prosciutto</li>
           <li class="list-group-item">Vitello tonnato</li>
           <li class="list-group-item">Fesa di tacchino marinata con olive</li>
        </ul>
        </div>
    </div>
  </div>
  <div class="col-md-4" data-aos="slide-up">
    <div class="card">
        <img class="card-img-top img-fluid " src="assets/images/fish-menu.jpg">
        <div class="card-body">
          <h5 class="card-title">~ Fish Menu ~</h5>
          <ul class="list-group list-group-flush">
            <li class="list-group-item">Carpaccio di polpo</li>
            <li class="list-group-item">Cozze al verde</li>
           <li class="list-group-item">Cocktail di gamberi</li>
           <li class="list-group-item">Risotto alla crema di scampi</li>
           <li class="list-group-item">Ravioli di pesce con crema di scampi</li>
        </ul>
        </div>
    </div>
  </div>
  <div class="col-md-4" data-aos="slide-up">
    <div class="card">
        <img class="card-img-top img-fluid" src="assets/images/menu-vegetarian.jpg">
        <div class="card-body">
          <h5 class="card-title">~ Vegetarian Menu ~</h5>
          <ul class="list-group list-group-flush">
            <li class="list-group-item">Parmigiana di melanzane</li>
            <li class="list-group-item">Strudel con ricotta e spinaci</li>
           <li class="list-group-item">Polpette di spinaci e ricotta</li>
           <li class="list-group-item">Frittata di patate al forno</li>
           <li class="list-group-item">Spaghetti con le polpettine vegetariane</li>
        </ul>
        </div>
    </div>
  </div>
</div>
<!--- End of Menu -->
<!--- Start of Reservation-->
<div class="row" id="Reservation">
  <div class="col navMenu">
        <h2 class="text-center">~ Reservation ~</h2>
  </div>
</div>
<div class="row">
  <div class=" col-lg-12 reserve-container" data-aos="fade-up">
    <img class="img-fluid image-reserve" src="assets/images/reserve.jpg">
    <div class="reserve-text col-lg-12 ">
      <h1 class="text-center">Timetables</h1>
      <div class="row">
        <div class="col-6">
             <h2 class="text-center">Lunch</h2>
            <h5 class="text-center">12:00 - 15:00</h5>
        </div>
        <div class="col-6">
            <h2 class="text-center">Dinner</h2>
            <h5 class="text-center">19:30 - 23:30</h5>
        </div>
      </div>
    </div>
  </div>
</div>
<br>
<div class="row bg-light">
  <div class="col">
    <form>
      <div class="form-row">
          <div class="form-group col-6">
            <h3>Reserve</h3>
            <label for="inputDate"> Date</label>
            <input type="date" class="form-control" id="inputDate" placeholder="Data gg/mm/aaaa">
          </div>
          <div class="form-group col-6">
            <h3>Details</h3>
            <label for="inputName"> Name</label>
            <input type="text" class="form-control" id="inputName" placeholder="Name">
          </div>
          <div class="form-group col-6">
            <label for="inputTime"> Timetables</label>
            <input type="time" class="form-control" id="inputTime" placeholder="Timetables">
          </div>
          <div class="form-group col-6">
            <label for="inputEmail"> Email</label>
            <input type="email" class="form-control" id="inputEmail" placeholder="Email">
          </div>
          <div class="form-group col-6">
            <label for="inputNumber"> Number of Guests</label>
            <input type="number" class="form-control" id="inputNumber" placeholder="Number of Guests">
          </div>
          <div class="form-group col-6">
            <label for="inputCel"> Phone</label>
            <input type="tel" class="form-control" id="inputCel" placeholder="Phone">
          </div>
          <div class="form-group col-12">
            <label for="inputComment"> Further requests</label>
          <textarea class="form-control" rows="4" id="inputComment" placeholder="Further requests"></textarea>
        </div>
       </div>
      <div class="row">
          <div class="col-md-4 col-md-offset-4">
            <button type="submit" class="btn btn-secondary btn-block">Reserve</button>
          </div>
        </div>
    </form>
  </div>
</div>
<!--- End of Reserve -->
<!--- Start of Our Location -->
<div class="row" id="OurLocation">
  <div class="col navMenu">
    <h2 class="text-center">~ Our Location ~</h2>
  </div>
</div>
<div class="row">
  <div class="col-md-3">
    <h3>Address:</h3>
    <p>Test street no 78963 </p>
    <h3>Email:</h3>
    <p>mail@example.com</p>
  </div>
  <div class="col-md-3">
    <h3>Address:</h3>
    <p>Test street no 78963 </p>
    <h3>Email:</h3>
    <p>mail@example.com</p>
  </div>
  <div class="col-md-3">
    <h3>Address:</h3>
    <p>Test street no 78963 </p>
    <h3>Email:</h3>
    <p>mail@example.com</p>
  </div>
  <div class="col-md-3">
    <h3>Address:</h3>
    <p>Test street no 78963 </p>
    <h3>Email:</h3>
    <p>mail@example.com</p>
  </div>
</div>
<!--- End of Our Location -->
<div class="row footer bg-light">
  <div class="col">
    <p class="text-center">Follow us: 
      <a class="social-icon" href="#"><i class="fab fa-facebook"></i></a> 
      <a class="social-icon" href="#"><i class="fab fa-instagram"></i></a></p>
  </div>
  <div class="col">
    <p class="text-center">Copyright &copy; 2020</p>
  </div>
  <div class="col">
    <p class="text-center">Powered by: <a href="#">with love</a></p>
  </div>
</div>
</div>

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. 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

therichpost
the authortherichpost
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 19, MedusaJs, Next.js, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.

1 Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.