generated from nhcarrigan/template
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bd482a9fad | |||
|
a84ef3e2de
|
|||
|
73057def0a
|
|||
| feb30845f0 | |||
| 689dbbb76f | |||
|
4bd168585f
|
|||
|
b52f67df8e
|
|||
| ba2f300755 | |||
| a362e67051 | |||
| 58d4a26afe | |||
| 9f5f83b32b | |||
| 0ca8b41f25 | |||
| 531aeaa703 | |||
| bc99b44e38 | |||
| 43cbdfc820 | |||
|
ccf3db91cd
|
+15
-6
@@ -8,22 +8,31 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
ci:
|
||||||
name: Lint and Test
|
name: CI
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Source Files
|
- name: Checkout Source Files
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js v22
|
- name: Use Node.js v24
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 10
|
||||||
|
|
||||||
|
- name: Ensure Dependencies are Pinned
|
||||||
|
uses: naomi-lgbt/dependency-pin-check@main
|
||||||
|
with:
|
||||||
|
language: javascript
|
||||||
|
dev-dependencies: true
|
||||||
|
peer-dependencies: true
|
||||||
|
optional-dependencies: true
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
@@ -35,4 +44,4 @@ jobs:
|
|||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: pnpm run test
|
run: pnpm run test
|
||||||
|
|||||||
@@ -0,0 +1,177 @@
|
|||||||
|
name: Security Scan and Upload
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 1'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
security-audit:
|
||||||
|
name: Security & DefectDojo Upload
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# --- AUTO-SETUP PROJECT ---
|
||||||
|
- name: Ensure DefectDojo Product Exists
|
||||||
|
env:
|
||||||
|
DD_URL: ${{ secrets.DD_URL }}
|
||||||
|
DD_TOKEN: ${{ secrets.DD_TOKEN }}
|
||||||
|
PRODUCT_NAME: ${{ github.repository }}
|
||||||
|
PRODUCT_TYPE_ID: 1
|
||||||
|
run: |
|
||||||
|
sudo apt-get install jq -y > /dev/null
|
||||||
|
|
||||||
|
echo "Checking connection to $DD_URL..."
|
||||||
|
|
||||||
|
# Check if product exists - capture HTTP code to debug connection issues
|
||||||
|
RESPONSE=$(curl --write-out "%{http_code}" --silent --output /tmp/response.json \
|
||||||
|
-H "Authorization: Token $DD_TOKEN" \
|
||||||
|
"$DD_URL/api/v2/products/?name=$PRODUCT_NAME")
|
||||||
|
|
||||||
|
# If response is not 200, print error
|
||||||
|
if [ "$RESPONSE" != "200" ]; then
|
||||||
|
echo "::error::Failed to query DefectDojo. HTTP Code: $RESPONSE"
|
||||||
|
cat /tmp/response.json
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
COUNT=$(cat /tmp/response.json | jq -r '.count')
|
||||||
|
|
||||||
|
if [ "$COUNT" = "0" ]; then
|
||||||
|
echo "Creating product '$PRODUCT_NAME'..."
|
||||||
|
curl -s -X POST "$DD_URL/api/v2/products/" \
|
||||||
|
-H "Authorization: Token $DD_TOKEN" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{ "name": "'"$PRODUCT_NAME"'", "description": "Auto-created by Gitea Actions", "prod_type": '$PRODUCT_TYPE_ID' }'
|
||||||
|
else
|
||||||
|
echo "Product '$PRODUCT_NAME' already exists."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# --- 1. TRIVY (Dependencies & Misconfig) ---
|
||||||
|
- name: Install Trivy
|
||||||
|
run: |
|
||||||
|
sudo apt-get install wget apt-transport-https gnupg lsb-release -y
|
||||||
|
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
|
||||||
|
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
|
||||||
|
sudo apt-get update && sudo apt-get install trivy -y
|
||||||
|
|
||||||
|
- name: Run Trivy (FS Scan)
|
||||||
|
run: |
|
||||||
|
trivy fs . --scanners vuln,misconfig --format json --output trivy-results.json --exit-code 0
|
||||||
|
|
||||||
|
- name: Upload Trivy to DefectDojo
|
||||||
|
env:
|
||||||
|
DD_URL: ${{ secrets.DD_URL }}
|
||||||
|
DD_TOKEN: ${{ secrets.DD_TOKEN }}
|
||||||
|
run: |
|
||||||
|
echo "Uploading Trivy results..."
|
||||||
|
# Generate today's date in YYYY-MM-DD format
|
||||||
|
TODAY=$(date +%Y-%m-%d)
|
||||||
|
|
||||||
|
HTTP_CODE=$(curl --write-out "%{http_code}" --output response.txt --silent -X POST "$DD_URL/api/v2/import-scan/" \
|
||||||
|
-H "Authorization: Token $DD_TOKEN" \
|
||||||
|
-F "active=true" \
|
||||||
|
-F "verified=true" \
|
||||||
|
-F "scan_type=Trivy Scan" \
|
||||||
|
-F "engagement_name=CI/CD Pipeline" \
|
||||||
|
-F "product_name=${{ github.repository }}" \
|
||||||
|
-F "scan_date=$TODAY" \
|
||||||
|
-F "auto_create_context=true" \
|
||||||
|
-F "file=@trivy-results.json")
|
||||||
|
|
||||||
|
if [[ "$HTTP_CODE" != "200" && "$HTTP_CODE" != "201" ]]; then
|
||||||
|
echo "::error::Upload Failed with HTTP $HTTP_CODE"
|
||||||
|
echo "--- SERVER RESPONSE ---"
|
||||||
|
cat response.txt
|
||||||
|
echo "-----------------------"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Upload Success!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# --- 2. GITLEAKS (Secrets) ---
|
||||||
|
- name: Install Gitleaks
|
||||||
|
run: |
|
||||||
|
wget -qO gitleaks.tar.gz https://github.com/gitleaks/gitleaks/releases/download/v8.18.0/gitleaks_8.18.0_linux_x64.tar.gz
|
||||||
|
tar -xzf gitleaks.tar.gz
|
||||||
|
sudo mv gitleaks /usr/local/bin/ && chmod +x /usr/local/bin/gitleaks
|
||||||
|
|
||||||
|
- name: Run Gitleaks
|
||||||
|
run: gitleaks detect --source . -v --report-path gitleaks-results.json --report-format json --no-git || true
|
||||||
|
|
||||||
|
- name: Upload Gitleaks to DefectDojo
|
||||||
|
env:
|
||||||
|
DD_URL: ${{ secrets.DD_URL }}
|
||||||
|
DD_TOKEN: ${{ secrets.DD_TOKEN }}
|
||||||
|
run: |
|
||||||
|
echo "Uploading Gitleaks results..."
|
||||||
|
TODAY=$(date +%Y-%m-%d)
|
||||||
|
|
||||||
|
HTTP_CODE=$(curl --write-out "%{http_code}" --output response.txt --silent -X POST "$DD_URL/api/v2/import-scan/" \
|
||||||
|
-H "Authorization: Token $DD_TOKEN" \
|
||||||
|
-F "active=true" \
|
||||||
|
-F "verified=true" \
|
||||||
|
-F "scan_type=Gitleaks Scan" \
|
||||||
|
-F "engagement_name=CI/CD Pipeline" \
|
||||||
|
-F "product_name=${{ github.repository }}" \
|
||||||
|
-F "scan_date=$TODAY" \
|
||||||
|
-F "auto_create_context=true" \
|
||||||
|
-F "file=@gitleaks-results.json")
|
||||||
|
|
||||||
|
if [[ "$HTTP_CODE" != "200" && "$HTTP_CODE" != "201" ]]; then
|
||||||
|
echo "::error::Upload Failed with HTTP $HTTP_CODE"
|
||||||
|
echo "--- SERVER RESPONSE ---"
|
||||||
|
cat response.txt
|
||||||
|
echo "-----------------------"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Upload Success!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# --- 3. SEMGREP (SAST) ---
|
||||||
|
- name: Install Semgrep (via pipx)
|
||||||
|
run: |
|
||||||
|
sudo apt-get install pipx -y
|
||||||
|
pipx install semgrep
|
||||||
|
# Add pipx binary path to GITHUB_PATH so next steps can see 'semgrep'
|
||||||
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Run Semgrep
|
||||||
|
run: semgrep scan --config=p/security-audit --config=p/owasp-top-ten --json --output semgrep-results.json . || true
|
||||||
|
|
||||||
|
- name: Upload Semgrep to DefectDojo
|
||||||
|
env:
|
||||||
|
DD_URL: ${{ secrets.DD_URL }}
|
||||||
|
DD_TOKEN: ${{ secrets.DD_TOKEN }}
|
||||||
|
run: |
|
||||||
|
echo "Uploading Semgrep results..."
|
||||||
|
TODAY=$(date +%Y-%m-%d)
|
||||||
|
|
||||||
|
HTTP_CODE=$(curl --write-out "%{http_code}" --output response.txt --silent -X POST "$DD_URL/api/v2/import-scan/" \
|
||||||
|
-H "Authorization: Token $DD_TOKEN" \
|
||||||
|
-F "active=true" \
|
||||||
|
-F "verified=true" \
|
||||||
|
-F "scan_type=Semgrep JSON Report" \
|
||||||
|
-F "engagement_name=CI/CD Pipeline" \
|
||||||
|
-F "product_name=${{ github.repository }}" \
|
||||||
|
-F "scan_date=$TODAY" \
|
||||||
|
-F "auto_create_context=true" \
|
||||||
|
-F "file=@semgrep-results.json")
|
||||||
|
|
||||||
|
if [[ "$HTTP_CODE" != "200" && "$HTTP_CODE" != "201" ]]; then
|
||||||
|
echo "::error::Upload Failed with HTTP $HTTP_CODE"
|
||||||
|
echo "--- SERVER RESPONSE ---"
|
||||||
|
cat response.txt
|
||||||
|
echo "-----------------------"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Upload Success!"
|
||||||
|
fi
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# Package Manager Configuration
|
||||||
|
# Force pnpm usage - breaks npm/yarn intentionally
|
||||||
|
node-linker=pnpm
|
||||||
|
|
||||||
|
# Security: Disable all lifecycle scripts
|
||||||
|
ignore-scripts=true
|
||||||
|
enable-pre-post-scripts=false
|
||||||
|
|
||||||
|
# Security: Require packages to be 10+ days old before installation
|
||||||
|
minimum-release-age=14400
|
||||||
|
|
||||||
|
# Security: Verify package integrity hashes
|
||||||
|
verify-store-integrity=true
|
||||||
|
|
||||||
|
# Security: Enforce strict trust policies
|
||||||
|
trust-policy=strict
|
||||||
|
|
||||||
|
# Security: Strict peer dependency resolution
|
||||||
|
strict-peer-dependencies=true
|
||||||
|
|
||||||
|
# Performance: Use symlinks for node_modules
|
||||||
|
symlink=true
|
||||||
|
|
||||||
|
# Lockfile: Ensure lockfile is not modified during install
|
||||||
|
frozen-lockfile=false
|
||||||
@@ -12,7 +12,7 @@ This page is currently deployed. [View the live website.]
|
|||||||
|
|
||||||
## Feedback and Bugs
|
## Feedback and Bugs
|
||||||
|
|
||||||
If you have feedback or a bug report, please feel free to open a GitHub issue!
|
If you have feedback or a bug report, please [log a ticket on our forum](https://support.nhcarrigan.com).
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "website-headers",
|
"name": "website-headers",
|
||||||
"version": "3.4.0",
|
"version": "4.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"@nhcarrigan/eslint-config": "5.0.0",
|
"@nhcarrigan/eslint-config": "5.0.0",
|
||||||
"@nhcarrigan/typescript-config": "4.0.0",
|
"@nhcarrigan/typescript-config": "4.0.0",
|
||||||
"@types/node": "22.10.2",
|
"@types/node": "22.10.2",
|
||||||
"concurrently": "9.1.0",
|
"concurrently": "9.2.1",
|
||||||
"eslint": "9.17.0",
|
"eslint": "9.17.0",
|
||||||
"globals": "15.14.0",
|
"globals": "15.14.0",
|
||||||
"terser": "5.37.0",
|
"terser": "5.37.0",
|
||||||
|
|||||||
Generated
+23
-19
@@ -18,8 +18,8 @@ importers:
|
|||||||
specifier: 22.10.2
|
specifier: 22.10.2
|
||||||
version: 22.10.2
|
version: 22.10.2
|
||||||
concurrently:
|
concurrently:
|
||||||
specifier: 9.1.0
|
specifier: 9.2.1
|
||||||
version: 9.1.0
|
version: 9.2.1
|
||||||
eslint:
|
eslint:
|
||||||
specifier: 9.17.0
|
specifier: 9.17.0
|
||||||
version: 9.17.0
|
version: 9.17.0
|
||||||
@@ -486,51 +486,61 @@ packages:
|
|||||||
resolution: {integrity: sha512-IPSCTzP8GRYzY+siSnggIKrckC2U+kVXoen6eSHRDgU9a4EZCHHWWOiKio1EkieOOk2j6EvZaaHfQUCmt8UJBg==}
|
resolution: {integrity: sha512-IPSCTzP8GRYzY+siSnggIKrckC2U+kVXoen6eSHRDgU9a4EZCHHWWOiKio1EkieOOk2j6EvZaaHfQUCmt8UJBg==}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-arm-musleabihf@4.29.0':
|
'@rollup/rollup-linux-arm-musleabihf@4.29.0':
|
||||||
resolution: {integrity: sha512-GvHPu0UIDx+ohyS8vTYnwoSVMM5BH3NO+JwQs6GWNCuQVlC5rKxnH2WClTGu3NxiIfhKLai08IKUwn3QbzX1UQ==}
|
resolution: {integrity: sha512-GvHPu0UIDx+ohyS8vTYnwoSVMM5BH3NO+JwQs6GWNCuQVlC5rKxnH2WClTGu3NxiIfhKLai08IKUwn3QbzX1UQ==}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@rollup/rollup-linux-arm64-gnu@4.29.0':
|
'@rollup/rollup-linux-arm64-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-Pnnn/2CAZWcH9GQoj1nnr85Ejh7aNDe5MsEV0xhuFNUPF0SdnutJ7b2muOI5Kx12T0/i2ol5B/tlhMviZQDL3g==}
|
resolution: {integrity: sha512-Pnnn/2CAZWcH9GQoj1nnr85Ejh7aNDe5MsEV0xhuFNUPF0SdnutJ7b2muOI5Kx12T0/i2ol5B/tlhMviZQDL3g==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-arm64-musl@4.29.0':
|
'@rollup/rollup-linux-arm64-musl@4.29.0':
|
||||||
resolution: {integrity: sha512-AP+DLj4q9FT22ZL43ssA3gizEn7/MfJcZ1BOuyEPqoriuH3a8VRuDddN0MtpUwEtiZL6jc1GY5/eL99hkloQ1Q==}
|
resolution: {integrity: sha512-AP+DLj4q9FT22ZL43ssA3gizEn7/MfJcZ1BOuyEPqoriuH3a8VRuDddN0MtpUwEtiZL6jc1GY5/eL99hkloQ1Q==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@rollup/rollup-linux-loongarch64-gnu@4.29.0':
|
'@rollup/rollup-linux-loongarch64-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-1+jPFClHmDATqbk0Cwi74KEOymVcs09Vbqe/CTKqLwCP0TeP2CACfnMnjYBs5CJgO20e/4bxFtmbR/9fKE1gug==}
|
resolution: {integrity: sha512-1+jPFClHmDATqbk0Cwi74KEOymVcs09Vbqe/CTKqLwCP0TeP2CACfnMnjYBs5CJgO20e/4bxFtmbR/9fKE1gug==}
|
||||||
cpu: [loong64]
|
cpu: [loong64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-powerpc64le-gnu@4.29.0':
|
'@rollup/rollup-linux-powerpc64le-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-Nmt5Us5w2dL8eh7QVyAIDVVwBv4wk8ljrBQe7lWkLaOcwABDaFQ3K4sAAC6IsOdJwaXXW+d85zVaMN+Xl8Co2w==}
|
resolution: {integrity: sha512-Nmt5Us5w2dL8eh7QVyAIDVVwBv4wk8ljrBQe7lWkLaOcwABDaFQ3K4sAAC6IsOdJwaXXW+d85zVaMN+Xl8Co2w==}
|
||||||
cpu: [ppc64]
|
cpu: [ppc64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-riscv64-gnu@4.29.0':
|
'@rollup/rollup-linux-riscv64-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-KGuQ8WGhnq09LR7eOru7P9jfBSYXTMhq6TyavWfmEo+TxvkvuRwOCee5lPIa6HYjblOuFr4GeOxSE0c8iyw2Fg==}
|
resolution: {integrity: sha512-KGuQ8WGhnq09LR7eOru7P9jfBSYXTMhq6TyavWfmEo+TxvkvuRwOCee5lPIa6HYjblOuFr4GeOxSE0c8iyw2Fg==}
|
||||||
cpu: [riscv64]
|
cpu: [riscv64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-s390x-gnu@4.29.0':
|
'@rollup/rollup-linux-s390x-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-lSQtvrYIONme7a4gbf4O9d3zbZat3/5covIeoqk27ZIkTgBeL/67x+wq2bZfpLjkqQQp5SjBPQ/n0sg8iArzTg==}
|
resolution: {integrity: sha512-lSQtvrYIONme7a4gbf4O9d3zbZat3/5covIeoqk27ZIkTgBeL/67x+wq2bZfpLjkqQQp5SjBPQ/n0sg8iArzTg==}
|
||||||
cpu: [s390x]
|
cpu: [s390x]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-x64-gnu@4.29.0':
|
'@rollup/rollup-linux-x64-gnu@4.29.0':
|
||||||
resolution: {integrity: sha512-qh0ussrXBwnF4L07M9t1+jpHRhiGSae+wpNQDbmlXHXciT7pqpZ5zpk4dyGZPtDGB2l2clDiufE16BufXPGRWQ==}
|
resolution: {integrity: sha512-qh0ussrXBwnF4L07M9t1+jpHRhiGSae+wpNQDbmlXHXciT7pqpZ5zpk4dyGZPtDGB2l2clDiufE16BufXPGRWQ==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [glibc]
|
||||||
|
|
||||||
'@rollup/rollup-linux-x64-musl@4.29.0':
|
'@rollup/rollup-linux-x64-musl@4.29.0':
|
||||||
resolution: {integrity: sha512-YEABzSaRS7+v14yw6MVBZoMqLoUyTX1/sJoGeC0euvgMrzvw0i+jHo4keDZgYeOblfwdseVAf6ylxWSvcBAKTA==}
|
resolution: {integrity: sha512-YEABzSaRS7+v14yw6MVBZoMqLoUyTX1/sJoGeC0euvgMrzvw0i+jHo4keDZgYeOblfwdseVAf6ylxWSvcBAKTA==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
libc: [musl]
|
||||||
|
|
||||||
'@rollup/rollup-win32-arm64-msvc@4.29.0':
|
'@rollup/rollup-win32-arm64-msvc@4.29.0':
|
||||||
resolution: {integrity: sha512-jA4+oxG7QTTtSQxwSHzFVwShcppHO2DpkbAM59pfD5WMG/da79yQaeBtXAfGTI+ciUx8hqK3RF3H2KWByITXtQ==}
|
resolution: {integrity: sha512-jA4+oxG7QTTtSQxwSHzFVwShcppHO2DpkbAM59pfD5WMG/da79yQaeBtXAfGTI+ciUx8hqK3RF3H2KWByITXtQ==}
|
||||||
@@ -893,8 +903,8 @@ packages:
|
|||||||
concat-map@0.0.1:
|
concat-map@0.0.1:
|
||||||
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
||||||
|
|
||||||
concurrently@9.1.0:
|
concurrently@9.2.1:
|
||||||
resolution: {integrity: sha512-VxkzwMAn4LP7WyMnJNbHN5mKV9L2IbyDjpzemKr99sXNR3GqRNMMHdm7prV1ws9wg7ETj6WUkNOigZVsptwbgg==}
|
resolution: {integrity: sha512-fsfrO0MxV64Znoy8/l1vVIjjHa29SZyyqPgQBwhiDcaW8wJc2W3XWVOGx4M3oJBnv/zdUZIIp1gDeS98GzP8Ng==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
@@ -1499,9 +1509,6 @@ packages:
|
|||||||
lodash.merge@4.6.2:
|
lodash.merge@4.6.2:
|
||||||
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
||||||
|
|
||||||
lodash@4.17.21:
|
|
||||||
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
|
||||||
|
|
||||||
loose-envify@1.4.0:
|
loose-envify@1.4.0:
|
||||||
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -1759,8 +1766,8 @@ packages:
|
|||||||
run-parallel@1.2.0:
|
run-parallel@1.2.0:
|
||||||
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
|
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
|
||||||
|
|
||||||
rxjs@7.8.1:
|
rxjs@7.8.2:
|
||||||
resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
|
resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
|
||||||
|
|
||||||
safe-array-concat@1.1.3:
|
safe-array-concat@1.1.3:
|
||||||
resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
|
resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
|
||||||
@@ -1799,8 +1806,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
|
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
shell-quote@1.8.2:
|
shell-quote@1.8.3:
|
||||||
resolution: {integrity: sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA==}
|
resolution: {integrity: sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
side-channel-list@1.0.0:
|
side-channel-list@1.0.0:
|
||||||
@@ -2893,12 +2900,11 @@ snapshots:
|
|||||||
|
|
||||||
concat-map@0.0.1: {}
|
concat-map@0.0.1: {}
|
||||||
|
|
||||||
concurrently@9.1.0:
|
concurrently@9.2.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
lodash: 4.17.21
|
rxjs: 7.8.2
|
||||||
rxjs: 7.8.1
|
shell-quote: 1.8.3
|
||||||
shell-quote: 1.8.2
|
|
||||||
supports-color: 8.1.1
|
supports-color: 8.1.1
|
||||||
tree-kill: 1.2.2
|
tree-kill: 1.2.2
|
||||||
yargs: 17.7.2
|
yargs: 17.7.2
|
||||||
@@ -3681,8 +3687,6 @@ snapshots:
|
|||||||
|
|
||||||
lodash.merge@4.6.2: {}
|
lodash.merge@4.6.2: {}
|
||||||
|
|
||||||
lodash@4.17.21: {}
|
|
||||||
|
|
||||||
loose-envify@1.4.0:
|
loose-envify@1.4.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
js-tokens: 4.0.0
|
js-tokens: 4.0.0
|
||||||
@@ -3953,7 +3957,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
queue-microtask: 1.2.3
|
queue-microtask: 1.2.3
|
||||||
|
|
||||||
rxjs@7.8.1:
|
rxjs@7.8.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
|
|
||||||
@@ -3999,7 +4003,7 @@ snapshots:
|
|||||||
|
|
||||||
shebang-regex@3.0.0: {}
|
shebang-regex@3.0.0: {}
|
||||||
|
|
||||||
shell-quote@1.8.2: {}
|
shell-quote@1.8.3: {}
|
||||||
|
|
||||||
side-channel-list@1.0.0:
|
side-channel-list@1.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
+468
-57
@@ -50,7 +50,7 @@ nhcarriganHeadersViewport.setAttribute(
|
|||||||
);
|
);
|
||||||
const nhcarriganHeadersThemeColor = document.createElement("meta");
|
const nhcarriganHeadersThemeColor = document.createElement("meta");
|
||||||
nhcarriganHeadersThemeColor.setAttribute("name", "theme-color");
|
nhcarriganHeadersThemeColor.setAttribute("name", "theme-color");
|
||||||
nhcarriganHeadersThemeColor.setAttribute("content", "#E1F6F9");
|
nhcarriganHeadersThemeColor.setAttribute("content", "#4A0E0E");
|
||||||
const nhcarriganHeadersReferrer = document.createElement("meta");
|
const nhcarriganHeadersReferrer = document.createElement("meta");
|
||||||
nhcarriganHeadersReferrer.setAttribute("name", "referrer");
|
nhcarriganHeadersReferrer.setAttribute("name", "referrer");
|
||||||
nhcarriganHeadersReferrer.setAttribute(
|
nhcarriganHeadersReferrer.setAttribute(
|
||||||
@@ -185,10 +185,30 @@ nhcarriganHeadersStyles.innerHTML = `
|
|||||||
src: url('https://cdn.nhcarrigan.com/fonts/vampyr.ttf') format('truetype');
|
src: url('https://cdn.nhcarrigan.com/fonts/vampyr.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Import fun and whimsical fonts! */
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Creepster&family=Griffy&family=Henny+Penny&display=swap');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--foreground: #8F2447;
|
/* Witchy Purple Rose Palette */
|
||||||
--background: #E1F6F9DC;
|
--witch-purple: #2B1B3D;
|
||||||
font-size: 12pt;
|
--witch-plum: #44275A;
|
||||||
|
--witch-rose: #A8577E;
|
||||||
|
--witch-mauve: #D4A5C7;
|
||||||
|
--witch-lavender: #E8D5E8;
|
||||||
|
--witch-black: #0A0009;
|
||||||
|
--witch-silver: #C0C0C0;
|
||||||
|
--witch-moon: #F5F5F5;
|
||||||
|
--witch-shadow: rgba(10, 0, 9, 0.7);
|
||||||
|
|
||||||
|
/* Theme variables */
|
||||||
|
--foreground: var(--witch-purple);
|
||||||
|
--background: var(--witch-moon);
|
||||||
|
--accent: var(--witch-rose);
|
||||||
|
--border: var(--witch-plum);
|
||||||
|
--highlight: var(--witch-mauve);
|
||||||
|
|
||||||
|
font-size: 14pt;
|
||||||
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@@ -198,113 +218,491 @@ nhcarriganHeadersStyles.innerHTML = `
|
|||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: 'Vampyr', monospace;
|
font-family: 'Kalam', cursive, sans-serif;
|
||||||
cursor: url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g transform="translate(12 12) rotate(-45 12 12)"><circle cx="12" cy="6" r="5" fill="%232B1B3D"/><circle cx="6" cy="12" r="5" fill="%232B1B3D"/><circle cx="18" cy="12" r="5" fill="%232B1B3D"/><circle cx="12" cy="18" r="5" fill="%232B1B3D"/><circle cx="12" cy="12" r="3.5" fill="%23A8577E"/><path d="M12 18 L12 36" stroke="%232B1B3D" stroke-width="2.5"/><path d="M10 34 L8 38" stroke="%232B1B3D" stroke-width="2"/><path d="M14 34 L16 38" stroke="%232B1B3D" stroke-width="2"/></g><circle cx="3" cy="3" r="1.5" fill="%23D4A5C7" opacity="0.8"/></svg>') 0 0, url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
min-width: 100vw;
|
min-width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Witchy mystical background */
|
||||||
body::before {
|
body::before {
|
||||||
background: url(https://cdn.nhcarrigan.com/background.png);
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
z-index: -1;
|
|
||||||
content: "";
|
content: "";
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
opacity: 1;
|
background: url(https://cdn.nhcarrigan.com/background.png);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
z-index: -2;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Purple overlay for witchy effect */
|
||||||
|
body::after {
|
||||||
|
content: "";
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background:
|
||||||
|
radial-gradient(circle at 20% 50%, rgba(168, 87, 126, 0.35) 0%, transparent 60%),
|
||||||
|
radial-gradient(circle at 80% 80%, rgba(68, 39, 90, 0.35) 0%, transparent 60%),
|
||||||
|
linear-gradient(180deg,
|
||||||
|
rgba(10, 0, 9, 0.5) 0%,
|
||||||
|
rgba(43, 27, 61, 0.25) 50%,
|
||||||
|
rgba(43, 27, 61, 0.4) 100%
|
||||||
|
);
|
||||||
|
z-index: -1;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
background-color: var(--background);
|
background: linear-gradient(135deg,
|
||||||
|
rgba(245, 245, 245, 0.95) 0%,
|
||||||
|
rgba(232, 213, 232, 0.9) 100%
|
||||||
|
);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 10px;
|
border-radius: 15px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
max-width: 1080px;
|
max-width: 1080px;
|
||||||
margin: auto;
|
margin: 20px auto 85px auto;
|
||||||
margin-bottom: 85px;
|
padding: 40px;
|
||||||
padding: 10px;
|
position: relative;
|
||||||
|
|
||||||
|
/* Simple elegant border */
|
||||||
|
border: 2px solid var(--witch-plum);
|
||||||
|
box-shadow:
|
||||||
|
/* Magical purple glow */
|
||||||
|
0 0 60px rgba(168, 87, 126, 0.4),
|
||||||
|
0 0 100px rgba(68, 39, 90, 0.3),
|
||||||
|
/* Standard shadow */
|
||||||
|
0 10px 40px var(--witch-shadow),
|
||||||
|
/* Inner glow */
|
||||||
|
inset 0 0 60px rgba(168, 87, 126, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: var(--foreground);
|
color: var(--witch-lavender);
|
||||||
background-color: var(--background);
|
background: linear-gradient(to bottom,
|
||||||
|
rgba(43, 27, 61, 0.95) 0%,
|
||||||
|
var(--witch-black) 100%
|
||||||
|
);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
border-top: 2px solid var(--witch-mauve);
|
||||||
|
box-shadow:
|
||||||
|
/* Purple glow from top border */
|
||||||
|
0 -10px 40px rgba(212, 165, 199, 0.3),
|
||||||
|
0 -5px 20px rgba(168, 87, 126, 0.4),
|
||||||
|
/* Standard shadow */
|
||||||
|
0 -5px 20px var(--witch-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer-inner-container {
|
#footer-inner-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#footer-inner-container a {
|
||||||
|
color: var(--witch-lavender);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer-inner-container a:hover {
|
||||||
|
color: var(--witch-mauve);
|
||||||
|
text-shadow: 0 0 10px rgba(212, 165, 199, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
#footer-badge-container {
|
#footer-badge-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(8, 1fr);
|
grid-template-columns: repeat(8, 1fr);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
|
||||||
#show-socials-button, #theme-select-button {
|
#show-socials-button, #theme-select-button {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: 1px solid var(--witch-plum);
|
||||||
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
border-radius: 20px;
|
||||||
color: var(--foreground);
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(12 12) rotate(-45 12 12)" filter="url(%23glow)"><circle cx="12" cy="6" r="5.5" fill="%23A8577E"/><circle cx="6" cy="12" r="5.5" fill="%23A8577E"/><circle cx="18" cy="12" r="5.5" fill="%23A8577E"/><circle cx="12" cy="18" r="5.5" fill="%23A8577E"/><circle cx="12" cy="12" r="4" fill="%23D4A5C7"/><path d="M12 18 L12 36" stroke="%232B1B3D" stroke-width="2.5"/><path d="M10 34 L8 38" stroke="%232B1B3D" stroke-width="2"/><path d="M14 34 L16 38" stroke="%232B1B3D" stroke-width="2"/></g><circle cx="3" cy="3" r="2" fill="%23D4A5C7" opacity="0.9"/></svg>') 0 0, url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||||
|
color: var(--witch-lavender);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-family: 'Vampyr', monospace;
|
font-family: 'Kalam', cursive;
|
||||||
|
font-weight: 700;
|
||||||
|
padding: 8px 15px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#show-socials-button:hover, #theme-select-button:hover {
|
||||||
|
background: rgba(168, 87, 126, 0.2);
|
||||||
|
border-color: var(--witch-mauve);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: 0 4px 15px rgba(168, 87, 126, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
#show-socials-button > i, #theme-select-button > i {
|
#show-socials-button > i, #theme-select-button > i {
|
||||||
font-size: 1.5rem;
|
font-size: 1.2rem;
|
||||||
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: unset;
|
color: var(--accent);
|
||||||
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(12 12) rotate(-45 12 12)" filter="url(%23glow)"><circle cx="12" cy="6" r="5.5" fill="%23A8577E"/><circle cx="6" cy="12" r="5.5" fill="%23A8577E"/><circle cx="18" cy="12" r="5.5" fill="%23A8577E"/><circle cx="12" cy="18" r="5.5" fill="%23A8577E"/><circle cx="12" cy="12" r="4" fill="%23D4A5C7"/><path d="M12 18 L12 36" stroke="%232B1B3D" stroke-width="2.5"/><path d="M10 34 L8 38" stroke="%232B1B3D" stroke-width="2"/><path d="M14 34 L16 38" stroke="%232B1B3D" stroke-width="2"/></g><circle cx="3" cy="3" r="2" fill="%23D4A5C7" opacity="0.9"/></svg>') 0 0, url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: var(--witch-plum);
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: var(--witch-mauve);
|
||||||
|
text-underline-offset: 3px;
|
||||||
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><filter id="sparkle"><feGaussianBlur stdDeviation="4" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(12 12) rotate(-45 12 12)" filter="url(%23sparkle)"><circle cx="12" cy="6" r="6" fill="%23A8577E"/><circle cx="6" cy="12" r="6" fill="%23A8577E"/><circle cx="18" cy="12" r="6" fill="%23A8577E"/><circle cx="12" cy="18" r="6" fill="%23A8577E"/><circle cx="12" cy="12" r="4.5" fill="%23D4A5C7"/><path d="M12 18 L12 36" stroke="%232B1B3D" stroke-width="3"/><path d="M10 34 L8 38" stroke="%232B1B3D" stroke-width="2.5"/><path d="M14 34 L16 38" stroke="%232B1B3D" stroke-width="2.5"/></g><circle cx="3" cy="3" r="2.5" fill="%23E8D5E8"/><circle cx="8" cy="1" r="1" fill="%23D4A5C7"/><circle cx="1" cy="8" r="1" fill="%23D4A5C7"/></svg>') 0 0, pointer;
|
||||||
|
}
|
||||||
|
|
||||||
#tree-nation-offset-website {
|
#tree-nation-offset-website {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#social-list {
|
#social-list {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 75px;
|
bottom: 75px;
|
||||||
left: 0;
|
left: 50%;
|
||||||
right: 0;
|
transform: translateX(-50%);
|
||||||
width: 100vw;
|
width: 90vw;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
padding: 10px;
|
padding: 20px;
|
||||||
background-color: var(--background);
|
background: linear-gradient(135deg,
|
||||||
color: var(--foreground);
|
rgba(43, 27, 61, 0.98) 0%,
|
||||||
border-radius: 10px;
|
rgba(10, 0, 9, 0.95) 100%
|
||||||
border: 1px solid var(--foreground);
|
);
|
||||||
|
color: var(--witch-lavender);
|
||||||
|
border-radius: 15px;
|
||||||
|
border: 1px solid var(--witch-mauve);
|
||||||
display: none;
|
display: none;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
box-shadow:
|
||||||
|
0 10px 30px var(--witch-shadow),
|
||||||
|
inset 0 0 20px rgba(168, 87, 126, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-list-item {
|
.social-list-item {
|
||||||
padding: 10px;
|
padding: 12px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-list-item > a {
|
.social-list-item > a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: var(--witch-lavender);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.social-list-item > a i {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-right: 12px;
|
||||||
|
color: var(--witch-mauve);
|
||||||
|
}
|
||||||
|
|
||||||
.social-list-divider {
|
.social-list-divider {
|
||||||
border: 0.5px solid var(--foreground);
|
border: none;
|
||||||
|
height: 1px;
|
||||||
|
background: linear-gradient(
|
||||||
|
to right,
|
||||||
|
transparent 20%,
|
||||||
|
var(--witch-mauve) 50%,
|
||||||
|
transparent 80%
|
||||||
|
);
|
||||||
|
margin: 8px 0;
|
||||||
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-list-item:hover {
|
.social-list-item:hover {
|
||||||
background-color: var(--foreground);
|
background: rgba(168, 87, 126, 0.2);
|
||||||
color: var(--background);
|
transform: translateX(3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.social-list-item:hover > a {
|
||||||
|
color: var(--witch-rose);
|
||||||
|
}
|
||||||
|
|
||||||
.is-dark {
|
.is-dark {
|
||||||
--foreground: #E1F6F9;
|
--foreground: var(--witch-lavender);
|
||||||
--background: #8F2447bb;
|
--background: var(--witch-black);
|
||||||
|
--accent: var(--witch-mauve);
|
||||||
|
--border: var(--witch-rose);
|
||||||
|
--highlight: var(--witch-plum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Dark mode specific adjustments */
|
||||||
|
.is-dark main {
|
||||||
|
background: linear-gradient(135deg,
|
||||||
|
rgba(10, 0, 9, 0.95) 0%,
|
||||||
|
rgba(43, 27, 61, 0.9) 100%
|
||||||
|
);
|
||||||
|
color: var(--witch-lavender);
|
||||||
|
border-color: var(--witch-rose);
|
||||||
|
box-shadow:
|
||||||
|
/* Mystical rose glow for dark mode */
|
||||||
|
0 0 80px rgba(168, 87, 126, 0.5),
|
||||||
|
0 0 120px rgba(212, 165, 199, 0.3),
|
||||||
|
/* Standard shadow */
|
||||||
|
0 10px 40px rgba(0, 0, 0, 0.8),
|
||||||
|
/* Inner glow */
|
||||||
|
inset 0 0 60px rgba(168, 87, 126, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-dark h1 { color: var(--witch-mauve); }
|
||||||
|
.is-dark h2, .is-dark h3 { color: var(--witch-lavender); }
|
||||||
|
|
||||||
|
.is-dark a {
|
||||||
|
color: var(--witch-mauve);
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-dark a:hover {
|
||||||
|
color: var(--witch-rose);
|
||||||
|
}
|
||||||
|
/* Typography */
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-family: 'Griffy', cursive;
|
||||||
|
font-weight: 400;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes wiggle {
|
||||||
|
0%, 100% { transform: rotate(-2deg); }
|
||||||
|
25% { transform: rotate(2deg); }
|
||||||
|
50% { transform: rotate(-1deg); }
|
||||||
|
75% { transform: rotate(1deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: var(--witch-plum);
|
||||||
|
font-size: 2.8rem;
|
||||||
|
text-shadow: 3px 3px 0px var(--witch-rose),
|
||||||
|
4px 4px 8px rgba(168, 87, 126, 0.4);
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
display: inline-block;
|
||||||
|
animation: wiggle 4s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: var(--witch-purple);
|
||||||
|
font-size: 2.2rem;
|
||||||
|
text-shadow: 2px 2px 4px rgba(68, 39, 90, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
color: var(--witch-purple);
|
||||||
|
font-size: 1.6rem;
|
||||||
|
font-family: 'Kalam', cursive;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 1.8;
|
||||||
|
margin-bottom: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Form elements */
|
||||||
|
input, textarea, select {
|
||||||
|
font-family: 'Kalam', cursive;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 12px 16px;
|
||||||
|
border: 2px solid var(--witch-plum);
|
||||||
|
border-radius: 15px;
|
||||||
|
background: rgba(245, 245, 245, 0.95);
|
||||||
|
color: var(--witch-purple);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"], input[type="email"], input[type="password"], textarea {
|
||||||
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><line x1="12" y1="6" x2="12" y2="42" stroke="%232B1B3D" stroke-width="2"/><line x1="8" y1="6" x2="16" y2="6" stroke="%232B1B3D" stroke-width="2"/><line x1="8" y1="42" x2="16" y2="42" stroke="%232B1B3D" stroke-width="2"/><circle cx="12" cy="24" r="3" fill="%23A8577E" opacity="0.5"/></svg>') 12 24, text;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:focus, textarea:focus, select:focus {
|
||||||
|
border-color: var(--witch-rose);
|
||||||
|
box-shadow: 0 0 0 3px rgba(168, 87, 126, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
button, input[type="submit"], input[type="button"] {
|
||||||
|
font-family: 'Griffy', cursive;
|
||||||
|
font-weight: 400;
|
||||||
|
padding: 14px 28px;
|
||||||
|
background: linear-gradient(135deg,
|
||||||
|
var(--witch-plum) 0%,
|
||||||
|
var(--witch-purple) 100%
|
||||||
|
);
|
||||||
|
color: var(--witch-moon);
|
||||||
|
border: 3px solid transparent;
|
||||||
|
border-radius: 30px;
|
||||||
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g transform="translate(12 12) rotate(-45 12 12)" filter="url(%23glow)"><circle cx="12" cy="6" r="5.5" fill="%23A8577E"/><circle cx="6" cy="12" r="5.5" fill="%23A8577E"/><circle cx="18" cy="12" r="5.5" fill="%23A8577E"/><circle cx="12" cy="18" r="5.5" fill="%23A8577E"/><circle cx="12" cy="12" r="4" fill="%23D4A5C7"/><path d="M12 18 L12 36" stroke="%232B1B3D" stroke-width="2.5"/><path d="M10 34 L8 38" stroke="%232B1B3D" stroke-width="2"/><path d="M14 34 L16 38" stroke="%232B1B3D" stroke-width="2"/></g><circle cx="3" cy="3" r="2" fill="%23D4A5C7" opacity="0.9"/></svg>') 0 0, url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
text-transform: none;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
transform: rotate(-1deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover, input[type="submit"]:hover, input[type="button"]:hover {
|
||||||
|
transform: translateY(-3px) rotate(1deg) scale(1.05);
|
||||||
|
box-shadow: 0 8px 25px rgba(68, 39, 90, 0.4),
|
||||||
|
0 0 30px rgba(168, 87, 126, 0.3);
|
||||||
|
border-color: var(--witch-rose);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Lists */
|
||||||
|
ul, ol {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul li::marker {
|
||||||
|
content: "✦ ";
|
||||||
|
color: var(--witch-rose);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables */
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: 1em 0;
|
||||||
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
th, td {
|
||||||
|
padding: 12px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
background: var(--witch-plum);
|
||||||
|
color: var(--witch-moon);
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) {
|
||||||
|
background: rgba(212, 165, 199, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:hover {
|
||||||
|
background: rgba(168, 87, 126, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Blockquotes */
|
||||||
|
blockquote {
|
||||||
|
border-left: 5px wavy var(--witch-rose);
|
||||||
|
padding-left: 20px;
|
||||||
|
margin: 1em 0;
|
||||||
|
font-family: 'Griffy', cursive;
|
||||||
|
font-style: normal;
|
||||||
|
color: var(--witch-plum);
|
||||||
|
font-size: 1.2rem;
|
||||||
|
line-height: 1.8;
|
||||||
|
background: linear-gradient(90deg,
|
||||||
|
rgba(168, 87, 126, 0.05) 0%,
|
||||||
|
transparent 50%);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
code, pre {
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
background: rgba(43, 27, 61, 0.05);
|
||||||
|
color: var(--witch-purple);
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
padding: 15px;
|
||||||
|
overflow-x: auto;
|
||||||
|
border: 1px solid var(--witch-plum);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Scrollbar */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: var(--witch-lavender);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--witch-plum);
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: var(--witch-purple);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Selection */
|
||||||
|
::selection {
|
||||||
|
background: var(--witch-rose);
|
||||||
|
color: var(--witch-moon);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
background: var(--witch-rose);
|
||||||
|
color: var(--witch-moon);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Draggable elements */
|
||||||
|
[draggable="true"] {
|
||||||
|
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g transform="translate(12 12)"><path d="M12 2 L2 12 L12 22 L22 12 Z" fill="%232B1B3D"/><circle cx="12" cy="12" r="6" fill="%23A8577E"/><circle cx="12" cy="12" r="4" fill="%23D4A5C7"/><path d="M12 4 L12 0 M12 24 L12 20 M4 12 L0 12 M24 12 L20 12" stroke="%232B1B3D" stroke-width="2"/></g></svg>') 12 12, move;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Special decorative text classes */
|
||||||
|
.witchy-accent {
|
||||||
|
font-family: 'Creepster', cursive;
|
||||||
|
letter-spacing: 3px;
|
||||||
|
text-shadow: 3px 3px 0px var(--witch-rose),
|
||||||
|
4px 4px 8px rgba(168, 87, 126, 0.5);
|
||||||
|
color: var(--witch-purple);
|
||||||
|
transform: skew(-5deg);
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mystical-text {
|
||||||
|
font-family: 'Henny Penny', 'Vampyr', cursive;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
text-shadow: 2px 2px 4px rgba(68, 39, 90, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.spooky-title {
|
||||||
|
font-family: 'Creepster', cursive;
|
||||||
|
background: linear-gradient(45deg,
|
||||||
|
var(--witch-purple) 0%,
|
||||||
|
var(--witch-rose) 50%,
|
||||||
|
var(--witch-mauve) 100%);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
background-clip: text;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 625px) {
|
@media screen and (max-width: 625px) {
|
||||||
#tree-nation-offset-website {
|
#tree-nation-offset-website {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -338,7 +736,7 @@ a {
|
|||||||
const nhcarriganHeadersFooter = document.createElement("footer");
|
const nhcarriganHeadersFooter = document.createElement("footer");
|
||||||
nhcarriganHeadersFooter.innerHTML = `
|
nhcarriganHeadersFooter.innerHTML = `
|
||||||
<div id="footer-inner-container">
|
<div id="footer-inner-container">
|
||||||
<p id="footer-copyright">© <a href="https://nhcarrigan.com" target="_blank">Naomi Carrigan</a></p>
|
<p id="footer-copyright" style="margin: 0; display: flex; align-items: center;">© <a href="https://nhcarrigan.com" target="_blank" style="margin-left: 5px;">Naomi Carrigan</a></p>
|
||||||
<button id="show-socials-button" type="button">
|
<button id="show-socials-button" type="button">
|
||||||
<i class="fa-solid fa-share-nodes"></i> Connect with Us
|
<i class="fa-solid fa-share-nodes"></i> Connect with Us
|
||||||
</button>
|
</button>
|
||||||
@@ -440,9 +838,11 @@ const nhcarriganHeadersAnalytics2 = document.createElement("script");
|
|||||||
nhcarriganHeadersAnalytics2.innerHTML = `
|
nhcarriganHeadersAnalytics2.innerHTML = `
|
||||||
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||||
plausible.init({
|
plausible.init({
|
||||||
domain: "${nhcarriganHeadersHostname}",
|
customProperties: {
|
||||||
page: "${nhcarriganHeadersTitle?.innerText ?? "Unknown Page"}",
|
domain: "${nhcarriganHeadersHostname}",
|
||||||
path: "${nhcarriganHeadersPathname}",
|
page: "${nhcarriganHeadersTitle?.innerText ?? "Unknown Page"}",
|
||||||
|
path: "${nhcarriganHeadersPathname}",
|
||||||
|
},
|
||||||
})
|
})
|
||||||
`;
|
`;
|
||||||
const nhcarriganHeadersGoogleAdsense = document.createElement("script");
|
const nhcarriganHeadersGoogleAdsense = document.createElement("script");
|
||||||
@@ -578,23 +978,27 @@ nhcarriganHeadersCta.style.position = "fixed";
|
|||||||
nhcarriganHeadersCta.style.top = "50%";
|
nhcarriganHeadersCta.style.top = "50%";
|
||||||
nhcarriganHeadersCta.style.left = "50%";
|
nhcarriganHeadersCta.style.left = "50%";
|
||||||
nhcarriganHeadersCta.style.transform = "translate(-50%, -50%)";
|
nhcarriganHeadersCta.style.transform = "translate(-50%, -50%)";
|
||||||
nhcarriganHeadersCta.style.padding = "10px";
|
nhcarriganHeadersCta.style.padding = "40px";
|
||||||
nhcarriganHeadersCta.style.borderRadius = "10px";
|
nhcarriganHeadersCta.style.borderRadius = "20px";
|
||||||
nhcarriganHeadersCta.style.backgroundColor = "var(--background)";
|
nhcarriganHeadersCta.style.backgroundColor = "var(--witch-moon)";
|
||||||
nhcarriganHeadersCta.style.color = "var(--foreground)";
|
nhcarriganHeadersCta.style.color = "var(--witch-purple)";
|
||||||
nhcarriganHeadersCta.style.textAlign = "center";
|
nhcarriganHeadersCta.style.textAlign = "center";
|
||||||
nhcarriganHeadersCta.style.width = "95%";
|
nhcarriganHeadersCta.style.width = "95%";
|
||||||
nhcarriganHeadersCta.style.maxWidth = "400px";
|
nhcarriganHeadersCta.style.maxWidth = "400px";
|
||||||
|
nhcarriganHeadersCta.style.border = "2px solid var(--witch-plum)";
|
||||||
|
nhcarriganHeadersCta.style.boxShadow = "0 20px 40px rgba(0, 0, 0, 0.5)";
|
||||||
nhcarriganHeadersCta.id = "community-cta";
|
nhcarriganHeadersCta.id = "community-cta";
|
||||||
nhcarriganHeadersCta.innerHTML = `
|
nhcarriganHeadersCta.innerHTML = `
|
||||||
<h1 autofocus>Hello~!</h1>
|
<h1 autofocus style="font-size: 2rem; margin-bottom: 20px; color: var(--witch-plum);">Welcome~!</h1>
|
||||||
<div style="display: flex; justify-content: space-around; margin-bottom: 10px;">
|
<div style="display: flex; justify-content: space-around; margin-bottom: 25px; align-items: center;">
|
||||||
<img src="https://cdn.nhcarrigan.com/logo.png" alt="NHCarrigan Logo" style="width: 100px; height: 100px;">
|
<img src="https://cdn.nhcarrigan.com/logo.png" alt="NHCarrigan Logo" style="width: 80px; height: 80px;">
|
||||||
<p>
|
<p style="flex: 1; margin-left: 20px; line-height: 1.8;">
|
||||||
Consider joining our community so you can keep up to date on all of our latest activities!
|
Join Naomi's personal Discord community to stay connected with her latest projects and activities!
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<a href="https://chat.nhcarrigan.com" target="_blank" rel="noreferrer" style="padding: 10px; background: var(--foreground); color: var(--background); outline: none">Okay, take me there~!</a>
|
<a href="https://chat.nhcarrigan.com" target="_blank" rel="noreferrer" style="display: inline-block; padding: 15px 35px; background: linear-gradient(135deg, var(--witch-plum), var(--witch-purple)); color: var(--witch-moon); text-decoration: none; border-radius: 30px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(68, 39, 90, 0.3);">
|
||||||
|
Join Naomi's Discord~!
|
||||||
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const nhcarriganHeadersModalBg = document.createElement("div");
|
const nhcarriganHeadersModalBg = document.createElement("div");
|
||||||
@@ -604,7 +1008,8 @@ nhcarriganHeadersModalBg.style.top = "0";
|
|||||||
nhcarriganHeadersModalBg.style.left = "0";
|
nhcarriganHeadersModalBg.style.left = "0";
|
||||||
nhcarriganHeadersModalBg.style.width = "100vw";
|
nhcarriganHeadersModalBg.style.width = "100vw";
|
||||||
nhcarriganHeadersModalBg.style.height = "100vh";
|
nhcarriganHeadersModalBg.style.height = "100vh";
|
||||||
nhcarriganHeadersModalBg.style.backgroundColor = "rgba(0, 0, 0, 0.5)";
|
nhcarriganHeadersModalBg.style.background = "rgba(10, 0, 9, 0.7)";
|
||||||
|
nhcarriganHeadersModalBg.style.backdropFilter = "blur(5px)";
|
||||||
nhcarriganHeadersModalBg.style.display = "none";
|
nhcarriganHeadersModalBg.style.display = "none";
|
||||||
nhcarriganHeadersModalBg.id = "modal-bg";
|
nhcarriganHeadersModalBg.id = "modal-bg";
|
||||||
const nhcarriganHeadersCloseModal = (): void => {
|
const nhcarriganHeadersCloseModal = (): void => {
|
||||||
@@ -655,4 +1060,10 @@ const nhcarriganHeadersShowModal = (): void => {
|
|||||||
|
|
||||||
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersCta);
|
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersCta);
|
||||||
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersModalBg);
|
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersModalBg);
|
||||||
nhcarriganHeadersShowModal();
|
|
||||||
|
const nhcarriganNoModalUrls = [
|
||||||
|
"https://forms.nhcarrigan.com/o/docs/forms/7LNb8jFoN4SPBvP7vRxDi2/4",
|
||||||
|
];
|
||||||
|
if (!nhcarriganNoModalUrls.includes(nhcarriganHeadersUrl)) {
|
||||||
|
nhcarriganHeadersShowModal();
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user