Compare commits

..

16 Commits

Author SHA1 Message Date
minori 856fb1172f deps: update terser to 5.46.0
Node.js CI / CI (pull_request) Successful in 26s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m15s
2026-02-03 19:29:05 -08:00
naomi a84ef3e2de fix: clarify community CTA
Node.js CI / CI (push) Successful in 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m20s
2026-02-02 16:15:18 -08:00
naomi 73057def0a release: v4.0.0
Node.js CI / CI (push) Successful in 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m37s
2026-01-29 16:50:18 -08:00
naomi feb30845f0 feat: do a total theme redesign (#8)
Node.js CI / CI (push) Successful in 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 50s
### Explanation

_No response_

### Issue

_No response_

### Attestations

- [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

Major - My pull request introduces a breaking change.

Reviewed-on: #8
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
2026-01-29 16:11:18 -08:00
hikari 689dbbb76f docs: update feedback section to use support forum
Node.js CI / CI (push) Successful in 21s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m13s
2026-01-26 12:36:50 -08:00
naomi 4bd168585f release: v3.5.0
Node.js CI / CI (push) Successful in 18s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m0s
2025-12-23 12:03:19 -08:00
naomi b52f67df8e feat: ability to block community cta modal on specific urls
Node.js CI / CI (push) Successful in 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 50s
2025-12-23 12:01:37 -08:00
naomi ba2f300755 feat: automated upload of .gitea/workflows/ci.yml
Node.js CI / CI (push) Successful in 19s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 56s
2025-12-22 19:41:48 +01:00
naomi a362e67051 feat: automated upload of .gitea/workflows/ci.yml
Node.js CI / CI (push) Failing after 9s
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled
2025-12-22 19:35:16 +01:00
naomi 58d4a26afe feat: automated upload of .gitea/workflows/ci.yml
Node.js CI / Lint and Test (push) Failing after 3s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 58s
2025-12-22 19:25:08 +01:00
naomi 9f5f83b32b feat: automated upload of .npmrc
Node.js CI / Lint and Test (push) Successful in 23s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m4s
2025-12-22 19:16:02 +01:00
naomi 0ca8b41f25 feat: automated upload of .gitea/workflows/security.yml
Node.js CI / Lint and Test (push) Successful in 28s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 57s
2025-12-18 03:07:58 +01:00
naomi 531aeaa703 feat: automated upload of .gitea/workflows/security.yml
Node.js CI / Lint and Test (push) Successful in 28s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m14s
2025-12-17 23:25:57 +01:00
naomi bc99b44e38 feat: automated upload of .gitea/workflows/security.yml
Node.js CI / Lint and Test (push) Successful in 27s
Security Scan / Security Audit (push) Failing after 6m50s
2025-12-12 03:37:44 +01:00
naomi 43cbdfc820 feat: automated upload of .gitea/workflows/security.yml
Node.js CI / Lint and Test (push) Successful in 23s
Security Scan / Trivy Security Scan (push) Failing after 4m48s
2025-12-11 20:11:56 +01:00
naomi ccf3db91cd fix: property structure for analytics
Node.js CI / Lint and Test (push) Successful in 22s
2025-12-10 19:24:03 -08:00
7 changed files with 727 additions and 88 deletions
+14 -5
View File
@@ -8,22 +8,31 @@ on:
- main
jobs:
lint:
name: Lint and Test
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout Source Files
uses: actions/checkout@v4
- name: Use Node.js v22
- name: Use Node.js v24
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
- name: Setup pnpm
uses: pnpm/action-setup@v2
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
run: pnpm install
+177
View File
@@ -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
+25
View File
@@ -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
+1 -1
View File
@@ -12,7 +12,7 @@ This page is currently deployed. [View the live website.]
## 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
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "website-headers",
"version": "3.4.0",
"version": "4.0.0",
"description": "",
"main": "index.js",
"type": "module",
@@ -24,7 +24,7 @@
"concurrently": "9.1.0",
"eslint": "9.17.0",
"globals": "15.14.0",
"terser": "5.37.0",
"terser": "5.46.0",
"tsx": "4.19.2",
"typescript": "5.7.2"
}
+39 -22
View File
@@ -10,7 +10,7 @@ importers:
devDependencies:
'@nhcarrigan/eslint-config':
specifier: 5.0.0
version: 5.0.0(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(playwright@1.49.1)(react@19.0.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.37.0))
version: 5.0.0(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(playwright@1.49.1)(react@19.0.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.46.0))
'@nhcarrigan/typescript-config':
specifier: 4.0.0
version: 4.0.0(typescript@5.7.2)
@@ -27,8 +27,8 @@ importers:
specifier: 15.14.0
version: 15.14.0
terser:
specifier: 5.37.0
version: 5.37.0
specifier: 5.46.0
version: 5.46.0
tsx:
specifier: 4.19.2
version: 4.19.2
@@ -486,51 +486,61 @@ packages:
resolution: {integrity: sha512-IPSCTzP8GRYzY+siSnggIKrckC2U+kVXoen6eSHRDgU9a4EZCHHWWOiKio1EkieOOk2j6EvZaaHfQUCmt8UJBg==}
cpu: [arm]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.29.0':
resolution: {integrity: sha512-GvHPu0UIDx+ohyS8vTYnwoSVMM5BH3NO+JwQs6GWNCuQVlC5rKxnH2WClTGu3NxiIfhKLai08IKUwn3QbzX1UQ==}
cpu: [arm]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.29.0':
resolution: {integrity: sha512-Pnnn/2CAZWcH9GQoj1nnr85Ejh7aNDe5MsEV0xhuFNUPF0SdnutJ7b2muOI5Kx12T0/i2ol5B/tlhMviZQDL3g==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.29.0':
resolution: {integrity: sha512-AP+DLj4q9FT22ZL43ssA3gizEn7/MfJcZ1BOuyEPqoriuH3a8VRuDddN0MtpUwEtiZL6jc1GY5/eL99hkloQ1Q==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-loongarch64-gnu@4.29.0':
resolution: {integrity: sha512-1+jPFClHmDATqbk0Cwi74KEOymVcs09Vbqe/CTKqLwCP0TeP2CACfnMnjYBs5CJgO20e/4bxFtmbR/9fKE1gug==}
cpu: [loong64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-powerpc64le-gnu@4.29.0':
resolution: {integrity: sha512-Nmt5Us5w2dL8eh7QVyAIDVVwBv4wk8ljrBQe7lWkLaOcwABDaFQ3K4sAAC6IsOdJwaXXW+d85zVaMN+Xl8Co2w==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-riscv64-gnu@4.29.0':
resolution: {integrity: sha512-KGuQ8WGhnq09LR7eOru7P9jfBSYXTMhq6TyavWfmEo+TxvkvuRwOCee5lPIa6HYjblOuFr4GeOxSE0c8iyw2Fg==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-s390x-gnu@4.29.0':
resolution: {integrity: sha512-lSQtvrYIONme7a4gbf4O9d3zbZat3/5covIeoqk27ZIkTgBeL/67x+wq2bZfpLjkqQQp5SjBPQ/n0sg8iArzTg==}
cpu: [s390x]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.29.0':
resolution: {integrity: sha512-qh0ussrXBwnF4L07M9t1+jpHRhiGSae+wpNQDbmlXHXciT7pqpZ5zpk4dyGZPtDGB2l2clDiufE16BufXPGRWQ==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.29.0':
resolution: {integrity: sha512-YEABzSaRS7+v14yw6MVBZoMqLoUyTX1/sJoGeC0euvgMrzvw0i+jHo4keDZgYeOblfwdseVAf6ylxWSvcBAKTA==}
cpu: [x64]
os: [linux]
libc: [musl]
'@rollup/rollup-win32-arm64-msvc@4.29.0':
resolution: {integrity: sha512-jA4+oxG7QTTtSQxwSHzFVwShcppHO2DpkbAM59pfD5WMG/da79yQaeBtXAfGTI+ciUx8hqK3RF3H2KWByITXtQ==}
@@ -742,6 +752,11 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
acorn@8.15.0:
resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
engines: {node: '>=0.4.0'}
hasBin: true
ajv@6.12.6:
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
@@ -1916,8 +1931,8 @@ packages:
resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==}
engines: {node: ^14.18.0 || >=16.0.0}
terser@5.37.0:
resolution: {integrity: sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==}
terser@5.46.0:
resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==}
engines: {node: '>=10'}
hasBin: true
@@ -2370,7 +2385,7 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.0
'@nhcarrigan/eslint-config@5.0.0(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(playwright@1.49.1)(react@19.0.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.37.0))':
'@nhcarrigan/eslint-config@5.0.0(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(playwright@1.49.1)(react@19.0.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.46.0))':
dependencies:
'@eslint/compat': 1.2.4(eslint@9.17.0)
'@eslint/eslintrc': 3.2.0
@@ -2378,7 +2393,7 @@ snapshots:
'@stylistic/eslint-plugin': 2.12.0(eslint@9.17.0)(typescript@5.7.2)
'@typescript-eslint/eslint-plugin': 8.17.0(@typescript-eslint/parser@8.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)
'@typescript-eslint/parser': 8.17.0(eslint@9.17.0)(typescript@5.7.2)
'@vitest/eslint-plugin': 1.1.14(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.37.0))
'@vitest/eslint-plugin': 1.1.14(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.46.0))
eslint: 9.17.0
eslint-plugin-deprecation: 3.0.0(eslint@9.17.0)(typescript@5.7.2)
eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.17.0(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)
@@ -2391,7 +2406,7 @@ snapshots:
playwright: 1.49.1
react: 19.0.0
typescript: 5.7.2
vitest: 2.1.8(@types/node@22.10.2)(terser@5.37.0)
vitest: 2.1.8(@types/node@22.10.2)(terser@5.46.0)
transitivePeerDependencies:
- '@typescript-eslint/utils'
- eslint-import-resolver-typescript
@@ -2656,13 +2671,13 @@ snapshots:
'@typescript-eslint/types': 8.18.1
eslint-visitor-keys: 4.2.0
'@vitest/eslint-plugin@1.1.14(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.37.0))':
'@vitest/eslint-plugin@1.1.14(@typescript-eslint/utils@8.18.1(eslint@9.17.0)(typescript@5.7.2))(eslint@9.17.0)(typescript@5.7.2)(vitest@2.1.8(@types/node@22.10.2)(terser@5.46.0))':
dependencies:
'@typescript-eslint/utils': 8.18.1(eslint@9.17.0)(typescript@5.7.2)
eslint: 9.17.0
optionalDependencies:
typescript: 5.7.2
vitest: 2.1.8(@types/node@22.10.2)(terser@5.37.0)
vitest: 2.1.8(@types/node@22.10.2)(terser@5.46.0)
'@vitest/expect@2.1.8':
dependencies:
@@ -2671,13 +2686,13 @@ snapshots:
chai: 5.1.2
tinyrainbow: 1.2.0
'@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0))':
'@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.2)(terser@5.46.0))':
dependencies:
'@vitest/spy': 2.1.8
estree-walker: 3.0.3
magic-string: 0.30.17
optionalDependencies:
vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0)
vite: 5.4.11(@types/node@22.10.2)(terser@5.46.0)
'@vitest/pretty-format@2.1.8':
dependencies:
@@ -2716,6 +2731,8 @@ snapshots:
acorn@8.14.0: {}
acorn@8.15.0: {}
ajv@6.12.6:
dependencies:
fast-deep-equal: 3.1.3
@@ -4144,10 +4161,10 @@ snapshots:
'@pkgr/core': 0.1.1
tslib: 2.8.1
terser@5.37.0:
terser@5.46.0:
dependencies:
'@jridgewell/source-map': 0.3.6
acorn: 8.14.0
acorn: 8.15.0
commander: 2.20.3
source-map-support: 0.5.21
@@ -4256,13 +4273,13 @@ snapshots:
spdx-correct: 3.2.0
spdx-expression-parse: 3.0.1
vite-node@2.1.8(@types/node@22.10.2)(terser@5.37.0):
vite-node@2.1.8(@types/node@22.10.2)(terser@5.46.0):
dependencies:
cac: 6.7.14
debug: 4.4.0
es-module-lexer: 1.5.4
pathe: 1.1.2
vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0)
vite: 5.4.11(@types/node@22.10.2)(terser@5.46.0)
transitivePeerDependencies:
- '@types/node'
- less
@@ -4274,7 +4291,7 @@ snapshots:
- supports-color
- terser
vite@5.4.11(@types/node@22.10.2)(terser@5.37.0):
vite@5.4.11(@types/node@22.10.2)(terser@5.46.0):
dependencies:
esbuild: 0.21.5
postcss: 8.4.49
@@ -4282,12 +4299,12 @@ snapshots:
optionalDependencies:
'@types/node': 22.10.2
fsevents: 2.3.3
terser: 5.37.0
terser: 5.46.0
vitest@2.1.8(@types/node@22.10.2)(terser@5.37.0):
vitest@2.1.8(@types/node@22.10.2)(terser@5.46.0):
dependencies:
'@vitest/expect': 2.1.8
'@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0))
'@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.2)(terser@5.46.0))
'@vitest/pretty-format': 2.1.8
'@vitest/runner': 2.1.8
'@vitest/snapshot': 2.1.8
@@ -4303,8 +4320,8 @@ snapshots:
tinyexec: 0.3.1
tinypool: 1.0.2
tinyrainbow: 1.2.0
vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0)
vite-node: 2.1.8(@types/node@22.10.2)(terser@5.37.0)
vite: 5.4.11(@types/node@22.10.2)(terser@5.46.0)
vite-node: 2.1.8(@types/node@22.10.2)(terser@5.46.0)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 22.10.2
+465 -54
View File
@@ -50,7 +50,7 @@ nhcarriganHeadersViewport.setAttribute(
);
const nhcarriganHeadersThemeColor = document.createElement("meta");
nhcarriganHeadersThemeColor.setAttribute("name", "theme-color");
nhcarriganHeadersThemeColor.setAttribute("content", "#E1F6F9");
nhcarriganHeadersThemeColor.setAttribute("content", "#4A0E0E");
const nhcarriganHeadersReferrer = document.createElement("meta");
nhcarriganHeadersReferrer.setAttribute("name", "referrer");
nhcarriganHeadersReferrer.setAttribute(
@@ -185,10 +185,30 @@ nhcarriganHeadersStyles.innerHTML = `
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 {
--foreground: #8F2447;
--background: #E1F6F9DC;
font-size: 12pt;
/* Witchy Purple Rose Palette */
--witch-purple: #2B1B3D;
--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 {
font-family: 'Vampyr', monospace;
cursor: url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
font-family: 'Kalam', cursive, sans-serif;
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-width: 100vw;
}
body {
min-height: 100vh;
position: relative;
}
/* Witchy mystical background */
body::before {
background: url(https://cdn.nhcarrigan.com/background.png);
background-size: cover;
background-position: center;
width: 100%;
height: 100%;
z-index: -1;
content: "";
position: fixed;
top: 0;
left: 0;
right: 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;
}
/* 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 {
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;
border-radius: 10px;
border-radius: 15px;
width: 95%;
max-width: 1080px;
margin: auto;
margin-bottom: 85px;
padding: 10px;
margin: 20px auto 85px auto;
padding: 40px;
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 {
width: 100%;
color: var(--foreground);
background-color: var(--background);
color: var(--witch-lavender);
background: linear-gradient(to bottom,
rgba(43, 27, 61, 0.95) 0%,
var(--witch-black) 100%
);
position: fixed;
bottom: 0;
height: 75px;
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 {
display: flex;
align-items: center;
justify-content: space-between;
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 {
display: grid;
grid-template-columns: repeat(8, 1fr);
align-items: center;
justify-content: space-around;
}
#show-socials-button, #theme-select-button {
background: none;
border: none;
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
color: var(--foreground);
border: 1px solid var(--witch-plum);
border-radius: 20px;
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-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 {
font-size: 1.5rem;
font-size: 1.2rem;
margin-right: 5px;
}
a {
color: unset;
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
color: var(--accent);
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 {
display: flex;
align-items: center;
}
#social-list {
position: absolute;
bottom: 75px;
left: 0;
right: 0;
width: 100vw;
left: 50%;
transform: translateX(-50%);
width: 90vw;
max-width: 400px;
padding: 10px;
background-color: var(--background);
color: var(--foreground);
border-radius: 10px;
border: 1px solid var(--foreground);
padding: 20px;
background: linear-gradient(135deg,
rgba(43, 27, 61, 0.98) 0%,
rgba(10, 0, 9, 0.95) 100%
);
color: var(--witch-lavender);
border-radius: 15px;
border: 1px solid var(--witch-mauve);
display: none;
z-index: 1000;
box-shadow:
0 10px 30px var(--witch-shadow),
inset 0 0 20px rgba(168, 87, 126, 0.1);
}
.social-list-item {
padding: 10px;
padding: 12px;
transition: all 0.3s ease;
border-radius: 8px;
}
.social-list-item > a {
display: flex;
align-items: center;
justify-content: space-between;
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 {
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 {
background-color: var(--foreground);
color: var(--background);
background: rgba(168, 87, 126, 0.2);
transform: translateX(3px);
}
.social-list-item:hover > a {
color: var(--witch-rose);
}
.is-dark {
--foreground: #E1F6F9;
--background: #8F2447bb;
--foreground: var(--witch-lavender);
--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) {
#tree-nation-offset-website {
display: none;
@@ -338,7 +736,7 @@ a {
const nhcarriganHeadersFooter = document.createElement("footer");
nhcarriganHeadersFooter.innerHTML = `
<div id="footer-inner-container">
<p id="footer-copyright">&copy; <a href="https://nhcarrigan.com" target="_blank">Naomi Carrigan</a></p>
<p id="footer-copyright" style="margin: 0; display: flex; align-items: center;">&copy; <a href="https://nhcarrigan.com" target="_blank" style="margin-left: 5px;">Naomi Carrigan</a></p>
<button id="show-socials-button" type="button">
<i class="fa-solid fa-share-nodes"></i> Connect with Us
</button>
@@ -440,9 +838,11 @@ const nhcarriganHeadersAnalytics2 = document.createElement("script");
nhcarriganHeadersAnalytics2.innerHTML = `
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init({
customProperties: {
domain: "${nhcarriganHeadersHostname}",
page: "${nhcarriganHeadersTitle?.innerText ?? "Unknown Page"}",
path: "${nhcarriganHeadersPathname}",
},
})
`;
const nhcarriganHeadersGoogleAdsense = document.createElement("script");
@@ -578,23 +978,27 @@ nhcarriganHeadersCta.style.position = "fixed";
nhcarriganHeadersCta.style.top = "50%";
nhcarriganHeadersCta.style.left = "50%";
nhcarriganHeadersCta.style.transform = "translate(-50%, -50%)";
nhcarriganHeadersCta.style.padding = "10px";
nhcarriganHeadersCta.style.borderRadius = "10px";
nhcarriganHeadersCta.style.backgroundColor = "var(--background)";
nhcarriganHeadersCta.style.color = "var(--foreground)";
nhcarriganHeadersCta.style.padding = "40px";
nhcarriganHeadersCta.style.borderRadius = "20px";
nhcarriganHeadersCta.style.backgroundColor = "var(--witch-moon)";
nhcarriganHeadersCta.style.color = "var(--witch-purple)";
nhcarriganHeadersCta.style.textAlign = "center";
nhcarriganHeadersCta.style.width = "95%";
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.innerHTML = `
<h1 autofocus>Hello~!</h1>
<div style="display: flex; justify-content: space-around; margin-bottom: 10px;">
<img src="https://cdn.nhcarrigan.com/logo.png" alt="NHCarrigan Logo" style="width: 100px; height: 100px;">
<p>
Consider joining our community so you can keep up to date on all of our latest activities!
<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: 25px; align-items: center;">
<img src="https://cdn.nhcarrigan.com/logo.png" alt="NHCarrigan Logo" style="width: 80px; height: 80px;">
<p style="flex: 1; margin-left: 20px; line-height: 1.8;">
Join Naomi's personal Discord community to stay connected with her latest projects and activities!
</p>
</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");
@@ -604,7 +1008,8 @@ nhcarriganHeadersModalBg.style.top = "0";
nhcarriganHeadersModalBg.style.left = "0";
nhcarriganHeadersModalBg.style.width = "100vw";
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.id = "modal-bg";
const nhcarriganHeadersCloseModal = (): void => {
@@ -655,4 +1060,10 @@ const nhcarriganHeadersShowModal = (): void => {
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersCta);
nhcarriganHeadersBody?.appendChild(nhcarriganHeadersModalBg);
nhcarriganHeadersShowModal();
const nhcarriganNoModalUrls = [
"https://forms.nhcarrigan.com/o/docs/forms/7LNb8jFoN4SPBvP7vRxDi2/4",
];
if (!nhcarriganNoModalUrls.includes(nhcarriganHeadersUrl)) {
nhcarriganHeadersShowModal();
}