-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/dswp 62 secondary hero image with title #44
Merged
ASpiteri-BCGov
merged 9 commits into
development
from
feature/dswp-62-Secondary-Hero-image-with-title
Jan 8, 2025
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c4503fe
Added hero image patterns, enhancements and bug fixes.
ASpiteri-BCGov c99e6be
changelog
ASpiteri-BCGov 2e28886
fixed version error
ASpiteri-BCGov 213bc98
added theme color palette merger
ASpiteri-BCGov 8e34581
fixes
ASpiteri-BCGov 198b994
fix for warning
ASpiteri-BCGov 741a35a
updated function names as per PR comment
ASpiteri-BCGov 79333ac
function name miss
ASpiteri-BCGov a2096c9
Removed TI-Corp Specific Content
ASpiteri-BCGov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array(), 'version' => 'b71cd772eb24f8fa2bb6'); | ||
<?php return array('dependencies' => array(), 'version' => '073fec5b53a9e94d14a3'); |
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
This file was deleted.
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,33 @@ | ||
<?php | ||
/** | ||
* Title: DSWP Hero Image With Title | ||
* Slug: design-system-wordpress-theme/dswp-hero-image-with-title | ||
* Categories: banners | ||
* | ||
* @package Design-System-WordPress-Theme | ||
*/ | ||
?> | ||
<!-- wp:cover {"overlayColor":"background-medium-gray","minHeight":401,"minHeightUnit":"px","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-cover" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);min-height:401px"><span aria-hidden="true" class="wp-block-cover__background has-background-medium-gray-background-color has-background-dim-100 has-background-dim"></span> | ||
<div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","wideSize":"588px","justifyContent":"left"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"278px"},"border":{"radius":"4px","left":{"color":"var:preset|color|border-dark","width":"6px"},"top":[],"right":[],"bottom":[]}},"backgroundColor":"background-white","layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-background-white-background-color has-background" style="border-radius:4px;border-left-color:var(--wp--preset--color--border-dark);border-left-width:6px;min-height:278px;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"},"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--30);padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:heading {"textAlign":"left","style":{"elements":{"link":{"color":{"text":"var:preset|color|font dark"}}},"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"textColor":"font dark","fontSize":"large"} --> | ||
<h2 class="wp-block-heading has-text-align-left has-font-dark-color has-text-color has-link-color has-large-font-size" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0">Neque porro quisquam Neque porro quisquam</h2> | ||
<!-- /wp:heading --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|font dark"}}},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0"}},"typography":{"lineHeight":"1.8"}},"textColor":"font dark","fontSize":"bcds-large-body"} --> | ||
<p class="has-font-dark-color has-text-color has-link-color has-bcds-large-body-font-size" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;line-height:1.8">Sed bibendum posuere metus, et tincidunt dui aliquam et. Donec eu dolor elit. Vestibulum sit amet tempor metus, id dignissim turpis. In hac habitasse platea dictumst. Curabitur hendrerit nibh sit amet consectetur tempus. Integer vitae turpis at lorem placerat tempor ac a felis.</p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
</div> | ||
<!-- /wp:cover --> |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this be a better way of checking https://developer.wordpress.org/reference/functions/is_child_theme/