d606f8371c
Ports the weather check added to stroy-bot-main on 2026-10-16: daily station weather, report positions with weather per shift and the AI assessment of working conditions. Opens as ?page=weather&start=&end= instead of the #weathercheck hash, and hub dates survive the way back. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
15 lines
420 B
TypeScript
15 lines
420 B
TypeScript
import * as React from 'react';
|
|
import { Icon } from '@tnsu/ui-kit';
|
|
import styles from './WeatherPage.module.scss';
|
|
|
|
interface Props {
|
|
text: string;
|
|
}
|
|
|
|
/** Подсказка, почему сверку не загрузить (нет проекта / периода). */
|
|
export const WeatherHint: React.FC<Props> = ({ text }) => (
|
|
<div className={styles.hint}>
|
|
<Icon name="info" size="sm" /> {text}
|
|
</div>
|
|
);
|