-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Created quote element within elements directory based on design Kerri made for the Engineering project * tweak Quote template to make it easier to include directly into themes * don't hardcode path to quote's image
- Loading branch information
Showing
7 changed files
with
25 additions
and
24 deletions.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
margin-bottom: .5em; | ||
} | ||
|
||
.decanter-quote__detail { | ||
.decanter-quote__bio { | ||
margin: 0; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "John Doe", | ||
"detail1": "Detail 1", | ||
"detail2": "Detail 2", | ||
"text": "This is the quote. Lorem ipsur adipisicing elit, sed do eiusmod tempor incididunt ut labore et..." | ||
"name": "Jane Doe", | ||
"bio": "Jane Doe's title<br/>Jane Doe's company", | ||
"text": "This is the actual quote. Lorem ipsur adipisicing elit, sed do eiusmod tempor incididunt ut labore et...", | ||
"image": "../../../img/headshot.jpg", | ||
"altText": "Jane Doe" | ||
} |
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,8 +1,8 @@ | ||
<div class="decanter-quote"> | ||
<img class="decanter-quote__img " src="../../../img/circle.png" alt="Please provide alt text"> | ||
<img class="decanter-quote__img " src="{{ image }}" alt="{{ altText }}"> | ||
<div class="decanter-quote__body "> | ||
<p class="decanter-quote__heading">{{ name }}</p> | ||
<p class="decanter-quote__detail">{{ detail1 }}<br>{{ detail2 }}</p> | ||
<p class="decanter-quote__bio">{{ bio }}</p> | ||
<p class="decanter-quote__quote">"{{ text }}"</p> | ||
</div> | ||
</div> |