This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chalk = require('chalk') | |
const {join} = require('path') | |
const sharp = require('sharp') | |
const request = require('request') | |
const {GraphQLClient} = require('graphql-request') | |
const SITEURL = `http://kellymears.vagrant` | |
/** | |
* Process image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chalk = require('chalk') | |
const fs = require('fs-extra') | |
/** | |
* Write a remote image to the disk | |
* | |
* @param {string} url | |
* @param {string} path | |
*/ | |
const download = async (url, path) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AcmeCo\Plugin; | |
use AcmeCo\Plugin\AssetInterface; | |
use Psr\Container\ContainerInterface; | |
/** | |
* Asset class. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Custom CSS for Rock The Vote Widget */ | |
body { | |
background-image: none; | |
background-color: transparent; | |
} | |
h1, h2, h3, h4, h5, h6, legend, label { | |
color: rgba(0, 0, 0, 0.9); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "project", | |
"license": "MIT", | |
"workspaces": [ | |
"config", | |
"web/app/plugins/blocks", | |
"web/app/themes/sage" | |
], | |
"private": true, | |
"scripts": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mix = require('laravel-mix'), | |
tw = require('tailwind') | |
require('laravel-mix-purgecss') | |
mix.sass(`resources/assets/styles/app.scss`, `styles`) | |
.sass(`resources/assets/styles/editor.scss`, `styles`) | |
.purgeCss({ | |
enabled: mix.inProduction(), | |
globs: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "tailwind", | |
"version": "1.0.0", | |
"main": "tailwind.js", | |
"license": "MIT", | |
"devDependencies": { | |
"tailwindcss": "^1.1.4" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "project name", | |
"private": true, | |
"workspaces": [ | |
"config", | |
"web/app/plugins/blocks", | |
"web/app/themes/sage" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* composer require sentry/sentry-sdk | |
*/ | |
use Sentry; | |
Env::init(); | |
// Bedrock application config... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { RichText } from '@wordpress/block-editor' | |
import { MediaPlaceholder, URLInput } from '@wordpress/editor' | |
const edit = ({ attributes, setAttributes, isSelected }) => { | |
const { | |
postLargeHeading, | |
postLargeDescription, | |
postLargeLinkUrl, | |
postLargeImage, | |
postSmallTopHeading, |