footer.php 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: bedrock/footer
  5. * Categories: featured, footer
  6. * Block Types: core/template-part/footer
  7. */
  8. declare( strict_types = 1 );
  9. ?>
  10. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|50","bottom":"var:preset|spacing|70","left":"var:preset|spacing|50"}},"border":{"top":{"color":"var:preset|color|contrast","width":"1px"},"right":{},"bottom":{},"left":{}}},"backgroundColor":"base","layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group alignfull has-base-background-color has-background" style="border-top-color:var(--wp--preset--color--contrast);border-top-width:1px;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--50)">
  12. <!-- wp:columns {"align":"wide"} -->
  13. <div class="wp-block-columns alignwide">
  14. <!-- wp:column {"width":"50%"} -->
  15. <div class="wp-block-column" style="flex-basis:50%">
  16. <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
  17. <div class="wp-block-group">
  18. <!-- wp:site-title {"level":0,"style":{"layout":{"selfStretch":"fill","flexSize":null},"typography":{"lineHeight":"1.43"}}} /-->
  19. <!-- wp:paragraph -->
  20. <p><?php echo esc_html__( 'Discover the ultimate Minetest resource - your go-to guide for expert tutorials, stunning mods, and exclusive stories. Elevate your game with insider knowledge and tips from seasoned Minetest enthusiasts.', 'bedrock' ); ?></p>
  21. <!-- /wp:paragraph -->
  22. <!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|50"}}},"className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"right"}} -->
  23. <ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only">
  24. <!-- wp:social-link {"url":"https://www.twitch.tv/","service":"twitch"} /-->
  25. <!-- wp:social-link {"url":"https://twitter.com/","service":"x"} /-->
  26. <!-- wp:social-link {"url":"https://www.tiktok.com/","service":"tiktok"} /-->
  27. <!-- wp:social-link {"url":"https://facebook.com/","service":"facebook"} /-->
  28. <!-- wp:social-link {"url":"https://instagram.com","service":"instagram"} /-->
  29. </ul>
  30. <!-- /wp:social-links -->
  31. </div>
  32. <!-- /wp:group -->
  33. </div>
  34. <!-- /wp:column -->
  35. <!-- wp:column {"width":"50%"} -->
  36. <div class="wp-block-column" style="flex-basis:50%">
  37. <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase","lineHeight":"1.43"}},"className":"wp-block-heading"} -->
  38. <h3 class="wp-block-heading" style="font-style:normal;font-weight:700;line-height:1.43;text-transform:uppercase"><?php echo esc_html__( 'Subscribe', 'bedrock' ); ?></h3>
  39. <!-- /wp:heading -->
  40. <!-- wp:paragraph -->
  41. <p><?php echo esc_html__( 'Enter your email to sign up for our newsletter. We promise to respect your inbox.', 'bedrock' ); ?></p>
  42. <!-- /wp:paragraph -->
  43. <!-- wp:jetpack/subscriptions {"fontSize":"1.125rem","customFontSize":"1.125rem","borderWeight":0,"padding":8} /-->
  44. </div>
  45. <!-- /wp:column -->
  46. </div>
  47. <!-- /wp:columns -->
  48. <!-- wp:group {"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
  49. <div class="wp-block-group alignwide has-link-color" style="margin-top:var(--wp--preset--spacing--60)">
  50. <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
  51. <div class="wp-block-group">
  52. <!-- wp:paragraph {"fontSize":"small"} -->
  53. <p class="has-small-font-size"><a href="#"><?php echo esc_html__( 'Terms of Use', 'bedrock' ); ?></a></p>
  54. <!-- /wp:paragraph -->
  55. <!-- wp:paragraph {"fontSize":"small"} -->
  56. <p class="has-small-font-size"><a href="#"><?php echo esc_html__( 'Privacy and Cookies', 'bedrock' ); ?></a></p>
  57. <!-- /wp:paragraph -->
  58. </div>
  59. <!-- /wp:group -->
  60. <!-- wp:paragraph {"lock":{"move":false,"remove":true},"className":"has-small-font-size","fontSize":"small"} -->
  61. <p class="has-small-font-size"><?php
  62. /* Translators: WordPress link. */
  63. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'bedrock' ) ) . '" rel="nofollow">WordPress</a>';
  64. echo sprintf(
  65. esc_html__( 'Designed with %1$s', 'bedrock' ),
  66. $wordpress_link
  67. );?></p>
  68. <!-- /wp:paragraph -->
  69. </div>
  70. <!-- /wp:group -->
  71. </div>
  72. <!-- /wp:group -->