- {{ drupal_block("weathergov_location_search") }} + {% include(directory ~ "/templates/partials/location-search.html.twig") with { place: point.place } %} - {% if weather.alerts %} + {% if point.alerts.items | length > 0 %}
- {{ drupal_block("weathergov_local_alert_list") }} + {% include(directory ~ "/templates/point/alert-summary.html.twig") with { alerts: point.alerts.items } %}
{% endif %} - -
{{ "Weather information sections" | t }}
-
-
-
- {% if weather.alerts %} - - {% endif %} - - -
-
+ {% if point.error %} + {% set message = "Something went wrong loading this page. Please try again in a few minutes." | t %} +
+ {% include '@new_weather_theme/partials/uswds-alert.html.twig' with { 'level': "error", body: message } %}
- -
- {% if weather.alerts %} -
- {{ drupal_block("weathergov_local_alerts") }} + {% else %} + +
{{ "Weather information sections" | t }}
+
+
+
+ {% if point.alerts.items | length > 0 %} + + {% endif %} + + +
+
- {% endif %} -
- {{ drupal_block("weathergov_current_conditions") }} - {% include '@new_weather_theme/partials/radar.html.twig' with { 'point': weather.point } %} +
+ {% if point.alerts.items | length > 0 %} +
+ {% include(directory ~ "/templates/point/alerts.html.twig") with { alerts: point.alerts.items } %} +
+ {% endif %} - {% include '@new_weather_theme/partials/satellite.html.twig' %} -
+
+ {% include '@new_weather_theme/point/observations.html.twig' with { obs: point.observed } %} + {% include '@new_weather_theme/partials/radar.html.twig' with { point: point.point } %} + {% include '@new_weather_theme/partials/satellite.html.twig' %} +
-
-

7 days

- {{ drupal_block("weathergov_weather_story") }} +
+

7 days

+ {{ drupal_block("weathergov_weather_story", { wfo: point.grid.wfo }) }}
@@ -84,17 +91,17 @@
-
- -

Daily forecast

- {{ drupal_block("weathergov_daily_forecast") }} +

Daily forecast

+ {% include '@new_weather_theme/point/forecast.html.twig' with { forecast: point.forecast } %} - {{ drupal_block("weathergov_wfo_promo") }} + {{ drupal_block("weathergov_wfo_promo", { wfo: point.grid.wfo }) }} +
-
- + + {% endif %} +