ChatBot Integration
This commit is contained in:
21
resources/views/Mails/testing.blade.php
Normal file
21
resources/views/Mails/testing.blade.php
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>
|
||||
{{ $details['title'] }}
|
||||
</h1>
|
||||
<p>
|
||||
{{ $details['message'] }}
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -91,6 +91,18 @@
|
||||
<script src="https://code.jquery.com/jquery-3.6.3.min.js"
|
||||
integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
|
||||
|
||||
{{-- Botman --}}
|
||||
<script src='https://cdn.jsdelivr.net/npm/botman-web-widget@0/build/js/widget.js'></script>
|
||||
|
||||
{{-- Botman Script --}}
|
||||
<script>
|
||||
var botmanWidget = {
|
||||
// frameEndpoint: '/iFrameUrl'
|
||||
aboutText: 'Bibhuti',
|
||||
introMessage: 'Type Hi to start conversation.',
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -110,14 +122,14 @@
|
||||
if (successMessage) {
|
||||
successMessage.style.display = 'none';
|
||||
}
|
||||
}, 2000); // 3000 milliseconds = 3 seconds
|
||||
}, 2000);
|
||||
|
||||
setTimeout(function() {
|
||||
var errorMessage = document.getElementById('error-message');
|
||||
if (errorMessage) {
|
||||
errorMessage.style.display = 'none';
|
||||
}
|
||||
}, 2000); // 2000 milliseconds = 3 seconds
|
||||
}, 2000);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
@ -30,6 +30,11 @@
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
{{-- botman --}}
|
||||
{{-- <link rel="stylesheet" type="text/css"
|
||||
href="https://cdn.jsdelivr.net/npm/botman-web-widget@0/build/assets/css/chat.min.css"> --}}
|
||||
|
||||
</head>
|
||||
|
||||
<!-- Include the Stripe.js library -->
|
||||
@ -135,6 +140,9 @@
|
||||
<li><a href="{{ route('checkout') }}">Check Out</a></li>
|
||||
<li><a href="{{ route('myOrders') }}">My Orders</a></li>
|
||||
<li><a href="{{ route('profile') }}">Profile</a></li>
|
||||
<li><a href="{{ route('testMail') }}">Email </a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@ -144,6 +152,8 @@
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-3">
|
||||
<div class="header__nav__option">
|
||||
{{-- <a href="{{ route('botman') }}"><img src="{{ URL::asset('img/icon/chatbot.png') }}"
|
||||
alt=""></a> --}}
|
||||
<a href="#" class="search-switch"><img src="{{ URL::asset('img/icon/search.png') }}"
|
||||
alt=""></a>
|
||||
<a href="#"><img src="{{ URL::asset('img/icon/heart.png') }}" alt=""></a>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="breadcrumb__text">
|
||||
<h4>Shop</h4>
|
||||
<div class="breadcrumb__links">
|
||||
<a href="./index.html">Home</a>
|
||||
<a href="{{ route('/') }}">Home</a>
|
||||
<span>Shop</span>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user