update homepage

This commit is contained in:
Cheng Zhang
2024-09-17 11:58:46 -05:00
parent c49da88f14
commit 2020aafe74
19 changed files with 67 additions and 63 deletions

View File

@@ -52,35 +52,28 @@
padding: 10px 0;
}
.faculty {
.faculty-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
justify-content: space-between; /* Add space between the items */
margin-top: 10px;
}
.faculty {
text-align: center; /* Center the content */
flex: 1;
margin: 0 15px; /* Add horizontal margin between the faculty items */
}
.faculty img {
height: 210px;
width: 140px;
margin-right: 1rem;
margin-bottom: 10px; /* Add space between the image and the information */
}
.faculty-info {
flex: 1;
margin-top: 10px;
}
.faculty-container {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: flex-start; /* Align items at the top */
}
.faculty {
flex: 1;
margin: 0 10px; /* Add spacing between the two faculty members */
}
.join {
text-align: center;
@@ -126,30 +119,41 @@
<section>
<h2>Faculty Advisors</h2>
<div class="faculty-container">
<div class="faculty">
<img src="https://www.wtamu.edu/_files/images/academics/college-business/headshots/zhang-carl-22.png" alt="Dr. Carl Zhang">
<div class="faculty-info">
<strong>Dr. Carl Zhang</strong><br>
<!-- CC 208D<br> -->
<a href="mailto:czhang@wtamu.edu">czhang@wtamu.edu</a>
<!-- Row with all three faculty members -->
<div class="faculty-row">
<div class="faculty">
<img src="https://www.wtamu.edu/_files/images/academics/college-business/headshots/babb-jeffry-22.png" alt="Dr. Jeffry Babb">
<div class="faculty-info">
<strong>Dr. Jeffry Babb</strong><br>
BuffTeks Founder<br>
<!-- Contact info -->
<!-- <a href="mailto:jbabb@wtamu.edu">jbabb@wtamu.edu</a> -->
</div>
</div>
<div class="faculty">
<img src="https://www.wtamu.edu/_files/images/academics/college-business/headshots/zhang-carl-22.png" alt="Dr. Carl Zhang">
<div class="faculty-info">
<strong>Dr. Carl Zhang</strong><br>
<!-- Contact info -->
<a href="mailto:czhang@wtamu.edu">czhang@wtamu.edu</a>
</div>
</div>
<div class="faculty">
<img src="https://www.wtamu.edu/_files/images/academics/college-business/headshots/dana-kareem-22.png" alt="Mr. Kareem Dana">
<div class="faculty-info">
<strong>Mr. Kareem Dana</strong><br>
<!-- Contact info -->
<a href="mailto:kdana@wtamu.edu">kdana@wtamu.edu</a>
</div>
</div>
</div>
<div class="faculty">
<img src="https://www.wtamu.edu/_files/images/academics/college-business/headshots/babb-jeffry-22.png" alt="Dr. Jeffry Babb">
<div class="faculty-info">
<strong>Dr. Jeffry Babb</strong><br>
BuffTeks Founder<br>
<!-- CC 214E<br>
<a href="mailto:jbabb@wtamu.edu">jbabb@wtamu.edu</a> -->
</div>
</div>
</div>
</section>
<div class="join">
<h2>Join Us</h2>
<p>Please fill out the form below to register as a BuffTeks member.</p>