This commit is contained in:
Samandar Turgunboyev
2025-12-16 16:23:15 +05:00
parent 60d6afc91f
commit 4f54851791
5 changed files with 12 additions and 12 deletions

View File

@@ -106,11 +106,11 @@ export function PartnershipForm() {
return ( return (
<section className="px-4 mb-5"> <section className="px-4 mb-5">
<div className="max-w-3xl mx-auto"> <div className="max-w-3xl mx-auto">
<div className="text-center mb-12"> <div className="text-center mb-5">
<h2 className="text-4xl md:text-5xl font-bold mb-6 text-balance"> <h2 className="text-2xl md:text-5xl font-bold mb-2 text-balance">
{`Hamkor bo'ling`} {`Hamkor bo'ling`}
</h2> </h2>
<p className="text-lg text-muted-foreground leading-relaxed"> <p className="text-md text-muted-foreground leading-relaxed">
{`Gastro Market bilan hamkorlik qilishni xohlaysizmi? Quyidagi formani {`Gastro Market bilan hamkorlik qilishni xohlaysizmi? Quyidagi formani
to'ldiring va biz siz bilan tez orada bog'lanamiz.`} to'ldiring va biz siz bilan tez orada bog'lanamiz.`}
</p> </p>

View File

@@ -116,7 +116,7 @@ const Faq = () => {
<main className="custom-container"> <main className="custom-container">
<section className="relative py-5 from-accent/5 to-background"> <section className="relative py-5 from-accent/5 to-background">
<div className="container mx-auto max-w-4xl text-center"> <div className="container mx-auto max-w-4xl text-center">
<h1 className="text-4xl md:text-5xl font-bold mb-4 text-balance"> <h1 className="text-2xl md:text-5xl font-bold mb-4 text-balance">
{"Tez-tez So'raladigan Savollar"} {"Tez-tez So'raladigan Savollar"}
</h1> </h1>
<p className="text-lg text-muted-foreground max-w-2xl mx-auto"> <p className="text-lg text-muted-foreground max-w-2xl mx-auto">
@@ -127,14 +127,14 @@ const Faq = () => {
<section className="py-5"> <section className="py-5">
<> <>
<div className="space-y-12"> <div className="space-y-8">
{faqCategories.map((category, idx) => ( {faqCategories.map((category, idx) => (
<div key={idx}> <div key={idx}>
<h2 className="text-3xl font-bold mb-6 text-balance"> <h2 className="text-xl font-bold mb-4 text-balance">
{category.category} {category.category}
</h2> </h2>
<Card> <Card>
<CardContent className="pt-6"> <CardContent>
<Accordion type="single" collapsible className="w-full"> <Accordion type="single" collapsible className="w-full">
{category.questions.map((faq, qIdx) => ( {category.questions.map((faq, qIdx) => (
<AccordionItem <AccordionItem

View File

@@ -346,7 +346,7 @@ const Profile = () => {
return ( return (
<div className="custom-container"> <div className="custom-container">
<div className="md:hidden sticky top-0 z-20"> <div className="md:hidden sticky top-0 z-20 mb-5">
<div className="flex gap-2 overflow-x-auto scrollbar-hide"> <div className="flex gap-2 overflow-x-auto scrollbar-hide">
{menuItems.map((item) => { {menuItems.map((item) => {
const Icon = item.icon; const Icon = item.icon;

View File

@@ -132,8 +132,8 @@ export default function CustomerSupport() {
placeholder="Savolingiz yoki murojaatingizni batafsil yozing..." placeholder="Savolingiz yoki murojaatingizni batafsil yozing..."
className="w-full h-32 p-3 border border-gray-300 rounded-lg focus:border-gray-500 focus:outline-none resize-none text-gray-700" className="w-full h-32 p-3 border border-gray-300 rounded-lg focus:border-gray-500 focus:outline-none resize-none text-gray-700"
/> />
<div className="mt-4 flex items-center justify-between"> <p className="text-sm text-gray-500">{message.length}/1000 belgi</p>
<p className="text-sm text-gray-500">{message.length}/1000 belgi</p> <div className="mt-4 flex items-center justify-between max-lg:flex-col max-lg:items-end gap-2">
<button <button
onClick={handleSendToTelegram} onClick={handleSendToTelegram}
disabled={!selectedCategory || !message.trim()} disabled={!selectedCategory || !message.trim()}

View File

@@ -117,7 +117,7 @@ const SearchResult: React.FC = () => {
<div className="text-center py-20">Yuklanmoqda...</div> <div className="text-center py-20">Yuklanmoqda...</div>
) : query ? ( ) : query ? (
results.length ? ( results.length ? (
<div className="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-6 gap-4"> <div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
{results.map((product) => ( {results.map((product) => (
<ProductCard <ProductCard
key={product.id} key={product.id}
@@ -136,7 +136,7 @@ const SearchResult: React.FC = () => {
Tavsiya etilgan mahsulotlar Tavsiya etilgan mahsulotlar
</h2> </h2>
<div className="grid grid-cols-1 gap-4"> <div className="grid grid-cols-2 gap-4">
{recommendedProducts.map((product) => ( {recommendedProducts.map((product) => (
<ProductCard <ProductCard
key={product.id} key={product.id}