From df6cb33731a0bd4476a1cf37f666b4cff8704fdb Mon Sep 17 00:00:00 2001
From: "hamed@B"
Date: Thu, 3 Sep 2026 10:17:48 +0330
Subject: [PATCH] update
---
.idea/workspace.xml | 15 ++++++----
app/page.jsx | 1 +
components/AboutSection.jsx | 59 +++++++++++++++++++------------------
components/Header.jsx | 5 ++--
components/ThemeToggle.jsx | 1 -
components/VendingCard.jsx | 4 +--
6 files changed, 45 insertions(+), 40 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9d22b22..98940e2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,10 +6,11 @@
-
-
+
+
+
@@ -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 @@
-
+
@@ -178,6 +179,8 @@
+
+
diff --git a/app/page.jsx b/app/page.jsx
index 9812b93..d4acbca 100644
--- a/app/page.jsx
+++ b/app/page.jsx
@@ -21,6 +21,7 @@ export default function HomePage() {
+ {/*faz 1*/}
{/**/}
diff --git a/components/AboutSection.jsx b/components/AboutSection.jsx
index 57857b4..550b4ff 100644
--- a/components/AboutSection.jsx
+++ b/components/AboutSection.jsx
@@ -2,38 +2,39 @@
// سکشن معرفی شرکت با متن بلند؛ بهخاطر طولانی بودن متن، یک دکمه «ادامه مطلب» برای باز/بسته کردن دارد.
-import { useState } from 'react';
-import { useLanguage } from '@/app/context/LanguageContext';
+import {useState} from 'react';
+import {useLanguage} from '@/app/context/LanguageContext';
export default function AboutSection() {
- const { t } = useLanguage();
- const [expanded, setExpanded] = useState(false);
- const visibleParagraphs = expanded ? t.about.paragraphs : t.about.paragraphs.slice(0, 2);
+ const {t} = useLanguage();
+ const [expanded, setExpanded] = useState(true);
+ const visibleParagraphs = expanded ? t.about.paragraphs : t.about.paragraphs.slice(0, 2);
- return (
-
-
-
{t.about.eyebrow}
-
- {t.about.legalName}
-
+ return (
+
+
+
{t.about.eyebrow}
+
+ {t.about.legalName}
+
-
- {visibleParagraphs.map((p, i) => (
-
- {p}
-
- ))}
-
+
+ {visibleParagraphs.map((p, i) => (
+
+ {p}
+
+ ))}
+
-
-
-
- );
+ {/* faz 1 */}
+ {/*
*/}
+
+
+ );
}
diff --git a/components/Header.jsx b/components/Header.jsx
index 7a143ad..df4bdfe 100644
--- a/components/Header.jsx
+++ b/components/Header.jsx
@@ -75,7 +75,8 @@ export default function Header() {
{t.nav.login}
-
+ {/* faz 1 */}
+ {/*
+ */}
- */}
} onClick={() => onQuickView?.(machine)}>
{t.machineActions.quickView}