feat: enhance image handling and layout adjustments

- Added image quality settings and device sizes in next.config.ts for better image optimization.
- Updated package dependencies, including cheerio and baseline-browser-mapping.
- Improved global styles for blog content images to ensure responsiveness.
- Refactored button components for consistent sizing and styling across the application.
- Enhanced blog post card layout with new variants and improved author name formatting.
- Adjusted hero section and content layout for better visual appeal and user experience.
This commit is contained in:
alirez.br
2026-06-17 21:35:35 +03:30
parent a9ee6659cc
commit ff2632f8db
47 changed files with 1050 additions and 648 deletions
+9 -12
View File
@@ -1,3 +1,6 @@
import { Button } from "@/components/ui/button";
import Link from "next/link";
export default function AboutPage() {
return (
<>
@@ -242,18 +245,12 @@ export default function AboutPage() {
با ما تماس بگیرید تا درباره نیازهای شما صحبت کنیم و بهترین راهکار را پیشنهاد دهیم
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<a
href="/pricing"
className="inline-flex items-center justify-center rounded-lg bg-primary px-8 py-3 text-base font-medium text-white hover:bg-accent hover:text-foreground transition-colors"
>
مشاهده قیمت‌ها
</a>
<a
href="#contact"
className="inline-flex items-center justify-center rounded-lg border border-primary px-8 py-3 text-base font-medium text-primary hover:bg-accent hover:text-foreground hover:border-accent transition-colors"
>
تماس با ما
</a>
<Button asChild size="lg">
<Link href="/pricing">مشاهده قیمت‌ها</Link>
</Button>
<Button asChild size="lg" variant="outline">
<Link href="#contact">تماس با ما</Link>
</Button>
</div>
</div>
</div>
+5
View File
@@ -295,4 +295,9 @@
.wp-block-image {
@apply rounded-md overflow-hidden shadow-sm;
}
.blog-content img {
@apply w-full h-auto;
image-rendering: auto;
}
-1
View File
@@ -1,7 +1,6 @@
import ContentSection from "@/components/content-1";
import Features from "@/components/features-12";
import HeroSection from "@/components/hero-section";
import Image from "next/image";
export default function Home() {
return (