Skip to content

Commit da602e3

Browse files
committed
🎈 perf: change responsiness of articles
1 parent 512484b commit da602e3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/Articles.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ const allPosts = await Astro.glob('../pages/posts/*.md');
2323
{
2424
allPosts.map((post) => (
2525
<a href={post.url} class="reveal w-full">
26-
<article class="flex gap-4 overflow-hidden rounded-2xl border-4 border-solid border-[var(--default-secundary-font-color-2)] bg-[#322644] p-2 font-lato shadow-md shadow-black transition-[transform,box-shadow] duration-200 hover:scale-[1.02] hover:shadow-2xl max-sm:flex-col max-sm:self-center max-sm:p-3">
26+
<article class="flex gap-4 overflow-hidden rounded-2xl border-4 border-solid border-[var(--default-secundary-font-color-2)] bg-[#322644] p-2 font-lato shadow-md shadow-black transition-[transform,box-shadow] duration-200 hover:scale-[1.02] hover:shadow-2xl max-lg:flex-col max-lg:self-center max-sm:p-3">
2727
<img
2828
transition:name={post.frontmatter.title}
2929
src={post.frontmatter.image.src}
30-
class="aspect-video w-48 rounded-xl max-sm:w-full"
30+
class="aspect-video w-56 rounded-xl max-lg:w-full"
3131
alt={post.frontmatter.image.alt}
3232
/>
3333
<section>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<div class="m-0 mx-auto w-[50%] max-md:w-[75%] max-sm:w-[85%]">
1+
<div class="m-0 mx-auto w-[50%] max-xl:w-[65%] max-lg:w-[60%] max-md:w-[75%] max-sm:w-[85%]">
22
<slot />
33
</div>

src/pages/posts/como-crear-una-librer-a-para-vue3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: ../../layouts/MarkdownPostLayout.astro
33
title: '¿Como crear una librería para Vue3?'
44
pubDate: 2024-04-04
5-
description: 'En este artículo explicare paso a paso como crear un librería para Vue3 usando <strong>Vite</strong> y <strong>Typescript</strong>.'
5+
description: 'En este artículo explico paso a paso como crear un librería para Vue3 usando <strong>Vite</strong> y <strong>Typescript</strong>.'
66
image:
77
src: '/images/vue-library-article-cover.webp'
88
alt: 'Vue logo'

src/pages/posts/enriquece-el-drag-and-drop-de-tu-aplicacion-de-vue-3-con-vue-fluid-dnd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: ../../layouts/MarkdownPostLayout.astro
33
title: 'Presentando Vue Fluid DnD'
44
pubDate: 2024-04-26
5-
description: 'En este artículo presenta a <strong>Vue Fluid DnD</strong> como una alternativa a funcionalidades drag and drop en <strong>Vue 3</strong>'
5+
description: 'Este artículo presenta a <strong>Vue Fluid DnD</strong> como una alternativa a funcionalidades drag and drop en <strong>Vue 3</strong>'
66
image:
77
src: '/images/vue-fluid-dnd-cover.webp'
88
alt: 'Vue Fluid DnD logo'

0 commit comments

Comments
 (0)