Skip to content

Commit 53e26cd

Browse files
Merge pull request #5 from mdazfar2/main
u
2 parents 856980a + 398fb32 commit 53e26cd

18 files changed

Lines changed: 1591 additions & 23 deletions

Official_Website/app.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ document.addEventListener("DOMContentLoaded", async function () {
9292

9393
const filteredData = data.filter((file) => {
9494
const isWebsite = file.name.toLowerCase() === "official_website";
95-
return !file.name.includes(".") && !isWebsite;
95+
const isupdate = file.name.toLowerCase() === "Update_website";
96+
return !file.name.includes(".") && !isWebsite && !isupdate;
9697
});
9798

9899
const foldersWithDates = await Promise.all(
@@ -167,25 +168,24 @@ document.addEventListener("DOMContentLoaded", async function () {
167168

168169
fetchRepository("https://api.github.com/repos/mdazfar2/HelpOps-Hub/contents");
169170

170-
const accordionButtons = document.querySelectorAll('.btn.abeezee-regular');
171+
const accordionButtons = document.querySelectorAll(".btn.abeezee-regular");
171172

172-
accordionButtons.forEach(button => {
173-
button.addEventListener('click', function () {
174-
const targetId = this.getAttribute('aria-controls');
175-
const targetCollapse = document.getElementById(targetId);
173+
accordionButtons.forEach((button) => {
174+
button.addEventListener("click", function () {
175+
const targetId = this.getAttribute("aria-controls");
176+
const targetCollapse = document.getElementById(targetId);
176177

177-
if (targetCollapse.classList.contains('show')) {
178-
targetCollapse.classList.remove('show');
179-
this.querySelector('i').classList.remove('fa-chevron-up');
180-
this.querySelector('i').classList.add('fa-chevron-down');
181-
} else {
182-
targetCollapse.classList.add('show');
183-
this.querySelector('i').classList.remove('fa-chevron-down');
184-
this.querySelector('i').classList.add('fa-chevron-up');
185-
}
186-
});
178+
if (targetCollapse.classList.contains("show")) {
179+
targetCollapse.classList.remove("show");
180+
this.querySelector("i").classList.remove("fa-chevron-up");
181+
this.querySelector("i").classList.add("fa-chevron-down");
182+
} else {
183+
targetCollapse.classList.add("show");
184+
this.querySelector("i").classList.remove("fa-chevron-down");
185+
this.querySelector("i").classList.add("fa-chevron-up");
186+
}
187+
});
187188
});
188-
189189
});
190190

191191
//Scroll to top js

Official_Website/contributor-index.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
</head>
2020
<body>
2121
<header class="header">
22-
<div class="logo">
23-
<img src="logo.png" alt="HelpOps-Hub Logo" />
24-
</div>
22+
<a href="index.html">
23+
<div class="logo">
24+
<img src="logo.png" alt="Logo">
25+
</div>
26+
</a>
2527
<div>
2628
<h1>HelpOps-Hub</h1>
2729
<p>Ensuring You Never Get Stuck In DevOps Again!</p>
@@ -67,9 +69,6 @@ <h1>HelpOps-Hub</h1>
6769

6870
<nav class="nav" id="navbar">
6971
<ul class="nav__list" id="navlinkitems">
70-
<li class="nav__item">
71-
<a href="contributor-index.html" class="fa-solid fa-people-group"></a>
72-
</li>
7372
<li class="nav__item">
7473
<a
7574
href="https://github.com/mdazfar2/HelpOps-Hub"
@@ -99,6 +98,13 @@ <h1>HelpOps-Hub</h1>
9998
onclick="toggleTheme()"
10099
></a>
101100
</li>
101+
<li>
102+
<a href="contributor-index.html">
103+
<button class="team-button">
104+
<svg viewBox="0 0 20 20" width="25" height="25" fill="none" class="text-primary dark:text-white"><path d="M9.95757 12.1164C12.8169 12.1164 15.2584 12.5697 15.2584 14.3837C15.2584 16.1969 12.8326 16.6667 9.95757 16.6667C7.09825 16.6667 4.65678 16.2134 4.65678 14.4002C4.65678 12.5862 7.08258 12.1164 9.95757 12.1164ZM14.5293 11.0241C15.6224 11.0038 16.7976 11.1539 17.2319 11.2605C18.1519 11.4414 18.7571 11.8106 19.0078 12.3472C19.2197 12.7878 19.2197 13.2989 19.0078 13.7387C18.6242 14.571 17.3878 14.8382 16.9073 14.9072C16.8081 14.9222 16.7282 14.8359 16.7387 14.7361C16.9842 12.4298 15.0314 11.3363 14.5263 11.0849C14.5046 11.0736 14.5002 11.0564 14.5024 11.0459C14.5039 11.0384 14.5129 11.0264 14.5293 11.0241ZM5.47137 11.0244C5.48779 11.0267 5.496 11.0387 5.49749 11.0454C5.49973 11.0567 5.49525 11.0732 5.47436 11.0852C4.96846 11.3366 3.01573 12.4301 3.26122 14.7357C3.27167 14.8362 3.19257 14.9218 3.09333 14.9075C2.6128 14.8385 1.3764 14.5713 0.992868 13.739C0.780209 13.2984 0.780209 12.7881 0.992868 12.3475C1.24358 11.8109 1.84798 11.4417 2.768 11.2601C3.20302 11.1542 4.37749 11.0041 5.47137 11.0244ZM9.95757 3.33337C11.9043 3.33337 13.4653 4.90193 13.4653 6.86075C13.4653 8.81882 11.9043 10.3889 9.95757 10.3889C8.01081 10.3889 6.44982 8.81882 6.44982 6.86075C6.44982 4.90193 8.01081 3.33337 9.95757 3.33337ZM14.7195 3.92162C16.5999 3.92162 18.0766 5.70107 17.5736 7.68315C17.2341 9.01755 16.0052 9.9039 14.636 9.86788C14.4987 9.86412 14.3636 9.85137 14.233 9.82885C14.1383 9.81234 14.0905 9.70502 14.1442 9.62546C14.6666 8.85244 14.9643 7.92257 14.9643 6.92439C14.9643 5.88269 14.639 4.91154 14.0741 4.11525C14.0562 4.09048 14.0428 4.05221 14.0607 4.02369C14.0756 4.00042 14.1032 3.98842 14.1293 3.98241C14.3196 3.94339 14.5151 3.92162 14.7195 3.92162ZM5.27998 3.92155C5.48443 3.92155 5.67993 3.94331 5.87095 3.98234C5.89632 3.98834 5.92467 4.0011 5.93959 4.02361C5.95676 4.05213 5.94407 4.09041 5.92616 4.11518C5.36131 4.91146 5.03598 5.88262 5.03598 6.92432C5.03598 7.92249 5.33371 8.85237 5.85602 9.62539C5.90975 9.70494 5.86199 9.81226 5.76723 9.82878C5.6359 9.85204 5.50159 9.86405 5.3643 9.8678C3.99508 9.90383 2.76614 9.01748 2.42663 7.68308C1.92297 5.70099 3.39964 3.92155 5.27998 3.92155Z" fill="currentColor"></path></svg> Our Team
105+
</button>
106+
</a>
107+
</li>
102108
<li>
103109
<button class="about-button">
104110
<a href="./about.html"> About Us </a>
355 KB
Loading
423 KB
Loading

Update_website/banner.css

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
2+
3+
.join-team {
4+
display: flex;
5+
align-items: center;
6+
/* background-color: white;
7+
padding: 24px 16px;
8+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
9+
border-radius: 8px;
10+
margin-left:70px;
11+
margin-right:60px ;
12+
/* width: 933px;
13+
height: 88px; */
14+
gap: 0px;
15+
border-radius: 23px 0px 0px 0px;
16+
opacity: 0px;
17+
18+
}
19+
20+
.trophy {
21+
font-size: 24px;
22+
margin-right: 15px;
23+
}
24+
25+
.text-content {
26+
flex-grow: 1;
27+
}
28+
29+
.text-content h2 {
30+
font-size: 18px;
31+
color: #333;
32+
}
33+
34+
.text-content p {
35+
margin: 0;
36+
color: #666;
37+
}
38+
.trophy svg {
39+
width: 24px;
40+
height: 24px;
41+
fill: #ffc107; /* Gold color */
42+
}
43+
44+
.join-button {
45+
display: block;
46+
margin: 20px ;
47+
padding: 10px 20px;
48+
font-size: 16px;
49+
background: #FF6B008A;
50+
51+
color: white;
52+
border: none;
53+
box-shadow: 0px 4px 4px 0px #00000040;
54+
55+
border-radius: 23px;
56+
cursor: pointer;
57+
transition: background-color 0.2s;
58+
}
59+
60+
.join-button:hover {
61+
background-color: #6749e8;
62+
}
63+

Update_website/card3.jpeg

17.2 KB
Loading

Update_website/card4.jpeg

23.1 KB
Loading

0 commit comments

Comments
 (0)