style: remove all refresh interval badges and labels from UI
This commit is contained in:
parent
a6e4593b01
commit
e358c4ded7
|
|
@ -82,7 +82,7 @@ export function ReportsFeatures() {
|
|||
<div className="relative z-10 mt-10 space-y-2 text-center">
|
||||
<h2 className="text-lg font-medium">بروزرسانی لحظهای</h2>
|
||||
<p className="text-muted-foreground">
|
||||
بازار داخلی هر ۶۰ ثانیه، کامودیتی بهصورت زنده، و سهام فولادی هر ۵ دقیقه.
|
||||
بازار داخلی، کامودیتی و سهام فولادی بهصورت لحظهای و زنده.
|
||||
</p>
|
||||
</div>
|
||||
</CardContent>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const REPORTS: ReportItem[] = [
|
|||
{
|
||||
id: "domestic",
|
||||
title: "بازار داخلی — ارز، طلا و سکه",
|
||||
description: "نرخ زندهی ارز، طلا و سکه؛ هر ۶۰ ثانیه با فلش رنگیِ تغییر.",
|
||||
description: "نرخ زندهی ارز، طلا و سکه با نمایش لحظهای تغییرات.",
|
||||
href: "/dashboard",
|
||||
image:
|
||||
"https://images.unsplash.com/photo-1610375461246-83df859d849d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1080",
|
||||
|
|
@ -52,7 +52,7 @@ const REPORTS: ReportItem[] = [
|
|||
{
|
||||
id: "steel",
|
||||
title: "سهام فولادی",
|
||||
description: "بزرگترین شرکتهای فولادی جهان بر اساس ارزش بازار، هر ۵ دقیقه.",
|
||||
description: "بزرگترین شرکتهای فولادی جهان بر اساس ارزش بازار.",
|
||||
href: "/dashboard",
|
||||
image:
|
||||
"https://images.unsplash.com/photo-1565008447742-97f6f38c985c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1080",
|
||||
|
|
|
|||
|
|
@ -329,7 +329,6 @@ function DomesticView() {
|
|||
live={ready}
|
||||
title="بازار داخلی"
|
||||
subtitle="سکه، طلا و ارز — زنده"
|
||||
badge="هر ۶۰ ثانیه"
|
||||
lastUpdate={lastUpdate}
|
||||
/>
|
||||
|
||||
|
|
@ -1477,7 +1476,6 @@ function SteelStocksView() {
|
|||
totalCap >= 1000 ? (totalCap / 1000).toFixed(2) + "T$" : totalCap.toFixed(0) + "B$"
|
||||
}`,
|
||||
)}
|
||||
badge="هر ۵ دقیقه"
|
||||
lastUpdate={lastUpdate}
|
||||
/>
|
||||
|
||||
|
|
@ -2461,7 +2459,6 @@ function CryptoView() {
|
|||
live={coins.length > 0}
|
||||
title="کریپتو"
|
||||
subtitle="بازار ارزهای دیجیتال — نرخ لحظهای"
|
||||
badge="هر ۶۰ ثانیه"
|
||||
lastUpdate={data?.fetched_at ? new Date(data.fetched_at).toLocaleTimeString("fa-IR") : ""}
|
||||
/>
|
||||
|
||||
|
|
@ -3723,7 +3720,7 @@ function ViewHeader({
|
|||
live: boolean;
|
||||
title: string;
|
||||
subtitle: string;
|
||||
badge: string;
|
||||
badge?: string;
|
||||
lastUpdate: string;
|
||||
}) {
|
||||
return (
|
||||
|
|
@ -3737,9 +3734,11 @@ function ViewHeader({
|
|||
)}
|
||||
/>
|
||||
<h1 className="text-xl sm:text-2xl font-bold text-foreground">{title}</h1>
|
||||
{badge && (
|
||||
<span className="text-[11px] font-mono px-2 py-0.5 rounded-full bg-secondary text-muted-foreground">
|
||||
{badge}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<p className="text-sm text-muted-foreground mt-1">{subtitle}</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ function Landing() {
|
|||
<DomainRow
|
||||
icon={<Coins className="w-5 h-5" />}
|
||||
title="بازار داخلی"
|
||||
desc="نرخ ارز، هر ۶۰ ثانیه. تغییر قیمت با فلش رنگی مشخص میشود."
|
||||
desc="نرخ ارز و طلا. تغییر قیمت با فلش رنگی مشخص میشود."
|
||||
meta={currencyCount ? `${currencyCount} ارز` : "۳۶ ارز"}
|
||||
highlight
|
||||
/>
|
||||
|
|
@ -522,7 +522,7 @@ function LiveBoard({ currencies }: { currencies: CurRow[] }) {
|
|||
)}
|
||||
</div>
|
||||
<p className="mt-4 text-[11px] text-muted-foreground text-center">
|
||||
نرخها هر ۶۰ ثانیه بروزرسانی میشوند؛ تغییر با رنگ مشخص میشود.
|
||||
نرخها بهصورت لحظهای بروزرسانی میشوند؛ تغییر با رنگ مشخص میشود.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue