update
This commit is contained in:
Generated
+9
-6
@@ -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 @@
|
||||
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||
"codeWithMe.voiceChat.enabledByDefault": "false",
|
||||
"git-widget-placeholder": "main",
|
||||
"javascript.nodejs.core.library.configured.version": "26.3.0",
|
||||
"javascript.nodejs.core.library.typings.version": "26.1.2",
|
||||
"javascript.nodejs.core.library.configured.version": "24.20.0",
|
||||
"javascript.nodejs.core.library.typings.version": "24.13.3",
|
||||
"javascript.preferred.runtime.type.id": "node",
|
||||
"js.debugger.nextJs.config.created.client": "true",
|
||||
"js.debugger.nextJs.config.created.server": "true",
|
||||
"kronk.content.tree.expanded.paths": "",
|
||||
"last_opened_file_path": "D:/Project/GitHubRepo/robot-market-landing",
|
||||
"last_opened_file_path": "/home/hamed/Documents/Projects/GIthubRepo/robot-market-launcher-pwa",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
@@ -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" />
|
||||
|
||||
@@ -21,6 +21,7 @@ export default function HomePage() {
|
||||
|
||||
<CartDrawer/>
|
||||
|
||||
{/*faz 1*/}
|
||||
{/*<ChatWidget/>*/}
|
||||
|
||||
<HeroSection/>
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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,6 +1,5 @@
|
||||
'use client';
|
||||
|
||||
// دکمه سوییچ حالت روشن/تیره.
|
||||
|
||||
import { Button, Tooltip } from 'antd';
|
||||
import { SunOutlined, MoonOutlined } from '@ant-design/icons';
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user