generated from nhcarrigan/template
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
f59cae1de5
|
|||
|
4a872f94d3
|
|||
|
9c40549e3b
|
|||
|
9f997d6e03
|
|||
|
a13eb8dbec
|
|||
|
2351245698
|
|||
|
f67c0ec850
|
|||
|
6de20dbdee
|
|||
| c477cebe92 | |||
|
a84ef3e2de
|
@@ -1,25 +0,0 @@
|
|||||||
# 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
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "website-headers",
|
"name": "website-headers",
|
||||||
"version": "4.0.0",
|
"version": "4.1.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Generated
+10
@@ -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==}
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
# Security
|
||||||
|
|
||||||
|
# Do not execute any scripts of installed packages (project scripts still run)
|
||||||
|
ignoreDepScripts: true
|
||||||
|
# Do not automatically run pre/post scripts (e.g. preinstall, postbuild)
|
||||||
|
enablePrePostScripts: false
|
||||||
|
# Only allow packages published at least 10 days ago (reduces risk of compromised packages)
|
||||||
|
minimumReleaseAge: 14400
|
||||||
|
# Fail if a package's trust level has decreased compared to previous releases
|
||||||
|
trustPolicy: no-downgrade
|
||||||
|
# Ignore trust policy for packages published more than 1 year ago (predates provenance signing)
|
||||||
|
trustPolicyIgnoreAfter: 525960
|
||||||
|
# Fail if there are missing or invalid peer dependencies
|
||||||
|
# We are temporarily disabling this to allow for the development of the website-headers package
|
||||||
|
strictPeerDependencies: false
|
||||||
|
# Prevent transitive dependencies from using exotic sources (git repos, direct tarball URLs)
|
||||||
|
blockExoticSubdeps: true
|
||||||
|
|
||||||
|
# Lockfile
|
||||||
|
|
||||||
|
# Allow the lockfile to be updated during install (set to true in CI for stricter reproducibility)
|
||||||
|
preferFrozenLockfile: false
|
||||||
+43
-23
@@ -180,14 +180,10 @@ nhcarriganHeadersLargeIcon.href
|
|||||||
const nhcarriganHeadersStyles = document.createElement("style");
|
const nhcarriganHeadersStyles = document.createElement("style");
|
||||||
nhcarriganHeadersStyles.id = "nhcarrigan-global-styles";
|
nhcarriganHeadersStyles.id = "nhcarrigan-global-styles";
|
||||||
nhcarriganHeadersStyles.innerHTML = `
|
nhcarriganHeadersStyles.innerHTML = `
|
||||||
@font-face {
|
|
||||||
font-family: 'Vampyr';
|
|
||||||
src: url('https://cdn.nhcarrigan.com/fonts/vampyr.ttf') format('truetype');
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Import fun and whimsical fonts! */
|
/* 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');
|
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Creepster&family=Griffy&family=Henny+Penny&display=swap');
|
||||||
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Witchy Purple Rose Palette */
|
/* Witchy Purple Rose Palette */
|
||||||
--witch-purple: #2B1B3D;
|
--witch-purple: #2B1B3D;
|
||||||
@@ -686,7 +682,7 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mystical-text {
|
.mystical-text {
|
||||||
font-family: 'Henny Penny', 'Vampyr', cursive;
|
font-family: 'Henny Penny', cursive;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
text-shadow: 2px 2px 4px rgba(68, 39, 90, 0.4);
|
text-shadow: 2px 2px 4px rgba(68, 39, 90, 0.4);
|
||||||
}
|
}
|
||||||
@@ -703,20 +699,43 @@ pre {
|
|||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 625px) {
|
@media screen and (max-width: 1000px) {
|
||||||
#tree-nation-offset-website {
|
#tree-nation-tree-counter {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
footer, #footer-inner-container {
|
|
||||||
height: 50px;
|
|
||||||
justify-content: space-around;
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
margin-bottom: 60px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 425px) {
|
@media screen and (max-width: 835px) {
|
||||||
|
#theme-select-button {
|
||||||
|
font-size: 10pt;
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
#show-socials-button {
|
||||||
|
font-size: 10pt;
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
#tree-nation-offset-website {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 625px) {
|
||||||
|
footer, #footer-inner-container {
|
||||||
|
height: 75px;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
main {
|
||||||
|
margin-bottom: 85px;
|
||||||
|
}
|
||||||
|
#footer-copyright {
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 560px) {
|
||||||
#donate-badge {
|
#donate-badge {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -736,6 +755,7 @@ pre {
|
|||||||
const nhcarriganHeadersFooter = document.createElement("footer");
|
const nhcarriganHeadersFooter = document.createElement("footer");
|
||||||
nhcarriganHeadersFooter.innerHTML = `
|
nhcarriganHeadersFooter.innerHTML = `
|
||||||
<div id="footer-inner-container">
|
<div id="footer-inner-container">
|
||||||
|
<div id="tree-nation-tree-counter" data-widget-type="tree-counter" data-tree-nation-code="52a9395caa57df28" data-lang="en" data-theme="dark"></div>
|
||||||
<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>
|
<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
|
||||||
@@ -746,7 +766,7 @@ nhcarriganHeadersFooter.innerHTML = `
|
|||||||
<a id="donate-badge" href="https://buy.stripe.com/cN24iTfqu1j6b3afZ2" target="_blank" rel="noreferrer">
|
<a id="donate-badge" href="https://buy.stripe.com/cN24iTfqu1j6b3afZ2" target="_blank" rel="noreferrer">
|
||||||
<img src="https://cdn.nhcarrigan.com/donate.png" alt="Donate" style="width: 70px; height: 70px;">
|
<img src="https://cdn.nhcarrigan.com/donate.png" alt="Donate" style="width: 70px; height: 70px;">
|
||||||
</a>
|
</a>
|
||||||
<div id="tree-nation-offset-website"></div>
|
<div id="tree-nation-offset-website" data-widget-type="offset-website" data-tree-nation-code="a17464e0cd351220" data-lang="en" data-theme="dark"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="social-list">
|
<div id="social-list">
|
||||||
<div class="social-list-item">
|
<div class="social-list-item">
|
||||||
@@ -808,7 +828,7 @@ nhcarriganHeadersFooter.innerHTML = `
|
|||||||
|
|
||||||
const nhcarriganHeadersTreeNation = document.createElement("script");
|
const nhcarriganHeadersTreeNation = document.createElement("script");
|
||||||
nhcarriganHeadersTreeNation.src
|
nhcarriganHeadersTreeNation.src
|
||||||
= "https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0";
|
= "https://widgets.tree-nation.com/js/widgets/v3/widgets.min.js";
|
||||||
const nhcarriganHeadersTreeNationBottom = document.createElement("script");
|
const nhcarriganHeadersTreeNationBottom = document.createElement("script");
|
||||||
nhcarriganHeadersTreeNationBottom.defer = true;
|
nhcarriganHeadersTreeNationBottom.defer = true;
|
||||||
nhcarriganHeadersTreeNationBottom.async = true;
|
nhcarriganHeadersTreeNationBottom.async = true;
|
||||||
@@ -828,7 +848,7 @@ const interval = setInterval(() => {
|
|||||||
}, 1000);
|
}, 1000);
|
||||||
`;
|
`;
|
||||||
const nhcarriganHeadersFontAwesome = document.createElement("script");
|
const nhcarriganHeadersFontAwesome = document.createElement("script");
|
||||||
nhcarriganHeadersFontAwesome.src = "https://kit.fontawesome.com/f949111719.js";
|
nhcarriganHeadersFontAwesome.src = "https://cdn.nhcarrigan.com/font-awesome/all.min.js";
|
||||||
const nhcarriganHeadersAnalytics = document.createElement("script");
|
const nhcarriganHeadersAnalytics = document.createElement("script");
|
||||||
nhcarriganHeadersAnalytics.defer = true;
|
nhcarriganHeadersAnalytics.defer = true;
|
||||||
nhcarriganHeadersAnalytics.src
|
nhcarriganHeadersAnalytics.src
|
||||||
@@ -989,15 +1009,15 @@ nhcarriganHeadersCta.style.border = "2px solid var(--witch-plum)";
|
|||||||
nhcarriganHeadersCta.style.boxShadow = "0 20px 40px rgba(0, 0, 0, 0.5)";
|
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 style="font-size: 2rem; margin-bottom: 20px; color: var(--witch-plum);">Welcome~! 🌙</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: 25px; align-items: center;">
|
<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; filter: hue-rotate(280deg) saturate(0.7);">
|
<img src="https://cdn.nhcarrigan.com/profile_personal.jpg" alt="Naomi's Avatar" style="width: 80px; height: 80px; border-radius: 50%;">
|
||||||
<p style="flex: 1; margin-left: 20px; line-height: 1.8;">
|
<p style="flex: 1; margin-left: 20px; line-height: 1.8;">
|
||||||
Join our magical community to stay connected with our latest projects and 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="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);">
|
<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 Our Community~! ✨
|
Join Naomi's Discord~!
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user