3.1.0.1
Why it feels now updates on play
This commit is contained in:
@@ -484,15 +484,27 @@ export function DayTabs({
|
||||
title: 'Office is part of SunScope Extra',
|
||||
detail: 'Extra adds the Office profile with solar gain, managed indoor temperature, humidity, air quality, and rain probability — useful for commute planning and building comfort.',
|
||||
},
|
||||
'variant:driver': {
|
||||
title: 'Driver / Trucker is part of SunScope Extra',
|
||||
detail: 'Extra adds the Driver / Trucker profile with vehicle interior temperature, UV, wind speed and direction, rain probability, and visibility — the conditions that matter for long hours on the road.',
|
||||
},
|
||||
'export': {
|
||||
title: 'Export day data is part of SunScope Extra',
|
||||
detail: 'Extra lets you download a full hourly spreadsheet for any day — all 41 columns including felt temperature, UV, soil, wind, and air quality, styled and ready to use in Excel or LibreOffice.',
|
||||
},
|
||||
};
|
||||
const promptCopy = extraPromptCopy[proPromptSource] || {
|
||||
title: `${dayName}'s forecast is part of SunScope Extra`,
|
||||
detail: 'Extra unlocks the full 14-day forecast, customisable columns, specialist profiles, and an ad-free view.',
|
||||
};
|
||||
// Day-tab locks get the day-specific heading; any other locked feature
|
||||
// without its own entry above falls back to a feature-agnostic message.
|
||||
const fallbackCopy = proPromptSource === 'day'
|
||||
? {
|
||||
title: `${dayName}'s forecast is part of SunScope Extra`,
|
||||
detail: 'Extra unlocks the full 14-day forecast, customisable columns, specialist profiles, and an ad-free view.',
|
||||
}
|
||||
: {
|
||||
title: 'This is part of SunScope Extra',
|
||||
detail: 'Extra unlocks the full 14-day forecast, customisable columns, specialist profiles, and an ad-free view.',
|
||||
};
|
||||
const promptCopy = extraPromptCopy[proPromptSource] || fallbackCopy;
|
||||
return html`
|
||||
<${SubscribeModal}
|
||||
title=${promptCopy.title}
|
||||
|
||||
Reference in New Issue
Block a user