Resizing logo image

Fixed news internal page
This commit is contained in:
Julio Ruiz 2026-02-11 23:37:25 -05:00
parent 815f01500d
commit 2979d507a7
7 changed files with 378 additions and 23 deletions

339
package-lock.json generated
View File

@ -12,6 +12,7 @@
"@tailwindcss/vite": "^4.1.18",
"@unpic/astro": "^1.0.2",
"astro": "^5.17.1",
"astro-embed": "^0.12.0",
"astro-icon": "^1.1.5",
"dayjs": "^1.11.19",
"swiper": "^12.1.0",
@ -43,6 +44,119 @@
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/@astro-community/astro-embed-baseline-status": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-baseline-status/-/astro-embed-baseline-status-0.2.2.tgz",
"integrity": "sha512-07TBEb+xQWWZfMuoHohcZv/r2VSB80/1xN5iLhzSqavLmdsMyebEnbc6tvw3yMkxvX9IBLduNA5SxvVkpmowNQ==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0"
}
},
"node_modules/@astro-community/astro-embed-bluesky": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-bluesky/-/astro-embed-bluesky-0.1.6.tgz",
"integrity": "sha512-3y6Y3cRelLnR9AYMItmEAjcr83KAEa6WvsxQ1eHq1cPBzICXknuzphaZlmQZ+QG5NTtmEJD+2lQWrFba/BfM1A==",
"license": "MIT",
"dependencies": {
"@atproto/api": "^0.13.14"
}
},
"node_modules/@astro-community/astro-embed-gist": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-gist/-/astro-embed-gist-0.1.0.tgz",
"integrity": "sha512-wP3EoBZZjDoPLH6TZzem8jDJxOuweDoK5zWmSra0QBKz3Lry1tZGCwKII5mlnOL2AmTKLrfqrBXTxSGwb7AimQ==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0"
}
},
"node_modules/@astro-community/astro-embed-integration": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-integration/-/astro-embed-integration-0.11.0.tgz",
"integrity": "sha512-xmwXN8039zUT0/lBO2GUr8cm5t/v+9Fh8QkPUhTWy+A7RR0+PwT1M3PBm8q01A1rK9q0myOyFHEcSOp+WkH5tg==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-bluesky": "^0.1.6",
"@astro-community/astro-embed-gist": "^0.1.0",
"@astro-community/astro-embed-link-preview": "^0.3.0",
"@astro-community/astro-embed-mastodon": "^0.1.0",
"@astro-community/astro-embed-twitter": "^0.5.10",
"@astro-community/astro-embed-vimeo": "^0.3.12",
"@astro-community/astro-embed-youtube": "^0.5.10",
"@types/unist": "^3.0.3",
"astro-auto-import": "^0.4.5",
"unist-util-select": "^5.1.0"
},
"peerDependencies": {
"astro": "^5.0.0 || ^6.0.0-alpha"
}
},
"node_modules/@astro-community/astro-embed-link-preview": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-link-preview/-/astro-embed-link-preview-0.3.1.tgz",
"integrity": "sha512-TI++efm08+kJqxqA7bvxBr7+Zt4yCceA6s3wvAQJ87eiaxbLqAFUSQ+paQD66ET9dIC+IuKzHOMwsoDfqBidYw==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0",
"@parse5/tools": "^0.7.0",
"parse5": "^8.0.0"
}
},
"node_modules/@astro-community/astro-embed-link-preview/node_modules/parse5": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.0.tgz",
"integrity": "sha512-9m4m5GSgXjL4AjumKzq1Fgfp3Z8rsvjRNbnkVwfu2ImRqE5D0LnY2QfDen18FSY9C573YU5XxSapdHZTZ2WolA==",
"license": "MIT",
"dependencies": {
"entities": "^6.0.0"
},
"funding": {
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
},
"node_modules/@astro-community/astro-embed-mastodon": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-mastodon/-/astro-embed-mastodon-0.1.1.tgz",
"integrity": "sha512-g5Mt1H6GxjkIvXC0HcKqLanZgXHu1e0vNqiQJ8ckryPKmbijYPfhGJYJLPHxE6PaFEA5tmwcmJouVcMPMjf2Kg==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0"
}
},
"node_modules/@astro-community/astro-embed-twitter": {
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-twitter/-/astro-embed-twitter-0.5.11.tgz",
"integrity": "sha512-6cmyQY4LVVJj6x7qC6XrhWcxNffLvR+QGE/iw5HTOtAn60AStr6u+IX2Txpy6N6bta0DLjGqhTBhkC3NxmVKJg==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0"
}
},
"node_modules/@astro-community/astro-embed-utils": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-utils/-/astro-embed-utils-0.2.0.tgz",
"integrity": "sha512-Ia70AMCFOUOSoaMfMaK7Ovk7VyIY4opwzBJoA6GeL+omkvpFwDbSWmA8MOiMF4gJC0j/1dgrEir+txIb+WvsCA==",
"license": "MIT"
},
"node_modules/@astro-community/astro-embed-vimeo": {
"version": "0.3.12",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-vimeo/-/astro-embed-vimeo-0.3.12.tgz",
"integrity": "sha512-VLNcsniT5qZ/7GaSGFWnX4ar0qcGyAYB1HQnAH362Zjqs0QI2he9u1nWv1kEx4xr3fZVxl6D2QuNN4xKtd8/ig==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-utils": "^0.2.0"
}
},
"node_modules/@astro-community/astro-embed-youtube": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/@astro-community/astro-embed-youtube/-/astro-embed-youtube-0.5.10.tgz",
"integrity": "sha512-hVlx77KQLjKzElVQnrU5znQ5/E60keVSAPrhuWvQQHuqva5auJtt8YBpOThkwDMuEKXjQybEF1/3C07RZ8MAOQ==",
"license": "MIT",
"dependencies": {
"lite-youtube-embed": "^0.3.4"
}
},
"node_modules/@astrojs/compiler": {
"version": "2.13.1",
"resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-2.13.1.tgz",
@ -135,6 +249,103 @@
"node": "18.20.8 || ^20.3.0 || >=22.0.0"
}
},
"node_modules/@atproto/api": {
"version": "0.13.35",
"resolved": "https://registry.npmjs.org/@atproto/api/-/api-0.13.35.tgz",
"integrity": "sha512-vsEfBj0C333TLjDppvTdTE0IdKlXuljKSveAeI4PPx/l6eUKNnDTsYxvILtXUVzwUlTDmSRqy5O4Ryh78n1b7g==",
"license": "MIT",
"dependencies": {
"@atproto/common-web": "^0.4.0",
"@atproto/lexicon": "^0.4.6",
"@atproto/syntax": "^0.3.2",
"@atproto/xrpc": "^0.6.8",
"await-lock": "^2.2.2",
"multiformats": "^9.9.0",
"tlds": "^1.234.0",
"zod": "^3.23.8"
}
},
"node_modules/@atproto/common-web": {
"version": "0.4.16",
"resolved": "https://registry.npmjs.org/@atproto/common-web/-/common-web-0.4.16.tgz",
"integrity": "sha512-Ufvaff5JgxUyUyTAG0/3o7ltpy3lnZ1DvLjyAnvAf+hHfiK7OMQg+8byr+orN+KP9MtIQaRTsCgYPX+PxMKUoA==",
"license": "MIT",
"dependencies": {
"@atproto/lex-data": "^0.0.11",
"@atproto/lex-json": "^0.0.11",
"@atproto/syntax": "^0.4.3",
"zod": "^3.23.8"
}
},
"node_modules/@atproto/common-web/node_modules/@atproto/syntax": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@atproto/syntax/-/syntax-0.4.3.tgz",
"integrity": "sha512-YoZUz40YAJr5nPwvCDWgodEOlt5IftZqPJvA0JDWjuZKD8yXddTwSzXSaKQAzGOpuM+/A3uXRtPzJJqlScc+iA==",
"license": "MIT",
"dependencies": {
"tslib": "^2.8.1"
}
},
"node_modules/@atproto/lex-data": {
"version": "0.0.11",
"resolved": "https://registry.npmjs.org/@atproto/lex-data/-/lex-data-0.0.11.tgz",
"integrity": "sha512-4+KTtHdqwlhiTKA7D4SACea4jprsNpCQsNALW09wsZ6IHhCDGO5tr1cmV+QnLYe3G3mu1E1yXHXbPUHrUUDT/A==",
"license": "MIT",
"dependencies": {
"multiformats": "^9.9.0",
"tslib": "^2.8.1",
"uint8arrays": "3.0.0",
"unicode-segmenter": "^0.14.0"
}
},
"node_modules/@atproto/lex-json": {
"version": "0.0.11",
"resolved": "https://registry.npmjs.org/@atproto/lex-json/-/lex-json-0.0.11.tgz",
"integrity": "sha512-2IExAoQ4KsR5fyPa1JjIvtR316PvdgRH/l3BVGLBd3cSxM3m5MftIv1B6qZ9HjNiK60SgkWp0mi9574bTNDhBQ==",
"license": "MIT",
"dependencies": {
"@atproto/lex-data": "^0.0.11",
"tslib": "^2.8.1"
}
},
"node_modules/@atproto/lexicon": {
"version": "0.4.14",
"resolved": "https://registry.npmjs.org/@atproto/lexicon/-/lexicon-0.4.14.tgz",
"integrity": "sha512-jiKpmH1QER3Gvc7JVY5brwrfo+etFoe57tKPQX/SmPwjvUsFnJAow5xLIryuBaJgFAhnTZViXKs41t//pahGHQ==",
"license": "MIT",
"dependencies": {
"@atproto/common-web": "^0.4.2",
"@atproto/syntax": "^0.4.0",
"iso-datestring-validator": "^2.2.2",
"multiformats": "^9.9.0",
"zod": "^3.23.8"
}
},
"node_modules/@atproto/lexicon/node_modules/@atproto/syntax": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@atproto/syntax/-/syntax-0.4.3.tgz",
"integrity": "sha512-YoZUz40YAJr5nPwvCDWgodEOlt5IftZqPJvA0JDWjuZKD8yXddTwSzXSaKQAzGOpuM+/A3uXRtPzJJqlScc+iA==",
"license": "MIT",
"dependencies": {
"tslib": "^2.8.1"
}
},
"node_modules/@atproto/syntax": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/@atproto/syntax/-/syntax-0.3.4.tgz",
"integrity": "sha512-8CNmi5DipOLaVeSMPggMe7FCksVag0aO6XZy9WflbduTKM4dFZVCs4686UeMLfGRXX+X966XgwECHoLYrovMMg==",
"license": "MIT"
},
"node_modules/@atproto/xrpc": {
"version": "0.6.12",
"resolved": "https://registry.npmjs.org/@atproto/xrpc/-/xrpc-0.6.12.tgz",
"integrity": "sha512-Ut3iISNLujlmY9Gu8sNU+SPDJDvqlVzWddU8qUr0Yae5oD4SguaUFjjhireMGhQ3M5E0KljQgDbTmnBo1kIZ3w==",
"license": "MIT",
"dependencies": {
"@atproto/lexicon": "^0.4.10",
"zod": "^3.23.8"
}
},
"node_modules/@babel/helper-string-parser": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
@ -1274,6 +1485,15 @@
"integrity": "sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==",
"license": "MIT"
},
"node_modules/@parse5/tools": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/@parse5/tools/-/tools-0.7.0.tgz",
"integrity": "sha512-JDvrGhc8kYBq7/SM4obJkpgwWo6pRjF/fo9CCaiJyVOkDf203Ciq2UF6TjzCFXKs7Q/zS2sS4deyBx0XzRvh9Q==",
"license": "MIT",
"peerDependencies": {
"parse5": "7.x || 8.x"
}
},
"node_modules/@rollup/pluginutils": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz",
@ -2352,6 +2572,41 @@
"sharp": "^0.34.0"
}
},
"node_modules/astro-auto-import": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/astro-auto-import/-/astro-auto-import-0.4.6.tgz",
"integrity": "sha512-8EgeOTChgHX6x31s2CjeOUCDuG2s0wgT9D9zXI4CxgmljEoJeCAWIq/henhdmvZ+Y103MfH7CYNw5VW7GiM6xQ==",
"license": "MIT",
"dependencies": {
"acorn": "^8.8.0"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {
"astro": "^2.0.0 || ^3.0.0-beta || ^4.0.0-beta || ^5.0.0-beta"
}
},
"node_modules/astro-embed": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/astro-embed/-/astro-embed-0.12.0.tgz",
"integrity": "sha512-Hp/zfIFsibBSCXEC09Lk38uYq5IJyXClbNASiT/06fqrMvgWJzPEPvtnCEo1qIw8hxIh+4+esAJoktu5YKRIEA==",
"license": "MIT",
"dependencies": {
"@astro-community/astro-embed-baseline-status": "^0.2.2",
"@astro-community/astro-embed-bluesky": "^0.1.6",
"@astro-community/astro-embed-gist": "^0.1.0",
"@astro-community/astro-embed-integration": "^0.11.0",
"@astro-community/astro-embed-link-preview": "^0.3.0",
"@astro-community/astro-embed-mastodon": "^0.1.0",
"@astro-community/astro-embed-twitter": "^0.5.10",
"@astro-community/astro-embed-vimeo": "^0.3.12",
"@astro-community/astro-embed-youtube": "^0.5.10"
},
"peerDependencies": {
"astro": "^5.0.0 || ^6.0.0-alpha"
}
},
"node_modules/astro-icon": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/astro-icon/-/astro-icon-1.1.5.tgz",
@ -2363,6 +2618,12 @@
"@iconify/utils": "^2.1.30"
}
},
"node_modules/await-lock": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/await-lock/-/await-lock-2.2.2.tgz",
"integrity": "sha512-aDczADvlvTGajTDjcjpJMqRkOF6Qdz3YbPZm/PyW6tKPkx2hlYBzxMhEywM/tU72HrVZjgl5VCdRuMlA7pZ8Gw==",
"license": "MIT"
},
"node_modules/axobject-query": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
@ -2672,6 +2933,22 @@
"url": "https://github.com/sponsors/fb55"
}
},
"node_modules/css-selector-parser": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/css-selector-parser/-/css-selector-parser-3.3.0.tgz",
"integrity": "sha512-Y2asgMGFqJKF4fq4xHDSlFYIkeVfRsm69lQC1q9kbEsH5XtnINTMrweLkjYMeaUgiXBy/uvKeO/a1JHTNnmB2g==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/mdevils"
},
{
"type": "patreon",
"url": "https://patreon.com/mdevils"
}
],
"license": "MIT"
},
"node_modules/css-tree": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz",
@ -3557,6 +3834,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/iso-datestring-validator": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/iso-datestring-validator/-/iso-datestring-validator-2.2.2.tgz",
"integrity": "sha512-yLEMkBbLZTlVQqOnQ4FiMujR6T4DEcCb1xizmvXS+OxuhwcbtynoosRzdMA69zZCShCNAbi+gJ71FxZBBXx1SA==",
"license": "MIT"
},
"node_modules/jiti": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
@ -3848,6 +4131,12 @@
"url": "https://opencollective.com/parcel"
}
},
"node_modules/lite-youtube-embed": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/lite-youtube-embed/-/lite-youtube-embed-0.3.4.tgz",
"integrity": "sha512-aXgxpwK7AIW58GEbRzA8EYaY4LWvF3FKak6B9OtSJmuNyLhX2ouD4cMTxz/yR5HFInhknaYd2jLWOTRTvT8oAw==",
"license": "Apache-2.0"
},
"node_modules/local-pkg": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-1.1.2.tgz",
@ -4773,6 +5062,12 @@
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"license": "MIT"
},
"node_modules/multiformats": {
"version": "9.9.0",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz",
"integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==",
"license": "(Apache-2.0 AND MIT)"
},
"node_modules/nanoid": {
"version": "3.3.11",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
@ -5720,6 +6015,15 @@
"url": "https://github.com/sponsors/SuperchupuDev"
}
},
"node_modules/tlds": {
"version": "1.261.0",
"resolved": "https://registry.npmjs.org/tlds/-/tlds-1.261.0.tgz",
"integrity": "sha512-QXqwfEl9ddlGBaRFXIvNKK6OhipSiLXuRuLJX5DErz0o0Q0rYxulWLdFryTkV5PkdZct5iMInwYEGe/eR++1AA==",
"license": "MIT",
"bin": {
"tlds": "bin.js"
}
},
"node_modules/trim-lines": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
@ -5764,8 +6068,7 @@
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD",
"optional": true
"license": "0BSD"
},
"node_modules/type-fest": {
"version": "4.41.0",
@ -5799,6 +6102,15 @@
"integrity": "sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q==",
"license": "MIT"
},
"node_modules/uint8arrays": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-3.0.0.tgz",
"integrity": "sha512-HRCx0q6O9Bfbp+HHSfQQKD7wU70+lydKVt4EghkdOvlK/NlrF90z+eXV34mUd48rNvVJXwkrMSPpCATkct8fJA==",
"license": "MIT",
"dependencies": {
"multiformats": "^9.4.2"
}
},
"node_modules/ultrahtml": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ultrahtml/-/ultrahtml-1.6.0.tgz",
@ -5826,6 +6138,12 @@
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"license": "MIT"
},
"node_modules/unicode-segmenter": {
"version": "0.14.5",
"resolved": "https://registry.npmjs.org/unicode-segmenter/-/unicode-segmenter-0.14.5.tgz",
"integrity": "sha512-jHGmj2LUuqDcX3hqY12Ql+uhUTn8huuxNZGq7GvtF6bSybzH3aFgedYu/KTzQStEgt1Ra2F3HxadNXsNjb3m3g==",
"license": "MIT"
},
"node_modules/unified": {
"version": "11.0.5",
"resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
@ -5924,6 +6242,23 @@
"url": "https://opencollective.com/unified"
}
},
"node_modules/unist-util-select": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/unist-util-select/-/unist-util-select-5.1.0.tgz",
"integrity": "sha512-4A5mfokSHG/rNQ4g7gSbdEs+H586xyd24sdJqF1IWamqrLHvYb+DH48fzxowyOhOfK7YSqX+XlCojAyuuyyT2A==",
"license": "MIT",
"dependencies": {
"@types/unist": "^3.0.0",
"css-selector-parser": "^3.0.0",
"devlop": "^1.1.0",
"nth-check": "^2.0.0",
"zwitch": "^2.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
},
"node_modules/unist-util-stringify-position": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",

