-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266 from wikitongues/main
staging deploy
- Loading branch information
Showing
8 changed files
with
239 additions
and
153 deletions.
There are no files selected for viewing
55 changes: 12 additions & 43 deletions
55
wp-content/themes/blankslate-child/modules/team-member--grid.php
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 |
---|---|---|
@@ -1,49 +1,18 @@ | ||
<article class="wt_team-member--grid"> | ||
<!-- team member image --> | ||
<aside class="wt_team-member--grid__img" role="img" aria-label="<?php echo $profile_picture['alt']; ?>" style="background-image:url(<?php echo $profile_picture['url']; ?>);"></aside> | ||
|
||
<!-- team member meta --> | ||
<aside class="wt_team-member--grid__meta"> | ||
<!-- team member name and title --> | ||
<strong> | ||
<span><?php echo $name; ?></span><br/> | ||
<span><?php echo $title; ?></span> | ||
</strong> | ||
|
||
<!-- contact information --> | ||
<ul> | ||
<?php if ( $website ): ?> | ||
<li> | ||
<a href="<?php echo $website; ?>"> | ||
<i class="fa-regular fa-link"></i> | ||
</a> | ||
</li> | ||
<?php endif; ?> | ||
|
||
<?php if ( $email ): ?> | ||
<li> | ||
<a href="mailto:<?php echo $email; ?>"> | ||
<i class="fa-solid fa-envelope"></i> | ||
</a> | ||
</li> | ||
<?php endif; ?> | ||
|
||
<?php if ( $linkedin ): ?> | ||
<li> | ||
<a href="<?php echo $linkedin; ?>"> | ||
<i class="fa-brands fa-linkedin-in"></i> | ||
</a> | ||
</li> | ||
<?php endif; ?> | ||
|
||
|
||
<?php if ( $website ): ?> | ||
<li> | ||
<a href="<?php echo $twitter; ?>"> | ||
<i class="fa-brands fa-x-twitter"></i>/<i class="fa-brands fa-x-twitter"></i> | ||
</a> | ||
</li> | ||
<?php endif; ?> | ||
<strong><?php echo $name; ?></strong> | ||
<p><?php echo $title; ?></p> | ||
<ul class="social"> | ||
<?php foreach ($social_links as $platform => $data): ?> | ||
<?php if ($data['url']): ?> | ||
<li> | ||
<a href="<?php echo esc_url($data['url']); ?>"> | ||
<i class="<?php echo esc_attr($data['icon']); ?>"></i> | ||
</a> | ||
</li> | ||
<?php endif; ?> | ||
<?php endforeach; ?> | ||
</ul> | ||
</aside> | ||
</article> |
63 changes: 18 additions & 45 deletions
63
wp-content/themes/blankslate-child/modules/team-member--wide.php
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
2 changes: 1 addition & 1 deletion
2
wp-content/themes/blankslate-child/stylus/require/banner--team.styl
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.wt_banner--team | ||
margin-bottom 6rem | ||
margin-bottom 4.8rem | ||
padding 6rem | ||
background $purple | ||
text-align center | ||
|
Oops, something went wrong.