-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add dark quote block template * match styling of single_quote_block
- Loading branch information
1 parent
be5f3e9
commit 0a1742c
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
network-api/networkapi/mozfest/templates/fragments/blocks/mozfest_dark_quote.html
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,16 @@ | ||
{% load wagtailcore_tags wagtailimages_tags %} | ||
|
||
{% block block_content %} | ||
<div class="tw-py-16 tw-bg-black tw-dark"> | ||
<div class="tw-container"> | ||
<div class="tw-row tw-justify-center"> | ||
<div class="feature-quote"> | ||
<div class="quote-content [&_p]:tw-text-white"> | ||
{{ self.quote|richtext }} | ||
</div> | ||
<p class="tw-text-gray-40 tw-h6-heading tw-text-lg tw-max-w-4xl">{{ self.cite }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock block_content %} |
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