This file contains hidden or 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
# FORGE CONFIG (DO NOT REMOVE!) | |
include forge-conf/oldsite.com/before/*; | |
server { | |
http2 on; | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
server_name oldsite.com; | |
server_tokens off; | |
root /home/forge/oldsite.com/public; |
This file contains hidden or 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
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder |
This file contains hidden or 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
@layer base { | |
:root { | |
--tw-prose-body: var(--color-gray-900); | |
--tw-prose-headings: var(--color-brand-blue); | |
--tw-prose-lead: var(--color-gray-900); | |
--tw-prose-links: var(--color-brand-cyan-a11y-any); | |
--tw-prose-bold: var(--tw-prose-body); | |
--tw-prose-counters: var(--tw-prose-body); | |
--tw-prose-bullets: var(--color-brand-gold); | |
--tw-prose-hr: var(--color-gray-400); |
This file contains hidden or 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
{ | |
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | |
"vcs": { | |
"enabled": false, | |
"clientKind": "git", | |
"useIgnoreFile": false | |
}, | |
"files": { | |
"ignoreUnknown": false, | |
"ignore": [] |
This file contains hidden or 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
{# Non-blocking Web Fonts - check to ensure display:swap is also used #} | |
{% if getenv('ADOBE_FONTS_URL') %} | |
<link rel="preconnect" href="https://use.typekit.net" crossorigin> | |
<link rel="preconnect" href="https://p.typekit.net" crossorigin> | |
<link rel="preload" href="{{ getenv('ADOBE_FONTS_URL') }}" as="style"> | |
<link rel="stylesheet" href="{{ getenv('ADOBE_FONTS_URL') }}" media="print" onload="this.media = 'all'" /> | |
<noscript> | |
<link rel="stylesheet" href="{{ getenv('ADOBE_FONTS_URL') }}"> | |
</noscript> | |
{% endif %} |
This file contains hidden or 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
# Look up DNS records in Terminal - dig or nslookup | |
$ dig example.com ANY | |
$ host example.com | |
$ nslookup -type=any example.com | |
$ nslookup -type=A example.com | |
$ nslookup -type=CNAME example.com | |
$ nslookup -type=TXT example.com | |
$ nslookup -type=MX example.com |
This file contains hidden or 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
#!/bin/bash | |
# Run this script from the project root: | |
# Usage: deploy.sh <branch-name:string> [build-assets=true] | |
# Example - Deploy staging (with assets building by default): `bash ./deploy.sh staging` | |
# Example - Deploy main without building assets: `bash ./deploy.sh main false` | |
# Check if a branch name argument is provided | |
if [ $# -eq 0 ]; then | |
echo "Error: Branch name argument is required" |
This file contains hidden or 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
{ | |
"htmlSupport": { | |
"allow": [ | |
{ | |
"attributes": true, | |
"classes": [ | |
"button", | |
"button-primary" | |
], | |
"name": "a" |
This file contains hidden or 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
/* | |
* convert typekit to @font-face with locally hosted fonts using the same “font-family” with different weights and styles | |
*/ | |
@font-face { | |
font-family: "fenwick"; | |
src: url('../font/FenwickLtRegular/font.woff2') format('woff2'), url('../font/FenwickLtRegular/font.woff') format('woff'); | |
font-weight: 300; | |
font-style: normal; | |
} |
This file contains hidden or 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 | |
class LocalValetDriver extends LaravelValetDriver | |
{ | |
private $site_folder = '/dist'; | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath |
NewerOlder