Skip to content

Commit

Permalink
Beafialho playground changes 2024 07 04 t15 33 13 200 z (#7954)
Browse files Browse the repository at this point in the history
* Adonay: add theme

* Delete .DS_Store files

---------

Co-authored-by: Beatriz Fialho <[email protected]>
  • Loading branch information
jasmussen and beafialho authored Aug 1, 2024
1 parent 4a7f9d3 commit c72c53f
Show file tree
Hide file tree
Showing 63 changed files with 2,187 additions and 0 deletions.
Binary file not shown.
Binary file added adonay/assets/fonts/biorhyme_normal_400.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/biorhyme_normal_700.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_200.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_300.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_400.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_500.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_600.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_italic_700.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_200.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_300.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_400.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_500.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_600.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/public-sans_normal_700.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_italic_300.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_italic_400.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_italic_500.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_italic_600.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_normal_300.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_normal_400.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_normal_500.ttf
Binary file not shown.
Binary file added adonay/assets/fonts/zilla-slab_normal_600.ttf
Binary file not shown.
Binary file added adonay/assets/images/adonay_image-1-scaled.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 85 additions & 0 deletions adonay/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?php
/**
* Adonay functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Adonay
* @since Adonay 1.0
*/


if ( ! function_exists( 'adonay_support' ) ) :

/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_support() {

// Enqueue editor styles.
add_editor_style( 'style.css' );

// Make theme available for translation.
load_theme_textdomain( 'adonay' );
}

endif;

add_action( 'after_setup_theme', 'adonay_support' );

if ( ! function_exists( 'adonay_styles' ) ) :

/**
* Enqueue styles.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_styles() {

// Register theme stylesheet.
wp_register_style(
'adonay-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);

// Enqueue theme stylesheet.
wp_enqueue_style( 'adonay-style' );

}

endif;

add_action( 'wp_enqueue_scripts', 'adonay_styles' );

/**
* Register pattern categories.
*/

if ( ! function_exists( 'adonay_pattern_categories' ) ) :
/**
* Register pattern categories
*
* @since Adonay 1.0
* @return void
*/
function adonay_pattern_categories() {

register_block_pattern_category(
'page',
array(
'label' => _x( 'Pages', 'Block pattern category', 'adonay' ),
'description' => __( 'A collection of full page layouts.', 'adonay' ),
)
);
}
endif;

add_action( 'init', 'adonay_pattern_categories' );
11 changes: 11 additions & 0 deletions adonay/parts/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-left" style="font-size:14px">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
11 changes: 11 additions & 0 deletions adonay/parts/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60","top":"var:preset|spacing|60","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:site-title {"fontSize":"large"} /-->

<!-- wp:navigation {"ref":4,"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
7 changes: 7 additions & 0 deletions adonay/parts/post-meta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->

<!-- wp:post-terms {"term":"category","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
16 changes: 16 additions & 0 deletions adonay/patterns/404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Title: A 404 page
* Slug: adonay/404
* Inserter: no
*/

?>

<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'adonay' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adonay' ); ?></p>
<!-- /wp:paragraph -->
52 changes: 52 additions & 0 deletions adonay/patterns/comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php
/**
* Title: Comments
* slug: adonay/comments
* inserter: no
*/

?>

<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:comments-title {"level":3} /-->

<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->

<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->

<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->

<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

<!-- wp:comment-content /-->

<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->

<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->

<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->
33 changes: 33 additions & 0 deletions adonay/patterns/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
/**
* Title: Default footer
* Slug: adonay/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>

<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'adonay' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'adonay' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
10 changes: 10 additions & 0 deletions adonay/patterns/hidden-no-results-content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: adonay/hidden-no-results-content
* Inserter: no
*/
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'adonay' ); ?></p>
<!-- /wp:paragraph -->
51 changes: 51 additions & 0 deletions adonay/patterns/home.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php
/**
* Title: home
* Slug: adonay/home
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->

<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":[]},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
41 changes: 41 additions & 0 deletions adonay/patterns/homepage-with-a-small-rounded-image.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php
/**
* Title: Homepage with a small, rounded image
* Slug: adonay/homepage-with-a-small-rounded-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"left":"5.1vw","right":"5.1vw","top":"5.1vh","bottom":"5.1vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
<div class="wp-block-group" style="min-height:100%;padding-top:5.1vh;padding-right:5.1vw;padding-bottom:5.1vh;padding-left:5.1vw"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:image {"id":149,"width":"200px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"flexSize":"13px","selfStretch":"fixed"}},"className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" alt="" class="wp-image-149" style="aspect-ratio:1;object-fit:cover;width:200px"/></figure>
<!-- /wp:image -->

<!-- wp:spacer {"height":"13px","style":{"layout":{"flexSize":"20px","selfStretch":"fixed"}}} -->
<div style="height:13px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->

<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontSize":"38px"}}} -->
<p style="font-size:38px;line-height:1.2">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on <a href="#">Instagram</a>. Currently available for hire.</p>
<!-- /wp:paragraph -->

<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","size":"has-large-icon-size","className":"is-style-logos-only"} -->
<ul class="wp-block-social-links has-large-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"instagram"} /-->

<!-- wp:social-link {"url":"#","service":"x"} /-->

<!-- wp:social-link {"url":"#","service":"youtube"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
51 changes: 51 additions & 0 deletions adonay/patterns/homepage-with-full-height-image.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php
/**
* Title: Homepage with a full height image
* Slug: adonay/homepage-with-a-full-height-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->

<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">I’m a photographer and art director based in Manchester, United Kingdom. When I’m not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":{}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
Loading

0 comments on commit c72c53f

Please sign in to comment.