themes-wordpress/course/patterns/newsletter.php
Donna Peplinskie f31c58bdaf
Add Course theme (#6888)
* Add Course theme

This theme is meant to be used with Sensei LMS, but can also be used standalone.

* Remove .pot file

* Remove obsolete CSS

* Remove color on search button

* Remove custom Sensei footer.

* Fix path of the Inter font

On the default and `blue` style.

* Fix line height

* Make image captions smaller than post content

---------

Co-authored-by: Mikey Arce <mikeyarce@gmail.com>
Co-authored-by: Jake Oehler Morrison <s+github@jom.im>
2023-04-03 10:20:15 -04:00

24 lines
1,002 B
PHP

<?php
/**
* Title: Newsletter
* Slug: course/newsletter
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"blockGap":"1.25rem"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium","fontFamily":"secondary"} -->
<h2 class="has-secondary-font-family has-medium-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Newsletter', 'course' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'Our latest updates in your e-mail.', 'course' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"className":"course-newsletter-sign-up","style":{"spacing":{"padding":{"top":"1.25rem"}}}} -->
<p class="course-newsletter-sign-up" style="padding-top:1.25rem"><a href="#"><?php echo esc_html__( 'Sign up', 'course' ); ?></a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->