Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimize the team grid card to look better UI #190

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions Official_Website/contributor-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
<header class="header">

<div class="logo">
<a href="https://helpops-hub.vercel.app/"
><img src="logo.png" alt="HelpOps-Hub Logo"
/></a>
<img src="logo.png" alt="HelpOps-Hub Logo">
</div>
<div>

Expand Down Expand Up @@ -74,6 +72,15 @@ <h1>HelpOps-Hub</h1>
<li class="nav__item">
<a href="javascript:void(0);" class="fas fa-adjust" onclick="toggleTheme()"></a>
</li>
<li>
<button class="about-button">

<a href="./about.html">
About Us
</a>
</button>

</li>
<li><button class="about-button">

<a href="./faq.html">
Expand All @@ -90,6 +97,7 @@ <h1>HelpOps-Hub</h1>

</nav>
<div class="container">
<main class="main-content">
<div class="intro">
<h1>Our Team</h1>
<p>
Expand All @@ -100,34 +108,41 @@ <h1>Our Team</h1>
</div>
<div id="team-grid">
<div class="team-member">
<div class="image-div peach">
<div class="card1">
<div class="image-div">
<img src="Screenshot (251).png" alt="Azfar Alam" />
</div>
<div class="info-div">
<span class="badge founder">Founder</span>
<h2>Azfar Alam</h2>
<p>DevOps Engineer</p>
</div>
</div>
<div id="social-links">
<a href="https://github.com/sponsors/mdazfar2"><i class="fas fa-heart"></i> Sponsor</a>
<a href="https://github.com/mdazfar2"><i class="fab fa-github"></i> GitHub</a>
<a href="https://www.linkedin.com/in/md-azfar-alam/"><i class="fab fa-linkedin"></i>linkedin</a>
</div>
</div>
<div class="team-member">
<div class="image-div pink">
<div class="card2">
<div class="image-div">
<img src="Screenshot (250).png" alt="Anurag Pandey" />
</div>
<div class="info-div">
<span class="badge founder">Maintainer</span>
<h2>Anurag Pandey</h2>
<p>Software Engineer</p>
</div>

</div>
<div id="social-links">
<a href="https://github.com/sponsors/pandeyji711"><i class="fas fa-heart"></i> Sponsor</a>
<a href="https://github.com/pandeyji711"><i class="fab fa-github"></i> GitHub</a>
<a href="https://www.linkedin.com/in/anuragpandey0711/"><i class="fab fa-linkedin"></i>linkedin</a>
</div>
</div>
</div>
</main>
</div>
<button id="scrollToTopBtn" class="scrollToTopBtn">▲</button>
<div id="team-grid1">
Expand Down Expand Up @@ -474,4 +489,4 @@ <h2>Anurag Pandey</h2>
<script src="contributor.js"></script>
<script src="dark_mode.js"></script>
</body>
</html>
</html>
69 changes: 11 additions & 58 deletions Official_Website/contributor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,24 +214,15 @@ width: 40px;
.container {
display: flex;
width: 100%;
height: auto;
flex-direction: column;
}

.main-content {
flex: 1;
padding: 20px;
height: auto;
}

.intro {
width: 100%;
display: flex;
flex-direction: column;
gap: 20px;

margin: 30px;
justify-content: center;
margin:24px;
}

/* .intro h1 {
Expand All @@ -245,59 +236,24 @@ width: 40px;
} */

#team-grid {

display: flex;
flex-direction: row;
justify-content: center;
min-height: 300px;
height: auto;
gap: 30px;
}

@media only screen and (max-width:944px) {
#team-grid{
flex-direction: column;

}
.intro{
align-items: center;
}
.team-member{
justify-content: space-between;
}
}
@media only screen and (max-width:520px) {
.team-member{
display: flex;
flex-direction: column !important;
}
.intro{
align-items: center;
}
}
.pink{
background-color: #fcedfe;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 20px;
}
.peach{
background-color: #fff0f0;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 20px;
margin-left: 2rem;
margin-right: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
gap: 5rem;
height: 300px;
}

.team-member {
display: flex;
justify-content: space-between;
align-items: center;

background-color: whitesmoke;
border-radius: 20px;
/* border: solid; */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
padding: 20px;
/* background-color: gray; */
gap: 10px;
margin-left: 20px;
background-position: center center;
background-size: cover;
Expand Down Expand Up @@ -333,10 +289,7 @@ justify-content: center;
position: relative;
}
.image-div {
display: flex;
flex-direction: column;
align-items: center;
width: 300px;
flex: none;
text-align: center;
}

Expand Down Expand Up @@ -456,4 +409,4 @@ justify-content: center;
}
#team h4{
font-size: 10px;
}
}
Loading