-
Notifications
You must be signed in to change notification settings - Fork 1
/
_home_text.html.erb
23 lines (22 loc) · 1.49 KB
/
_home_text.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class='container'>
<div class='row text-center'>
<div class='col-sm'>
<%= content_tag :h3, t('geoblacklight.home.category_heading') %>
<div class='row'>
<%= render(Geoblacklight::HomepageFeatureFacetComponent.new(icon: 'home', label: 'zgeoblacklight.home.category', facet_field: Settings.FIELDS.RESOURCE_CLASS, response: @response)) %>
<%= render(Geoblacklight::HomepageFeatureFacetComponent.new(icon: 'tags', label: 'geoblacklight.home.theme', facet_field: Settings.FIELDS.THEME, response: @response)) %>
</div>
<div class='row'>
<%= render(Geoblacklight::HomepageFeatureFacetComponent.new(icon: 'globe', label: 'geoblacklight.home.place', facet_field: Settings.FIELDS.SPATIAL_COVERAGE, response: @response)) %>
<%= render(Geoblacklight::HomepageFeatureFacetComponent.new(icon: 'arrow-circle-down', label: 'geoblacklight.home.data_type', facet_field: Settings.FIELDS.RESOURCE_TYPE, response: @response)) %>
</div>
</div>
<div class='col-sm'>
<%= content_tag :h3, t('geoblacklight.home.map_heading') %>
<%= content_tag :div, '', id: 'map', aria: { label: t('geoblacklight.map.label') }, data: { map: 'home', 'catalog-path'=> search_catalog_path , 'map-geom' => Settings.HOMEPAGE_MAP_GEOM, basemap: geoblacklight_basemap, leaflet_options: leaflet_options } %>
</div>
</div>
<div id="geoblacklight-version" class='text-right sr-only'>
<%= t('geoblacklight.home.version', version: Geoblacklight::VERSION ) %>
</div>
</div>