chore: update uses

This commit is contained in:
Cory Dransfeldt 2023-10-25 06:01:56 -07:00
parent 904822552e
commit 54fa9d789b
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addShortcode('image', async function (src, alt, css, sizes, loading) { eleventyConfig.addShortcode('image', async function (src, alt, css, sizes, loading) {
if (!src) return if (!src) return
let metadata = await Image(src, { let metadata = await Image(src, {
widths: [75, 150, 300, 600], widths: [75, 150, 300, 600, 900, 1200],
formats: ['webp'], formats: ['webp'],
urlPath: '/assets/img/cache/', urlPath: '/assets/img/cache/',
outputDir: './_site/assets/img/cache/', outputDir: './_site/assets/img/cache/',

View file

@ -26,7 +26,7 @@ meta:
Software and services that I use for work and my own enjoyment. Software and services that I use for work and my own enjoyment.
{% image 'https://coryd.dev/assets/img/pages/uses.jpg', 'My desk', 'w-full border border-purple-600 dark:border-purple-400 rounded-lg', '900px' %} {% image 'https://coryd.dev/assets/img/pages/uses.jpg', 'My desk', 'w-full border border-purple-600 dark:border-purple-400 rounded-lg', '1200px' %}
<h3 className="text-xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-2xl sm:leading-10 md:text-4xl md:leading-14">Computer setup</h3> <h3 className="text-xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-2xl sm:leading-10 md:text-4xl md:leading-14">Computer setup</h3>