@@ -3,7 +3,7 @@ import { ContentPage } from "~/layouts";
33import { apiV2Prefix } from "@macrostrat-web/settings" ;
44import { useAPIResult } from "@macrostrat/ui-components" ;
55import h from "./+Page.module.sass" ;
6- import { Loading } from "~/components/general" ;
6+ import { Loading , Footer } from "~/components/general" ;
77
88export function Page ( ) {
99 const res = useAPIResult ( apiV2Prefix + "/stats?all" ) ?. success ?. data ;
@@ -31,64 +31,67 @@ export function Page() {
3131 measurements += stat . measurements || 0 ;
3232 } ) ;
3333
34- return h ( ContentPage , [
35- h ( PageHeader , { title : "Lexicon" } ) ,
34+ return h ( 'div' , [
35+ h ( ContentPage , [
36+ h ( PageHeader , { title : "Lexicon" } ) ,
3637
37- h ( "p" , [
38- "This is the homepage of Macrostrat's geological lexicons, which are assembled from many data sources including Canada's " ,
38+ h ( "p" , [
39+ "This is the homepage of Macrostrat's geological lexicons, which are assembled from many data sources including Canada's " ,
40+ h (
41+ "a" ,
42+ { href : "https://weblex.canada.ca/weblexnet4/weblex_e.aspx" } ,
43+ "WebLex"
44+ ) ,
45+ ", the USGS's " ,
46+ h ( "a" , { href : "https://ngmdb.usgs.gov/Geolex/search" } , "Geolex" ) ,
47+ ", and other sources. The lexicon is continually updated in partnership with researchers and data providers." ,
48+ ] ) ,
49+ h ( "div.stats-table" , [
50+ h ( "p.stat" , `${ formatNumber ( columns ) } columns` ) ,
51+ h ( "p.stat" , `${ formatNumber ( packages ) } packages` ) ,
52+ h ( "p.stat" , `${ formatNumber ( units ) } units` ) ,
53+ h ( "p.stat" , `${ formatNumber ( measurements ) } measurements` ) ,
54+ ] ) ,
55+
56+ h ( "h2" , "Dictionaries" ) ,
3957 h (
40- "a" ,
41- { href : "https://weblex.canada.ca/weblexnet4/weblex_e.aspx " } ,
42- "WebLex "
58+ LinkCard ,
59+ { href : "/lex/strat-names" , title : "Stratigraphic names " } ,
60+ "Names of rock units, organized hierarchically and concepts that capture relationships between differently-named rock units "
4361 ) ,
44- ", the USGS's " ,
45- h ( "a" , { href : "https://ngmdb.usgs.gov/Geolex/search" } , "Geolex" ) ,
46- ", and other sources. The lexicon is continually updated in partnership with researchers and data providers." ,
47- ] ) ,
48- h ( "div.stats-table" , [
49- h ( "p.stat" , `${ formatNumber ( columns ) } columns` ) ,
50- h ( "p.stat" , `${ formatNumber ( packages ) } packages` ) ,
51- h ( "p.stat" , `${ formatNumber ( units ) } units` ) ,
52- h ( "p.stat" , `${ formatNumber ( measurements ) } measurements` ) ,
53- ] ) ,
54-
55- h ( "h2" , "Dictionaries" ) ,
56- h (
57- LinkCard ,
58- { href : "/lex/strat-names" , title : "Stratigraphic names" } ,
59- "Names of rock units, organized hierarchically and concepts that capture relationships between differently-named rock units"
60- ) ,
6162
62- h (
63- LinkCard ,
64- { href : "/lex/intervals" , title : "Intervals" } ,
65- "Time intervals"
66- ) ,
67- h (
68- LinkCard ,
69- { href : "/lex/timescales" , title : "Timescales" } ,
70- "Continuous representations of relative geologic time"
71- ) ,
72- h (
73- LinkCard ,
74- { href : "/lex/lithology" , title : "Lithologies" } ,
75- "Names of geologic materials"
76- ) ,
77- h (
78- LinkCard ,
79- { href : "/lex/environments" , title : "Environments" } ,
80- "Depositional environments and formation mechanisms"
81- ) ,
82- h (
83- LinkCard ,
84- { href : "/lex/economics" , title : "Economics" } ,
85- "Economic uses of geologic materials"
86- ) ,
63+ h (
64+ LinkCard ,
65+ { href : "/lex/intervals" , title : "Intervals" } ,
66+ "Time intervals"
67+ ) ,
68+ h (
69+ LinkCard ,
70+ { href : "/lex/timescales" , title : "Timescales" } ,
71+ "Continuous representations of relative geologic time"
72+ ) ,
73+ h (
74+ LinkCard ,
75+ { href : "/lex/lithology" , title : "Lithologies" } ,
76+ "Names of geologic materials"
77+ ) ,
78+ h (
79+ LinkCard ,
80+ { href : "/lex/environments" , title : "Environments" } ,
81+ "Depositional environments and formation mechanisms"
82+ ) ,
83+ h (
84+ LinkCard ,
85+ { href : "/lex/economics" , title : "Economics" } ,
86+ "Economic uses of geologic materials"
87+ ) ,
8788
88- h ( "p" , [
89- h ( "strong" , h ( "a" , { href : "/sift" } , "Sift" ) ) ,
90- ", Macrostrat's legacy lexicon app, is still available for use as it is gradually brought into this new framework." ,
89+ h ( "p" , [
90+ h ( "strong" , h ( "a" , { href : "/sift" } , "Sift" ) ) ,
91+ ", Macrostrat's legacy lexicon app, is still available for use as it is gradually brought into this new framework." ,
92+ ] ) ,
9193 ] ) ,
94+ h ( Footer )
9295 ] ) ;
9396}
9497
0 commit comments