generated from nhcarrigan/template
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bda6b8000 | |||
| 037993804d | |||
| 7d8c6bf21c | |||
| c769c81207 | |||
| 6dd0ec7db0 | |||
| b821ab7a6e | |||
| d3e91bfcb1 | |||
| 8f51c75f0a |
@@ -14,11 +14,11 @@ const helmetPlugin: FastifyPluginAsync = async (app) => {
|
|||||||
directives: {
|
directives: {
|
||||||
defaultSrc: ["'self'"],
|
defaultSrc: ["'self'"],
|
||||||
// Angular uses inline styles for component encapsulation, so we need to allow them
|
// Angular uses inline styles for component encapsulation, so we need to allow them
|
||||||
styleSrc: ["'self'", "'unsafe-inline'"],
|
styleSrc: ["'self'", "'unsafe-inline'", "https://fonts.googleapis.com"],
|
||||||
imgSrc: ["'self'", "data:", "https:"],
|
imgSrc: ["'self'", "data:", "https:"],
|
||||||
scriptSrc: ["'self'"],
|
scriptSrc: ["'self'"],
|
||||||
connectSrc: ["'self'", process.env.FRONTEND_URL ?? "http://localhost:4200"],
|
connectSrc: ["'self'", process.env.FRONTEND_URL ?? "http://localhost:4200"],
|
||||||
fontSrc: ["'self'", "data:"],
|
fontSrc: ["'self'", "data:", "https://fonts.gstatic.com"],
|
||||||
objectSrc: ["'none'"],
|
objectSrc: ["'none'"],
|
||||||
baseUri: ["'self'"],
|
baseUri: ["'self'"],
|
||||||
formAction: ["'self'"],
|
formAction: ["'self'"],
|
||||||
|
|||||||
@@ -25,6 +25,11 @@
|
|||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
"optimization": {
|
||||||
|
"styles": {
|
||||||
|
"inlineCritical": false
|
||||||
|
}
|
||||||
|
},
|
||||||
"budgets": [
|
"budgets": [
|
||||||
{
|
{
|
||||||
"type": "initial",
|
"type": "initial",
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
<meta name="description" content="Naomi's curated collection of games, books, music, shows, manga, and art. Browse, engage, and suggest new additions!" />
|
<meta name="description" content="Naomi's curated collection of games, books, music, shows, manga, and art. Browse, engage, and suggest new additions!" />
|
||||||
<meta name="theme-color" content="#9d4edd" />
|
<meta name="theme-color" content="#9d4edd" />
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Creepster&family=Griffy&family=Henny+Penny&family=Kalam:wght@300;400;700&display=swap" rel="stylesheet" />
|
||||||
<script defer src="https://analytics.nhcarrigan.com/js/pa-YUXAn1vhhRttySUAw_LMN.js"></script>
|
<script defer src="https://analytics.nhcarrigan.com/js/pa-YUXAn1vhhRttySUAw_LMN.js"></script>
|
||||||
<script>
|
<script>
|
||||||
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||{}};
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
font-family: 'Kalam', cursive;
|
||||||
font-size: 14pt;
|
font-size: 14pt;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
@@ -75,10 +75,30 @@ body::after {
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes wiggle {
|
||||||
|
0%, 100% { transform: rotate(-2deg); }
|
||||||
|
50% { transform: rotate(2deg); }
|
||||||
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
color: var(--witch-purple);
|
color: var(--witch-purple);
|
||||||
|
font-family: 'Griffy', cursive;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
animation: wiggle 4s ease-in-out infinite;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.witchy-accent,
|
||||||
|
.spooky-title {
|
||||||
|
font-family: 'Creepster', cursive;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mystical-text {
|
||||||
|
font-family: 'Henny Penny', cursive;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -121,6 +141,7 @@ select:focus {
|
|||||||
|
|
||||||
// Button base styles
|
// Button base styles
|
||||||
button {
|
button {
|
||||||
|
font-family: inherit;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -34,7 +34,7 @@
|
|||||||
"@fastify/oauth2": "8.2.0",
|
"@fastify/oauth2": "8.2.0",
|
||||||
"@fastify/rate-limit": "10.3.0",
|
"@fastify/rate-limit": "10.3.0",
|
||||||
"@fastify/sensible": "6.0.4",
|
"@fastify/sensible": "6.0.4",
|
||||||
"@fastify/static": "9.0.0",
|
"@fastify/static": "9.1.0",
|
||||||
"@fortawesome/angular-fontawesome": "4.0.0",
|
"@fortawesome/angular-fontawesome": "4.0.0",
|
||||||
"@fortawesome/fontawesome-svg-core": "7.2.0",
|
"@fortawesome/fontawesome-svg-core": "7.2.0",
|
||||||
"@fortawesome/free-brands-svg-icons": "7.2.0",
|
"@fortawesome/free-brands-svg-icons": "7.2.0",
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"fastify": "5.7.3",
|
"fastify": "5.7.3",
|
||||||
"fastify-plugin": "5.0.1",
|
"fastify-plugin": "5.0.1",
|
||||||
"jsdom": "28.1.0",
|
"jsdom": "28.1.0",
|
||||||
"marked": "17.0.2",
|
"marked": "17.0.3",
|
||||||
"rxjs": "7.8.2"
|
"rxjs": "7.8.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -70,13 +70,13 @@
|
|||||||
"@schematics/angular": "21.1.2",
|
"@schematics/angular": "21.1.2",
|
||||||
"@swc-node/register": "1.9.2",
|
"@swc-node/register": "1.9.2",
|
||||||
"@swc/core": "1.5.29",
|
"@swc/core": "1.5.29",
|
||||||
"@swc/helpers": "0.5.18",
|
"@swc/helpers": "0.5.19",
|
||||||
"@types/dompurify": "3.2.0",
|
"@types/dompurify": "3.2.0",
|
||||||
"@types/jest": "30.0.0",
|
"@types/jest": "30.0.0",
|
||||||
"@types/jsdom": "27.0.0",
|
"@types/jsdom": "27.0.0",
|
||||||
"@types/jsonwebtoken": "9.0.10",
|
"@types/jsonwebtoken": "9.0.10",
|
||||||
"@types/node": "20.19.9",
|
"@types/node": "20.19.9",
|
||||||
"@typescript-eslint/utils": "8.55.0",
|
"@typescript-eslint/utils": "8.56.0",
|
||||||
"angular-eslint": "21.1.0",
|
"angular-eslint": "21.1.0",
|
||||||
"cypress": "15.9.0",
|
"cypress": "15.9.0",
|
||||||
"esbuild": "0.19.12",
|
"esbuild": "0.19.12",
|
||||||
|
|||||||
Generated
+295
-383
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user