ソースを参照

Remove Videomake and all premium theme tooling (#7007)

Jason Crist 2 年 前
コミット
d1fa9cf115
65 ファイル変更148 行追加2385 行削除
  1. 0 1
      deploy-dotorg.sh
  2. 147 221
      package-lock.json
  3. 0 3
      package.json
  4. 1 99
      theme-utils.mjs
  5. BIN
      videomaker/assets/fonts/Inter-italic_var.woff2
  6. BIN
      videomaker/assets/fonts/Inter-roman_var.woff2
  7. BIN
      videomaker/assets/images/blog-edited.jpg
  8. BIN
      videomaker/assets/images/laurel_left.png
  9. BIN
      videomaker/assets/images/laurel_right.png
  10. BIN
      videomaker/assets/images/new_film.png
  11. BIN
      videomaker/assets/images/philosophy-1-edited.jpg
  12. BIN
      videomaker/assets/images/team-1-edited.jpg
  13. BIN
      videomaker/assets/images/working_at_dawn.jpg
  14. 0 157
      videomaker/assets/theme.css
  15. BIN
      videomaker/assets/videos/boats.mp4
  16. BIN
      videomaker/assets/videos/cocktails.mp4
  17. BIN
      videomaker/assets/videos/digging.mp4
  18. BIN
      videomaker/assets/videos/fish.mp4
  19. BIN
      videomaker/assets/videos/i-love-you.mp4
  20. BIN
      videomaker/assets/videos/pacific.mp4
  21. 0 4
      videomaker/block-template-parts/footer.html
  22. 0 1
      videomaker/block-template-parts/header.html
  23. 0 14
      videomaker/block-templates/404.html
  24. 0 43
      videomaker/block-templates/archive.html
  25. 0 10
      videomaker/block-templates/header-footer-only.html
  26. 0 42
      videomaker/block-templates/index.html
  27. 0 42
      videomaker/block-templates/page.html
  28. 0 24
      videomaker/block-templates/search.html
  29. 0 54
      videomaker/block-templates/single.html
  30. 0 16
      videomaker/functions.php
  31. 0 48
      videomaker/inc/block-patterns.php
  32. 0 54
      videomaker/inc/patterns/about.php
  33. 0 86
      videomaker/inc/patterns/awards.php
  34. 0 21
      videomaker/inc/patterns/background-video.php
  35. 0 36
      videomaker/inc/patterns/description.php
  36. 0 50
      videomaker/inc/patterns/film-credits.php
  37. 0 72
      videomaker/inc/patterns/film-poster.php
  38. 0 32
      videomaker/inc/patterns/footer.php
  39. 0 27
      videomaker/inc/patterns/full-width-homepage.php
  40. 0 111
      videomaker/inc/patterns/header-description-and-grid-of-projects.php
  41. 0 54
      videomaker/inc/patterns/header-names-list-and-grid.php
  42. 0 116
      videomaker/inc/patterns/pattern-grid.php
  43. 0 154
      videomaker/inc/patterns/pattern-offset-project-grid.php
  44. 0 86
      videomaker/inc/patterns/pattern-two-posts-with-excerpt.php
  45. 0 19
      videomaker/inc/patterns/post-i-love-you.php
  46. 0 40
      videomaker/inc/patterns/reviews.php
  47. 0 25
      videomaker/package.json
  48. 0 148
      videomaker/readme.txt
  49. 0 17
      videomaker/sass/_fonts.scss
  50. 0 4
      videomaker/sass/_links.scss
  51. 0 7
      videomaker/sass/_meta.scss
  52. 0 4
      videomaker/sass/_navigation.scss
  53. 0 16
      videomaker/sass/blocks/_post-navigation-link.scss
  54. 0 18
      videomaker/sass/blocks/_post-terms.scss
  55. 0 19
      videomaker/sass/blocks/_query-pagination.scss
  56. 0 11
      videomaker/sass/templates/_footer.scss
  57. 0 11
      videomaker/sass/theme.scss
  58. BIN
      videomaker/screenshot.jpg
  59. 0 17
      videomaker/style.css
  60. 0 31
      videomaker/styles/blue-yellow.json
  61. 0 31
      videomaker/styles/grey-bordeaux.json
  62. 0 31
      videomaker/styles/grey-mint.json
  63. 0 31
      videomaker/styles/olive-pink.json
  64. 0 30
      videomaker/styles/white.json
  65. 0 197
      videomaker/theme.json

+ 0 - 1
deploy-dotorg.sh

@@ -37,7 +37,6 @@ declare -a THEMES_TO_DEPLOY=(
 	"skatepark"
 	"stewart"
 	"upsidedown"
-	"videomaker"
 	"vivre"
 	"zoologist"
 )

ファイルの差分が大きいため隠しています
+ 147 - 221
package-lock.json


+ 0 - 3
package.json

@@ -7,8 +7,6 @@
 	"prettier": "@wordpress/prettier-config",
 	"scripts": {
 		"sandbox:clean": "node ./theme-utils.mjs clean-sandbox",
-		"sandbox:clean-premium": "node ./theme-utils.mjs clean-premium-sandbox",
-		"sandbox:clean-all": "node ./theme-utils.mjs clean-all-sandbox",
 		"local:clean": "git reset --hard HEAD; git clean -fd",
 		"batch:install": "./theme-batch-utils.sh install-dependencies",
 		"batch:build": "./theme-batch-utils.sh build-all",
@@ -18,7 +16,6 @@
 		"deploy:push:all": "node ./theme-utils.mjs push-to-sandbox",
 		"deploy:push:changes": "node ./theme-utils.mjs push-changes-to-sandbox",
 		"deploy:push:theme": "node ./theme-utils.mjs push-theme-to-sandbox",
-		"deploy:push:premium": "node ./theme-utils.mjs push-premium-to-sandbox",
 		"deploy": "node ./theme-utils.mjs push-button-deploy",
 		"deploy:core:sync": "node ./theme-utils.mjs deploy-sync-core-theme",
 		"deploy:preview": "node ./theme-utils.mjs deploy-preview",

+ 1 - 99
theme-utils.mjs

@@ -9,11 +9,9 @@ import semver from 'semver';
 
 const remoteSSH = 'wpcom-sandbox';
 const sandboxPublicThemesFolder = '/home/wpdev/public_html/wp-content/themes/pub';
-const sandboxPremiumThemesFolder = '/home/wpdev/public_html/wp-content/themes/premium';
 const sandboxRootFolder = '/home/wpdev/public_html/';
 const glotPressScript = '~/public_html/bin/i18n/create-glotpress-project-for-theme.php';
 const isWin = process.platform === 'win32';
-const premiumThemes = ['videomaker', 'videomaker-white'];
 const coreThemes = ['twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen', 'twentynineteen', 'twentytwenty', 'twentytwentyone', 'twentytwentytwo', 'twentytwentythree'];
 
 const commands = {
@@ -36,14 +34,6 @@ const commands = {
 		helpText: 'Perform a hard reset, checkout trunk, and pull on the public themes working copy on your sandbox.',
 		run: cleanSandbox
 	},
-	"clean-premium-sandbox": {
-		helpText: 'Perform a hard reset, checkout trunk, and pull on the premium themes working copy on your sandbox.',
-		run: cleanPremiumSandbox
-	},
-	"clean-all-sandbox": {
-		helpText: 'Perform a hard reset, checkout trunk, and pull on both the public and premium themes working copies on your sandbox.',
-		run: cleanAllSandbox
-	},
 	"push-to-sandbox": {
 		helpText: 'Uses rsync to copy all modified files for all themes from the local machine to your sandbox.',
 		run: pushToSandbox
@@ -57,10 +47,6 @@ const commands = {
 		additionalArgs: '<theme-slug>',
 		run: (args) => pushThemeToSandbox(args?.[1])
 	},
-	"push-premium-to-sandbox": {
-		helpText: 'Uses rsync to copy all modified files for all premium themes from the local machine to your sandbox. For the blockbase theme, all instances of the string "blockbase" are replaced with "blockbase-premium".',
-		run: pushPremiumToSandbox
-	},
 	"version-bump-themes": {
 		helpText: 'Bump the version of any theme that has had changes since the last deployment. This includes bumping the version of any parent themes and updating the changelog for the theme.',
 		run: versionBumpThemes
@@ -325,10 +311,8 @@ async function pushButtonDeploy() {
 
 		await landChanges(diffId);
 
-		let changedPublicThemes = changedThemes.filter(item => !premiumThemes.includes(item));
-
 		try {
-			await deployThemes(changedPublicThemes);
+			await deployThemes(changedThemes);
 		}
 		catch (err) {
 			prompt = await inquirer.prompt([{
@@ -880,50 +864,12 @@ async function cleanSandbox() {
 	console.log('All done cleaning.');
 }
 
-/*
- Clean the premium theme sandbox.
- checkout origin/trunk and ensure it's up-to-date.
- Remove any other changes.
-*/
-async function cleanPremiumSandbox() {
-	console.log('Cleaning the Themes Sandbox');
-	await executeOnSandbox(`
-		cd ${sandboxPremiumThemesFolder};
-		git reset --hard HEAD;
-		git clean -fd;
-		git checkout trunk;
-		git pull;
-		echo;
-		git status
-	`, true);
-	console.log('All done cleaning.');
-}
-/*
- Clean the entire sandbox.
- checkout origin/trunk and ensure it's up-to-date.
- Remove any other changes.
-*/
-async function cleanAllSandbox() {
-	console.log('Cleaning the Entire Sandbox');
-	let response = await executeOnSandbox(`
-		cd ${sandboxRootFolder};
-		git reset --hard HEAD;
-		git clean -fd;
-		git checkout trunk;
-		git pull;
-		echo;
-		git status
-	`, true);
-	console.log('All done cleaning.');
-}
-
 /*
   Push exactly what is here (all files) up to the sandbox (with the exclusion of files noted in .sandbox-ignore)
 */
 async function pushToSandbox() {
 	console.log("Pushing All Themes to Sandbox.");
 	let allThemes = await getActionableThemes();
-	allThemes = allThemes.filter(item => !premiumThemes.includes(item));
 	console.log(`Syncing ${allThemes.length} themes`);
 	for (let theme of allThemes) {
 		await pushThemeToSandbox(theme);
@@ -937,49 +883,6 @@ async function pushThemeToSandbox(theme) {
 	`, true);
 }
 
-/*
-  Push exactly what is here (all files) up to the sandbox (with the exclusion of files noted in .sandbox-ignore)
-  This pushes only the folders noted as "premiumThemes" into the premium themes directory.
-
-  This is the only part of the deploy process that is automated; the rest must be done manually including:
-   * Creating a Phabricator Diff
-   * Landing (comitting) the change
-   * Deploying the theme
-   * Triggering the .zip builds
-*/
-async function pushPremiumToSandbox() {
-
-	//TODO: It would be nice to determine this list programatically
-	const filesToModify = [
-		'style.css',
-		'block-templates/404.html',
-		'block-template-parts/header.html',
-		'block-template-parts/footer.html'
-	];
-
-	// Change 'blockbase' to 'blockbase-premium' in the files noted
-	for (let theme of premiumThemes) {
-		for (let file of filesToModify) {
-			await executeCommand(`perl -pi -e 's/blockbase/blockbase-premium/' ${theme}/${file}`, true);
-		}
-	}
-
-	// Push the changes in the premium themes to the sandbox
-	await executeCommand(`
-		rsync -avR --no-p --no-times --delete -m --exclude-from='.sandbox-ignore' --exclude='sass' ./${premiumThemes.join(' ./')} wpcom-sandbox:${sandboxPremiumThemesFolder}/
-	`, true);
-
-	// revert the local blockbase-premium changes
-	for (let theme of premiumThemes) {
-		for (let file of filesToModify) {
-			await executeCommand(`
-				git restore --source=HEAD --staged --worktree ./${theme}/${file}
-			`);
-		}
-	}
-
-}
-
 /*
   Push only (and every) change since the point-of-diversion from /trunk
   Remove files from the sandbox that have been removed since the last deployed hash
@@ -989,7 +892,6 @@ async function pushChangesToSandbox() {
 	console.log("Pushing Changed Themes to Sandbox.");
 	let hash = await getLastDeployedHash();
 	let changedThemes = await getChangedThemes(hash);
-	changedThemes = changedThemes.filter(item => !premiumThemes.includes(item));
 	console.log(`Syncing ${changedThemes.length} themes`);
 
 	for (let theme of changedThemes) {

BIN
videomaker/assets/fonts/Inter-italic_var.woff2


BIN
videomaker/assets/fonts/Inter-roman_var.woff2


BIN
videomaker/assets/images/blog-edited.jpg


BIN
videomaker/assets/images/laurel_left.png


BIN
videomaker/assets/images/laurel_right.png


BIN
videomaker/assets/images/new_film.png


BIN
videomaker/assets/images/philosophy-1-edited.jpg


BIN
videomaker/assets/images/team-1-edited.jpg


BIN
videomaker/assets/images/working_at_dawn.jpg


+ 0 - 157
videomaker/assets/theme.css

@@ -1,157 +0,0 @@
-/**
- * Breakpoints & Media Queries
- */
-/**
-*  Converts a hex value into the rgb equivalent.
-*
-* @param {string} hex - the hexadecimal value to convert
-* @return {string} comma separated rgb values
-*/
-/**
- * Breakpoint mixins
- */
-/**
- * Long content fade mixin
- *
- * Creates a fading overlay to signify that the content is longer
- * than the space allows.
- */
-/**
- * Focus styles.
- */
-/**
- * Applies editor left position to the selector passed as argument
- */
-/**
- * Styles that are reused verbatim in a few places
- */
-/**
- * Allows users to opt-out of animations via OS-level preferences.
- */
-/**
- * Reset default styles for JavaScript UI based pages.
- * This is a WP-admin agnostic reset
- */
-/**
- * Reset the WP Admin page styles for Gutenberg-like pages.
- */
-.wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:focus, .wp-block-file .wp-block-file__button.has-focus {
-  border-style: var(--wp--custom--button--border--style);
-  border-color: currentColor;
-  border-width: var(--wp--custom--button--border--width);
-  padding-top: var(--wp--custom--button--spacing--padding--top);
-  padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
-  padding-left: var(--wp--custom--button--spacing--padding--left);
-  padding-right: var(--wp--custom--button--spacing--padding--right);
-}
-
-.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:hover, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button:focus, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button.has-focus,
-.wp-block-search .wp-block-search__button:hover,
-.wp-block-search .wp-block-search__button:focus,
-.wp-block-search .wp-block-search__button.has-focus {
-  border-style: var(--wp--custom--button--border--style);
-  border-color: currentColor;
-  border-width: var(--wp--custom--button--border--width);
-  padding-top: var(--wp--custom--button--spacing--padding--top);
-  padding-bottom: var(--wp--custom--button--spacing--padding--bottom);
-  padding-left: var(--wp--custom--button--spacing--padding--left);
-  padding-right: var(--wp--custom--button--spacing--padding--right);
-}
-
-@font-face {
-  font-family: Inter;
-  font-weight: 100 900;
-  font-display: swap;
-  font-style: normal;
-  font-named-instance: "Regular";
-  src: url("./fonts/Inter-roman_var.woff2") format("woff2");
-}
-@font-face {
-  font-family: Inter;
-  font-weight: 100 900;
-  font-display: swap;
-  font-style: italic;
-  font-named-instance: "Italic";
-  src: url("./fonts/Inter-italic_var.woff2") format("woff2");
-}
-a:not(.wp-block-query-pagination-next):active {
-  background: var(--wp--custom--color--foreground) !important;
-  color: var(--wp--custom--color--background) !important;
-}
-
-div.post-meta.wp-block-group {
-  gap: 0;
-}
-div.post-meta > *:not(:first-child):before {
-  color: var(--wp--custom--color--foreground);
-  content: "/";
-  margin-left: var(--wp--custom--gap--baseline);
-  margin-right: var(--wp--custom--gap--baseline);
-}
-div.post-meta a {
-  text-decoration: none;
-}
-
-.is-vertical.items-justified-right ul.wp-block-navigation__container {
-  align-items: flex-end;
-}
-
-footer > .wp-block-group {
-  align-items: center;
-  justify-content: space-between;
-}
-footer > .wp-block-group p {
-  margin-bottom: 0;
-}
-footer > .wp-block-group .footer-credit {
-  align-self: flex-end;
-}
-
-.post-tags-container .taxonomy-post_tag.wp-block-post-terms {
-  display: flex;
-  flex-wrap: wrap;
-  gap: var(--wp--custom--gap--baseline, 1em);
-}
-.post-tags-container .taxonomy-post_tag.wp-block-post-terms a {
-  background: var(--wp--custom--color--tertiary);
-  border-radius: 100px;
-  font-weight: 600;
-  padding: 10px 20px;
-}
-.post-tags-container .taxonomy-post_tag.wp-block-post-terms .wp-block-post-terms__separator {
-  display: none;
-}
-
-.wp-block-post-navigation-link {
-  flex-grow: 1;
-}
-.wp-block-post-navigation-link:not(:empty) {
-  border-top: 1px solid var(--wp--custom--color--primary);
-}
-.wp-block-post-navigation-link a {
-  display: inline-block;
-  margin-top: 10px;
-}
-
-.post-navigation-link-next {
-  text-align: right;
-}
-
-div.wp-block-query-pagination {
-  grid-template-areas: "prev next";
-  grid-template-columns: 1fr 1fr;
-}
-div.wp-block-query-pagination .wp-block-query-pagination-previous,
-div.wp-block-query-pagination .wp-block-query-pagination-next {
-  border-top: 1px solid var(--wp--custom--color--primary);
-  padding-top: 10px;
-  width: 100%;
-}
-div.wp-block-query-pagination .wp-block-query-pagination-next {
-  text-align: right;
-}
-div.wp-block-query-pagination .is-arrow-arrow {
-  font-family: var(--wp--preset--font-family--system-font);
-}
-
-/*# sourceMappingURL=theme.css.map */

BIN
videomaker/assets/videos/boats.mp4


BIN
videomaker/assets/videos/cocktails.mp4


BIN
videomaker/assets/videos/digging.mp4


BIN
videomaker/assets/videos/fish.mp4


BIN
videomaker/assets/videos/i-love-you.mp4


BIN
videomaker/assets/videos/pacific.mp4


+ 0 - 4
videomaker/block-template-parts/footer.html

@@ -1,4 +0,0 @@
-<!-- wp:spacer {"height":140} -->
-<div style="height:140px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-<!-- wp:pattern {"slug":"videomaker/footer"} /-->

+ 0 - 1
videomaker/block-template-parts/header.html

@@ -1 +0,0 @@
-<!-- wp:pattern {"slug":"blockbase/header-minimal"} /-->

+ 0 - 14
videomaker/block-templates/404.html

@@ -1,14 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header"} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"layout":{"inherit":true},"tagName":"main"} -->
-<main class="wp-block-group">
-	<!-- wp:pattern {"slug":"blockbase/404"} /-->
-	<!-- wp:search {"label":""} /-->
-</main>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 43
videomaker/block-templates/archive.html

@@ -1,43 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header","layout":{"inherit":true}} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
-<main class="wp-block-query">
-<!-- wp:query-title {"type":"archive","style":{"spacing":{"margin":{"bottom":"100px"}}}} /-->
-
-<!-- wp:post-template -->
-<!-- wp:group -->
-<div class="wp-block-group">
-	<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"bottom":"45px"}}}} /-->
-	<!-- wp:post-featured-image {"isLink":"true","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2.5 * var(--wp--style--block-gap,1em))"}}}} /-->
-	<!-- wp:post-excerpt /-->
-
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-	</div>
-	<!-- /wp:group -->
-
-	<!-- wp:spacer {"height":60} -->
-	<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-</div>
-<!-- /wp:group -->
-<!-- /wp:post-template -->
-<!-- wp:group {"layout":{"inherit":true}} -->
-
-	<div class="wp-block-group">
-	<!-- wp:query-pagination {"paginationArrow":"arrow"} -->
-		<!-- wp:query-pagination-previous /-->
-		<!-- wp:query-pagination-next /-->
-	<!-- /wp:query-pagination -->
-	</div>
-	<!-- /wp:group -->
-</main>
-<!-- /wp:query -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->

+ 0 - 10
videomaker/block-templates/header-footer-only.html

@@ -1,10 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header"} /-->
-
-<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0"}}},"lock":{"move":false,"remove":true}} -->
-<main class="wp-block-group" style="margin-top:0">
-
-<!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-</main>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 42
videomaker/block-templates/index.html

@@ -1,42 +0,0 @@
-<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
-<main class="wp-block-query">
-
-<!-- wp:post-template -->
-<!-- wp:group -->
-<div class="wp-block-group">
-	<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"bottom":"45px"}}}} /-->
-	<!-- wp:post-featured-image {"isLink":"true","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2.5 * var(--wp--style--block-gap,1em))"}}}} /-->
-	<!-- wp:post-excerpt /-->
-
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-	</div>
-	<!-- /wp:group -->
-
-	<!-- wp:spacer {"height":60} -->
-	<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-</div>
-<!-- /wp:group -->
-<!-- /wp:post-template -->
-<!-- wp:group {"layout":{"inherit":true}} -->
-
-	<div class="wp-block-group">
-	<!-- wp:query-pagination {"paginationArrow":"arrow"} -->
-		<!-- wp:query-pagination-previous /-->
-		<!-- wp:query-pagination-next /-->
-	<!-- /wp:query-pagination -->
-	</div>
-	<!-- /wp:group -->
-</main>
-<!-- /wp:query -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 42
videomaker/block-templates/page.html

@@ -1,42 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header"} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"tagName":"main"} -->
-<main class="wp-block-group">
-
-	<!-- wp:group {"layout":{"inherit":true}} -->
-	<div class="wp-block-group">
-		<!-- wp:post-title /-->
-		<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-		<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-			<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-			<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		</div>
-		<!-- /wp:group -->
-		<!-- wp:group {"className":"post-tags-container","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2 * var(--wp--style--block-gap,1em))"}}}} -->
-		<div class="wp-block-group post-tags-container" style="margin-top:var(--wp--style--block-gap,1em);margin-bottom:calc(2 * var(--wp--style--block-gap,1em))">
-			<!-- wp:post-terms {"term": "post_tag","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		</div>
-		<!-- /wp:group -->
-		<!-- wp:post-featured-image {"align":"full","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2 * var(--wp--style--block-gap,1em))"}}}} /-->
-	</div>
-	<!-- /wp:group -->
-
-	<!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-</main>
-<!-- /wp:group -->
-
-<!-- wp:spacer {"height":60} -->
-<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"layout":{"inherit":true}} -->
-<div class="wp-block-group">
-	<!-- wp:pattern {"slug":"blockbase/comments"} /-->
-</div>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 24
videomaker/block-templates/search.html

@@ -1,24 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header"} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"layout":{"inherit":true},"tagName":"main"} -->
-<main class="wp-block-group">
-
-<!-- wp:query -->
-<div class="wp-block-query">
-<!-- wp:post-template -->
-
-	<!-- wp:post-title {"level":5,"isLink":true} /-->
-	<!-- wp:post-excerpt /-->
-
-<!-- /wp:post-template -->
-</div>
-<!-- /wp:query -->
-
-</main>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 54
videomaker/block-templates/single.html

@@ -1,54 +0,0 @@
-<!-- wp:template-part {"area":"header","slug":"header-minimal","tagName":"header"} /-->
-
-<!-- wp:spacer {"height":110} -->
-<div style="height:110px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"tagName":"main"} -->
-<main class="wp-block-group">
-
-    <!-- wp:group {"layout":{"inherit":true}} -->
-    <div class="wp-block-group">
-		<!-- wp:post-title /-->
-		<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-		<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-			<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-			<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		</div>
-		<!-- /wp:group -->
-		<!-- wp:post-featured-image {"align":"full","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2 * var(--wp--style--block-gap,1em))"}}}} /-->
-		<!-- wp:group {"className":"post-tags-container","style":{"spacing":{"margin":{"top":"var(--wp--style--block-gap,1em)","bottom":"calc(2 * var(--wp--style--block-gap,1em))"}}}} -->
-		<div class="wp-block-group post-tags-container" style="margin-top:var(--wp--style--block-gap,1em);margin-bottom:calc(2 * var(--wp--style--block-gap,1em))">
-			<!-- wp:post-terms {"term": "post_tag","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		</div>
-		<!-- /wp:group -->
-    </div>
-    <!-- /wp:group -->
-
-    <!-- wp:post-content {"layout":{"inherit":true},"lock":{"move":false,"remove":true}} /-->
-
-</main>
-<!-- /wp:group -->
-
-<!-- wp:spacer {"height":60} -->
-<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:group {"layout":{"inherit":true}} -->
-<div class="wp-block-group">
-
-    <!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
-    <div class="wp-block-group alignwide">
-        <!-- wp:post-navigation-link {"type":"previous"} /-->
-        <!-- wp:post-navigation-link /-->
-    </div>
-    <!-- /wp:group -->
-
-    <!-- wp:spacer {"height":60} -->
-    <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
-    <!-- /wp:spacer -->
-    <!-- wp:pattern {"slug":"blockbase/comments"} /-->
-</div>
-<!-- /wp:group -->
-
-<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

+ 0 - 16
videomaker/functions.php

@@ -1,16 +0,0 @@
-<?php
-
-/**
- * Add Editor Styles
- */
-function videomaker_editor_styles() {
-	// Primary navigation is used on the header and the footer pattern
-	register_nav_menus(
-		array(
-			'primary' => __( 'Primary Navigation', 'videomaker' ),
-			'social' => __( 'Social Navigation', 'videomaker' ),
-			'footer' => __( 'Footer Navigation', 'videomaker' )
-		)
-	);
-}
-add_action( 'after_setup_theme', 'videomaker_editor_styles' );

+ 0 - 48
videomaker/inc/block-patterns.php

@@ -1,48 +0,0 @@
-<?php
-/**
- * Videomaker Theme: Block Patterns
- *
- * @package Videomaker
- * @since   1.0.0
- */
-if ( ! function_exists( 'videomaker_register_block_patterns' ) ) :
-
-	function videomaker_register_block_patterns() {
-
-		if ( function_exists( 'register_block_pattern_category' ) ) {
-			register_block_pattern_category(
-				'videomaker',
-				array( 'label' => __( 'Videomaker', 'videomaker' ) )
-			);
-		}
-
-		if ( function_exists( 'register_block_pattern' ) ) {
-			$block_patterns = array(
-				'about',
-				'awards',
-				'background-video',
-				'description',
-				'film-credits',
-				'film-poster',
-				'footer',
-				'full-width-homepage',
-				'header-description-and-grid-of-projects',
-				'header-names-list-and-grid',
-				'pattern-grid',
-				'pattern-offset-project-grid',
-				'pattern-two-posts-with-excerpt',
-				'post-i-love-you',
-				'reviews',
-			);
-
-			foreach ( $block_patterns as $block_pattern ) {
-				register_block_pattern(
-					'videomaker/' . $block_pattern,
-					require __DIR__ . '/patterns/' . $block_pattern . '.php'
-				);
-			}
-		}
-	}
-endif;
-
-add_action( 'init', 'videomaker_register_block_patterns', 9 );

+ 0 - 54
videomaker/inc/patterns/about.php

@@ -1,54 +0,0 @@
-<?php
-/**
- * About.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'About', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:spacer -->
-		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-		<!-- /wp:spacer -->
-
-		<!-- wp:columns {"align":"wide"} -->
-		<div class="wp-block-columns alignwide"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:heading {"level":3,"style":{"typography":{"fontWeight":"300"}},"fontSize":"large"} -->
-		<h3 class="has-large-font-size" style="font-weight:300">' . esc_html__( 'Mary Han is a award-winning creative director, designer, photographer and visual artist based in Singapore.', 'videomaker' ) . '</h3>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->
-
-		<!-- wp:columns {"align":"wide"} -->
-		<div class="wp-block-columns alignwide"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
-		<figure class="wp-block-image size-large"><img src="' . get_stylesheet_directory_uri() . '/assets/images/team-1-edited.jpg" alt="' . esc_attr__( 'Photograph of a person holding a camera', 'videomaker' ) . '" /></figure>
-		<!-- /wp:image -->
-
-		<!-- wp:paragraph {"fontSize":"medium"} -->
-		<p class="has-medium-font-size"><a href="#">' . esc_html__( 'The Crew', 'videomaker' ) . '</a></p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
-		<figure class="wp-block-image size-large"><img src="' . get_stylesheet_directory_uri() . '/assets/images/philosophy-1-edited.jpg" alt="' . esc_attr__( 'Photograph of a man holding a camera', 'videomaker' ) . '" /></figure>
-		<!-- /wp:image -->
-
-		<!-- wp:paragraph {"fontSize":"medium"} -->
-		<p class="has-medium-font-size"><a href="#">' . esc_html__( 'Our Philosophy', 'videomaker' ) . '</a></p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
-		<figure class="wp-block-image size-large"><img src="' . get_stylesheet_directory_uri() . '/assets/images/blog-edited.jpg" alt="' . esc_attr__( 'Photograph of a person standing and holding a camera in a city', 'videomaker' ) . '" /></figure>
-		<!-- /wp:image -->
-
-		<!-- wp:paragraph {"fontSize":"medium"} -->
-		<p class="has-medium-font-size"><a href="#">' . esc_html__( 'Blog', 'videomaker' ) . '</a></p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->',
-);

+ 0 - 86
videomaker/inc/patterns/awards.php

@@ -1,86 +0,0 @@
-<?php
-/**
- * Awards.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Awards', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:cover {"overlayColor":"background","minHeight":100,"minHeightUnit":"vh","align":"wide","style":{"spacing":{"padding":{"top":"50px","right":"50px","bottom":"50px","left":"50px"}}}} -->
-	<div class="wp-block-cover alignwide has-background-background-color has-background-dim" style="padding-top:50px;padding-right:50px;padding-bottom:50px;padding-left:50px;min-height:100vh"><div class="wp-block-cover__inner-container"><!-- wp:columns {"verticalAlignment":"center"} -->
-		<div class="wp-block-columns are-vertically-aligned-center">
-		
-		<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"20px","right":"0px","bottom":"20px","left":"0px"}}}} -->
-		<div class="wp-block-column is-vertically-aligned-center" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px">
-			
-			<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","allowOrientation":false,"justifyContent":"space-between","flexWrap":"nowrap"}} -->
-			<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_left.png" alt=""/></figure>
-			<!-- /wp:image -->
-			
-			<!-- wp:group -->
-			<div class="wp-block-group"><!-- wp:paragraph {"align":"center","fontSize":"medium","style":{"typography":{"lineHeight":"1"}}} -->
-			<p class="has-text-align-center has-medium-font-size" style="line-height:1"><strong>' . esc_html__( '\'Best Film\'', 'videomaker' ) . '</strong></p>
-			<!-- /wp:paragraph --><!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"0"}}}} -->
-			<p class="has-text-align-center" style="margin-top:0">' . esc_html__( 'Winner', 'videomaker' ) . '</p>
-			<!-- /wp:paragraph --></div>
-			<!-- /wp:group -->
-			
-			<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_right.png" alt=""/></figure>
-			<!-- /wp:image --></div>
-			<!-- /wp:group --></div>
-		<!-- /wp:column -->
-		
-		
-		<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"20px","right":"0px","bottom":"20px","left":"0px"}}}} -->
-		<div class="wp-block-column is-vertically-aligned-center" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px">
-			
-			<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","allowOrientation":false,"justifyContent":"space-between","flexWrap":"nowrap"}} -->
-			<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_left.png" alt=""/></figure>
-			<!-- /wp:image -->
-			
-			<!-- wp:group -->
-			<div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"0"}},"typography":{"letterSpacing":"-0.13em","lineHeight":"1"}},"fontSize":"medium"} -->
-			<p class="has-text-align-center has-medium-font-size" style="line-height:1;margin-top:0;letter-spacing:-0.13em"><strong>' . esc_html__( 'NFF', 'videomaker' ) . '</strong></p>
-			<!-- /wp:paragraph -->
-			<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"0"}},"typography":{"lineHeight":"1"}}} -->
-			<p class="has-text-align-center" style="line-height:1;margin-top:0">' . wp_kses_post( __( 'NEW FILM <br> FESTIVAL', 'videomaker' ) ) . '</p>
-			<!-- /wp:paragraph --></div>
-			<!-- /wp:group -->
-	
-			<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_right.png" alt=""/></figure>
-			<!-- /wp:image --></div>
-			<!-- /wp:group --></div>
-		<!-- /wp:column -->
-		
-		<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"20px","right":"0px","bottom":"20px","left":"0px"}}}} -->
-		<div class="wp-block-column is-vertically-aligned-center" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px">
-			
-			<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","allowOrientation":false,"justifyContent":"space-between","flexWrap":"nowrap"}} -->
-			<div class="wp-block-group"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_left.png" alt=""/></figure>
-			<!-- /wp:image -->
-			
-			<!-- wp:group -->
-			<div class="wp-block-group"><!-- wp:paragraph {"align":"center","fontSize":"medium","style":{"typography":{"lineHeight":"1"}}} -->
-			<p class="has-text-align-center has-medium-font-size" style="line-height:1"><strong>' . esc_html__( '\'Best Short\'', 'videomaker' ) . '</strong></p>
-			<!-- /wp:paragraph --><!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"0"}}}} -->
-			<p class="has-text-align-center" style="margin-top:0">' . esc_html__( 'Winner', 'videomaker' ) . '</p>
-			<!-- /wp:paragraph --></div>
-			<!-- /wp:group -->
-			
-			<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
-			<figure class="wp-block-image size-full"><img src="' . get_stylesheet_directory_uri() . '/assets/images/laurel_right.png" alt=""/></figure>
-			<!-- /wp:image --></div>
-			<!-- /wp:group --></div>
-		<!-- /wp:column -->
-		
-		</div>
-		<!-- /wp:columns --></div></div>
-	<!-- /wp:cover -->',
-);

+ 0 - 21
videomaker/inc/patterns/background-video.php

@@ -1,21 +0,0 @@
-<?php
-/**
- * Background Video
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Background video', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'blockTypes' => array( 'core/template-part/header' ),
-	'content'    => '<!-- wp:cover {"url":"' . get_stylesheet_directory_uri() . '/assets/videos/fish.mp4","dimRatio":40,"overlayColor":"background","backgroundType":"video","minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom left","isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"60px","right":"60px","bottom":"60px","left":"60px"}}}} -->
-					<div class="wp-block-cover alignfull is-light has-custom-content-position is-position-bottom-left" style="padding-top:60px;padding-right:60px;padding-bottom:60px;padding-left:60px;min-height:100vh"><span aria-hidden="true" class="has-background-background-color has-background-dim-40 wp-block-cover__gradient-background has-background-dim"></span><video class="wp-block-cover__video-background intrinsic-ignore" autoplay muted loop playsinline src="' . get_stylesheet_directory_uri() . '/assets/videos/fish.mp4" data-object-fit="cover"></video><div class="wp-block-cover__inner-container"><!-- wp:heading {"textColor":"foreground","fontSize":"large"} -->
-					<h2 class="has-foreground-color has-text-color has-large-font-size">' . esc_html__( 'Plenty of fish in the sea', 'videomaker' ) . '</h2>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph {"textColor":"foreground"} -->
-					<p class="has-foreground-color has-text-color">' . esc_html__( 'A film about finding what you’re looking for.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div></div>
-					<!-- /wp:cover -->',
-);

+ 0 - 36
videomaker/inc/patterns/description.php

@@ -1,36 +0,0 @@
-<?php
-/**
- * Description.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Description', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:spacer {"height":50} -->
-	<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:paragraph {"align":"center","fontSize":"large"} -->
-	<p class="has-text-align-center has-large-font-size">' . esc_html__( 'Working at Dawn', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:columns {"isStackedOnMobile":false} -->
-	<div class="wp-block-columns is-not-stacked-on-mobile"><!-- wp:column -->
-	<div class="wp-block-column"><!-- wp:paragraph {"align":"right","fontSize":"medium"} -->
-	<p class="has-text-align-right has-medium-font-size">' . wp_kses_post( __( '<strong>Release Date<br>Rating</strong><br><br><strong>Year<br>Country<br>Slogan<br>Genre<br>Time<br>Budget<br>Age</strong>', 'videomaker' ) ) . '</p>
-	<!-- /wp:paragraph --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column -->
-	<div class="wp-block-column"><!-- wp:paragraph {"fontSize":"medium"} -->
-	<p class="has-medium-font-size">' . wp_kses_post( __( '25th March 2020<br>PG-13<br><br>2016<br>United States of America<br>“A Life of Labor”<br>Short Film, Documentary<br>35 min.<br>$ 450 000<br>12+', 'videomaker' ) ) . '</p>
-	<!-- /wp:paragraph --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->
-
-	<!-- wp:spacer {"height":50} -->
-	<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->',
-);

+ 0 - 50
videomaker/inc/patterns/film-credits.php

@@ -1,50 +0,0 @@
-<?php
-/**
- * Film credits.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Film credits', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:spacer {"height":50} -->
-	<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"medium"} -->
-	<p class="has-text-align-center has-medium-font-size" style="line-height:1.3">' . esc_html__( 'Based on the novel “Working at Dawn” by', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"large"} -->
-	<p class="has-text-align-center has-large-font-size" style="line-height:1.3">' . esc_html__( 'LOIS HERBERT', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:spacer {"height":20} -->
-	<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"medium"} -->
-	<p class="has-text-align-center has-medium-font-size" style="line-height:1.3">' . esc_html__( 'Screenplay by', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"large"} -->
-	<p class="has-text-align-center has-large-font-size" style="line-height:1.3">' . wp_kses_post( __( 'AUGUSTA SMITH<br>AMBER ANDREWS<br>MARY HAN', 'videomaker' ) ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:spacer {"height":20} -->
-	<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"medium"} -->
-	<p class="has-text-align-center has-medium-font-size" style="line-height:1.3">' . esc_html__( 'Directed by', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"large"} -->
-	<p class="has-text-align-center has-large-font-size" style="line-height:1.3">' . esc_html__( 'MARY HAN', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	<!-- wp:spacer {"height":50} -->
-	<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->',
-);

+ 0 - 72
videomaker/inc/patterns/film-poster.php

@@ -1,72 +0,0 @@
-<?php
-/**
- * Film poster.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Film poster', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"backgroundColor":"background"} -->
-		<div class="wp-block-group alignwide has-background-background-color has-background" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:cover {"url":"' . get_stylesheet_directory_uri() . '/assets/images/working_at_dawn.jpg","dimRatio":0,"overlayColor":"background","minHeight":1410,"minHeightUnit":"px","contentPosition":"center center","align":"wide","style":{"spacing":{"padding":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}}}} -->
-		<div class="wp-block-cover alignwide has-background-background-color" style="padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;min-height:1410px"><img class="wp-block-cover__image-background" alt="" src="' . get_stylesheet_directory_uri() . '/assets/images/working_at_dawn.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:image {"align":"center","width":206,"height":105,"sizeSlug":"full","linkDestination":"none"} -->
-		<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img src="' . get_stylesheet_directory_uri() . '/assets/images/new_film.png" alt="' . esc_attr__( 'Photo of a man working at dawn', 'videomaker' ) . '" width="206" height="105"/></figure></div>
-		<!-- /wp:image -->
-
-		<!-- wp:paragraph {"align":"center","textColor":"foreground","fontSize":"normal"} -->
-		<p class="has-text-align-center has-normal-font-size has-foreground-color has-text-color"><em>' . esc_html__( '“Absurdly and assuredly packed punch in the gut.”', 'videomaker' ) . '</em></p>
-		<!-- /wp:paragraph -->
-
-		<!-- wp:paragraph {"align":"center","textColor":"foreground","style":{"typography":{"fontSize":"12px"}}} -->
-		<p class="has-text-align-center has-foreground-color has-text-color" style="font-size:12px"><strong>' . esc_html__( 'Latest Review', 'videomaker' ) . '</strong></p>
-		<!-- /wp:paragraph -->
-
-		<!-- wp:spacer {"height":500} -->
-		<div style="height:500px" aria-hidden="true" class="wp-block-spacer"></div>
-		<!-- /wp:spacer -->
-
-		<!-- wp:paragraph {"align":"center","textColor":"foreground","placeholder":"Write title…","style":{"typography":{"lineHeight":"1.3"}},"fontSize":"large"} -->
-		<p class="has-text-align-center has-large-font-size has-foreground-color has-text-color" style="line-height:1.3">' . wp_kses_post( __( '<strong>MAN WORKING AT DAWN</strong>', 'videomaker' ) ) . '</p>
-		<!-- /wp:paragraph -->
-
-		<!-- wp:paragraph {"align":"center","textColor":"foreground","style":{"typography":{"lineHeight":"1"}}} -->
-		<p class="has-text-align-center has-foreground-color has-text-color" style="line-height:1">' . wp_kses_post( __( 'A Film by <strong>Mary Han</strong>', 'videomaker' ) ) . '</p>
-		<!-- /wp:paragraph --></div></div>
-		<!-- /wp:cover -->
-
-		<!-- wp:columns -->
-		<div class="wp-block-columns"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
-		<p class="has-text-align-center has-medium-font-size">' . esc_html__( 'AKACHUKWU ELBA', 'videomaker' ) . '</p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
-		<p class="has-text-align-center has-medium-font-size">' . esc_html__( 'VICTORIA EDEM', 'videomaker' ) . '</p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
-		<p class="has-text-align-center has-medium-font-size">' . esc_html__( 'MUSA IDOWU', 'videomaker' ) . '</p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
-		<p class="has-text-align-center has-medium-font-size">' . esc_html__( 'SANI GODWIN', 'videomaker' ) . '</p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->
-
-		<!-- wp:columns {"align":"wide"} -->
-		<div class="wp-block-columns alignwide"><!-- wp:column {"width":"100%"} -->
-		<div class="wp-block-column" style="flex-basis:100%"><!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"12px"}}} -->
-		<p class="has-text-align-center" style="font-size:12px">' . esc_html__( 'Videomaker Collective Presents In Association with HANO Direction by Amber Andrews Screenplay by Augusta Smith Camera Diego Cruz, Helen Smith-Andrews and Amber Andrews Art Philip Mizrahi Production Romana Arakelyan Operators Syd Wyatt and Cameron Madeira Behind the Camera Diego Cruz Color Editing and Post-Production Philip Mizrahi and Tony Sánchez Videomaker Collective Presents In Association with HANO Direction by Amber Andrews Screenplay by Augusta Smith Camera Diego Cruz, Helen Smith-Andrews and Amber Andrews Art Philip Mizrahi Production Romana Arakelyan Operators Syd Wyatt and Cameron Madeira Behind the Camera Diego Cruz Color Editing and Post-Production Philip Mizrahi and Tony Sánchez', 'videomaker' ) . '</p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns --></div>
-		<!-- /wp:group -->',
-);

+ 0 - 32
videomaker/inc/patterns/footer.php

@@ -1,32 +0,0 @@
-<?php
-/**
- * Footer with a vertical menu
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Footer with a vertical menu', 'blockbase' ),
-	'categories' => array( 'videomaker' ),
-	'blockTypes' => array( 'core/template-part/footer' ),
-	'content'    => '<!-- wp:group {"layout":{"inherit":"true"}} -->
-	<div class="wp-block-group">
-		<!-- wp:group {"align":"wide","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"space-between"},"style":{"spacing":{"padding":{"top":"30px","bottom":"min(30px, 5vw)"}}}} -->
-		<div class="wp-block-group alignwide" style="padding-top: 30px;padding-bottom: min(30px, 5vw)">	<!-- wp:group -->
-			<div class="wp-block-group">
-				<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"},"style":{"typography":{"textTransform":"uppercase"},"spacing":{"blockGap":"0px"}}} /-->
-			</div>
-			<!-- /wp:group -->
-			<!-- wp:group {"className":"footer-credit"} -->
-			<div class="wp-block-group footer-credit">
-				<!-- wp:paragraph {"fontSize":"small"} -->
-				<p class="has-small-font-size">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
-				<!-- /wp:paragraph -->
-			</div>
-			<!-- /wp:group -->
-		</div>
-		<!-- /wp:group -->
-	</div>
-	<!-- /wp:group -->
-	',
-);

+ 0 - 27
videomaker/inc/patterns/full-width-homepage.php

@@ -1,27 +0,0 @@
-<?php
-/**
- * Full-width Homepage
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Full-width Homepage', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'blockTypes' => array( 'core/template-part/header' ),
-	'content'    => '<!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
-	<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
-	<div class="wp-block-column is-vertically-aligned-center"><!-- wp:site-title /--></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"verticalAlignment":"center"} -->
-	<div class="wp-block-column is-vertically-aligned-center"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"typography":{"textTransform":"uppercase"}}} /--></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->
-
-	<!-- wp:embed {"url":"https://videopress.com/v/bjvmxiQS","type":"video","providerNameSlug":"videopress","responsive":true,"align":"wide","className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed alignwide is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/bjvmxiQS
-	</div></figure>
-	<!-- /wp:embed -->',
-);

+ 0 - 111
videomaker/inc/patterns/header-description-and-grid-of-projects.php

@@ -1,111 +0,0 @@
-<?php
-/**
- * Header, Description and Grid of Projects
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Header, Description and Grid of Projects', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'blockTypes' => array( 'core/template-part/header' ),
-	'content'    => '<!-- wp:columns {"verticalAlignment":"top","align":"wide"} -->
-	<div class="wp-block-columns alignwide are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"30%"} -->
-	<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:30%"><!-- wp:site-title /-->
-
-		<!-- wp:heading {"level":3,"style":{"typography":{"fontWeight":"300"}}} -->
-		<h3 style="font-weight:300">' . esc_html__( 'Jonah is Creative Director of Hano, a production studio that specializes in combining storytelling with visual design.', 'videomaker' ) . '</h3>
-		<!-- /wp:heading -->
-
-		<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"},"style":{"typography":{"textTransform":"uppercase"}}} /-->
-
-		</div>
-		<!-- /wp:column -->
-
-		<!-- wp:column {"width":"10%"} -->
-		<div class="wp-block-column" style="flex-basis:10%"><!-- wp:spacer -->
-		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-		<!-- /wp:spacer --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column {"width":"60%"} -->
-		<div class="wp-block-column" style="flex-basis:60%"><!-- wp:columns -->
-		<div class="wp-block-columns"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/bjvmxiQS","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/bjvmxiQS
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'Working at Dawn', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/z4N1oaIj","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/z4N1oaIj
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->
-
-		<!-- wp:columns -->
-		<div class="wp-block-columns"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/QnM8BRgT","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/QnM8BRgT
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'The Tale of The Three Cocktails', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/ma3Uz3AE","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/ma3Uz3AE
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'Plenty of Fish in the Sea', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->
-
-		<!-- wp:columns -->
-		<div class="wp-block-columns"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/Ubk3Xl86","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/Ubk3Xl86
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'Is this the Pacific?', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/TKDIpWEl","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-		https://videopress.com/v/TKDIpWEl
-		</div></figure>
-		<!-- /wp:embed -->
-
-		<!-- wp:heading {"level":4,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-		<h4 class="wp-embed-aspect-16-9 wp-has-aspect-ratio">' . esc_html__( 'I Love You', 'videomaker' ) . '</h4>
-		<!-- /wp:heading --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->',
-);

+ 0 - 54
videomaker/inc/patterns/header-names-list-and-grid.php

@@ -1,54 +0,0 @@
-<?php
-/**
- * Header, Names List and Grid
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Header, Names List and Grid', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'blockTypes' => array( 'core/template-part/header' ),
-	'content'    => '<!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:columns {"verticalAlignment":"top","align":"wide"} -->
-	<div class="wp-block-columns alignwide are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"46.67%"} -->
-	<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:46.67%"><!-- wp:site-title /-->
-
-	<!-- wp:heading {"level":3,"style":{"typography":{"fontWeight":"300"}}} -->
-	<h3 style="font-weight:300">' . esc_html__( 'Augusta Smith', 'videomaker' ) . '<br>' . esc_html__( 'Amber Andrews', 'videomaker' ) . '<br>' . esc_html__( 'Syd Wyatt', 'videomaker' ) . '<br>' . esc_html__( 'Philip Mizrahi', 'videomaker' ) . '<br>' . esc_html__( 'Tony Sánchez', 'videomaker' ) . '<br>' . esc_html__( 'Romana Arak', 'videomaker' ) . '</h3>
-	<!-- /wp:heading --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"13.33%"} -->
-	<div class="wp-block-column" style="flex-basis:13.33%"><!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"60%"} -->
-	<div class="wp-block-column" style="flex-basis:60%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/z4N1oaIj","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/z4N1oaIj
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:heading {"level":3,"style":{"typography":{"fontWeight":"700"}},"fontSize":"normal"} -->
-	<h3 class="has-normal-font-size" style="font-weight:700">' . esc_html__( 'Boats', 'videomaker' ) . '</h3>
-	<!-- /wp:heading -->
-
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--x-small)"}}} /-->
-	</div>
-	<!-- /wp:group -->
-
-	</div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->',
-);

+ 0 - 116
videomaker/inc/patterns/pattern-grid.php

@@ -1,116 +0,0 @@
-<?php
-/**
- * Pattern: Grid
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Grid', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:columns {"align":"wide"} -->
-					<div class="wp-block-columns alignwide"><!-- wp:column -->
-					<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/bjvmxiQS","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/bjvmxiQS
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4,"style":{"spacing":{"margin":{"bottom":"10px"}}}} -->
-					<h4 style="margin-bottom:10px">' . esc_html__( 'Working at Dawn', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'Trailer for a film about people working along a river.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column -->
-
-					<!-- wp:column -->
-					<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/z4N1oaIj","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/z4N1oaIj
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4,"style":{"spacing":{"margin":{"bottom":"10px"}}}} -->
-					<h4 style="margin-bottom:10px">' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'A brief, ambient film of boats rising and lowering in the waves.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column --></div>
-					<!-- /wp:columns -->
-
-					<!-- wp:columns {"align":"wide"} -->
-					<div class="wp-block-columns alignwide"><!-- wp:column -->
-					<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/QnM8BRgT","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/QnM8BRgT
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4,"style":{"spacing":{"margin":{"bottom":"10px"}}}} -->
-					<h4 style="margin-bottom:10px">' . esc_html__( 'The Tale of The Three Cocktails', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'A music video for the band “Generous Penguin”.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column -->
-
-					<!-- wp:column -->
-					<div class="wp-block-column"><!-- wp:embed {"url":"https://videopress.com/v/ma3Uz3AE","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/ma3Uz3AE
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4,"style":{"spacing":{"margin":{"bottom":"10px"}}}} -->
-					<h4 style="margin-bottom:10px">' . esc_html__( 'Plenty of Fish In The Sea', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'A film about finding what you’re looking for.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column --></div>
-					<!-- /wp:columns -->
-
-					<!-- wp:columns {"align":"wide"} -->
-					<div class="wp-block-columns alignwide"><!-- wp:column -->
-					<div class="wp-block-column">
-
-					<!-- wp:embed {"url":"https://videopress.com/v/Ubk3Xl86","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/Ubk3Xl86
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4} -->
-					<h4>' . esc_html__( 'Is This The Pacific?', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'A documentary about how the climate crisis affects the Pacific ocean.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column -->
-
-					<!-- wp:column -->
-					<div class="wp-block-column">
-
-					<!-- wp:embed {"url":"https://videopress.com/v/TKDIpWEl","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-					<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-					https://videopress.com/v/TKDIpWEl
-					</div></figure>
-					<!-- /wp:embed -->
-
-					<!-- wp:heading {"level":4} -->
-					<h4>' . esc_html__( 'I Love You', 'videomaker' ) . '</h4>
-					<!-- /wp:heading -->
-
-					<!-- wp:paragraph -->
-					<p>' . esc_html__( 'An advertisement film series for a fragrance.', 'videomaker' ) . '</p>
-					<!-- /wp:paragraph --></div>
-					<!-- /wp:column --></div>
-					<!-- /wp:columns -->',
-);

+ 0 - 154
videomaker/inc/patterns/pattern-offset-project-grid.php

@@ -1,154 +0,0 @@
-<?php
-/**
- * Pattern: Offset Project Grid
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Offset Project Grid', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:columns {"align":"wide"} -->
-	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"60%"} -->
-	<div class="wp-block-column" style="flex-basis:60%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/bjvmxiQS","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/bjvmxiQS
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:group -->
-	<div class="wp-block-group">
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Working at Dawn', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	<!-- wp:paragraph -->
-	<p>' . esc_html__( 'Trailer for a film about people working along a river.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	</div>
-	<!-- /wp:group --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"40%"} -->
-	<div class="wp-block-column" style="flex-basis:40%"><!-- wp:spacer {"height":290} -->
-	<div style="height:290px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:embed {"url":"https://videopress.com/v/z4N1oaIj","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/z4N1oaIj
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:group -->
-	<div class="wp-block-group">
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	<!-- wp:paragraph -->
-	<p>' . esc_html__( 'A brief, ambient film of boats rising and lowering in the waves.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	</div>
-	<!-- /wp:group --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->
-
-	<!-- wp:spacer {"height":65} -->
-	<div style="height:65px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:columns {"align":"wide"} -->
-	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"20%"} -->
-	<div class="wp-block-column" style="flex-basis:20%"><!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"66.66%"} -->
-	<div class="wp-block-column" style="flex-basis:66.66%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/QnM8BRgT","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/QnM8BRgT
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:group -->
-	<div class="wp-block-group">
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'The Tale Of Three Cocktails', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	<!-- wp:paragraph -->
-	<p>' . esc_html__( 'A music video for the band “Generous Penguin”.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	</div>
-	<!-- /wp:group --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"33.33%"} -->
-	<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->
-
-	<!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:columns {"align":"wide"} -->
-	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"40%"} -->
-	<div class="wp-block-column" style="flex-basis:40%"><!-- wp:spacer {"height":385} -->
-	<div style="height:385px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:embed {"url":"https://videopress.com/v/Ubk3Xl86","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/Ubk3Xl86
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:group --><div class="wp-block-group">
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Is This The Pacific?', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	<!-- wp:paragraph -->
-	<p>' . esc_html__( 'A documentary about how the climate crisis affects the Pacific ocean.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	</div>
-	<!-- /wp:group --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"60%"} -->
-	<div class="wp-block-column" style="flex-basis:60%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/ma3Uz3AE","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/ma3Uz3AE
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:group -->
-	<div class="wp-block-group">
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Plenty of Fish In The Sea', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	<!-- wp:paragraph -->
-	<p>' . esc_html__( 'A film about finding what you’re looking for.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->
-
-	</div>
-	<!-- /wp:group --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->'
-);

+ 0 - 86
videomaker/inc/patterns/pattern-two-posts-with-excerpt.php

@@ -1,86 +0,0 @@
-<?php
-/**
- * Pattern: Two posts with excerpt
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Two posts with excerpt', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:columns {"align":"wide"} -->
-	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"80%"} -->
-	<div class="wp-block-column" style="flex-basis:80%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/bjvmxiQS","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/bjvmxiQS
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:columns -->
-	<div class="wp-block-columns"><!-- wp:column -->
-	<div class="wp-block-column">
-
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Working at Dawn', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	</div>
-	<!-- /wp:column -->
-
-	<!-- wp:column -->
-	<div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.5"}},"fontSize":"small"} -->
-	<p class="has-small-font-size" style="line-height:1.5">' . esc_html__( 'As nations under the present system are driven to compete with one another for the markets of the world, so also have the workers to compete with each other—for livelihood.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"33.33%"} -->
-	<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->
-
-	<!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer -->
-
-	<!-- wp:columns {"align":"wide"} -->
-	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"20%"} -->
-	<div class="wp-block-column" style="flex-basis:20%"><!-- wp:spacer -->
-	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-	<!-- /wp:spacer --></div>
-	<!-- /wp:column -->
-
-	<!-- wp:column {"width":"80%"} -->
-	<div class="wp-block-column" style="flex-basis:80%">
-
-	<!-- wp:embed {"url":"https://videopress.com/v/z4N1oaIj","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/z4N1oaIj
-	</div></figure>
-	<!-- /wp:embed -->
-
-	<!-- wp:columns -->
-	<div class="wp-block-columns"><!-- wp:column -->
-	<div class="wp-block-column">
-
-	<!-- wp:heading {"level":4} -->
-	<h4>' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
-	<!-- /wp:heading -->
-
-	</div>
-	<!-- /wp:column -->
-
-	<!-- wp:column -->
-	<div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.5"}},"fontSize":"small"} -->
-	<p class="has-small-font-size" style="line-height:1.5">' . esc_html__( 'As nations under the present system are driven to compete with one another for the markets of the world, so also have the workers to compete with each other—for livelihood.', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns --></div>
-	<!-- /wp:column --></div>
-	<!-- /wp:columns -->',
-);

+ 0 - 19
videomaker/inc/patterns/post-i-love-you.php

@@ -1,19 +0,0 @@
-<?php
-/**
- * Post: I Love You
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Post: I Love You', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:embed {"url":"https://videopress.com/v/TKDIpWEl","type":"video","providerNameSlug":"videopress","responsive":true,"className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->
-	<figure class="wp-block-embed is-type-video is-provider-videopress wp-block-embed-videopress wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
-	https://videopress.com/v/TKDIpWEl
-	</div></figure>
-	<!-- /wp:embed -->
-	<!-- wp:paragraph {"fontSize":"small"} -->
-	<p class="has-small-font-size">' . esc_html__( 'As nations under the present system are driven to compete with one another for the markets of the world, and as firms or the captains of industry have to scramble for their share of the profits of the markets, so also have the workers to compete with each other—for livelihood.', 'videomaker' ) . '<br><br>—<br><br><strong>' . esc_html__( 'Direction', 'videomaker' ) . '</strong><br>' . esc_html__( 'Amber Andrews', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Screenplay', 'videomaker' ) . '</strong><br>' . esc_html__( 'Augusta Smith', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Actors', 'videomaker' ) . '</strong><br>' . esc_html__( 'Akachukwu Elba', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Camera', 'videomaker' ) . '</strong><br>' . esc_html__( 'Diego Cruz, Helen Smith-Andrews and Amber Andrews', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Art', 'videomaker' ) . '</strong><br>' . esc_html__( 'Philip Mizrahi', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Production', 'videomaker' ) . '</strong><br>' . esc_html__( 'Romana Arakelyan', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Operators', 'videomaker' ) . '</strong><br>' . esc_html__( 'Syd Wyatt and Cameron Madeira', 'videomaker' ) . '<br>' . esc_html__( 'Behind the Camera: Diego Cruz', 'videomaker' ) . '<br><br><strong>' . esc_html__( 'Color Editing and Post-Production', 'videomaker' ) . '<br></strong>' . esc_html__( 'Philip Mizrahi and Tony Sánchez', 'videomaker' ) . '</p>
-	<!-- /wp:paragraph -->',
-);

+ 0 - 40
videomaker/inc/patterns/reviews.php

@@ -1,40 +0,0 @@
-<?php
-/**
- * Reviews.
- *
- * @package Videomaker
- */
-
-return array(
-	'title'      => __( 'Reviews', 'videomaker' ),
-	'categories' => array( 'videomaker' ),
-	'content'    => '<!-- wp:spacer -->
-		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-		<!-- /wp:spacer -->
-
-		<!-- wp:columns {"align":"wide"} -->
-		<div class="wp-block-columns alignwide"><!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"fontSize":"medium"} -->
-		<p class="has-medium-font-size"><em>' . esc_html__( '“Han’s newest short film is an absurdly and assuredly packed punch in the gut that’s short, shocking, and, incidentally, a romantic view on underdeveloped coutries.”', 'videomaker' ) . '</em></p>
-		<!-- /wp:paragraph -->
-
-		<!-- wp:paragraph {"fontSize":"small"} -->
-		<p class="has-small-font-size"><strong>' . esc_html__( '— Latest Review', 'videomaker' ) . '</strong></p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column -->
-
-		<!-- wp:column -->
-		<div class="wp-block-column"><!-- wp:paragraph {"fontSize":"medium"} -->
-		<p class="has-medium-font-size"><em>' . esc_html__( '“The film is beautifully shot and captures the picturesque African savannah, with the memorable image of a man working at dawn, creating a striking contrast between nature and humankind.”', 'videomaker' ) . '</em></p>
-		<!-- /wp:paragraph -->
-
-		<!-- wp:paragraph {"fontSize":"small"} -->
-		<p class="has-small-font-size"><strong>' . esc_html__( '— The Newspaper', 'videomaker' ) . '</strong></p>
-		<!-- /wp:paragraph --></div>
-		<!-- /wp:column --></div>
-		<!-- /wp:columns -->
-
-		<!-- wp:spacer -->
-		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
-		<!-- /wp:spacer -->',
-);

+ 0 - 25
videomaker/package.json

@@ -1,25 +0,0 @@
-{
-  "name": "videomaker",
-  "version": "1.0.25",
-  "description": "",
-  "main": "style.css",
-  "devDependencies": {
-    "@wordpress/base-styles": "^4.0.4",
-    "@wordpress/browserslist-config": "^4.1.0",
-    "autoprefixer": "^10.4.2",
-    "chokidar-cli": "^3.0.0",
-    "postcss": "^8.2.12",
-    "postcss-cli": "^9.1.0",
-    "sass": "^1.47.0"
-  },
-  "browserslist": [
-    "extends @wordpress/browserslist-config"
-  ],
-  "scripts": {
-    "start": "chokidar \"**/*.scss\" -c \"npm run build\" --initial",
-    "build": "npm run build:scss",
-    "build:scss": "sass sass/theme.scss assets/theme.css --style=expanded --load-path ../node_modules && postcss assets/theme.css --use autoprefixer --output assets/theme.css --map"
-  },
-  "author": "",
-  "license": "GPLv2"
-}

+ 0 - 148
videomaker/readme.txt

@@ -1,148 +0,0 @@
-=== Videomaker ===
-Contributors: Automattic
-Requires at least: 5.8
-Tested up to: 5.8
-Requires PHP: 5.7
-License: GPLv2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-
-== Description ==
-
-Videomaker is a free, minimalistic WordPress theme ideal for film directors and video creators.
-
-It features a variety of block patterns created specifically for film releases and video portfolios, and allows the traditional blogging experience with a single column layout for blog posts.
-
-With simple, customizable typography, and alternative color palettes, Videomaker lets your videos stand out both on desktop and mobile devices.
-
-Videomaker is designed to work with the VideoPress plugin, although it will work well without it.
-
-== Changelog ==
-
-= 1.0.25 =
-* Blockbase Children: remove conflicting `core/navigation-link` styles (#7029)
-
-= 1.0.24 =
-* Blockbase + children: remove __unstableLocation (#6759)
-
-= 1.0.23 =
-* Remove Theme Variants (#6706)
-
-= 1.0.22 =
-* Videomaker: Fix primary color usage (#6663)
-
-= 1.0.21 =
-* lock post-content block by default (#6314)
-
-= 1.0.20 =
-* Blockbase: Locked post content blocks  (#6299)
-
-= 1.0.19 =
-* Blockbase 3 (#6167)
-
-= 1.0.18 =
-* migrate to npm workspaces (#6200)
-
-= 1.0.17 =
-* Update all /pub themes so the theme-uri points to `https://wordpress.com/theme/<slug>` (#6033)
-
-= 1.0.16 =
-* multiple themes: update font sizes from px to rem for better a11y (#5801)
-
-= 1.0.15 =
-* Archeo: Load patterns automatically (#5715)
-* Build videomaker variations and version bumpped
-* Videomaker: fixing fonts path (#5711)
-
-= 1.0.13 =
-* Update dependencies (#5476)
-
-= 1.0.12 =
-* Videomaker: use locally-hosted version of Inter instead of Google Fonts (#5442)
-
-= 1.0.11 =
-* Videomaker: Add images from WPCOM (#5395)
-
-= 1.0.10 =
-* Videomaker: Consolidate footer patterns in Videomaker (#5374)
-
-= 1.0.9 =
-* Blockbase: Load Block Patterns for children automatically (#5363)
-
-= 1.0.8 =
-* Blockbase: update dependencies & change node-sass to dart sass (#5290)
-* Font size names update (#5300)
-* Update all dependencies and add update script (#5304)
-
-= 1.0.7 =
-* Reverting the mess caused renaming template folders (#5317)
-* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
-* Refix/5105 script refactor template folders (#5312)
-* Ran script moving template resources
-* Blockbase: refactor footers to patterns (#5245)
-* Blockbase: converted headers to patterns (#5238)
-* Videomaker: Remove the redundant template (#5297)
-
-= 1.0.6 =
-* Update title and names in Videomaker screenshot + patterns (#5164)
-
-= 1.0.5 =
-* Defaulting videomaker header fonts to Inter (#5185)
-
-= 1.0.4 =
-* Fix/videomaker heading spacing (#5178)
-
-= 1.0.3 =
-* Try/consolidate headers (#5145)
-* Videomaker: Add a group to apply layout the header and footer (#5165)
-
-= 1.0.2 =
-* Blockbase: refactor template part blocks (#5129)
-* Blockbase: Add an archive template (#5127)
-* Videomaker: Make the footer wide not full (#5139)
-
-= 1.0.1 =
-* Videomaker: adjusting active states (#5091)
-* Videomaker: Add resource sources (#5098)
-* Videomaker: Update Videomaker navigation (#5059)
-* Videomaker: Fix vertical spacing in and around posts (#5068)
-* Videomaker: Cleanup grid patterns, replace I Love You video (#5090)
-
-= 1.0.0 =
-* Initial release
-
-== Copyright ==
-
-Videomaker WordPress Theme, (C) 2021 Automattic, Inc.
-Videomaker 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.
-
-Videomaker uses the following resources:
-
-Videos
-License: CC0
-Source: https://www.pexels.com/video/video-of-school-of-fish-854012/
-		https://www.pexels.com/video/watercrafts-docked-853917/
-		https://www.pexels.com/video/boats-floating-at-the-sea-853856/
-		https://www.pexels.com/video/man-working-during-dawn-854069/
-		https://www.pexels.com/video/mixing-cocktail-drinks-854128/
-		https://www.pexels.com/video/black-and-white-video-of-busy-street-854141/
-
-Images
-License: CC0
-Source: https://pxhere.com/en/photo/559804
-		https://stocksnap.io/photo/people-hands-91UQMKOMCW
-		https://stocksnap.io/photo/camera-lens-0RG77S4ZNE
-		https://stocksnap.io/photo/people-man-NSV3ZCAJXT
-		https://stocksnap.io/photo/people-man-6O7JXC5DC5
-		https://stocksnap.io/photo/camera-gopro-IOO3SM5ZEH
-
-Included in theme screenshot and in block patterns.

+ 0 - 17
videomaker/sass/_fonts.scss

@@ -1,17 +0,0 @@
-@font-face {
-	font-family: Inter;
-	font-weight: 100 900;
-	font-display: swap;
-	font-style: normal;
-	font-named-instance: "Regular";
-	src: url("./fonts/Inter-roman_var.woff2") format("woff2");
-}
-
-@font-face {
-	font-family: Inter;
-	font-weight: 100 900;
-	font-display: swap;
-	font-style: italic;
-	font-named-instance: "Italic";
-	src: url("./fonts/Inter-italic_var.woff2") format("woff2");
-}

+ 0 - 4
videomaker/sass/_links.scss

@@ -1,4 +0,0 @@
-a:not(.wp-block-query-pagination-next):active {
-	background: var(--wp--custom--color--foreground) !important;
-	color: var(--wp--custom--color--background) !important;
-}

+ 0 - 7
videomaker/sass/_meta.scss

@@ -1,7 +0,0 @@
-div.post-meta {
-	@include post-meta-with-separator('/');
-
-	a {
-		text-decoration: none;
-	}
-}

+ 0 - 4
videomaker/sass/_navigation.scss

@@ -1,4 +0,0 @@
-// Needed until this is merged: https://github.com/WordPress/gutenberg/issues/35040
-.is-vertical.items-justified-right ul.wp-block-navigation__container {
-	align-items: flex-end;
-}

+ 0 - 16
videomaker/sass/blocks/_post-navigation-link.scss

@@ -1,16 +0,0 @@
-.wp-block-post-navigation-link {
-	flex-grow: 1;
-
-	&:not(:empty){
-		border-top: 1px solid var(--wp--custom--color--primary);
-	}
-
-	a {
-		display: inline-block;
-		margin-top: 10px;
-	}
-}
-
-.post-navigation-link-next {
-	text-align: right;
-}

+ 0 - 18
videomaker/sass/blocks/_post-terms.scss

@@ -1,18 +0,0 @@
-.post-tags-container {
-	.taxonomy-post_tag.wp-block-post-terms {
-		display: flex;
-		flex-wrap: wrap;
-		gap: var(--wp--custom--gap--baseline, 1em);
-
-		a {
-			background: var(--wp--custom--color--tertiary);
-			border-radius: 100px;
-			font-weight: 600;
-			padding: 10px 20px;
-		}
-
-		.wp-block-post-terms__separator {
-			display: none;
-		}
-	}
-}

+ 0 - 19
videomaker/sass/blocks/_query-pagination.scss

@@ -1,19 +0,0 @@
-div.wp-block-query-pagination {
-	grid-template-areas: "prev next";
-	grid-template-columns: 1fr 1fr;
-
-	.wp-block-query-pagination-previous,
-	.wp-block-query-pagination-next {
-		border-top: 1px solid var(--wp--custom--color--primary);
-		padding-top: 10px;
-		width: 100%;
-	}
-
-	.wp-block-query-pagination-next {
-		text-align: right;
-	}
-
-	.is-arrow-arrow {
-		font-family: var(--wp--preset--font-family--system-font);
-	}
-}

+ 0 - 11
videomaker/sass/templates/_footer.scss

@@ -1,11 +0,0 @@
-footer > .wp-block-group {
-	align-items: center;
-	justify-content: space-between; // Needed until we have a way to set this via block attributes
-	p {
-		margin-bottom: 0;
-	}
-
-	.footer-credit {
-		align-self: flex-end;
-	}
-}

+ 0 - 11
videomaker/sass/theme.scss

@@ -1,11 +0,0 @@
-@import "../../blockbase/sass/base/breakpoints"; // Get the mobile-only media query and make it available to this theme's styles
-@import "../../blockbase/sass/base/mixins";
-@import "../../blockbase/sass/blocks/_buttons-outline-style";
-@import "fonts";
-@import "links";
-@import "meta";
-@import "navigation";
-@import "templates/footer";
-@import "blocks/post-terms";
-@import "blocks/post-navigation-link";
-@import "blocks/query-pagination";

BIN
videomaker/screenshot.jpg


+ 0 - 17
videomaker/style.css

@@ -1,17 +0,0 @@
-/*
-Theme Name: Videomaker
-Theme URI: https://wordpress.com/theme/videomaker
-Author: Automattic
-Author URI: https://automattic.com/
-Description: Videomaker is a free, minimalistic WordPress theme ideal for film directors and video creators.
-Requires at least: 5.8
-Tested up to: 5.8
-Requires PHP: 5.7
-Version: 1.0.25
-License: GNU General Public License v2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-Template: blockbase
-Text Domain: videomaker
-Tags: one-column, block-styles, 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
-
-*/

+ 0 - 31
videomaker/styles/blue-yellow.json

@@ -1,31 +0,0 @@
-{
-	"version": 2,
-	"title": "Blue/Yellow",
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#FFFFFF",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#0C1525",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#FFEBD9",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#1D283D",
-					"name": "Tertiary"
-				}
-			]
-		}
-	}
-}
-	

+ 0 - 31
videomaker/styles/grey-bordeaux.json

@@ -1,31 +0,0 @@
-{
-	"version": 2,
-	"title": "Light Grey/Bordeaux",
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#000000",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#E3E4E8",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#4E1509",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#FAFAFA",
-					"name": "Tertiary"
-				}
-			]
-		}
-	}
-}
-	

+ 0 - 31
videomaker/styles/grey-mint.json

@@ -1,31 +0,0 @@
-{
-	"version": 2,
-	"title": "Grey/Mint Green",
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#FFFFFF",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#3D3D3D",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#E7FFDE",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#4F4F4F",
-					"name": "Tertiary"
-				}
-			]
-		}
-	}
-}
-	

+ 0 - 31
videomaker/styles/olive-pink.json

@@ -1,31 +0,0 @@
-{
-	"version": 2,
-	"title": "Olive Green/Light Pink",
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#FFFFFF",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#283226",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#FFF1EE",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#3B453A",
-					"name": "Tertiary"
-				}
-			]
-		}
-	}
-}
-	

+ 0 - 30
videomaker/styles/white.json

@@ -1,30 +0,0 @@
-{
-	"version": 2,
-	"title": "White",
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#000000",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#FFFFFF",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#000000",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#D7D7D7",
-					"name": "Tertiary"
-				}
-			]
-		}
-	}
-}

+ 0 - 197
videomaker/theme.json

@@ -1,197 +0,0 @@
-{
-	"$schema": "https://json.schemastore.org/theme-v1.json",
-	"version": 1,
-	"settings": {
-		"color": {
-			"palette": [
-				{
-					"slug": "foreground",
-					"color": "#FFFFFF",
-					"name": "Foreground"
-				},
-				{
-					"slug": "background",
-					"color": "#000000",
-					"name": "Background"
-				},
-				{
-					"slug": "primary",
-					"color": "#FFFFFF",
-					"name": "Primary"
-				},
-				{
-					"slug": "tertiary",
-					"color": "#282828",
-					"name": "Tertiary"
-				}
-			]
-		},
-		"custom": {
-			"button": {
-				"border": {
-					"color": "var(--wp--custom--color--foreground)",
-					"radius": "0",
-					"width": "1.5px"
-				},
-				"color": {
-					"background": "var(--wp--custom--color--foreground)",
-					"text": "var(--wp--custom--color--background)"
-				},
-				"hover": {
-					"color": {
-						"text": "var(--wp--custom--color--foreground)",
-						"background": "var(--wp--custom--color--background)"
-					},
-					"border": {
-						"color": "var(--wp--custom--color--foreground)"
-					}
-				},
-				"typography": {
-					"fontWeight": 700
-				}
-			},
-			"color": {
-				"foreground": "var(--wp--preset--color--foreground)",
-				"background": "var(--wp--preset--color--background)",
-				"primary": "var(--wp--preset--color--primary)",
-				"secondary": "var(--wp--preset--color--secondary)",
-				"tertiary": "var(--wp--preset--color--tertiary)"
-			},
-			"fontSizes": {
-				"x-small": "1rem",
-				"normal": "1.125rem"
-			},
-			"gap": {
-				"baseline": "10px"
-			}
-		},
-		"layout": {
-			"contentSize": "800px",
-			"wideSize": "1300px"
-		},
-		"typography": {
-			"fontSizes": [
-				{
-					"name": "Small",
-					"size": "1rem",
-					"slug": "small"
-				},
-				{
-					"name": "Medium",
-					"size": "1.5625rem",
-					"slug": "medium"
-				},
-				{
-					"name": "Large",
-					"size": "2.8125rem",
-					"slug": "large"
-				},
-				{
-					"name": "Extra Large",
-					"size": "3.75rem",
-					"slug": "x-large"
-				}
-			]
-		}
-	},
-	"styles": {
-		"blocks": {
-			"core/post-date": {
-				"typography": {
-					"fontSize": "var(--wp--preset--font-size--small)"
-				}
-			},
-			"core/post-terms": {
-				"typography": {
-					"fontSize": "var(--wp--preset--font-size--small)"
-				}
-			},
-			"core/post-title": {
-				"typography": {
-					"fontSize": "var(--wp--preset--font-size--x-large)"
-				}
-			},
-			"core/site-tagline": {
-				"typography": {
-					"fontSize": "var(--wp--preset--font-size--small)"
-				}
-			},
-			"core/site-title": {
-				"typography": {
-					"textTransform": "uppercase"
-				}
-			}
-		},
-		"elements": {
-			"h1": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			},
-			"h2": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			},
-			"h3": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			},
-			"h4": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			},
-			"h5": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			},
-			"h6": {
-				"typography": {
-					"fontWeight": 600
-				},
-				"spacing": {
-					"margin": {
-						"top": "var(--wp--style--block-gap)",
-						"bottom": "var(--wp--style--block-gap)"
-					}
-				}
-			}
-		},
-		"typography": {
-			"fontFamily": "var:preset|font-family|inter"
-		}
-	}
-}

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません