Новые правки в компонете

This commit is contained in:
Web-serfer 2026-04-28 17:36:39 +05:00
parent c369cd30bd
commit bccd6310b3

View file

@ -8,7 +8,7 @@ import Pagination from '@components/base/Pagination.astro';
import SearchModal from '@components/base/SearchModal.astro';
import { getPosts, getAllCategories, getPostImageUrl } from '@lib/pb';
const POSTS_PER_PAGE = 12;
const POSTS_PER_PAGE = 6;
const currentPage = 1;
const { posts, total, totalPages } = await getPosts({ page: currentPage, perPage: POSTS_PER_PAGE });
@ -85,7 +85,7 @@ const formatDate = (date: string) => {
<style>
.blog-grid-section {
padding: 3rem 0 0;
padding: 2rem 0 0;
background: #f8fafc;
}