Skip to content

Commit b8541f2

Browse files
authored
Merge pull request #236 from pandeyji711/contributor
added banner to footer of contributors page
2 parents 07be931 + 4bca597 commit b8541f2

3 files changed

Lines changed: 73 additions & 3 deletions

File tree

Official_Website/banner.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
3+
.join-team {
4+
display: flex;
5+
align-items: center;
6+
background-color: white;
7+
padding: 20px 30px;
8+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
9+
border-radius: 8px;
10+
}
11+
12+
.trophy {
13+
font-size: 24px;
14+
margin-right: 15px;
15+
}
16+
17+
.text-content {
18+
flex-grow: 1;
19+
}
20+
21+
.text-content h2 {
22+
margin: 0 0 5px 0;
23+
font-size: 18px;
24+
color: #333;
25+
}
26+
27+
.text-content p {
28+
margin: 0;
29+
color: #666;
30+
}
31+
32+
.join-button {
33+
background-color: #7a5eff;
34+
color: white;
35+
border: none;
36+
padding: 10px 20px;
37+
border-radius: 5px;
38+
cursor: pointer;
39+
transition: background-color 0.3s ease;
40+
}
41+
42+
.join-button:hover {
43+
background-color: #6749e8;
44+
}

Official_Website/contributor-index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="stylesheet" href="newCards.css" />
1515
<link rel="stylesheet" href="style.css" />
1616
<link rel="stylesheet" href="navstyle.css" />
17-
17+
<link rel="stylesheet" href="banner.css" />
1818
</head>
1919
<body>
2020
<header class="header">
@@ -506,7 +506,17 @@ <h2>Anurag Pandey</h2>
506506
</div>
507507

508508
</div>
509-
<button id="load-more" style="display: none;">Load More</button>
509+
<div class="join-team">
510+
<span class="trophy">🏆</span>
511+
<div class="text-content">
512+
<h2>Join our awesome team!</h2>
513+
<p>Be a contributor and improve HelpOps-Hub and help fellow developers.</p>
514+
</div>
515+
<a href="https://github.com/mdazfar2/HelpOps-Hub">
516+
<button class="join-button">Join us now ➜</button>
517+
</a>
518+
</div>
519+
<button id="load-more" style="display: none;">See More</button>
510520
<script src="contributor.js"></script>
511521
<script src="dark_mode.js"></script>
512522
</body>

Official_Website/contributor-style.css

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,20 @@ width: 40px;
429429
}
430430
#team h4{
431431
font-size: 10px;
432-
}
432+
}
433+
#load-more {
434+
display: block;
435+
margin: 20px auto;
436+
padding: 10px 20px;
437+
font-size: 16px;
438+
background-color: #007bff;
439+
color: white;
440+
border: none;
441+
border-radius: 4px;
442+
cursor: pointer;
443+
transition: background-color 0.2s;
444+
}
445+
446+
#load-more:hover {
447+
background-color: #0056b3;
448+
}

0 commit comments

Comments
 (0)