-
Notifications
You must be signed in to change notification settings - Fork 0
/
ourImpact.html
92 lines (79 loc) · 3.9 KB
/
ourImpact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project WaterAid</title>
<!-- Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="appstyle.css">
<!-- Use Karla Font-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
</head>
<body>
<header>
<div class="container">
<img src="assets/logo.png" alt="logo" class="logo">
<nav>
<ul>
<li><a id="home" href="./index.html">About Us</a></li>
<li><a id="ourImpact" href="./ourImpact.html">Our Impact</a></li>
</ul>
</nav>
<script>
document.getElementById("ourImpact").classList.add('clicked')
document.querySelectorAll('nav a').forEach(function(element) {
element.addEventListener('click', function(event) {
// Remove the 'clicked' class from all links
document.querySelectorAll('nav a').forEach(function(el) {
el.classList.remove('clicked');
});
// Add the 'clicked' class to the clicked link
this.classList.add('clicked');
});
});
</script>
</div>
</header>
<!-- This is the container layout for whole body-->
<div class="container">
<h1>So far, we have directly reached ... </h1>
<img src="assets/impact1.png" alt="impact 1" class="impact">
<img src="assets/impact2.png" alt="impact 2" class="impact">
<h4> Read more about our impact <a href="https://www.wateraid.org/uk/what-we-do/our-impact">here!</a><br><br></h4>
</div>
<!-- Bootstrap JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Original chatbot; but account free trial could not be extended -->
<!-- <script>
window.watsonAssistantChatOptions = {
integrationID: "968b9eef-f7db-44b7-b75c-fbadaa32f0f6", // The ID of this integration.
region: "eu-gb", // The region your integration is hosted in.
serviceInstanceID: "5c4ea9ae-703a-4748-a0d3-4018b11d86bb", // The ID of your service instance.
onLoad: async (instance) => { await instance.render(); }
};
setTimeout(function(){
const t=document.createElement('script');
t.src="https://web-chat.global.assistant.watson.appdomain.cloud/versions/" + (window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js";
document.head.appendChild(t);
});
</script> -->
<script>
window.watsonAssistantChatOptions = {
integrationID: "44b80259-9816-46f6-8e84-97eb8e5a6c66", // The ID of this integration.
region: "eu-gb", // The region your integration is hosted in.
serviceInstanceID: "94c3397f-a237-4060-913f-1df89ff8c727", // The ID of your service instance.
onLoad: async (instance) => { await instance.render(); }
};
setTimeout(function(){
const t=document.createElement('script');
t.src="https://web-chat.global.assistant.watson.appdomain.cloud/versions/" + (window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js";
document.head.appendChild(t);
});
</script>
</body>
</html>