Skip to content

Commit

Permalink
Pattern file changes
Browse files Browse the repository at this point in the history
- Add translation code in all .php files
- Added images license in readme.txt file
  • Loading branch information
bijayyadav committed Jan 21, 2025
1 parent 82a4ef9 commit 03dc33a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
6 changes: 3 additions & 3 deletions darken/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20","top":"var:preset|spacing|70","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--20)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600","textDecoration":"underline"}},"fontSize":"small"} -->
<p class="has-small-font-size" style="font-style:normal;font-weight:600;text-decoration:underline"><a href="mailto:[email protected]">[email protected]</a></p>
<p class="has-small-font-size" style="font-style:normal;font-weight:600;text-decoration:underline"><a href="mailto:[email protected]"><?php esc_html_e('[email protected]','darken'); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} -->
<p class="has-small-font-size" style="font-style:normal;font-weight:600">999-000-0000</p>
<p class="has-small-font-size" style="font-style:normal;font-weight:600"><?php esc_html_e('999-000-0000','darken'); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
Expand All @@ -47,7 +47,7 @@

<!-- wp:paragraph {"align":"center","className":"p-links"} -->
<<p class="has-text-align-center p-links"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
echo sprintf( esc_html__( 'Proudly Powered by %1$sWordPress%2$s', 'darken' ), '<a href="' . esc_url( 'https://wordpress.org' ) . '" rel="nofollow">', '</a>' ); ?> <?php esc_html_e('','darken'); ?>Designed by Community.</p>
echo sprintf( esc_html__( 'Proudly Powered by %1$sWordPress%2$s', 'darken' ), '<a href="' . esc_url( 'https://wordpress.org' ) . '" rel="nofollow">', '</a>' ); ?> <?php esc_html_e('Designed by Community.','darken'); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
Expand Down
16 changes: 8 additions & 8 deletions darken/patterns/homepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"style":{"typography":{"fontSize":"32px"}}} -->
<h5 class="wp-block-heading" style="font-size:32px">Hi , I am</h5>
<h5 class="wp-block-heading" style="font-size:32px"><?php esc_html_e('Hi , I am','darken'); ?></h5>
<!-- /wp:heading -->

<!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading">Digital Designer<br>&amp; Developer.</h1>
<h1 class="wp-block-heading"><?php esc_html_e('Digital Designer','darken'); ?><br>&amp;<?php esc_html_e(' Developer.','darken'); ?></h1>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
Expand All @@ -41,7 +41,7 @@

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"className":"heading-dot"} -->
<h5 class="wp-block-heading heading-dot">Strategy</h5>
<h5 class="wp-block-heading heading-dot"><?php esc_html_e('Strategy','darken'); ?></h5>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
Expand All @@ -57,7 +57,7 @@

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"className":"heading-dot","style":{"typography":{"fontSize":"32px"}}} -->
<h5 class="wp-block-heading heading-dot" style="font-size:32px">Design</h5>
<h5 class="wp-block-heading heading-dot" style="font-size:32px"><?php esc_html_e('Design','darken'); ?></h5>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
Expand All @@ -74,7 +74,7 @@

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"className":"heading-dot","style":{"typography":{"fontSize":"32px"}}} -->
<h5 class="wp-block-heading heading-dot" style="font-size:32px">Development</h5>
<h5 class="wp-block-heading heading-dot" style="font-size:32px"><?php esc_html_e('Development','darken'); ?></h5>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
Expand All @@ -87,7 +87,7 @@
<!-- /wp:spacer -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">My passion is turning ideas into reality, and I take pride in producing quality work that balances form, function, and creativity.</h3>
<h3 class="wp-block-heading"><?php esc_html_e('My passion is turning ideas into reality, and I take pride in producing quality work that balances form, function, and creativity.','darken'); ?></h3>
<!-- /wp:heading -->

<!-- wp:spacer -->
Expand All @@ -97,14 +97,14 @@

<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"layout":{"type":"constrained"}} -->
<div id="works" class="wp-block-group" style="padding-right:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:heading -->
<h2 class="wp-block-heading">Works</h2>
<h2 class="wp-block-heading"><?php esc_html_e('Works','darken'); ?></h2>
<!-- /wp:heading -->

<!-- wp:pattern {"slug":"darken/blog-post"} /-->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button {"textColor":"secondary-color","className":"is-style-outline","style":{"spacing":{"padding":{"left":"var:preset|spacing|70","right":"var:preset|spacing|70"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary-color"}}},"typography":{"fontStyle":"normal","fontWeight":"500"}},"fontSize":"x-small"} -->
<div class="wp-block-button has-custom-font-size is-style-outline has-x-small-font-size" style="font-style:normal;font-weight:500"><a class="wp-block-button__link has-secondary-color-color has-text-color has-link-color wp-element-button" href="/blog" style="padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)">View All Works</a></div>
<div class="wp-block-button has-custom-font-size is-style-outline has-x-small-font-size" style="font-style:normal;font-weight:500"><a class="wp-block-button__link has-secondary-color-color has-text-color has-link-color wp-element-button" href="/blog" style="padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><?php esc_html_e('View All Works','darken'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

Expand Down
7 changes: 7 additions & 0 deletions darken/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ Manrope font
License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1
Source: https://fonts.google.com/specimen/Manrope

== Images License ==

https://pxhere.com/en/photo/714525 [https://pxhere.com/en/license]
https://pxhere.com/en/photo/764644 [https://pxhere.com/en/license]
https://pxhere.com/en/photo/912909 [https://pxhere.com/en/license]
https://pxhere.com/en/photo/209572 [https://pxhere.com/en/license]

0 comments on commit 03dc33a

Please sign in to comment.