View File

@ -14,6 +14,7 @@
"@tailwindcss/vite": "^4.1.18",
"@unpic/astro": "^1.0.2",
"astro": "^5.17.1",
"astro-embed": "^0.12.0",
"astro-icon": "^1.1.5",
"dayjs": "^1.11.19",
"swiper": "^12.1.0",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -12,7 +12,7 @@ import Header from './Header.astro';
<div class="gap-8 flex flex-col justify-end">
<div>
<img
src="/src/assets/logo-metalico.png"
src="/src/assets/logo-metalico.webp"
alt="Logo Metalico"
class="w-58 mb-4"
/>

View File

@ -6,7 +6,7 @@ const { title, text, initTitle, colorText, bgColor } = Astro.props;
<div class={`grid grid-cols-12 ${bgColor}`}>
<div class="bg-[#22523F] col-span-4 flex items-center justify-center bg-[url('/src/assets/mid-logo-2.webp')] bg-left">
<img src="/src/assets/logo-metalico.png" alt="Imagen de identidad del CPyJ" class="w-1/2" />
<img src="/src/assets/logo-metalico.webp" alt="Imagen de identidad del CPyJ" class="w-1/2" />
</div>
<div class={`flex flex-col ${colorText} col-span-8 gap-8 py-24 px-32`}>
<h2 class="font-primary text-3xl font-bold">{initTitle}</h2>

