-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
647 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{{ define "main" }} | ||
<h1>{{ .Title }}</h1> | ||
|
||
<div class="section"> | ||
<h2>Current Lab Members</h2> | ||
<div class="lab-members"> | ||
{{ range .Params.lab_members }} | ||
<div class="lab-member"> | ||
<img src="{{ .image }}" alt="{{ .name }}" class="member-photo"> | ||
<h3>{{ .name }}</h3> | ||
<p>{{ .role }}</p> | ||
<div class="social-links"> | ||
{{ if .social.twitter }} | ||
<a href="{{ .social.twitter }}"><i class="fab fa-twitter"></i></a> | ||
{{ end }} | ||
{{ if .social.academic }} | ||
<a href="{{ .social.academic }}"><i class="fas fa-user-graduate"></i></a> | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
|
||
<div class="section"> | ||
<h2>Alumni</h2> | ||
<div class="lab-members alumni"> | ||
{{ range .Params.alumni }} | ||
<div class="lab-member"> | ||
<img src="{{ .image }}" alt="{{ .name }}" class="member-photo"> | ||
<h3>{{ .name }}</h3> | ||
<p>{{ .role }}</p> | ||
<div class="social-links"> | ||
{{ if .social.linkedin }} | ||
<a href="{{ .social.linkedin }}"><i class="fab fa-linkedin"></i></a> | ||
{{ end }} | ||
{{ if .social.academic }} | ||
<a href="{{ .social.academic }}"><i class="fas fa-user-graduate"></i></a> | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
|
||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<head> | ||
<!-- Other head elements --> | ||
<style> | ||
.alumni-section h2 { | ||
font-size: 1.0rem; /* Adjust the font size as needed */ | ||
} | ||
</style> | ||
</head> | ||
|
||
<div class="alumni-section"> | ||
<h2>{{ .Get "category" }}</h2> | ||
<ul> | ||
{{ .Inner }} | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<head> | ||
<!-- Other head elements --> | ||
<style> | ||
.alumni-entry li strong { | ||
font-size: 1.0rem; /* Adjust the font size as needed */ | ||
} | ||
.alumni-entry li { | ||
font-size: 1.0rem; /* Adjust the font size as needed */ | ||
} | ||
</style> | ||
</head> | ||
|
||
<div class="alumni-entry"> | ||
<li> | ||
{{ with .Get "homepage" }} | ||
<a href="{{ . }}" target="_blank" rel="noopener noreferrer"> | ||
<strong>{{ $.Get "name" }}</strong> | ||
</a> | ||
{{ else }} | ||
<strong>{{ .Get "name" }}</strong> | ||
{{ end }} – {{ .Get "description" }} | ||
</li> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<head> | ||
<!-- Other head elements --> | ||
<style> | ||
.lab-member h3 { | ||
font-size: 1.0rem; /* Adjust the font size as needed */ | ||
} | ||
.lab-member p, .lab-member .social-links { | ||
font-size: 1.0rem; /* Adjust the font size as needed */ | ||
} | ||
.lab-member { | ||
display: grid; /* Enables the use of CSS Grid layout */ | ||
} | ||
|
||
.lab-member img { | ||
width: 100%; /* Ensures the image takes the full width of its container */ | ||
height: auto; /* Maintains the image's aspect ratio */ | ||
aspect-ratio: 1 / 1; /* Adjust this value to change the aspect ratio */ | ||
object-fit: cover; /* Ensures the image covers the area, cropping as necessary */ | ||
} | ||
</style> | ||
</head> | ||
|
||
<div class="lab-member"> | ||
<img src="/img/members/{{ .Get "image" }}" alt="{{ .Get "name" }}" style="lab-member"> | ||
<h3>{{ .Get "name" }}</h3> | ||
<p>{{ .Get "role" }}</p> | ||
<div class="social-links"> | ||
{{ if .Get "twitter" }} | ||
<a href="{{ .Get "twitter" }}"><i class="fab fa-twitter"></i></a> | ||
{{ end }} | ||
{{ if .Get "academic" }} | ||
<a href="{{ .Get "academic" }}"><i class="fas fa-home"></i></a> | ||
{{ end }} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="lab-members-grid"> | ||
{{ .Inner }} | ||
</div> | ||
|
||
<style> | ||
.lab-members-grid { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 1rem; /* This adds space between the items */ | ||
} | ||
|
||
.lab-member { | ||
width: calc(33.333% - 1rem); /* Sets the width to fit 3 per line, accounting for the gap */ | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; /* Center-align the content */ | ||
} | ||
</style> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.