This commit is contained in:
2026-09-03 10:17:48 +03:30
parent f315ee56a1
commit df6cb33731
6 changed files with 45 additions and 40 deletions
+9 -6
View File
@@ -6,10 +6,11 @@
<component name="ChangeListManager">
<list default="true" id="bb7b50a5-be9c-4cd7-a05b-979f0e91b173" name="Changes" comment="update">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Makefile" beforeDir="false" afterPath="$PROJECT_DIR$/Makefile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/page.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/app/page.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/Footer.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/components/Footer.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/AboutSection.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/components/AboutSection.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/Header.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/components/Header.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/ThemeToggle.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/components/ThemeToggle.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/VendingCard.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/components/VendingCard.jsx" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -101,13 +102,13 @@
&quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
&quot;codeWithMe.voiceChat.enabledByDefault&quot;: &quot;false&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;javascript.nodejs.core.library.configured.version&quot;: &quot;26.3.0&quot;,
&quot;javascript.nodejs.core.library.typings.version&quot;: &quot;26.1.2&quot;,
&quot;javascript.nodejs.core.library.configured.version&quot;: &quot;24.20.0&quot;,
&quot;javascript.nodejs.core.library.typings.version&quot;: &quot;24.13.3&quot;,
&quot;javascript.preferred.runtime.type.id&quot;: &quot;node&quot;,
&quot;js.debugger.nextJs.config.created.client&quot;: &quot;true&quot;,
&quot;js.debugger.nextJs.config.created.server&quot;: &quot;true&quot;,
&quot;kronk.content.tree.expanded.paths&quot;: &quot;&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/Project/GitHubRepo/robot-market-landing&quot;,
&quot;last_opened_file_path&quot;: &quot;/home/hamed/Documents/Projects/GIthubRepo/robot-market-launcher-pwa&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
@@ -143,7 +144,7 @@
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-js-predefined-d6986cc7102b-31caf2ab9e3c-JavaScript-WS-261.27258.45" />
<option value="bundled-js-predefined-d6986cc7102b-4abd2a77f808-JavaScript-WS-262.8665.259" />
</set>
</attachedChunks>
</component>
@@ -178,6 +179,8 @@
<workItem from="1787993488084" duration="706000" />
<workItem from="1788148958104" duration="1576000" />
<workItem from="1788244010046" duration="3900000" />
<workItem from="1788412255571" duration="40000" />
<workItem from="1788412435362" duration="4318000" />
</task>
<task id="LOCAL-00001" summary="update">
<option name="closed" value="true" />
+1
View File
@@ -21,6 +21,7 @@ export default function HomePage() {
<CartDrawer/>
{/*faz 1*/}
{/*<ChatWidget/>*/}
<HeroSection/>
+4 -3
View File
@@ -7,7 +7,7 @@ import { useLanguage } from '@/app/context/LanguageContext';
export default function AboutSection() {
const {t} = useLanguage();
const [expanded, setExpanded] = useState(false);
const [expanded, setExpanded] = useState(true);
const visibleParagraphs = expanded ? t.about.paragraphs : t.about.paragraphs.slice(0, 2);
return (
@@ -26,13 +26,14 @@ export default function AboutSection() {
))}
</div>
<button
{/* faz 1 */}
{/* <button
onClick={() => setExpanded((v) => !v)}
className="mt-6 inline-flex items-center gap-2 text-brand-400 hover:text-brand-300 text-sm font-semibold transition-colors"
>
{expanded ? t.about.less : t.about.more}
<span className={`transition-transform ${expanded ? 'rotate-180' : ''}`}>˅</span>
</button>
</button>*/}
</div>
</section>
);
+3 -2
View File
@@ -75,7 +75,8 @@ export default function Header() {
{t.nav.login}
</Button>
<Badge count={cartCount} size="small" offset={[-2, 2]}>
{/* faz 1 */}
{/* <Badge count={cartCount} size="small" offset={[-2, 2]}>
<Button
shape="circle"
size="large"
@@ -83,7 +84,7 @@ export default function Header() {
onClick={() => dispatch(openDrawer())}
aria-label="cart"
/>
</Badge>
</Badge>*/}
<button
className="xl:hidden text-brand-400 text-2xl"
-1
View File
@@ -1,6 +1,5 @@
'use client';
// دکمه سوییچ حالت روشن/تیره.
import { Button, Tooltip } from 'antd';
import { SunOutlined, MoonOutlined } from '@ant-design/icons';
+2 -2
View File
@@ -101,9 +101,9 @@ export default function VendingCard({machine, onQuickView}) {
<p className="text-xl md:text-2xl font-bold text-primary mt-2">{machine.priceLabel}</p>
<div className="flex flex-wrap items-center gap-2 mt-2 ">
<Button type="primary" size="large" icon={<ShoppingCartOutlined/>} onClick={handleAddToCart}>
{/* <Button type="primary" size="large" icon={<ShoppingCartOutlined/>} onClick={handleAddToCart}>
{t.machineActions.addToCart}
</Button>
</Button>*/}
<Button size="large" icon={<EyeOutlined/>} onClick={() => onQuickView?.(machine)}>
{t.machineActions.quickView}
</Button>