1- import { Image , Navbar , Footer , SiteTitle , SearchBar } from "~/components/general" ;
1+ import {
2+ Image ,
3+ Navbar ,
4+ Footer ,
5+ SiteTitle ,
6+ SearchBar ,
7+ } from "~/components/general" ;
28import h from "./+Page.module.sass" ;
39import { LinkCard } from "~/components/cards" ;
410import { useData } from "vike-react/useData" ;
511import { isDev } from "@macrostrat-web/settings" ;
612
713export function Page ( ) {
814 return h ( "div.page-main" , [
9- h ( "div.hero .site-header" , [
10- h ( "div.hero-backdrop" , [
11- h ( Image , { className : "cover-image" , src : "cover_large.jpg" } ) ,
15+ h ( "header .site-header" , [
16+ h ( SiteTitle , { className : "main-title" } , [
17+ h ( "h2.subtitle" , "The data system for the crust" ) ,
1218 ] ) ,
19+ ] ) ,
20+ h ( Navbar , { className : "site-navbar" } ) ,
21+ h ( "div.hero" , [
22+ h ( "div.hero-backdrop" ) ,
1323 h ( "div.hero-content" , [
14- h ( SiteTitle ) ,
15- h (
16- "h2.subtitle" ,
17- "A platform for geological data exploration, integration, and analysis"
18- ) ,
24+ h ( "p.hero-text" , [
25+ "Macrostrat integrates geologic maps and stratigraphic columns " +
26+ "into a model of the Earth's crustal framework through time." ,
27+ ] ) ,
1928 h ( MacrostratStats ) ,
2029 ] ) ,
2130 ] ) ,
22- h ( Navbar , { className : "site-header" } ) ,
2331 h ( "div.buttons" , [
2432 h ( "h2" , "Geologic maps" ) ,
2533 h ( LinkCard , { title : "Map interface" , href : "/map/#3/40.78/-94.13" } , [
@@ -137,19 +145,19 @@ function MacrostratStats() {
137145 return h ( "div.stats" , { } , [
138146 h ( "div.stat" , { } , [
139147 h ( "span.top-stat#n_columns" , { } , formatNumber ( columns ) ) ,
140- h ( "span.top-stat-label" , { } , "Regional Rock Columns " ) ,
148+ h ( "span.top-stat-label" , { } , "columns " ) ,
141149 ] ) ,
142150 h ( "div.stat" , { } , [
143151 h ( "span.top-stat#n_units" , { } , formatNumber ( units ) ) ,
144- h ( "span.top-stat-label" , { } , "Rock Units " ) ,
152+ h ( "span.top-stat-label" , { } , "rock units " ) ,
145153 ] ) ,
146154 h ( "div.stat" , { } , [
147155 h ( "span.top-stat#n_polys" , { } , formatNumber ( polygons ) ) ,
148- h ( "span.top-stat-label" , { } , "Geologic Map Polygons " ) ,
156+ h ( "span.top-stat-label" , { } , "map polygons " ) ,
149157 ] ) ,
150158 h ( "div.stat" , { } , [
151159 h ( "span.top-stat#n_names" , { } , formatNumber ( projects ) ) ,
152- h ( "span.top-stat-label" , { } , "Projects " ) ,
160+ h ( "span.top-stat-label" , { } , "projects " ) ,
153161 ] ) ,
154162 ] ) ;
155- }
163+ }
0 commit comments