-
Notifications
You must be signed in to change notification settings - Fork 0
/
about-page.html
75 lines (67 loc) · 4.28 KB
/
about-page.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<link rel="stylesheet" href="about-page.css">
</head>
<body>
<div id="navbar"></div>
<div class="mainbg-about">
<div class="bg-container-aboutpage">
<div class=" card-aboutpage d-flex flex-column justify-content-center">
<h1 class="header-aboutpage">About Us</h1>
<p class="paragraph-aboutpage">We are a group of students trying to showcase our front end knowledge which only keeps growing day by day . We love to learn on the go by experimenting with things and always look forward to improving and bettering our website and skills alike</p>
</div>
</div>
<div class="footer-aboutpage">
<div class="d-flex flex-row">
<div class="card2-aboutpage">
<img src="https://lh3.googleusercontent.com/a/ACg8ocIotm0TQM_loC-vbRZTR5QjHwAqsSXAGzWtOYAMkzBcklLDNeb8Mg=s1008-c-no" class="img2-aboutpage">
<h1 class="name-aboutpage">Suresh</h1>
<p class="text-center">A Tech enthusiast whose very good in python and loves to code </p>
</div>
<div class="card2-aboutpage">
<img src="https://res.cloudinary.com/dudjdf428/image/upload/v1730537985/WhatsApp_Image_2024-11-02_at_1.23.02_PM_nrk44s.jpg" class="img1-aboutpage">
<h1 class="name-aboutpage">Hrushikesh</h1>
<p class="text-center">A tech enthusiast and extrovert whos always up for learning Interested in backend and data science and hoping to learn a lot of tech</p>
</div>
<div class="card2-aboutpage">
<img src="https://res.cloudinary.com/dudjdf428/image/upload/v1730538168/abhi_koj_rbefnf.jpg" class="img1-aboutpage">
<h1 class="name-aboutpage">Abhinav</h1>
<p class="text-center">A techie who loves to code and is more interested on the front end part .</p>
</div>
<div class="card2-aboutpage">
<img src="https://res.cloudinary.com/dudjdf428/image/upload/v1730538015/raghava_tjl8ho.jpg" class="img1-aboutpage">
<h1 class="name-aboutpage">Raghavendra</h1>
<p class="text-center">Knows Frontend Development and a Content Creator</p>
</div>
</div>
</div>
</div>
<div id="footer"></div>
<script>
// JavaScript to load the navbar
fetch("navbar.html")
.then(response => response.text())
.then(data => {
document.getElementById("navbar").innerHTML = data;
// Change navbar color based on the page after navbar is loaded
const currentPage = window.location.pathname; // Current page path
if (currentPage.includes("about-page.html") || currentPage.includes("/about-page")) {
document.getElementById("navbar").style.backgroundColor = "#1e3a6e"; // Different color for Page 2
}
})
.catch(error => console.error('Error loading navbar:', error)); // Error handling
// Load the footer
fetch("footer.html")
.then(response => response.text())
.then(data => {
document.getElementById("footer").innerHTML = data;
})
.catch(error => console.error('Error loading footer:', error)); // Error handling
</script>
</body>
</html>