-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tup-610 content-block migration
- Loading branch information
1 parent
a556416
commit 080dd55
Showing
6 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
:is(.c-content-block, .content-block) { | ||
margin-bottom: var(--global-space--bootstrap-gap); | ||
padding: var(--global-space--pattern-pad); | ||
} | ||
|
||
:is(.c-content-block, .content-block) :is(h1, h2, h3, h4, h5, h6) { | ||
border-left: var(--global-border-width--xx-thick) solid var(--global-color-accent--tertiary); | ||
padding-left: 10px; | ||
} |
33 changes: 33 additions & 0 deletions
33
src/lib/_imports/components/c-content-block/c-content-block.hbs
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,33 @@ | ||
<dl> | ||
<dt>Staff Profile</dt> | ||
<dd> | ||
<div class="content-block"> | ||
<img class="img-fluid" /> | ||
<img src="https://upload.wikimedia.org/wikipedia/commons/9/99/Exampleavatar.png" | ||
title="University of Texas at Austin" class="img-fluid" /> | ||
</div> | ||
|
||
<div class="content-block"> | ||
<h3>Education</h3> | ||
|
||
<p><strong>Ph.D., Computer Engineering</strong><br> | ||
Clemson University, 2000</p> | ||
|
||
<p><strong>M.S., Computer Engineering</strong><br> | ||
Clemson University, 1993</p> | ||
|
||
<p><strong>B.S., Electrical Engineering</strong><br> | ||
Clemson University, B.S. (Electrical Engineering), 1991</p> | ||
</div> | ||
</dd> | ||
|
||
<dt>Newsletters</dt> | ||
<dd> | ||
<article class="content-block"> | ||
<h3>EPIC + WeTeach_CS Newsletter</h3> | ||
|
||
<p>Stay connected with our biweekly <a href="#">newsletter</a>.</p> | ||
<a class="c-button c-button--primary" href="#">Newsletter Signup</a> | ||
</article> | ||
</dd> | ||
</dl> |
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