summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentyfour/patterns/footer.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentyfour/patterns/footer.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentyfour/patterns/footer.php')
-rw-r--r--wp-content/themes/twentytwentyfour/patterns/footer.php128
1 files changed, 128 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentyfour/patterns/footer.php b/wp-content/themes/twentytwentyfour/patterns/footer.php
new file mode 100644
index 0000000..b39b3dd
--- /dev/null
+++ b/wp-content/themes/twentytwentyfour/patterns/footer.php
@@ -0,0 +1,128 @@
+<?php
+/**
+ * Title: Footer with colophon, 4 columns
+ * Slug: twentytwentyfour/footer
+ * Categories: footer
+ * Block Types: core/template-part/footer
+ */
+?>
+
+<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
+<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
+ <!-- wp:columns {"align":"wide"} -->
+ <div class="wp-block-columns alignwide">
+ <!-- wp:column {"width":"30%"} -->
+ <div class="wp-block-column" style="flex-basis:30%">
+ <!-- wp:group {"style":{"dimensions":{"minHeight":""},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group">
+ <!-- wp:site-logo {"width":20,"shouldSyncIcon":true,"style":{"layout":{"selfStretch":"fit","flexSize":null}}} /-->
+
+ <!-- wp:site-title {"level":0,"fontSize":"medium"} /-->
+
+ <!-- wp:site-tagline {"fontSize":"small"} /-->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"width":"20%"} -->
+ <div class="wp-block-column" style="flex-basis:20%">
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"width":"50%"} -->
+ <div class="wp-block-column" style="flex-basis:50%">
+ <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
+ <div class="wp-block-group">
+ <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
+ <div class="wp-block-group">
+ <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} -->
+ <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'About', 'twentytwentyfour' ); ?></h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group">
+
+ <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'About', 'twentytwentyfour' ); ?>"} -->
+
+ <!-- wp:navigation-link {"label":"Team","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"History","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"Careers","url":"#"} /-->
+
+ <!-- /wp:navigation -->
+
+ </div>
+ <!-- /wp:group -->
+ </div>
+
+ <!-- /wp:group -->
+
+ <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
+ <div class="wp-block-group">
+ <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} -->
+ <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Privacy', 'twentytwentyfour' ); ?></h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group">
+
+ <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Privacy', 'twentytwentyfour' ); ?>"} -->
+
+ <!-- wp:navigation-link {"label":"Privacy Policy","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"Terms and Conditions","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"Contact Us","url":"#"} /-->
+
+ <!-- /wp:navigation -->
+
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+
+ <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
+ <div class="wp-block-group">
+ <!-- wp:heading {"level":2,"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontFamily":"body"} -->
+ <h2 class="wp-block-heading has-medium-font-size has-body-font-family" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Social', 'twentytwentyfour' ); ?></h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group">
+
+ <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Social Media', 'twentytwentyfour' ); ?>"} -->
+
+ <!-- wp:navigation-link {"label":"Facebook","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"Instagram","url":"#"} /-->
+ <!-- wp:navigation-link {"label":"Twitter/X","url":"#"} /-->
+
+ <!-- /wp:navigation -->
+
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:column -->
+ </div>
+ <!-- /wp:columns -->
+
+ <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"0"}}}} -->
+ <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:0">
+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast-2","fontSize":"small"} -->
+ <p class="has-contrast-2-color has-text-color has-link-color has-small-font-size">
+ <?php
+ /* Translators: WordPress link. */
+ $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
+ echo sprintf(
+ /* Translators: Designed with WordPress */
+ esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
+ $wordpress_link
+ );
+ ?>
+ </p>
+ <!-- /wp:paragraph -->
+ </div>
+ <!-- /wp:group -->
+</div>
+<!-- /wp:group -->