feat: create DetailPanel component for displaying city weather data and charts
This commit is contained in:
@@ -407,25 +407,6 @@ export function DetailPanel({
|
|||||||
{locale === "en-US" ? "Market" : "市场页"}
|
{locale === "en-US" ? "Market" : "市场页"}
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : null}
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
className={clsx(
|
|
||||||
"panel-action-button",
|
|
||||||
"panel-action-button-primary",
|
|
||||||
!isPro && "pro-locked",
|
|
||||||
)}
|
|
||||||
title={
|
|
||||||
isPro
|
|
||||||
? t("detail.todayAnalysis")
|
|
||||||
: `${t("detail.todayAnalysis")} (Pro)`
|
|
||||||
}
|
|
||||||
onClick={() => handleFeatureAccess("today")}
|
|
||||||
disabled={!store.selectedCity}
|
|
||||||
>
|
|
||||||
{isPro
|
|
||||||
? t("detail.todayAnalysis")
|
|
||||||
: `${t("detail.todayAnalysis")} · Pro`}
|
|
||||||
</button>
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
|||||||
Reference in New Issue
Block a user