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
let mix = require('laravel-mix'); | |
let autoprefixer = require('autoprefixer'); | |
let tailwindcss = require('tailwindcss'); | |
require('laravel-mix-purgecss'); | |
require('laravel-mix-favicon'); | |
// require('laravel-mix-postcss-config'); | |
mix.setPublicPath('web/dist') | |
// Generate PostCSS file. | |
.postCss('src/css/app.pcss', 'css', [require('postcss-nested'), tailwindcss('tailwind.config.js'), autoprefixer]) |
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
{% extends '_layout' %} | |
{% block content %} | |
{# Set up the work section in JSON for filtering #} | |
{% set entries = craft.entries({ | |
'section': 'work', | |
'with': [ | |
'featuredImage.image: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
let mix = require('laravel-mix'); | |
let autoprefixer = require('autoprefixer'); | |
let tailwindcss = require('tailwindcss'); | |
require('laravel-mix-purgecss'); | |
require('laravel-mix-favicon'); | |
require('laravel-mix-postcss-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
{ | |
"Ansi 1 Color" : { | |
"Green Component" : 0.35600000619888306, | |
"Blue Component" : 0, | |
"Red Component" : 0.89099997282028198 | |
}, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export PATH="/usr/local/bin:$PATH" | |
export PATH="/usr/local/sbin:$PATH" | |
export PATH="/usr/local/opt/php@7.3/bin:$PATH" | |
export PATH="/usr/local/opt/php@7.3/sbin:$PATH" | |
export PATH="/usr/local/opt/php@7.4/bin:$PATH" | |
export PATH="/usr/local/opt/php@7.4/sbin:$PATH" | |
export PATH="$PATH:$HOME/.composer/vendor/bin" |
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": "spaceray-creative", | |
"version": "1.0", | |
"description": "The Front-End Development workflow for Spaceray Creative", | |
"author": "Bryan Dugan <bryan@spaceraycreative.com>", | |
"copyright": "Spaceray Creative", | |
"authorUrl": "https://spaceraycreative.com", | |
"repository": { | |
"type": "git" | |
}, |
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
// Package Vars | |
const pkg = require("./package.json"); | |
// Gulp | |
const gulp = require("gulp"); | |
// Load all plugins in "devDependencies" into the variable $ | |
const $ = require("gulp-load-plugins")({ | |
pattern: ["*"], | |
scope: ["devDependencies"] |
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
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="icon" type="image/png" href="{{ siteUrl }}favicon.png"> | |
<title>{% if homeTitle is defined %}{{ siteName }} | {{ entry.homeTitle }}{% elseif entry.title is defined %}{{ entry.title }} | {{ siteName }}{% else %}{{ title }} | {{ siteName }}{% endif %}</title> | |
<link rel="stylesheet" href="{{ siteUrl }}assets/css/app.css" /> | |
<script src="{{ siteUrl }}assets/bower_components/modernizr/modernizr.js"></script> | |
<!-- General Page Meta --> | |
{% if entry.seoDescription is defined %} | |
{% if entry.seoDescription is not empty %} |