Foam: add theme (#7458)

* Initial zip.

* Bump version.

* Compress image, update pattern.

* Remove nav refs.

* Escape text.
This commit is contained in:
Jeff Ong 2023-11-03 10:36:29 -04:00 committed by GitHub
parent 91667a5139
commit 09f464708b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 1816 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

60
foam/functions.php Normal file
View file

@ -0,0 +1,60 @@
<?php
/**
* Foam functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Foam
* @since Foam 1.0
*/
if ( ! function_exists( 'foam_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Foam 1.0
*
* @return void
*/
function foam_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'foam' );
}
endif;
add_action( 'after_setup_theme', 'foam_support' );
if ( ! function_exists( 'foam_styles' ) ) :
/**
* Enqueue styles.
*
* @since Foam 1.0
*
* @return void
*/
function foam_styles() {
// Register theme stylesheet.
wp_register_style(
'foam-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'foam-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'foam_styles' );

13
foam/parts/footer.html Normal file
View file

@ -0,0 +1,13 @@
<!-- 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 {"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:5vw;padding-left:5vw"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:site-title {"textAlign":"center"} /-->
<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","justifyContent":"center"}} /-->
<!-- wp:navigation {"textColor":"white","overlayMenu":"never","overlayTextColor":"white","layout":{"type":"flex","justifyContent":"center","orientation":"horizontal"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

11
foam/parts/header.html Normal file
View file

@ -0,0 +1,11 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"3vh","right":"5vw","bottom":"3vh","left":"5vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:3vh;padding-right:5vw;padding-bottom:3vh;padding-left:5vw"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"0","top":"0","right":"0","left":"0"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:site-title /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:navigation {"customOverlayBackgroundColor":"#2544e3","overlayTextColor":"white","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,5 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:post-date {"textAlign":"left","isLink":true,"style":{"typography":{"fontSize":"0.8rem","textTransform":"uppercase"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

16
foam/patterns/404.php Normal file
View file

@ -0,0 +1,16 @@
<?php
/**
* Title: A 404 page
* Slug: foam/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.', 'foam' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'foam' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -0,0 +1,52 @@
<?php
/**
* Title: Comments
* slug: foam/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 -->

43
foam/patterns/faqs.php Normal file
View file

@ -0,0 +1,43 @@
<?php
/**
* Title: FAQs
* Slug: foam/faqs
* Categories: Text
* Inserter: yes
*/
?>
<!-- wp:details {"summary":"How can I participate in the FOAM_ Conference?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'How can I participate in the FOAM_ Conference?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'To participate in FOAM_, you can register through the official conference website. Once registered, you will receive access to the virtual conference platform, where you can attend keynote speeches, panel discussions, workshops, and networking sessions.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
<!-- wp:details {"summary":"What technology do I need to attend the FOAM_ Conference?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'What technology do I need to attend the FOAM_ Conference?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'To attend the conference, you will need a computer or mobile device with a stable internet connection. The conference will be accessible through a web-based platform, so no additional software installation is required. Make sure your device has a modern web browser to ensure optimal viewing and interaction.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
<!-- wp:details {"summary":"Will sessions be available for on-demand viewing after the conference?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'Will sessions be available for on-demand viewing after the conference?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'Yes, FOAM_ aims to provide a valuable experience for all participants. Most sessions, including keynote speeches and panel discussions, will be recorded and made available for on-demand viewing after the conference. This allows attendees to revisit sessions they missed or explore additional content at their convenience.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
<!-- wp:details {"summary":"How can I network and connect with other participants during the FOAM_ Conference?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'How can I network and connect with other participants during the FOAM_ Conference?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'FOAM_ offers various networking opportunities within the virtual conference platform. You can engage in virtual meetups, one-on-one networking sessions, and themed discussion forums to connect with fellow attendees, speakers, and industry experts. These features enable meaningful interactions and collaboration, replicating the networking experience of an in-person conference.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
<!-- wp:details {"summary":"Will there be a virtual exhibition or showcase?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'Will there be a virtual exhibition or showcase?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'Yes, FOAM_ will feature a virtual exhibition area where attendees can explore booths and showcases by innovative startups, established companies, and industry organizations. This interactive space allows participants to engage in live demos, interact with exhibitors, and discover the latest digital technologies and services.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
<!-- wp:details {"summary":"Can I receive a certificate of attendance or participation for the FOAM_ Conference?"} -->
<details class="wp-block-details"><summary><?php echo esc_html__( 'Can I receive a certificate of attendance or participation for the FOAM_ Conference?', 'foam' ); ?></summary><!-- wp:paragraph -->
<p><?php echo esc_html__( 'Yes, FOAM_ provides certificates of attendance or participation for conference attendees. These certificates can be obtained through the conference website after the event by completing a simple request form. Certificates can serve as evidence of professional development and can be beneficial for career growth or educational purposes.', 'foam' ); ?></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->

34
foam/patterns/footer.php Normal file
View file

@ -0,0 +1,34 @@
<?php
/**
* Title: Default footer
* Slug: foam/footer
* Categories: footer
* Block Types: core/template-part/footer
* Inserter: yes
*/
?>
<!-- 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', 'foam' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'foam' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,10 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: foam/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', 'foam' ); ?></p>
<!-- /wp:paragraph -->

39
foam/patterns/home.php Normal file
View file

@ -0,0 +1,39 @@
<?php
/**
* Title: home
* Slug: foam/home
* Categories: Call to Action
* Inserter: yes
*/
?>
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/summertime_image.png","id":22,"dimRatio":10,"overlayColor":"base","minHeight":100,"minHeightUnit":"vh","style":{"spacing":{"padding":{"right":"5vw","left":"5vw"}}},"textColor":"contrast","layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-contrast-color has-text-color" style="padding-right:5vw;padding-left:5vw;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-10 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-22" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/summertime_image.png" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"right":"0vw","left":"0vw"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-group alignfull" style="min-height:100vh;padding-right:0vw;padding-left:0vw"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"0px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"139px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0.2em"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide"><!-- wp:site-title /-->
<!-- wp:site-tagline /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"19px","style":{"layout":{"flexSize":"19px","selfStretch":"fixed"}}} -->
<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","fontSize":"0.8rem"}}} -->
<p style="font-size:0.8rem;text-transform:uppercase"><strong>in stores June 26th<br></strong><br>Release Party and exclusive pre-show cocktail reception<br>Eden Garden Amphitheater on June 25th<br><a href="https://momentum.mystagingwebsite.com/sample-page/">more info here</a><br></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"60px","style":{"layout":{"flexSize":"60px","selfStretch":"fixed"}}} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

101
foam/patterns/speakers.php Normal file
View file

@ -0,0 +1,101 @@
<?php
/**
* Title: speakers
* Slug: foam/speakers
* Categories: Text
* Inserter: yes
*/
?>
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:image {"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_1.webp" alt="" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Mark Stu', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'An influential voice in cybersecurity, Mark Stu will address the evolving challenges of online security and the need for inclusive strategies to safeguard digital infrastructure, protecting individuals and organizations from cyber threats.', 'foam' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":60,"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_6.webp" alt="" class="wp-image-60" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Rita Verma', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'A leading expert in digital marketing and consumer behavior, Verma will explore the power of inclusive marketing strategies and how businesses can effectively engage diverse audiences in the digital era.', 'foam' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":61,"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_3.webp" alt="" class="wp-image-61" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Kendall Ramirez', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'A respected expert in human-computer interaction, Kendall Ramirez will explore the principles of inclusive design, emphasizing the need to create digital experiences that are accessible and user-friendly for individuals of all abilities.', 'foam' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:image {"id":57,"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_4.webp" alt="" class="wp-image-57" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Dr. Isabelle Khan', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'A trailblazer in the field of virtual reality, Dr. Khan will delve into the ways VR can be harnessed for educational purposes, focusing on inclusivity in VR experiences and the democratization of knowledge.', 'foam' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":58,"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_2.webp" alt="" class="wp-image-58" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Alex Wong', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'A prominent figure in the world of venture capital, Alex Wong will shed light on the importance of diversity and inclusion in investment decisions, promoting equity and providing opportunities for underrepresented founders.', 'foam' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":59,"width":120,"height":120,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/speaker_5.webp" alt="" class="wp-image-59" width="120" height="120"/></figure>
<!-- /wp:image -->
<!-- wp:heading {"fontSize":"medium"} -->
<h2 class="wp-block-heading has-medium-font-size"><?php echo esc_html__( 'Robert Nguyen', 'foam' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'A pioneer in the field of augmented reality, Robert Nguyen will showcase the potential of AR technologies in creating inclusive and immersive digital experiences, revolutionizing industries such as education, healthcare, and entertainment.', 'foam' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

38
foam/readme.txt Normal file
View file

@ -0,0 +1,38 @@
=== Foam ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Foam is a WordPress event theme with a vibrant, straightforward style. Entirely customisable, Foam allows you to present an event in a visually appealing way. Foam features a set of useful event patterns and essential templates.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Foam WordPress Theme, (C) 2022 Automattic
Foam is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Roboto Mono Font
Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono)
Licensed under the Apache License, Version 2.0
License URL: http://www.apache.org/licenses/LICENSE-2.0
Source: Google.com
-- End of Roboto Mono Font credits --

BIN
foam/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

48
foam/style.css Normal file
View file

@ -0,0 +1,48 @@
/*
Theme Name: Foam
Theme URI: https://github.com/Automattic/themes/tree/trunk/foam
Author: Automattic
Author URI: https://automattic.com/
Description: Foam is a simple theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles. Use it to build something beautiful.
Requires at least: 6.0
Tested up to: 6.2
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foam
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
Foam WordPress Theme, (C) 2022 Automattic, Inc.
Foam is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--secondary);
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

23
foam/templates/home.html Normal file
View file

@ -0,0 +1,23 @@
<!-- wp:cover {"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","isDark":false,"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"}}},"textColor":"contrast","layout":{"type":"constrained"}} -->
<div class="wp-block-cover is-light has-contrast-color has-text-color" style="padding-right:5vw;padding-left:5vw;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"right":"0vw","left":"0vw"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-group alignfull" style="min-height:100%;padding-right:0vw;padding-left:0vw"><!-- wp:group {"style":{"spacing":{"margin":{"top":"14rem","bottom":"14rem"}},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"constrained","justifyContent":"center"}} -->
<div class="wp-block-group" style="margin-top:14rem;margin-bottom:14rem"><!-- wp:heading {"textAlign":"center","align":"wide"} -->
<h2 class="wp-block-heading alignwide has-text-align-center">Sign up for FOAM_ Digital and guarantee your attendance</h2>
<!-- /wp:heading -->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">The Future of Online Apprenticeship and Mentorship groundbreaking digital conference that is set to redefine the way we connect, learn, and collaborate in the ever-evolving digital landscape is back in 2023.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Sign Up</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /--></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover -->

27
foam/templates/index.html Normal file
View file

@ -0,0 +1,27 @@
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /--></div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"10vh","bottom":"10vh","left":"5vw","right":"5vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:10vh;padding-right:5vw;padding-bottom:10vh;padding-left:5vw"><!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained","contentSize":"560px","wideSize":"900px"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image /-->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-content /--></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></main>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

15
foam/templates/page.html Normal file
View file

@ -0,0 +1,15 @@
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /--></div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"top":"10vh","bottom":"10vh","right":"5vw","left":"5vw"},"blockGap":"4rem"}}} -->
<main class="wp-block-group" style="padding-top:10vh;padding-right:5vw;padding-bottom:10vh;padding-left:5vw"><!-- wp:post-title {"textAlign":"center"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"aspectRatio":"3/2","width":"","align":"center"} /--></div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"style":{"typography":{"fontSize":"0.9rem","textTransform":"none","lineHeight":"1.4"}},"layout":{"type":"constrained","contentSize":"560px","wideSize":"900px"}} /--></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,19 @@
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /--></div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"top":"10vh","bottom":"10vh","right":"5vw","left":"5vw"},"blockGap":"5rem"}}} -->
<main class="wp-block-group" style="padding-top:10vh;padding-right:5vw;padding-bottom:10vh;padding-left:5vw"><!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:post-title {"textAlign":"center"} /-->
<!-- wp:template-part {"slug":"post-meta","align":"center"} /--></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"aspectRatio":"3/2","width":"","align":"center"} /--></div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained","contentSize":"560px","wideSize":"900px"}} /--></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

1262
foam/theme.json Normal file

File diff suppressed because it is too large Load diff