View File

@ -1,13 +1,16 @@
---
import { YouTube } from 'astro-embed';
import MainLayout from "../../layouts/MainLayout.astro";
import CarouselSection from "../../components/CarouselSection.astro";
import Header from "../../components/Header.astro";
import CarouselSection from "../../components/section/CarouselSection.astro";
import { Image } from "@unpic/astro";
import { getCollection, render } from 'astro:content';
import { getCollection, render } from "astro:content";
import TitleSection from "../../components/section/TitleSection.astro";
import FooterSection from '../../components/section/FooterSection.astro';
// 1. Generate a new path for every collection entry
export async function getStaticPaths() {
const posts = await getCollection('news');
return posts.map(post => ({
const posts = await getCollection("news");
return posts.map((post) => ({
params: { id: post.id },
props: { post },
}));
@ -17,18 +20,34 @@ const { post } = Astro.props;
const { Content } = await render(post);
---
<MainLayout>
<h1>Astro</h1>
<h1>{post.data.title}</h1>
<Image
src={post.data.thumbnail}
layout="constrained"
width={800}
height={600}
alt={post.data.title}
/>
{ post.data.gallery && (
<CarouselSection images={post.data.gallery} />
)}
<MainLayout>
<div class="container mx-auto py-16">
<Header />
</div>
<TitleSection title={post.data.title} />
<div class="container mx-auto">
{post.data.gallery && <CarouselSection images={post.data.gallery} />}
<div class="grid grid-cols-10">
<div class="col-span-7 bg-white p-20 prose-p:mb-4">
<Content />
</MainLayout>
</div>
<div class="col-span-3 bg-tertiary">
{ post.data.youtube && (
<YouTube id={post.data.youtube} />
)}
{post.data.gallery && (
post.data.gallery.map(galleryImage => (
<Image src={galleryImage} alt="" />
))
)}
</div>
</div>
</div>
</MainLayout>
<FooterSection />