From 6ff19832982e8404e13cd3f5272d6e81d2b92540 Mon Sep 17 00:00:00 2001 From: Daven Quinn Date: Thu, 30 May 2024 01:07:52 -0500 Subject: [PATCH 001/151] Basic passing test --- .yarnrc.yml | 9 + package.json | 7 +- src/base.test.ts | 6 + yarn.lock | 418 ++++++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 415 insertions(+), 25 deletions(-) create mode 100644 src/base.test.ts diff --git a/.yarnrc.yml b/.yarnrc.yml index 9660dd12..182b17c3 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -7,3 +7,12 @@ pnpFallbackMode: all pnpMode: loose yarnPath: .yarn/releases/yarn-4.2.2.cjs + +packageExtensions: + debug@*: + dependencies: + supports-color: "*" + + vite@*: + dependencies: + supports-color: "*" diff --git a/package.json b/package.json index c841443c..8e97bec0 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "format": "prettier --write src packages", "server:prod": "NODE_NO_WARNINGS=1 NODE_ENV=production yarn run server", "dev:storybook": "yarn workspace @macrostrat/storybook run dev", - "start": "yarn run build && yarn run server" + "start": "yarn run build && yarn run server", + "test": "vitest" }, "workspaces": [ "deps/web-components/packages/*", @@ -35,6 +36,7 @@ "@macrostrat/revision-info-webpack": "^1.0.0", "@macrostrat/storybook": "workspace:*", "@mdx-js/rollup": "^2.3.0", + "@types/esprima": "^4", "@typescript-eslint/eslint-plugin": "^6.3.0", "@typescript-eslint/parser": "^6.3.0", "@yarnpkg/sdks": "^3.1.0", @@ -42,7 +44,7 @@ "sass": "^1.49.0", "stylus": "^0.55.0", "typescript": "^5.1.6", - "vite-plugin-rewrite-all": "^1.0.1" + "vitest": "^1.6.0" }, "dependencies": { "@blueprintjs/core": "^5.10.2", @@ -107,6 +109,7 @@ "d3-selection": "^1.0.0", "d3-shape": "^3.2.0", "esbuild": "^0.20.0", + "esprima": "^4.0.1", "express": "^4.18.2", "hex-to-css-filter": "^5.4.0", "history": "^5.3.0", diff --git a/src/base.test.ts b/src/base.test.ts new file mode 100644 index 00000000..6c3d0cf1 --- /dev/null +++ b/src/base.test.ts @@ -0,0 +1,6 @@ +/** Basic tests with Vitest */ +import { test, expect } from "vitest"; + +test("should pass", () => { + expect(true).toBe(true); +}); diff --git a/yarn.lock b/yarn.lock index 4caafcec..5a14795d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5465,6 +5465,15 @@ __metadata: languageName: node linkType: hard +"@jest/schemas@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/schemas@npm:29.6.3" + dependencies: + "@sinclair/typebox": "npm:^0.27.8" + checksum: 10/910040425f0fc93cd13e68c750b7885590b8839066dfa0cd78e7def07bbb708ad869381f725945d66f2284de5663bbecf63e8fdd856e2ae6e261ba30b1687e93 + languageName: node + linkType: hard + "@jest/source-map@npm:^27.5.1": version: 27.5.1 resolution: "@jest/source-map@npm:27.5.1" @@ -6528,6 +6537,7 @@ __metadata: "@turf/buffer": "npm:^6.5.0" "@turf/centroid": "npm:^6.5.0" "@types/compression": "npm:^1.7.2" + "@types/esprima": "npm:^4" "@types/express": "npm:^4.17.17" "@types/geojson": "npm:^7946.0.10" "@types/node": "npm:^20.4.10" @@ -6554,6 +6564,7 @@ __metadata: d3-selection: "npm:^1.0.0" d3-shape: "npm:^3.2.0" esbuild: "npm:^0.20.0" + esprima: "npm:^4.0.1" express: "npm:^4.18.2" hex-to-css-filter: "npm:^5.4.0" history: "npm:^5.3.0" @@ -6587,7 +6598,7 @@ __metadata: vike-react: "npm:^0.4.2" vite: "npm:^5.0.12" vite-plugin-cesium: "npm:^1.2.22" - vite-plugin-rewrite-all: "npm:^1.0.1" + vitest: "npm:^1.6.0" zustand: "npm:^4.5.1" languageName: unknown linkType: soft @@ -8912,6 +8923,13 @@ __metadata: languageName: node linkType: hard +"@sinclair/typebox@npm:^0.27.8": + version: 0.27.8 + resolution: "@sinclair/typebox@npm:0.27.8" + checksum: 10/297f95ff77c82c54de8c9907f186076e715ff2621c5222ba50b8d40a170661c0c5242c763cba2a4791f0f91cb1d8ffa53ea1d7294570cf8cd4694c0e383e484d + languageName: node + linkType: hard + "@sindresorhus/is@npm:^4.0.0": version: 4.6.0 resolution: "@sindresorhus/is@npm:4.6.0" @@ -10932,6 +10950,15 @@ __metadata: languageName: node linkType: hard +"@types/esprima@npm:^4": + version: 4.0.6 + resolution: "@types/esprima@npm:4.0.6" + dependencies: + "@types/estree": "npm:*" + checksum: 10/36c5ca24a6506eb5742e8c66c0372918a859535022a5605f1e898b66e4941b91384f43c6aeb5c8ca1ed984af469dfabd22e784e833175bb1ab25af40787466ba + languageName: node + linkType: hard + "@types/estree-jsx@npm:^1.0.0": version: 1.0.0 resolution: "@types/estree-jsx@npm:1.0.0" @@ -12028,6 +12055,60 @@ __metadata: languageName: node linkType: hard +"@vitest/expect@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/expect@npm:1.6.0" + dependencies: + "@vitest/spy": "npm:1.6.0" + "@vitest/utils": "npm:1.6.0" + chai: "npm:^4.3.10" + checksum: 10/e82304a12e22b98c1ccea81e8f33c838561deb878588eac463164cc4f8fc0c401ace3a9e6758d9e3a6bcc01313e845e8478aaefb7548eaded04b8de12c1928f6 + languageName: node + linkType: hard + +"@vitest/runner@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/runner@npm:1.6.0" + dependencies: + "@vitest/utils": "npm:1.6.0" + p-limit: "npm:^5.0.0" + pathe: "npm:^1.1.1" + checksum: 10/d83a608be36dace77f91a9d15ab7753f9c5923281188a8d9cb5ccec770df9cc9ba80e5e1e3465328c7605977be0f0708610855abf5f4af037a4ede5f51a83e47 + languageName: node + linkType: hard + +"@vitest/snapshot@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/snapshot@npm:1.6.0" + dependencies: + magic-string: "npm:^0.30.5" + pathe: "npm:^1.1.1" + pretty-format: "npm:^29.7.0" + checksum: 10/0bfc26a48b45814604ff0f7276d73a047b79f3618e0b620ff54ea2de548e9603a9770963ba6ebb19f7ea1ed51001cbca58d74aa0271651d4f8e88c6233885eba + languageName: node + linkType: hard + +"@vitest/spy@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/spy@npm:1.6.0" + dependencies: + tinyspy: "npm:^2.2.0" + checksum: 10/1c9698272a58aa47708bb8a1672d655fcec3285b02067cc3f70bfe76f4eda7a756eb379f8c945ccbe61677f5189aeb5ba93c2737a9d7db2de8c4e7bbdffcd372 + languageName: node + linkType: hard + +"@vitest/utils@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/utils@npm:1.6.0" + dependencies: + diff-sequences: "npm:^29.6.3" + estree-walker: "npm:^3.0.3" + loupe: "npm:^2.3.7" + pretty-format: "npm:^29.7.0" + checksum: 10/5c5d7295ac13fcea1da039232bcc7c3fc6f070070fe12ba2ad152456af6e216e48a3ae169016cfcd5055706a00dc567b8f62e4a9b1914f069f52b8f0a3c25e60 + languageName: node + linkType: hard + "@vx/axis@npm:0.0.198": version: 0.0.198 resolution: "@vx/axis@npm:0.0.198" @@ -12594,6 +12675,13 @@ __metadata: languageName: node linkType: hard +"acorn-walk@npm:^8.3.2": + version: 8.3.2 + resolution: "acorn-walk@npm:8.3.2" + checksum: 10/57dbe2fd8cf744f562431775741c5c087196cd7a65ce4ccb3f3981cdfad25cd24ad2bad404997b88464ac01e789a0a61e5e355b2a84876f13deef39fb39686ca + languageName: node + linkType: hard + "acorn@npm:^7.1.1, acorn@npm:^7.4.1": version: 7.4.1 resolution: "acorn@npm:7.4.1" @@ -12612,7 +12700,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.2": +"acorn@npm:^8.11.2, acorn@npm:^8.11.3": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -13122,6 +13210,13 @@ __metadata: languageName: node linkType: hard +"assertion-error@npm:^1.1.0": + version: 1.1.0 + resolution: "assertion-error@npm:1.1.0" + checksum: 10/fd9429d3a3d4fd61782eb3962ae76b6d08aa7383123fca0596020013b3ebd6647891a85b05ce821c47d1471ed1271f00b0545cf6a4326cf2fc91efcc3b0fbecf + languageName: node + linkType: hard + "ast-types@npm:^0.16.1": version: 0.16.1 resolution: "ast-types@npm:0.16.1" @@ -14055,7 +14150,7 @@ __metadata: languageName: node linkType: hard -"cac@npm:^6.0.0": +"cac@npm:^6.0.0, cac@npm:^6.7.14": version: 6.7.14 resolution: "cac@npm:6.7.14" checksum: 10/002769a0fbfc51c062acd2a59df465a2a947916b02ac50b56c69ec6c018ee99ac3e7f4dd7366334ea847f1ecacf4defaa61bcd2ac283db50156ce1f1d8c8ad42 @@ -14336,6 +14431,21 @@ __metadata: languageName: node linkType: hard +"chai@npm:^4.3.10": + version: 4.4.1 + resolution: "chai@npm:4.4.1" + dependencies: + assertion-error: "npm:^1.1.0" + check-error: "npm:^1.0.3" + deep-eql: "npm:^4.1.3" + get-func-name: "npm:^2.0.2" + loupe: "npm:^2.3.6" + pathval: "npm:^1.1.1" + type-detect: "npm:^4.0.8" + checksum: 10/c6d7aba913a67529c68dbec3673f94eb9c586c5474cc5142bd0b587c9c9ec9e5fbaa937e038ecaa6475aea31433752d5fabdd033b9248bde6ae53befcde774ae + languageName: node + linkType: hard + "chalk@npm:2.3.1": version: 2.3.1 resolution: "chalk@npm:2.3.1" @@ -14485,6 +14595,15 @@ __metadata: languageName: node linkType: hard +"check-error@npm:^1.0.3": + version: 1.0.3 + resolution: "check-error@npm:1.0.3" + dependencies: + get-func-name: "npm:^2.0.2" + checksum: 10/e2131025cf059b21080f4813e55b3c480419256914601750b0fee3bd9b2b8315b531e551ef12560419b8b6d92a3636511322752b1ce905703239e7cc451b6399 + languageName: node + linkType: hard + "chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" @@ -15074,6 +15193,13 @@ __metadata: languageName: node linkType: hard +"confbox@npm:^0.1.7": + version: 0.1.7 + resolution: "confbox@npm:0.1.7" + checksum: 10/3086687b9a2a70d44d4b40a2d376536fe7e1baec4a2a34261b21b8a836026b419cbf89ded6054216631823e7d63c415dad4b4d53591d6edbb202bb9820dfa6fa + languageName: node + linkType: hard + "config-chain@npm:^1.1.13": version: 1.1.13 resolution: "config-chain@npm:1.1.13" @@ -15098,13 +15224,6 @@ __metadata: languageName: node linkType: hard -"connect-history-api-fallback@npm:^1.6.0": - version: 1.6.0 - resolution: "connect-history-api-fallback@npm:1.6.0" - checksum: 10/59f013870e987f2e921218b88ad99e6b469a058ee7dd35561a360968fd4260f236b5523b7387ddec8991f9f9fbddda098f830ddc701f12c1bfb1f49d5f4b13c1 - languageName: node - linkType: hard - "connect-history-api-fallback@npm:^2.0.0": version: 2.0.0 resolution: "connect-history-api-fallback@npm:2.0.0" @@ -16679,6 +16798,15 @@ __metadata: languageName: node linkType: hard +"deep-eql@npm:^4.1.3": + version: 4.1.3 + resolution: "deep-eql@npm:4.1.3" + dependencies: + type-detect: "npm:^4.0.0" + checksum: 10/12ce93ae63de187e77b076d3d51bfc28b11f98910a22c18714cce112791195e86a94f97788180994614b14562a86c9763f67c69f785e4586f806b5df39bf9301 + languageName: node + linkType: hard + "deep-equal@npm:^2.0.5": version: 2.2.2 resolution: "deep-equal@npm:2.2.2" @@ -16986,6 +17114,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^29.6.3": + version: 29.6.3 + resolution: "diff-sequences@npm:29.6.3" + checksum: 10/179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb + languageName: node + linkType: hard + "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -18265,7 +18400,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^3.0.0": +"estree-walker@npm:^3.0.0, estree-walker@npm:^3.0.3": version: 3.0.3 resolution: "estree-walker@npm:3.0.3" dependencies: @@ -19390,6 +19525,13 @@ __metadata: languageName: node linkType: hard +"get-func-name@npm:^2.0.1, get-func-name@npm:^2.0.2": + version: 2.0.2 + resolution: "get-func-name@npm:2.0.2" + checksum: 10/3f62f4c23647de9d46e6f76d2b3eafe58933a9b3830c60669e4180d6c601ce1b4aa310ba8366143f55e52b139f992087a9f0647274e8745621fa2af7e0acf13b + languageName: node + linkType: hard + "get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1": version: 1.2.1 resolution: "get-intrinsic@npm:1.2.1" @@ -22485,6 +22627,13 @@ __metadata: languageName: node linkType: hard +"js-tokens@npm:^9.0.0": + version: 9.0.0 + resolution: "js-tokens@npm:9.0.0" + checksum: 10/65e7a55a1a18d61f1cf94bfd7704da870b74337fa08d4c58118e69a8b10225b5ad887ff3ae595d720301b0924811a9b0594c679621a85ecbac6e3aac8533c53b + languageName: node + linkType: hard + "js-yaml@npm:=4.1.0, js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" @@ -23304,6 +23453,16 @@ __metadata: languageName: node linkType: hard +"local-pkg@npm:^0.5.0": + version: 0.5.0 + resolution: "local-pkg@npm:0.5.0" + dependencies: + mlly: "npm:^1.4.2" + pkg-types: "npm:^1.0.3" + checksum: 10/20f4caba50dc6fb00ffcc1a78bc94b5acb33995e0aadf4d4edcdeab257e891aa08f50afddf02f3240b2c3d02432bc2078f2a916a280ed716b64753a3d250db70 + languageName: node + linkType: hard + "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -23664,6 +23823,15 @@ __metadata: languageName: node linkType: hard +"loupe@npm:^2.3.6, loupe@npm:^2.3.7": + version: 2.3.7 + resolution: "loupe@npm:2.3.7" + dependencies: + get-func-name: "npm:^2.0.1" + checksum: 10/635c8f0914c2ce7ecfe4e239fbaf0ce1d2c00e4246fafcc4ed000bfdb1b8f89d05db1a220054175cca631ebf3894872a26fffba0124477fcb562f78762848fb1 + languageName: node + linkType: hard + "lower-case@npm:^2.0.2": version: 2.0.2 resolution: "lower-case@npm:2.0.2" @@ -23800,6 +23968,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.30.5": + version: 0.30.10 + resolution: "magic-string@npm:0.30.10" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.4.15" + checksum: 10/9f8bf6363a14c98a9d9f32ef833b194702a5c98fb931b05ac511b76f0b06fd30ed92beda6ca3261d2d52d21e39e891ef1136fbd032023f6cbb02d0b7d5767201 + languageName: node + linkType: hard + "make-dir@npm:^1.0.0": version: 1.3.0 resolution: "make-dir@npm:1.3.0" @@ -25108,6 +25285,18 @@ __metadata: languageName: node linkType: hard +"mlly@npm:^1.4.2, mlly@npm:^1.7.0": + version: 1.7.0 + resolution: "mlly@npm:1.7.0" + dependencies: + acorn: "npm:^8.11.3" + pathe: "npm:^1.1.2" + pkg-types: "npm:^1.1.0" + ufo: "npm:^1.5.3" + checksum: 10/a52f17767f1aa8133ad4354065e579c3d1cc72e866102bde7e466123772f5e571327b95ce777d1d655724f0c479a82acaafc6e81e25781851779d865682c8823 + languageName: node + linkType: hard + "modify-values@npm:^1.0.0": version: 1.0.1 resolution: "modify-values@npm:1.0.1" @@ -26408,6 +26597,15 @@ __metadata: languageName: node linkType: hard +"p-limit@npm:^5.0.0": + version: 5.0.0 + resolution: "p-limit@npm:5.0.0" + dependencies: + yocto-queue: "npm:^1.0.0" + checksum: 10/87bf5837dee6942f0dbeff318436179931d9a97848d1b07dbd86140a477a5d2e6b90d9701b210b4e21fe7beaea2979dfde366e4f576fa644a59bd4d6a6371da7 + languageName: node + linkType: hard + "p-locate@npm:^2.0.0": version: 2.0.0 resolution: "p-locate@npm:2.0.0" @@ -26876,6 +27074,13 @@ __metadata: languageName: node linkType: hard +"pathval@npm:^1.1.1": + version: 1.1.1 + resolution: "pathval@npm:1.1.1" + checksum: 10/b50a4751068aa3a5428f5a0b480deecedc6f537666a3630a0c2ae2d5e7c0f4bf0ee77b48404441ec1220bef0c91625e6030b3d3cf5a32ab0d9764018d1d9dbb6 + languageName: node + linkType: hard + "pbf@npm:^3.2.1": version: 3.2.1 resolution: "pbf@npm:3.2.1" @@ -27019,6 +27224,17 @@ __metadata: languageName: node linkType: hard +"pkg-types@npm:^1.0.3, pkg-types@npm:^1.1.0": + version: 1.1.1 + resolution: "pkg-types@npm:1.1.1" + dependencies: + confbox: "npm:^0.1.7" + mlly: "npm:^1.7.0" + pathe: "npm:^1.1.2" + checksum: 10/225eaf7c0339027e176dd0d34a6d9a1384c21e0aab295e57dfbef1f1b7fc132f008671da7e67553e352b80b17ba38c531c720c914061d277410eef1bdd9d9608 + languageName: node + linkType: hard + "pngjs@npm:^3.3.3": version: 3.4.0 resolution: "pngjs@npm:3.4.0" @@ -28029,6 +28245,17 @@ __metadata: languageName: node linkType: hard +"pretty-format@npm:^29.7.0": + version: 29.7.0 + resolution: "pretty-format@npm:29.7.0" + dependencies: + "@jest/schemas": "npm:^29.6.3" + ansi-styles: "npm:^5.0.0" + react-is: "npm:^18.0.0" + checksum: 10/dea96bc83c83cd91b2bfc55757b6b2747edcaac45b568e46de29deee80742f17bc76fe8898135a70d904f4928eafd8bb693cd1da4896e8bdd3c5e82cadf1d2bb + languageName: node + linkType: hard + "pretty-hrtime@npm:^1.0.3": version: 1.0.3 resolution: "pretty-hrtime@npm:1.0.3" @@ -29029,6 +29256,13 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^18.0.0": + version: 18.3.1 + resolution: "react-is@npm:18.3.1" + checksum: 10/d5f60c87d285af24b1e1e7eaeb123ec256c3c8bdea7061ab3932e3e14685708221bf234ec50b21e10dd07f008f1b966a2730a0ce4ff67905b3872ff2042aec22 + languageName: node + linkType: hard + "react-json-tree@npm:^0.15.0": version: 0.15.2 resolution: "react-json-tree@npm:0.15.2" @@ -31353,6 +31587,13 @@ __metadata: languageName: node linkType: hard +"siginfo@npm:^2.0.0": + version: 2.0.0 + resolution: "siginfo@npm:2.0.0" + checksum: 10/e93ff66c6531a079af8fb217240df01f980155b5dc408d2d7bebc398dd284e383eb318153bf8acd4db3c4fe799aa5b9a641e38b0ba3b1975700b1c89547ea4e7 + languageName: node + linkType: hard + "signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" @@ -31828,6 +32069,13 @@ __metadata: languageName: node linkType: hard +"stackback@npm:0.0.2": + version: 0.0.2 + resolution: "stackback@npm:0.0.2" + checksum: 10/2d4dc4e64e2db796de4a3c856d5943daccdfa3dd092e452a1ce059c81e9a9c29e0b9badba91b43ef0d5ff5c04ee62feb3bcc559a804e16faf447bac2d883aa99 + languageName: node + linkType: hard + "stampit@npm:^4.3.2": version: 4.3.2 resolution: "stampit@npm:4.3.2" @@ -31880,6 +32128,13 @@ __metadata: languageName: node linkType: hard +"std-env@npm:^3.5.0": + version: 3.7.0 + resolution: "std-env@npm:3.7.0" + checksum: 10/6ee0cca1add3fd84656b0002cfbc5bfa20340389d9ba4720569840f1caa34bce74322aef4c93f046391583e50649d0cf81a5f8fe1d411e50b659571690a45f12 + languageName: node + linkType: hard + "stop-iteration-iterator@npm:^1.0.0": version: 1.0.0 resolution: "stop-iteration-iterator@npm:1.0.0" @@ -32270,6 +32525,15 @@ __metadata: languageName: node linkType: hard +"strip-literal@npm:^2.0.0": + version: 2.1.0 + resolution: "strip-literal@npm:2.1.0" + dependencies: + js-tokens: "npm:^9.0.0" + checksum: 10/21c813aa1e669944e7e2318c8c927939fb90b0c52f53f57282bfc3dd6e19d53f70004f1f1693e33e5e790ad5ef102b0fce2b243808229d1ce07ae71f326c0e82 + languageName: node + linkType: hard + "style-inject@npm:^0.3.0": version: 0.3.0 resolution: "style-inject@npm:0.3.0" @@ -32383,6 +32647,13 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:*": + version: 9.4.0 + resolution: "supports-color@npm:9.4.0" + checksum: 10/cb8ff8daeaf1db642156f69a9aa545b6c01dd9c4def4f90a49f46cbf24be0c245d392fcf37acd119cd1819b99dad2cc9b7e3260813f64bcfd7f5b18b5a1eefb8 + languageName: node + linkType: hard + "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -32885,6 +33156,13 @@ __metadata: languageName: node linkType: hard +"tinybench@npm:^2.5.1": + version: 2.8.0 + resolution: "tinybench@npm:2.8.0" + checksum: 10/9731d070bedee6d44f3bb565862c284776e6adfd70d81a051a5c79b77479408509b448ad8d467d538d18bc0ae857b3ead8168d7e98d7f1355f8a0b01aa2f163b + languageName: node + linkType: hard + "tinycolor2@npm:^1.4.1": version: 1.6.0 resolution: "tinycolor2@npm:1.6.0" @@ -32899,6 +33177,13 @@ __metadata: languageName: node linkType: hard +"tinypool@npm:^0.8.3": + version: 0.8.4 + resolution: "tinypool@npm:0.8.4" + checksum: 10/7365944c2532f240111443e7012be31a634faf1a02db08a91db3aa07361c26a374d0be00a0f2ea052c4bee39c107ba67f1f814c108d9d51dfc725c559c1a9c03 + languageName: node + linkType: hard + "tinyqueue@npm:^2.0.3": version: 2.0.3 resolution: "tinyqueue@npm:2.0.3" @@ -32906,6 +33191,13 @@ __metadata: languageName: node linkType: hard +"tinyspy@npm:^2.2.0": + version: 2.2.1 + resolution: "tinyspy@npm:2.2.1" + checksum: 10/170d6232e87f9044f537b50b406a38fbfd6f79a261cd12b92879947bd340939a833a678632ce4f5c4a6feab4477e9c21cd43faac3b90b68b77dd0536c4149736 + languageName: node + linkType: hard + "tmp@npm:^0.0.33": version: 0.0.33 resolution: "tmp@npm:0.0.33" @@ -33352,7 +33644,7 @@ __metadata: languageName: node linkType: hard -"type-detect@npm:4.0.8": +"type-detect@npm:4.0.8, type-detect@npm:^4.0.0, type-detect@npm:^4.0.8": version: 4.0.8 resolution: "type-detect@npm:4.0.8" checksum: 10/5179e3b8ebc51fce1b13efb75fdea4595484433f9683bbc2dca6d99789dba4e602ab7922d2656f2ce8383987467f7770131d4a7f06a26287db0615d2f4c4ce7d @@ -33585,6 +33877,13 @@ __metadata: languageName: node linkType: hard +"ufo@npm:^1.5.3": + version: 1.5.3 + resolution: "ufo@npm:1.5.3" + checksum: 10/2b30dddd873c643efecdb58cfe457183cd4d95937ccdacca6942c697b87a2c578232c25a5149fda85436696bf0fdbc213bf2b220874712bc3e58c0fb00a2c950 + languageName: node + linkType: hard + "uglify-js@npm:^3.1.4": version: 3.17.4 resolution: "uglify-js@npm:3.17.4" @@ -34466,6 +34765,21 @@ __metadata: languageName: node linkType: hard +"vite-node@npm:1.6.0": + version: 1.6.0 + resolution: "vite-node@npm:1.6.0" + dependencies: + cac: "npm:^6.7.14" + debug: "npm:^4.3.4" + pathe: "npm:^1.1.1" + picocolors: "npm:^1.0.0" + vite: "npm:^5.0.0" + bin: + vite-node: vite-node.mjs + checksum: 10/40230598c3c285cf65f407ac50b1c7753ab2dfa960de76ec1a95a0ce0ff963919d065c29ba538d9fb2fba3e0703a051d49d1ad6486001ba2f90616cc706ddc3d + languageName: node + linkType: hard + "vite-plugin-cesium@npm:^1.2.22": version: 1.2.22 resolution: "vite-plugin-cesium@npm:1.2.22" @@ -34480,17 +34794,6 @@ __metadata: languageName: node linkType: hard -"vite-plugin-rewrite-all@npm:^1.0.1": - version: 1.0.1 - resolution: "vite-plugin-rewrite-all@npm:1.0.1" - dependencies: - connect-history-api-fallback: "npm:^1.6.0" - peerDependencies: - vite: ^2.0.0 || ^3.0.0 || ^4.0.0 - checksum: 10/480997fa98b9b6a856c9c1fd915a0d830c20fa8017e53de135e03203e89bc1d33561d0a39013a8f4d27d31691d3f71d44ed9901012424ba92fc7bab27829a8b0 - languageName: node - linkType: hard - "vite@npm:^4.4.9": version: 4.4.9 resolution: "vite@npm:4.4.9" @@ -34611,6 +34914,56 @@ __metadata: languageName: node linkType: hard +"vitest@npm:^1.6.0": + version: 1.6.0 + resolution: "vitest@npm:1.6.0" + dependencies: + "@vitest/expect": "npm:1.6.0" + "@vitest/runner": "npm:1.6.0" + "@vitest/snapshot": "npm:1.6.0" + "@vitest/spy": "npm:1.6.0" + "@vitest/utils": "npm:1.6.0" + acorn-walk: "npm:^8.3.2" + chai: "npm:^4.3.10" + debug: "npm:^4.3.4" + execa: "npm:^8.0.1" + local-pkg: "npm:^0.5.0" + magic-string: "npm:^0.30.5" + pathe: "npm:^1.1.1" + picocolors: "npm:^1.0.0" + std-env: "npm:^3.5.0" + strip-literal: "npm:^2.0.0" + tinybench: "npm:^2.5.1" + tinypool: "npm:^0.8.3" + vite: "npm:^5.0.0" + vite-node: "npm:1.6.0" + why-is-node-running: "npm:^2.2.2" + peerDependencies: + "@edge-runtime/vm": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": 1.6.0 + "@vitest/ui": 1.6.0 + happy-dom: "*" + jsdom: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@types/node": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + bin: + vitest: vitest.mjs + checksum: 10/ad921a723ac9438636d37111f0b2ea5afd0ba4a7813fb75382b9f75574e10d533cf950573ebb9332a595ce197cb83593737a6b55a3b6e6eb00bddbcd0920a03e + languageName: node + linkType: hard + "vlq@npm:^0.2.2": version: 0.2.3 resolution: "vlq@npm:0.2.3" @@ -35071,6 +35424,18 @@ __metadata: languageName: node linkType: hard +"why-is-node-running@npm:^2.2.2": + version: 2.2.2 + resolution: "why-is-node-running@npm:2.2.2" + dependencies: + siginfo: "npm:^2.0.0" + stackback: "npm:0.0.2" + bin: + why-is-node-running: cli.js + checksum: 10/f3582e0337f4b25537d492b1d40f00b978ce04b1d1eeea8f310bfa8aae8a7d11d118d672e2f0760c164ce3753a620a70aa29ff3620e340197624940cf9c08615 + languageName: node + linkType: hard + "wide-align@npm:^1.1.0, wide-align@npm:^1.1.5": version: 1.1.5 resolution: "wide-align@npm:1.1.5" @@ -35513,6 +35878,13 @@ __metadata: languageName: node linkType: hard +"yocto-queue@npm:^1.0.0": + version: 1.0.0 + resolution: "yocto-queue@npm:1.0.0" + checksum: 10/2cac84540f65c64ccc1683c267edce396b26b1e931aa429660aefac8fbe0188167b7aee815a3c22fa59a28a58d898d1a2b1825048f834d8d629f4c2a5d443801 + languageName: node + linkType: hard + "zenscroll@npm:^4.0.2": version: 4.0.2 resolution: "zenscroll@npm:4.0.2" From 60ecc45f633a3faf58e6e61b214a921d3538c825 Mon Sep 17 00:00:00 2001 From: Daven Quinn Date: Thu, 30 May 2024 01:20:28 -0500 Subject: [PATCH 002/151] Added basic test --- src/base.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base.test.ts b/src/base.test.ts index 6c3d0cf1..96b0724d 100644 --- a/src/base.test.ts +++ b/src/base.test.ts @@ -4,3 +4,5 @@ import { test, expect } from "vitest"; test("should pass", () => { expect(true).toBe(true); }); + +// Load the URL of the main testing page From 438fa3f57ecdc33369a364bb203d016d2a35dfc9 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 May 2024 12:03:17 -0400 Subject: [PATCH 003/151] test removing images --- .gitignore | 4 + src/pages/+Page.mdx | 5 + src/pages/styles.sass | 560 +++++++++++++++++++++++ src/pages/test/+Page.mdx | 551 +++++++++++++++++++++++ src/pages/test/main.styl | 168 +++++++ src/pages/test/styles.css | 908 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 2196 insertions(+) create mode 100644 src/pages/styles.sass create mode 100644 src/pages/test/+Page.mdx create mode 100644 src/pages/test/main.styl create mode 100644 src/pages/test/styles.css diff --git a/.gitignore b/.gitignore index 6ea0477a..5fad7bdf 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,8 @@ docker-compose.yaml !.yarn/sdks !.yarn/versions +# For ignoring static files +*.png +*.jpg + .vite \ No newline at end of file diff --git a/src/pages/+Page.mdx b/src/pages/+Page.mdx index c3a96be4..fabd5791 100644 --- a/src/pages/+Page.mdx +++ b/src/pages/+Page.mdx @@ -2,6 +2,7 @@ export { ContentPage as default } from "~/layouts"; import { PageHeader } from "~/components"; import { LinkCard } from "~/components/cards"; + v2{" "} @@ -43,3 +44,7 @@ These products come from a variety of sources throughout the geosciences. Macrostrat documentation + + + New test site @David + diff --git a/src/pages/styles.sass b/src/pages/styles.sass new file mode 100644 index 00000000..2616991a --- /dev/null +++ b/src/pages/styles.sass @@ -0,0 +1,560 @@ +/* Snap styles + +html, body + font-family: sans-serif + margin: 0 + padding: 0 + width: 100% + height: 100% + overflow: hidden + +.row-eq-height + display: -webkit-box + display: -webkit-flex + display: -ms-flexbox + display: flex + +#donate-title-container + display: flex + align-items: center + justify-content: center + height: 100% + width: 100% + position: absolute + text-align: center + +.snap-content + position: absolute + top: 0 + right: 0 + bottom: 0 + left: 0 + width: auto + height: auto + z-index: 2 + overflow: auto + -webkit-overflow-scrolling: touch + -webkit-transform: translate3d(0, 0, 0) + -moz-transform: translate3d(0, 0, 0) + -ms-transform: translate3d(0, 0, 0) + -o-transform: translate3d(0, 0, 0) + transform: translate3d(0, 0, 0) + +.snap-drawers + position: absolute + top: 0 + right: 0 + bottom: 0 + left: 0 + width: auto + height: auto + +.snap-drawer + position: absolute + top: 0 + right: auto + bottom: 0 + left: auto + width: 265px + height: auto + overflow: auto + -webkit-overflow-scrolling: touch + -webkit-transition: width 0.3s ease + -moz-transition: width 0.3s ease + -ms-transition: width 0.3s ease + -o-transition: width 0.3s ease + transition: width 0.3s ease + +.snap-drawer-left + left: 0 + z-index: 1 + +.snap-drawer-right + right: 0 + z-index: 1 + +.snapjs-left .snap-drawer-right, .snapjs-right .snap-drawer-left + display: none + +.snapjs-expand-left .snap-drawer-left, .snapjs-expand-right .snap-drawer-right + width: 100% + +/* End snap styles + +a:hover + text-decoration: none + +.container-fluid + margin: 0 + padding: 0 + height: 100% + +.scrollable + overflow: auto + -webkit-transition-property: top, bottom + transition-property: top, bottom + -webkit-transition-duration: .2s, .2s + transition-duration: .2s, .2s + -webkit-transition-timing-function: linear, linear + transition-timing-function: linear, linear + -webkit-overflow-scrolling: touch + +.footer + display: block + bottom: 0 + width: 100% + padding: 1em + background-color: #015EAB + +#who-made-it + color: #E0E1E6 + font-weight: 200 + text-align: center + + > a + color: #E0E1E6 + font-weight: 200 + + > + img + height: 75px + + i + margin-top: 10px + + &:first-child + margin-right: 10px + +#bottom-nav + text-align: center + +.footer-nav > li > a + color: #E0E1E6 + padding: 5px + +.funding + color: #E0E1E6 + display: table + text-align: center + +.funding-line + display: table-cell + vertical-align: middle + font-weight: 200 + +.funding-logo + width: 75px + +.snap-content + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif + +.navbar-default + background-color: rgba(0, 0, 0, 0) + border: none + +.snap-drawers + top: 50px + +.close-to-top + background-color: #015EAB + opacity: 1 + +#second-nav + background-color: #193441 + +.navbar-default + .navbar-nav > li > a + color: #E0E1E6 + font-size: 1.1em + font-weight: 400 + letter-spacing: 1px + + .navbar-toggle .icon-bar + background-color: #E0E1E6 + + .navbar-nav > li > a + &:hover, &:focus + color: #fff + + .navbar-toggle + border-color: rgba(0, 0, 0, 0) + + &:hover, &:focus + background-color: rgba(0, 0, 0, 0) + +.logo + height: 50px + padding: 2px + +.main + margin: auto + color: #888 + background-size: cover + background-repeat: no-repeat + + > h1 + font-family: "Maven Pro", sans-serif + font-size: 50px + font-weight: 100 + line-height: 1.1 + +.explore-sift + background-color: #990000 + border-color: #990000 + margin-top: 10px + + &.btn-info + background-color: #015EAB + border-color: #015EAB + +.rockd-button-container + display: flex + align-items: center + +.explore-sift.rockd + background-color: #363434 + border-color: #363434 + +.rockd-logo-small + height: 21px + margin-right: 5px + +.stats + color: white + +.snap-drawer-right + background-color: #015EAB + opacity: 0.92 + +.drawer-menu + background-color: #015EAB + line-height: 20px + margin: 0 + + > a + display: block + color: #E0E1E6 + padding: 12px 35px !important + border-bottom: 2px solid #0167bc + font-size: 13px + font-weight: 100 + letter-spacing: 1px + + &:hover + color: #fff + +.nav + > li > a + &:hover, &:focus + background-color: rgba(0, 0, 0, 0) + + &.drawer + margin-top: 60px + +#view + height: 100% + width: 100% + position: relative + background-color: #fff + margin-top: 50px + + > .container-fluid + height: 100% + padding: 0 + +.row + margin: 0 + +.slide + height: 100% + background-color: #fff + +.stat-row + height: 50% + +.slide-container + width: 100% + height: 100% + + /* text-align: center; + display: table + padding: 0 + +.slide-content + display: table-cell + vertical-align: middle + +.slide-container > .stat-container + display: table-cell + +.slide-content-padded + padding-left: 10% + padding-right: 10% + +.welcome + background-color: rgba(0, 0, 0, 0.3) + text-align: center + +.title + margin-left: 1em + margin-top: -6em + padding: 40px + border-radius: 20px + + > p + color: #f7f7f7 + font-size: 20px + font-weight: 300 + +.top-stat, .top-stat-label + display: block + color: #f7f7f7 + font-size: 20px + +.top-stat + font-weight: 600 + +.top-stat-label + font-size: 16px + font-weight: 300 + +.big + font-size: 75px + color: #E0E1E6 + font-family: "Maven Pro", sans-serif + +.nohighlight a + color: white + +.stats > .slide-container + text-align: center + +#app-title + background-color: #4BABBf + color: white + +.about-title + border-bottom: 1px solid #eee + margin-bottom: 18px + +#about + padding: 100px 0 + + > .slide-container + padding-bottom: 100px + +.about + padding: 0 15px + +.about-row + padding: 15px 0 + +.about-body + padding: 0 30px + color: #000 !important + +.about-body-subtitle + font-size: 22px + text-align: center + font-weight: 200 + color: #777 + +#apps + max-width: 900px + margin: 0 auto + height: auto + +.app + padding: 0 + height: 160px + +.app-background + position: absolute + font-size: 70px + width: 100% + height: 100% + color: #777 + font-weight: 100 + letter-spacing: 15px + display: flex + align-items: center + justify-content: flex-end + +.blurb + font-weight: 200 + font-size: 14px + letter-spacing: 1px + +.app-background-text + padding-right: 20px + text-align: right + max-width: 55% + +.app-background-text-small + font-size: 50px + +.app-content + z-index: 2 + +.app-grid + border: 1px solid #E5E5E5 + margin-top: -1px + margin-bottom: 0 + margin-left: -1px + min-height: 200px + text-align: center + display: table + +.app-grid-content + display: table-cell + vertical-align: middle + color: #4BABBf + font-weight: 500 + font-size: 16px + +.app-img + height: 120px + position: absolute + border-radius: 4px + left: 15px + top: 15px + +#api + /* background-color: #D33A29; + +.api-title + background-color: #fff + height: 200px + width: 200px + border-radius: 50% + text-align: center + display: table + border: 11px solid #6bbe98 + color: #4BABBf + +.big.apps + color: #F5F5F5 + +#apps + padding-top: 150px + +#contact + height: 1000px + padding: 140px 0 + +#contact-holder + text-align: right + color: #777 + border-bottom: 1px solid #eee + margin-bottom: 18px + +.api-title > .big + display: table-cell + vertical-align: middle + color: #6bbe98 + +.stat-caption + z-index: 10 + color: #fff + text-align: center + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) + position: absolute + left: 20% + right: 20% + bottom: 20px + + > + p + font-size: 18px + + h1 + font-size: 45px + +.attribution + height: 25px + width: 25px + position: absolute + text-align: center + right: 0 + bottom: 0 + margin-right: 10px + margin-bottom: 10px + padding: 5px + border: 1px solid #eee + border-radius: 50% + color: #eee + z-index: 500 + +.stat + background-repeat: no-repeat + background-size: cover + +.stat-container + height: 100% + +.page-info + color: #4bab7f + font-size: 18px + line-height: 28px + font-weight: 200 + + &.donate + color: #333 + + > a + color: #4bab7f + font-weight: bold + +.person + background-repeat: no-repeat + background-size: cover + height: 200px + border-bottom: 10px solid #fff + +.row > .person + &:first-child + border-right: 5px solid #fff + + &:last-child + border-left: 5px solid #fff + +.person-info + float: right + color: white + font-size: 19px + bottom: 0 + font-weight: 200 + position: absolute + right: 0 + text-align: right + background-color: rgba(0, 0, 0, 0.2) + letter-spacing: 1px + padding-top: 10px + padding-left: 10px + border-radius: 3px + +n + font-size: 25px + font-weight: 200 + color: inherit + + > a + font-size: 25px + font-weight: 200 + color: inherit + + &:hover + color: inherit + font-weight: bolder + + color: white + +t + font-weight: 400 + +e + font-size: 14px + font-weight: 200 + +#people + height: auto diff --git a/src/pages/test/+Page.mdx b/src/pages/test/+Page.mdx new file mode 100644 index 00000000..846cf8ea --- /dev/null +++ b/src/pages/test/+Page.mdx @@ -0,0 +1,551 @@ +import { PageHeader } from "~/components"; +import { LinkCard } from "~/components/cards"; +import "./main.styl"; + +
+
+ [//]: # "Nav Bar" + + + [//]: # "Start Page" +
+
+

Macrostrat

+

A platform for geological data exploration, integration, and analysis

+ +
+ +
+
    +
  • + 1,400 + Regional Rock Columns +
  • +
  • + 33,903 + Rock Units +
  • +
  • + 2,500,000 + Geologic Map Polygons +
  • +
  • + 51,212 + Stratigraphic Names +
  • +
+
+
+ + [//]: # "Locations" +
+
+

North America

\ +
7,239 packages. 24,141 units. 48,696 collections.
+
+
+

Caribbean

\ +
243 packages. 798 units. 897 collections.
+
+
+

New Zealand

\ +
828 packages. 2,168 units. 328 collections.
+
+
+

Deep Sea

\ +
388 packages. 7,124 units. 0 collections.
+
+
+ + [//]: # "Geological Maps" +

Geologic Maps

+
+ With over 225 maps from data providers around the world across every scale, Macrostrat is the world's largest homogenized geologic map database. Our data processing pipeline links geologic map polygons to Macrostrat column polygons, external stratigraphic name lexicons, and geochronological intervals, enabling the enhancement of the original map data and allowing for direct links into xDD (formly GeoDeepDive). + \ + \ + Are you affiliated with a state or national geologic survey? Get in touch with us - we'd love to collaborate and help publicize your maps! + \ + \ + Get started by exploring the map or taking a look at which maps are currently a part of Macrostrat. +
+ + [//]: # "About" +
+
+
+
+
+
+

About

+
+
+
+
+
+ Summary +
+
+ Macrostrat is a platform for the aggregation and distribution of geological data relevant to the spatial and temporal distribution of sedimentary, igneous, and metamorphic rocks as well as data extracted from them. It is linked to the xDD (formly GeoDeepDive) digital library and machine reading system, and it aims to become a community resource for the addition, editing, and distribution of new stratigraphic, lithological, environmental, and economic data. Interactive applications built upon Macrostrat are designed for educational and research purposes. +
+
+ +
+
+ License +
+
+ All data are provided under a Creative Commons Attribution 4.0 International license (CC-BY-4.0). +
+
+ +
+
+ Citation +
+
+ In presentations: Acknowledge Macrostrat by name. You may also include any of the Macrostrat logos accessible on this webpage. + \ + \ + In publications: Acknowledge Macrostrat as the source of any information or data. In publications, you may cite our most recent infrastructure paper, Peters et al. (2018). In addition, you should also include citations to the original references associated with the data set that was used. These references are accessible from the API. If you would like your paper listed in the official publications, please contact us and we will provide a citation and link. +
+
+ +
+
+ Collaboration +
+
+ Our small team has worked hard to compile, format, and make data available via Macrostrat. We strongly encourage and welcome active collaborations, both scientific and geoinformatic. All data are provided freely on under a CC-BY-4.0 license. +
+
+ +
+
+ Funding +
+
+ Major Macrostrat data infrastructure development was supported by the US National Science Foundation (EAR-1150082, ICER-1440312), with ongoing support for data acquisition supported by NSF EAR-1948843 and ICER-1928323. Continuous and ongoing support has also been provided by the UW-Madison Department of Geoscience. If you use Macrostrat and like what we do, please consider helping out with a donation. Every contribute helps us to maintain infrastructure and keep improving. +
+
+
+
+
+ +
+
+ +
+
+
+
+

Built with Macrostrat

+
+
+ + + + + + + + + + + + + + [//]: # "API" +
+
+
+
+
+
+

API

+
+
+
+
+ All data contained in the Macrostrat database are freely available via our Application Programming Interface (API), which provides a convinient way to retrieve data for analysis or application creation. For more information head over to the API root to explore available routes. +
+
+
+
+
+
+ + [//]: # "About" +
+
+
+
+
+
+

People

+
+
+
+
+
+
+ Shanan Peters\ + Professor, Database Developer\ + peters -at geology.wisc.edu +
+
+
+
+ Daven Quinn \ + Research Scientist, Developer \ + daven.quinn -at wisc.edu +
+
+
+ +
+
+
+ Evgeny Mazko \ + Graduate Student \ + mazko -at wisc.edu +
+
+
+
+ Michael McClennen \ + Senior Programmer Analyst \ + mmcclenn -at- geology.wisc.edu +
+
+
+ +
+
+
+ Casey Idzikowski \ + Research Specialist, Developer (former) +
+
+
+
+ Daniel Segessenmen \ + Graduate Student (former) +
+
+
+ +
+
+
+ Shan Ye \ + Graduate Student (former) +
+
+
+
+ Ben Linzmeier \ + Postdoctoral Scholar (former) +
+
+
+ +
+
+
+ Afiqah Rafi \ + Undergrad Student (former) +
+
+
+
+ Sharon McMullen \ + Researcher (former) +
+
+
+ +
+
+
+ Andrew Zaffos \ + Data Mobilization and Research Scientist \ + azaffos -at- email.arizona.edu +
+
+
+
+ Jon Husson \ + Postdoctoral Researcher (former) \ + jhusson - at - uvic.ca +
+
+
+ +
+
+
+ Erika Ito \ + Research Intern (former) +
+
+
+
+ Noel Heim \ + Researcher (former) +
+
+
+ +
+
+
+ John Czaplewski \ + Next-level Developer (former) +
+
+
+
+ Puneet Kishor \ + Generally Ignored \ + punkish at eidesis.org +
+
+
+ +
+
+
+ + [//]: # "Donate" + + + [//]: # "Publications" +
+
+
+
+
+
+

Publications

+

literature utilizing Macrostrat

+
+
+
+ [//]: # "NB: adding pubs to list requires updating css .pub-list counter" +
+
+
    +
  1. Gazdewich, S., T. Hauck, J. Husson. 2024. Authigenic carbonate burial within the Late Devonian western Canada sedimentary bsain and its impact on the global carbon cycle. Geochemistry, Geophysics, Geosystems 10.1029/2023GC011376. [link]
  2. +
  3. Segessenman, D.C. and S.E. Peters. 2024. Transgression-regression cycles drive correlations in Ediacaran-Cambrian rock and fossil records. Paleobiology 10.1017/pab.2023.31. [link]
  4. +
  5. Quinn, D.P., C.R. Idzikowski, S.E. Peters. 2023. Building a multi-scale, collaborative, and time-integrated digital crust: The next stage of the Macrostrat data system. Geoscience Data Journal 10.1002/gdj3.189. [link]
  6. +
  7. Tasistro-Hart, A.R. and F.A. Macdonald. 2023. Phanerozoic flooding of North America and the Great Unconformity. Proceedings of the National Academy of Sciences 120(37):e2309084120. [link]
  8. +
  9. Husson, J.M. and L.A. Coogan. 2023. River chemistry reveals a large decrease in dolomite abundance across the Phanerozoic. Geochemical Perspective Letters 26:1-6. [link]
  10. +
  11. Walton, C.R., J. Hao, F. Huang, F.E. Jenner, H. Williams, A.L. Zerkle, A. Lipp, R.M. Hazen, S.E. Peters, O. Shorttle. 2023. Evolution of the crustal phosphorus reservoir. Science Advances 9(18):eade6923. [link]
  12. +
  13. Balseiro, D. and M.G. Powell. 2023. Relative oversampling of carbonate rocks in the North American marine fossil record. Paleobiology [link]
  14. +
  15. Ye, S., S.E. Peters. 2023. Bedrock geological map predictions for Phanerozoic fossil occurrences. Paleobiology 49(3):394-413. [link]
  16. +
  17. Wang, J., Tarhan, L.G., Jacobson, A.D. et al. 2023. The evolution of the marine carbonate factory. Nature https://doi.org/10.1038/s41586-022-05654-5 [link]
  18. +
  19. Capel, E., C. Monnet, C.J. Cleal, J. Xue, T. Servais, B. Cascales-Miñana. 2023. The effect of geological biases on our perception of early land plant radiation. Palaeontology 66:e12644 [link]
  20. +
  21. Sessa, J.A., A.J. Fraass, LJ. LeVay, K.M. Jamson, S.E. Peters. 2023. The Extending Ocean Drilling Pursuits (eODP) Project: Synthesizing Scientific Ocean Drilling Data. Geochemistry, Geophysics, Geosystems [link]
  22. +
  23. Segessenman, D.C. and S.E. Peters. 2023. Macrostratigraphy of the Ediacaran system in North America. In "Laurentia: Turning Points in the Evolution of a Continent." S.J. Whitmeyer, M.L. Williams, D.A. Kellett, B. Tikoff, eds. GSA Memoir. [link]
  24. +
  25. Boulila, S., S.E. Peters, R.D. Müller, B.U. Haq, N.Hara. 2023. Earth’s interior dynamics drive marine fossil diversity cycles of tens of millions of years. Proceedings of the National Academy of Sciences e2221149120 [link]
  26. +
  27. Peters, S.E., D. Quinn, J.M. Husson, R.R. Gaines. 2022. Macrostratigraphy: insights into cyclic and secular evolution of the Earth-life system. Ann. Rev. Earth & Planet. Sci. 50:419-449 [link]
  28. +
  29. Emmings, J.F., S.W. Poulton, J. Walsh, K.A. Leeming, I. Ross, S.E. Peters. 2022. Pyrite mega-analysis reveals modes of anoxia through geologic time. Science Advances 8(11). [link]
  30. +
  31. Chen, G., Q. Cheng, S.E. Peters, C.J. Spencer, M. Zhao. 2022. Feedback between surface and deep processes: insight from time series analysis of sedimentary record. Earth and Planet. Sci. Letters. [link]
  32. +
  33. Peters, S.E. et al. 2021. Igneous rock area and age in continental crust. Geology. doi:10.1130/G49037.1. [link]
  34. +
  35. Loughney, K.M., C. Badgley, A. Bahadori, W.E. Hold, and E.T. Rasbury. 2021. Tectonic influence on Cenozoic mammal richness and sedimentation history of the Basin and Range, western North America. Science Advances 7(45):p.eabh4470. doi:10.1126/sciadv.abh4470
  36. +
  37. Key, M.M. Jr., P.N.W. Jackson, C.M. Reid. 2021. Trepostome bryozoans buck the trend and ignore calcite-aragonite seas. Palaeobiodiversity and Palaeoenvironments. doi:10.1007/s12549-021-00507-x. [link]
  38. +
  39. Lipp, A.G. et al. 2021. The composition and weathering of the continents over geologic time. Geochemical Perspectives Letters. doi:10.7185/geochemlet.2109. [link]
  40. +
  41. Barnes, B.D., J.M. Husson, S.E. Peters. 2020. Authigenic carbonate burial in the Late Devonian–Early Mississippian Bakken Formation (Williston Basin, USA). Sedimentology. doi:10.1111/sed.12695. [link]
  42. +
  43. Close, R.A. et al. 2020. The spatial structure of Phanerozoic marine animal diversity. Science doi:10.1126/science.aay8309. [link]
  44. +
  45. Balseiro, D. and Powell, M.G. 2019. Carbonate collapse and the Late Paleozoic Ice Age marine biodiversity crisis. Geology doi:10.1130/G46858.1. [link]
  46. +
  47. Keller, C.B., J.M. Husson, R.N. Mitchell, W.F. Bottke, T.M. Gernon, P. Boehnke, E.A. Bell, N.L. Swanson-Hysell, S.E. Peters. 2019. Neoproterozoic glacial origin of the Great Unconformity. Proc. Nat. Acad. of Sci. USA. 116(4):1136-1145. doi:10.1073/pnas.1804350116 [link]
  48. +
  49. Keating-Bitonti, C.R., and S.E. Peters. 2019. Influence of increasing carbonate saturation in Atlantic bottom water during the late Miocene. Palaeogeography, Palaeoclimatology, Palaeoecology 518:134-142. doi:10.1016/j.palaeo.2019.01.006[link]
  50. +
  51. Cohen, P.A., R. Lockwood, S.E. Peters. 2018. Integrating Macrostrat and Rockd into undergraduate Earth Science Teaching. Elements of Paleontology. doi:10.1017/9781108681445 [link]
  52. +
  53. Isson, T.T., and N.J. Planavsky. 2018. Reverse weathering as a long-term stabilizer of marine pH and planetary climate. Nature 560:571-475. doi:10.1038/s41586-018-0408-4 [link]
  54. +
  55. Husson, J.M. and S.E. Peters. 2018. Nature of the sedimentary rock record and its implications for Earth system evolution. Emerging Topics in Life Sciences. doi:10.1042/ETLS20170152 [link]
  56. +
  57. Peters, S.E., J.M. Husson. 2018. We need a global comprehensive stratigraphic database: here’s a start. The Sedimentary Record 16(1). doi:10.2110/sedred.2018.1 [link]
  58. +
  59. Peters, S.E., J.M. Husson, J. Czaplewski. 2018. Macrostrat: a platform for geological data integration and deep-time Earth crust research. Geochemistry, Geophysics, Geosystems. [link] \ + Preprint available on EarthArXiv 27,Jan18. doi:10.17605/OSF.IO/YNAXW [link]
  60. +
  61. Schachat, S.R., C.C. Labandeira, M.R. Saltzman, B.D. Cramer, J.L. Payne, C.K. Boyce. 2018. Phanerozoic pO2 and the early evolution of terrestrial animals. Proc. Roy. Soc. B.[link]
  62. +
  63. Zaffos, A., S. Finnegan, S.E. Peters. 2017. Plate tectonic regulation of global marine animal diversity. Proc. Nat. Acad. of Sci. USA. [link]
  64. +
  65. Peters, S.E., J.M. Husson. J. Wilcots. 2017. Rise and fall of stromatolites in shallow marine environments. Geology. [link]
  66. +
  67. Peters, S.E., J.M. Husson. 2017. Sediment cycling on continental and oceanic crust. Geology 45:323-326. [link]
  68. +
  69. Husson, J.M., S.E. Peters. 2017. Atmospheric oxygenation driven by unsteady growth of the continental sedimentary reservoir. Earth and Planetary Science Letters. 460:68-75. [link]
  70. +
  71. Schott, R. 2017. Rockd: Geology at your fingertips in a mobile world. Bulletin of the Eastern Section of the National Association of Geoscience Teachers 67(2):1-4. [link]
  72. +
  73. Chan, M.A., S.E. Peters, B. Tikoff. 2016. The future of field geology, open data sharing, and cybertechnology in Earth science. The Sedimentary Record 14:4-10. [link]
  74. +
  75. Nelsen, M.P., B.A. DiMichele, S.E. Peters, C.K. Boyce. 2016. Delayed fungal evolution did not cause the Paleozoic peak in coal production. Proc. Nat. Acad. of Sci. USA. [link]
  76. +
  77. Heavens, N.G. 2015. Injecting climate modeling into deep time studies: ideas for nearly every project. The Sedimentary Record 13:(4)4-10. [link]
  78. +
  79. Carroll, A.R. 2015. Geofuels: energy and the Earth. Cambridge University Press. [link]
  80. +
  81. Thomson, T.J. and M.L. Droser. 2015. Swimming reptiles make their mark in the Early Triassic: delayed ecologic recovery increased the preservation potential of vertebrate swim tracks. Geology 43:215-218. [link]
  82. +
  83. Fraass, A.J., D.C. Kelly, S.E. Peters. 2015. Macroevolutionary history of the planktic foraminifera. Annual Review of Earth and Planetary Sciences 43:5.1-5.28. [link]
  84. +
  85. Fan, Y., S. Richard, R.S. Bristol, S.E. Peters, et al.. 2015. DigitalCrust: A 4D data system of material properties for transforming research on crustal fluid flow. Geofluids 15:372-379. [link]
  86. +
  87. Peters, S.E., D.C. Kelly, and A. Fraass. 2013. Oceanographic controls on the diversity and extinction of planktonic foraminifera. Nature. 493:398-401.[link].
  88. +
  89. Benson, R.B.J., P.D. Mannion, R.J. Butler, P. Upchurch, A. Goswami, and S.E. Evans. 2012. Cretaceous tetrapod fossil record sampling and faunal turnover: implications for biogeography and the rise of modern clades. Palaeogeography, Palaeoclimatology, Palaeoecology. [link].
  90. +
  91. Rook, D.L., N.A. Heim, and J. Marcot. 2012.Contrasting patterns and connections of rock and biotic diversity in the marine and non-marine fossil records of North America. Palaeogeography, Palaeoclimatology, Palaeoecology. 372:123-129. [link]
  92. +
  93. Halevy, I, S.E. Peters, and W.W. Fischer. 2012. Sulfate burial constraints on the Phanerozoic sulfur cycle. Science 337:331-334. doi:10.1126/science.1220224.[link].
  94. +
  95. Peters, S.E. and R.R. Gaines. 2012. Formation of the ‘Great Unconformity’ as a trigger for the Cambrian explosion. Nature 484:363-366. doi:10.1038/nature10969. [link].
  96. +
  97. Finnegan, S., N.A. Heim, S.E. Peters and W.W. Fischer. 2012. Climate change and the selective signature of the late Ordovician mass extinction. PNAS doi:10.1073/pnas.1117039109. [link].
  98. +
  99. Hannisdal, B. and S.E. Peters. 2011. Phanerozoic Earth system evolution and marine biodiversity. Science 334:1121-1124. [link].
  100. +
  101. Butler, R.J. et al. 2011. Sea level, dinosaur diversity and sampling biases: investigating the ‘common cause’ hypothesis in the terrestrial realm. Proc. Roy. Soc. London B 278:1165-1170. [link].
  102. +
  103. Melott, A.L. and R.K. Bambach 2011. A ubquitous ~62-Myr periodic fluctuation superimposed on general trends in fossil biodiversity II. Evolutionary dynamics associated with period fluctuation in marine diversity. Paleobiology 37:369-382. [link].
  104. +
  105. Heim, N.A. and S.E. Peters. 2011. Regional environmental breadth predicts geographic range and longevity in fossil marine genera. PLoS One 6:(5) e18946; doi:10.1371/journal.pone.0018946 [PDF].
  106. +
  107. Peters, S.E. and N.A. Heim. 2011. Macrostratigraphy and macroevolution in marine environments: testing the common-cause hypothesis. In, Smith, A.B., and A. McGowan, eds. Comparing the rock and fossil records: implications for biodiversity. + Special Publication of the Geological Society of London 358:95-104. doi: 10.1144/SP358.7. [link]
  108. +
  109. Peters, S.E. and N.A. Heim. 2011. The stratigraphic distribution of marine fossils in North America. Geology 39:259-262; doi: 10.1130/G31442.1. [PDF]
  110. +
  111. Finnegan, S., S.E. Peters, and W.W. Fischer. 2011. Late Ordovician-Early Silurian selective extinction patterns in Laurentia and their relationship to climate change. In J.C. Gutiérrez-Marco, I. Rábano, and D. Garcia-Bellido, eds. Ordovician of the World. Cuadernos del Museo Geominera 14: 155-159.
  112. +
  113. Meyers, S.R. and S.E. Peters. 2011. A 56 million year rhythm in North American sedimentation during the Phanerozoic. EPSL doi:10.1016/j.epsl.2010.12.044. [PDF]
  114. +
  115. Heim, N.A. and S.E. Peters. 2011. Covariation in macrostratigraphic and macroevolutionary patterns in the marine record of North America. GSA Bulletin 123:620-630. + [PDF]
  116. +
  117. Peters, S.E. and N.A. Heim. 2010. The geological completeness of paleontological sampling in North America. Paleobiology 36:61-79. [PDF].
  118. +
  119. Marx, F.G. 2009. Marine mammals through time: when less is more in studying palaeodiversity. Proceedings of the Royal Society of London B 138:183-196. [link]
  120. +
  121. McGowan, A.J., and A. Smith. 2008. Are global Phanerozoic marine diversity curves truly global? A study of the relationship between regional rock records and global Phanerozoic marine diversity. Paleobiology 34:80-103. [link]
  122. +
  123. Mayhew, P.J., G.B. Jenkins, and T.G. Benton. 2008. Long-term association between global temperature and biodiversity, origination and extinction in the fossil record. Proceedings of the Royal Society of London B 275:47-53. [link]
  124. +
  125. Peters, S.E. 2008. Environmental determinants of extinction selectivity in the fossil record. Nature 454:626-629. + [PDF] [supplement]
  126. +
  127. Peters, S.E. 2008. Macrostratigraphy and its promise for paleobiology. Pp. 205-232 In P.H. Kelley and R.K. Bambach, eds. From evolution to geobiology: research questions driving paleontology at the start of a new century. The Paleontological Society Papers, Vol. 14. 9.[PDF]
  128. +
  129. Peters, S.E. and W.I. Ausich. 2008. A sampling-standardized macroevolutionary history for Ordovician-Early Silurian crinoids. Paleobiology 34:104-116. [PDF]
  130. +
  131. Smith, A.B. 2007. Marine diversity through the Phanerozoic: problems and prospects. Journal of the Geological Society, London 164:731-745.[link]
  132. +
  133. Peters, S.E. 2007. The problem with the Paleozoic. Paleobiology 33:165-181.[PDF]
  134. +
  135. Peters, S.E. 2006. Macrostratigraphy of North America. Journal of Geology 114:391-412.[PDF]
  136. +
  137. Peters, S.E. 2005. Geologic constraints on the macroevolutionary history of marine animals. Proceedings of the National Academy of Sciences U.S.A. 102:12326-12331.[PDF]
  138. +
+
+
+
+
+
+ + [//]: # "Footer" + + +
+
\ No newline at end of file diff --git a/src/pages/test/main.styl b/src/pages/test/main.styl new file mode 100644 index 00000000..c666254e --- /dev/null +++ b/src/pages/test/main.styl @@ -0,0 +1,168 @@ +html, body + color: #E0E1E6 + height: 100% + +.nav + ul + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; + + li + float: left; + font-size: 15px + + li a + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; + + li a:hover + background-color: #111; + +#logo-jpg + content: url("./img/logo_white.png") + width: 35px + padding-top: 6px + +.parent + height: 100% + +.left + width: 70% + text-align: center + height: 750px + background-image url("./img/cover_medium.jpg") + color: white + + li + float: left + list-style-type: none + + ul + display: inline-block; + + + +.right + background-color: blue + height: 750px + width: 30% + background-image url("./img/deep_sea_new_medium.jpg") + + ul + list-style-type: none + + li + width: 25% + padding-left: 10px + + .buttons1 + padding-left: 27% + +.parent + display: inline-flex + width: 100% + +.big + font-size: 72px + font-family: "Maven Pro", sans-serif; + margin-top: 10% + margin-bottom: 5% + width: 40% + margin-left: 30% + text-align: center + +.big-text + font-family: Helvetica, sans-serif + font-weight: 900 + font-size: 20px + margin-bottom: 5% + padding: 0 100px + +.top-stat, .top-stat-label + display: block + color: white + +.top-stat + font-size: 35px + font-family: Helvetica, sans-serif + +.stats-row + margin-top: 20% + + li + padding-top: 10px + padding-bottom: 20px + color: black + width: 100% + +.btn + background-color: #363434; + border: none; + color: white; + padding: 13px 10px; + margin: 10px + text-align: center; + text-decoration: none; + display: inline-block; + float: left + border-radius: 12px; + +.btn:hover + background-color: #545151 + +.small-rockd + background-image url("../img/north_america_small.jpg") + float: left + +#placeholder + background-image url("../img/north_america_small.jpg") + +.buttons1 + font-size: 20px + padding: 0px + + a + color: white + text-decoration: none + + a:hover + color: white + +#rockd-png + content: url("./img/rockd.jpg") + width: 22px + padding-right: 4px + float: left + padding-top: 5px + +.country_container + height: 1000px + display: grid; + grid-template-columns: repeat(2, minmax(150px, 2fr)); + grid-template-rows: repeat(2, minmax(150px, 2fr)); + +.country + height: 100% + display: flex; + justify-content: center; + align-items: center; + text-align: center; + color: white + +.deep-sea + background-image url("./img/deep_sea_new.jpg") + +.north-america + background-image url("./img/north_america_med.jpg") + +.caribbean + background-image url("./img/caribbean_new.jpg") + +.new-zealand + background-image url("./img/new_zealand_new.jpg") \ No newline at end of file diff --git a/src/pages/test/styles.css b/src/pages/test/styles.css new file mode 100644 index 00000000..9ec89de9 --- /dev/null +++ b/src/pages/test/styles.css @@ -0,0 +1,908 @@ +/* Snap styles */ +html, body { + font-family: sans-serif; + margin: 0; + padding: 0; + width: 100%; + height: 100%; + overflow: hidden; +} +.row-eq-height { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +#donate-title-container { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + width: 100%; + position: absolute; + text-align: center; +} +.snap-content { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: auto; + height: auto; + z-index: 2; + overflow: auto; + -webkit-overflow-scrolling: touch; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); + -o-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +.snap-drawers { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: auto; + height: auto; +} + +.snap-drawer { + position: absolute; + top: 0; + right: auto; + bottom: 0; + left: auto; + width: 265px; + height: auto; + overflow: auto; + -webkit-overflow-scrolling: touch; + -webkit-transition: width 0.3s ease; + -moz-transition: width 0.3s ease; + -ms-transition: width 0.3s ease; + -o-transition: width 0.3s ease; + transition: width 0.3s ease; +} + +.snap-drawer-left { + left: 0; + z-index: 1; +} + +.snap-drawer-right { + right: 0; + z-index: 1; +} + +.snapjs-left .snap-drawer-right, +.snapjs-right .snap-drawer-left { + display: none; +} + +.snapjs-expand-left .snap-drawer-left, +.snapjs-expand-right .snap-drawer-right { + width: 100%; +} + +/* End snap styles */ + +a:hover { + text-decoration: none; +} +.container-fluid { + margin: 0; + padding: 0; + height: 100%; +} +.scrollable{ + overflow: auto; + -webkit-transition-property: top, bottom; + transition-property: top, bottom; + -webkit-transition-duration: .2s, .2s; + transition-duration: .2s, .2s; + -webkit-transition-timing-function: linear, linear; + transition-timing-function: linear, linear; + -webkit-overflow-scrolling: touch; +} +.footer { + display: block; + bottom: 0; + width: 100%; + padding: 1em; + background-color: #015EAB; +} +#who-made-it { + color: #E0E1E6; + font-weight: 200; + text-align: center; +} +#who-made-it > a { + color: #E0E1E6; + font-weight: 200; +} +#who-made-it > a > img { + height: 75px; +} +#who-made-it > a > i { + margin-top: 10px; +} +#who-made-it > a > i:first-child { + margin-right: 10px; +} +#bottom-nav { + text-align: center; +} +.footer-nav > li > a { + color: #E0E1E6; + padding: 5px; +} +.funding { + color: #E0E1E6; + display: table; + text-align: center; +} +.funding-line { + display: table-cell; + vertical-align: middle; + font-weight: 200; +} +.funding-logo { + width: 75px; +} +.snap-content { + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; +} +.navbar-default { + background-color: rgba(0,0,0,0); + border: none; +} +.snap-drawers { + top: 50px; +} +.close-to-top { + background-color: #015EAB; + opacity: 1; +} +#second-nav { + background-color: #193441; +} +.navbar-default .navbar-nav>li>a { + color: #E0E1E6; + font-size: 1.1em; + font-weight: 400; + letter-spacing: 1px; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #E0E1E6; +} +.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { + color: #fff; +} +.navbar-default .navbar-toggle { + border-color: rgba(0,0,0,0); +} +.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { + background-color: rgba(0,0,0,0); +} +.logo { + height: 50px; + padding: 2px; +} +.main { + margin: auto; + color:#888; + background-size: cover; + background-repeat: no-repeat; +} +.main > h1 { + font-family: "Maven Pro", sans-serif; + font-size: 50px; + font-weight: 100; + line-height: 1.1; +} +.explore-sift { + background-color: #990000; + border-color: #990000; + margin-top: 10px; +} +.explore-sift.btn-info { + background-color: #015EAB; + border-color: #015EAB; +} +.rockd-button-container { + display: flex; + align-items: center; +} +.explore-sift.rockd { + background-color: #363434; + border-color: #363434; +} +.rockd-logo-small { + height: 21px; + margin-right: 5px; +} +.stats { + color: white; +} +.snap-drawer-right { + background-color: #015EAB; + opacity: 0.92; +} +.drawer-menu { + background-color: #015EAB; + line-height: 20px; + margin: 0; +} +.drawer-menu > a { + display: block; + color: #E0E1E6; + padding: 12px 35px !important; + border-bottom: 2px solid #0167bc; + font-size: 13px; + font-weight: 100; + letter-spacing: 1px; +} +.drawer-menu > a:hover { + color: #fff; +} +.nav>li>a:hover, .nav>li>a:focus { + background-color: rgba(0,0,0,0); +} +.nav.drawer { + margin-top: 60px; +} +#view { + height: 100%; + width: 100%; + position: relative; + background-color: #fff; + margin-top: 50px; +} +#view > .container-fluid { + height: 100%; + padding: 0; +} +.row { + margin: 0; +} +.slide { + height: 100%; + background-color: #fff; +} +.stat-row { + height: 50%; +} +.slide-container { + width: 100%; + height: 100%; + /* text-align: center; */ + display: table; + padding: 0; +} +.slide-content { + display: table-cell; + vertical-align: middle; +} +.slide-container > .stat-container { + display: table-cell; +} + +.slide-content-padded { + padding-left: 10%; + padding-right: 10%; +} + +.welcome { + background-color: rgba(0,0,0,0.3); + text-align: center; +} +.title { + margin-left: 1em; + margin-top: -6em; + padding: 40px; + border-radius: 20px; +} + +.title > p { + color: #f7f7f7; + font-size: 20px; + font-weight: 300; +} +.top-stat, .top-stat-label { + display: block; + color: #f7f7f7; + font-size: 20px; +} +.top-stat { + font-weight: 600; +} +.top-stat-label { + font-size: 16px; + font-weight: 300; +} +.big { + font-size: 75px; + color: #E0E1E6; + font-family: "Maven Pro", sans-serif; +} +.nohighlight a{ + color: white; +} + +.stats > .slide-container { + text-align: center; +} + + +#app-title { + background-color: #4BABBf; + color: white; +} + +.about-title { + border-bottom: 1px solid #eee; + margin-bottom: 18px; + +} +#about { + padding: 100px 0; +} +#about > .slide-container { + padding-bottom: 100px; + +} +.about { + padding: 0 15px; +} +.about-row { + padding: 15px 0; +} +.about-body { + padding: 0 30px; + color: #000 !important; +} +.about-body-subtitle { + font-size: 22px; + text-align: center; + font-weight: 200; + color: #777; +} + +#apps { + max-width: 900px; + margin: 0 auto; + height: auto; +} +.app { + padding: 0; + height: 160px; +} +.app-background { + position: absolute; + font-size: 70px; + width: 100%; + height: 100%; + color: #777; + font-weight: 100; + letter-spacing: 15px; + display: flex; + align-items: center; + justify-content: flex-end; +} + +.blurb { + font-weight: 200; + font-size: 14px; + letter-spacing: 1px; +} +.app-background-text { + padding-right: 20px; + text-align: right; + max-width: 55%; +} +.app-background-text-small { + font-size: 50px; +} +.app-content { + z-index: 2; +} + +.app-grid { + border: 1px solid #E5E5E5; + margin-top: -1px; + margin-bottom: 0; + margin-left: -1px; + min-height: 200px; + text-align: center; + display: table; +} + +.app-grid-content { + display: table-cell; + vertical-align: middle; + color: #4BABBf; + font-weight: 500; + font-size: 16px; +} + +.app-img { + height: 120px; + position: absolute; + border-radius: 4px; + left: 15px; + top: 15px; +} + +#api { + /* background-color: #D33A29;*/ +} +.api-title { + background-color: #fff; + height:200px; + width: 200px; + border-radius: 50%; + text-align: center; + display: table; + border: 11px solid #6bbe98; + color: #4BABBf; +} + +.big.apps { + color: #F5F5F5; +} +#apps { + padding-top: 150px; +} +#contact { + height: 1000px; + padding: 140px 0; +} +#contact-holder { + text-align: right; + color: #777; + border-bottom: 1px solid #eee; + margin-bottom: 18px; +} +.api-title > .big { + display: table-cell; + vertical-align: middle; + color: #6bbe98; +} + +.stat-caption { + z-index: 10; + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0,0,0,0.6); + position: absolute; + left: 20%; + right: 20%; + bottom: 20px; +} +.stat-caption > p { + font-size: 18px; +} +.stat-caption > h1 { + font-size: 45px; +} + +.attribution { + height: 25px; + width: 25px; + position: absolute; + text-align: center; + right: 0; + bottom: 0; + margin-right: 10px; + margin-bottom: 10px; + padding: 5px; + border: 1px solid #eee; + border-radius: 50%; + color: #eee; + z-index: 500; +} + +.stat { + background-repeat: no-repeat; + background-size: cover; +} +.stat-container { + height: 100%; +} + +.page-info { + color: #4bab7f; + font-size: 18px; + line-height: 28px; + font-weight: 200; +} +.page-info.donate { + color: #333; +} +.page-info > a { + color: #4bab7f; + font-weight: bold; +} +.person { + background-repeat: no-repeat; + background-size: cover; + height: 200px; + border-bottom: 10px solid #fff; +} +.row > .person:first-child { + border-right: 5px solid #fff; +} +.row > .person:last-child { + border-left: 5px solid #fff; +} +.person-info { + float: right; + color: white; + font-size: 19px; + bottom: 0; + font-weight: 200; + position: absolute; + right: 0; + text-align: right; + background-color: rgba(0,0,0,0.2); + letter-spacing: 1px; + padding-top: 10px; + padding-left: 10px; + border-radius: 3px; +} +n, n > a { + font-size: 25px; + font-weight: 200; + color: inherit; +} +n > a:hover { + color: inherit; + font-weight: bolder; +} +n > a { + color: white; +} +t { + font-weight: 400; +} +e { + font-size: 14px; + font-weight: 200; +} +#people { + height: auto; +} +#shanan { + background-image: url("../img/shanan.jpg"); +} +#shanan_wide { + background-image: url("../img/shanan_wide.jpg"); +} +#daven { + background-image: url("../img/daven.jpg"); +} +#evgeny { + background-image: url("../img/evgeny.jpg"); +} +#casey { + background-image: url("../img/casey.jpg"); +} +#afiqah { + background-image: url("../img/afiqah.jpg"); +} +#daniel { + background-image: url("../img/daniel.jpg"); +} +#shan { + background-image: url("../img/shan.jpg"); +} +#michael { + background-image: url("../img/michael.jpg"); +} +#ben { + background-image: url("../img/ben.jpg"); +} +#jon { + background-image: url("../img/jon.jpg"); + background-position-y: -45px; +} +#sharon { + background-image: url("../img/sharon.jpg"); + background-position-y: -45px; +} +#victoria { + background-image: url("../img/victoria.jpg"); +} +#john { + background-position: center; +} +#publications { + height: auto; + padding-top: 15%; + padding-bottom: 100px; +} +.pub-list { + counter-reset: pub-counter 70; + list-style: none; +} +.pub-list li { + counter-increment: pub-counter -1; + position: relative; + padding: 4px 0 20px 70px; +} +.pub-list li:before { + content: counter(pub-counter); + position: absolute; + left: 0; + top: -2px; + font-size: 35px; + color: #babdc8; +} + +#donate { + background-repeat: no-repeat; + background-size: cover; + background-image: url("../img/donate.jpg"); +} +#donate-row { + padding: 100px 0; + background-color: #fff; +} +.donate-container > h1 { + color: #fff; + text-align: center; + text-shadow: 0 1px 2px rgba(0,0,0,0.6); + font-size: 90px; + font-weight: 700; +} + +.page-info.donate { + background-color: rgba(255,255,255,0.7); + padding: 25px; + border-radius: 5px; +} +.burwell-title { + text-align: center; + color: #000000; +} +@media(max-width: 1200px), (min-width: 1200px) { + .snap-drawers { + display: none; + } + .main { + background-image: url("../img/cover_large.jpg"); + } + .north-america { + background-image: url("../img/north_america.jpg"); + } + .caribbean { + background-image: url("../img/caribbean_new.jpg"); + } + .new-zealand { + background-image: url("../img/new_zealand_new.jpg"); + } + .deep-sea { + background-image: url("../img/deep_sea_new.jpg"); + } + #john { + background-image: url("../img/john.jpg"); + } + #puneet { + background-image: url("../img/puneet.jpg"); + } + #noel { + background-image: url("../img/noel.jpg"); + background-position: 0 -35px, center; + } + #andrew { + background-image: url("../img/andrew.jpg"); + background-position: 0 -35px, center; + } + #erika { + background-image: url("../img/erika.jpg"); + } +} +@media(max-width: 992px) { + .snap-drawers { + display: none; + } + .main { + background-image: url("../img/cover_medium.jpg"); + } + .north-america { + background-image: url("../img/north_america_med.jpg"); + } + .caribbean { + background-image: url("../img/caribbean_new_medium.jpg"); + } + .new-zealand { + background-image: url("../img/new_zealand_new_medium.jpg"); + } + .deep-sea { + background-image: url("../img/deep_sea_new_medium.jpg"); + } + #john { + background-image: url("../img/john_med.jpg"); + } + #puneet { + background-image: url("../img/puneet_med.jpg"); + } + #noel { + background-image: url("../img/noel_med.jpg"); + background-position: 0 0; + } + #andrew { + background-image: url("../img/andrew_med.jpg"); + background-position: 0 0; + } + #erika { + background-image: url("../img/erika_med.jpg"); + } + #jon { + background-position: 0 0; + } + #donate { + background-image: url("../img/donate_medium.jpg"); + } + .donate-container > h1 { + font-size: 60px; + } +} +@media(max-width: 768px) { + .top-stat-col { + margin-top: 15px; + } + .logo { + margin-left: 10px; + } + .snap-drawers { + display: block; + } + .main { + /* background-image: url("../img/cover_small.jpg");*/ + } + .north-america { + background-image: url("../img/north_america_small.jpg"); + } + .caribbean { + background-image: url("../img/caribbean_new_small.jpg"); + } + .new-zealand { + background-image: url("../img/new_zealand_new_small.jpg"); + } + .deep-sea { + background-image: url("../img/deep_sea_new_small.jpg"); + } + .big { + font-size: 50px; + } + .title { + margin-top: 0; + margin-right: 1em; + } + .app-grid { + width: 100%; + } + #api { + height: 150%; + } + .api-title { + margin-left: 7%; + margin-bottom: 50px; + margin-top: 50px; + } + .stat-caption > h1 { + font-size: 42px; + } + .stat-caption > p { + font-size: 16px; + } + .person-info { + line-height: 17px; + } + n { + font-size: 14px; + } + t { + font-size: 15px; + } + e { + font-size: 10px; + } + #john { + background-image: url("../img/john_low.jpg"); + } + #noel { + background-image: url("../img/noel_low.jpg"); + } + #andrew { + background-image: url("../img/andrew_low.jpg"); + } + #donate { + background-image: url("../img/donate_small.jpg"); + } + #erika { + background-image: url("../img/erika_low.jpg"); + } + .funding { + display: block; + } + .funding-line { + display: block; + } + .stat-row { + height: 100%; + } + .stat { + height: 50%; + } + .donate-container > h1 { + font-size: 45px; + } + .page-info.donate { + font-size: 15px; + margin-bottom: 25px; + font-weight: 400; + } +} +@media(max-width: 450px) { + .row-eq-height { + display: block; + } + #donate-title-container { + position: relative; + margin-bottom: 15px; + } + .logo { + height: 40px; + padding-left: 10px; + padding-top: 7px; + } + .big { + font-size: 37px; + } + .col-xs-6 { + width: 100%; + } + .api-title { + margin-left: 21%; + } + .pub-list { + margin-left: -35px; + } + .slide-content-padded { + padding: 0; + } + .pub-list li:before { + font-size: 25px; + } + .app-img { + height: 80px; + } + .app-background-text { + font-size: 25px; + letter-spacing: 10px; + } + + .person { + border: 5px solid #fff; + } + .footer .col-sm-4 { + padding: 25px 0; + } + .about-body-subtitle { + font-size: 25px; + font-weight: 400; + } + #app-title { + height: 250px; + display: flex; + justify-content: flex-start; + align-items: center; + } + +} From b00b659492284ab73b3135633c9dd4839752b2f7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 30 May 2024 12:12:04 -0400 Subject: [PATCH 004/151] added borders --- src/pages/test/+Page.mdx | 308 +++++++++++++++++++-------------------- src/pages/test/main.styl | 66 +++++++-- 2 files changed, 205 insertions(+), 169 deletions(-) diff --git a/src/pages/test/+Page.mdx b/src/pages/test/+Page.mdx index 846cf8ea..7fb9d6bf 100644 --- a/src/pages/test/+Page.mdx +++ b/src/pages/test/+Page.mdx @@ -2,162 +2,164 @@ import { PageHeader } from "~/components"; import { LinkCard } from "~/components/cards"; import "./main.styl"; -
-
- [//]: # "Nav Bar" - +[//]: # "Nav Bar" + - [//]: # "Start Page" -
-
-

Macrostrat

-

A platform for geological data exploration, integration, and analysis

- -
- -
-
    -
  • - 1,400 - Regional Rock Columns -
  • -
  • - 33,903 - Rock Units -
  • -
  • - 2,500,000 - Geologic Map Polygons -
  • -
  • - 51,212 - Stratigraphic Names -
  • -
-
-
+[//]: # "Start Page" +
+
+

Macrostrat

+

A platform for geological data exploration, integration, and analysis

+ +
+ +
+
    +
  • + 1,400 + Regional Rock Columns +
  • +
  • + 33,903 + Rock Units +
  • +
  • + 2,500,000 + Geologic Map Polygons +
  • +
  • + 51,212 + Stratigraphic Names +
  • +
+
+
- [//]: # "Locations" -
-
-

North America

\ -
7,239 packages. 24,141 units. 48,696 collections.
-
-
-

Caribbean

\ -
243 packages. 798 units. 897 collections.
-
-
-

New Zealand

\ -
828 packages. 2,168 units. 328 collections.
-
-
-

Deep Sea

\ -
388 packages. 7,124 units. 0 collections.
-
-
+[//]: # "Locations" +
+
+

North America

\ +
7,239 packages. 24,141 units. 48,696 collections.
+
+
+

Caribbean

\ +
243 packages. 798 units. 897 collections.
+
+
+

New Zealand

\ +
828 packages. 2,168 units. 328 collections.
+
+
+

Deep Sea

\ +
388 packages. 7,124 units. 0 collections.
+
+
- [//]: # "Geological Maps" -

Geologic Maps

-
- With over 225 maps from data providers around the world across every scale, Macrostrat is the world's largest homogenized geologic map database. Our data processing pipeline links geologic map polygons to Macrostrat column polygons, external stratigraphic name lexicons, and geochronological intervals, enabling the enhancement of the original map data and allowing for direct links into xDD (formly GeoDeepDive). - \ - \ - Are you affiliated with a state or national geologic survey? Get in touch with us - we'd love to collaborate and help publicize your maps! - \ - \ - Get started by exploring the map or taking a look at which maps are currently a part of Macrostrat. -
- - [//]: # "About" -
-
-
-
-
-
-

About

-
-
-
-
-
- Summary -
-
- Macrostrat is a platform for the aggregation and distribution of geological data relevant to the spatial and temporal distribution of sedimentary, igneous, and metamorphic rocks as well as data extracted from them. It is linked to the xDD (formly GeoDeepDive) digital library and machine reading system, and it aims to become a community resource for the addition, editing, and distribution of new stratigraphic, lithological, environmental, and economic data. Interactive applications built upon Macrostrat are designed for educational and research purposes. -
-
+[//]: # "Geological Maps" +
+

Geologic Maps

+
+ With over 225 maps from data providers around the world across every scale, Macrostrat is the world's largest homogenized geologic map database. Our data processing pipeline links geologic map polygons to Macrostrat column polygons, external stratigraphic name lexicons, and geochronological intervals, enabling the enhancement of the original map data and allowing for direct links into xDD (formly GeoDeepDive). + \ + \ + Are you affiliated with a state or national geologic survey? Get in touch with us - we'd love to collaborate and help publicize your maps! + \ + \ + Get started by exploring the map or taking a look at which maps are currently a part of Macrostrat. +
+
-
-
- License -
-
- All data are provided under a Creative Commons Attribution 4.0 International license (CC-BY-4.0). -
+
+ +[//]: # "About" +
+
+
+
+
+
+

About

+
+
+
+
+ Summary +
+
+ Macrostrat is a platform for the aggregation and distribution of geological data relevant to the spatial and temporal distribution of sedimentary, igneous, and metamorphic rocks as well as data extracted from them. It is linked to the xDD (formly GeoDeepDive) digital library and machine reading system, and it aims to become a community resource for the addition, editing, and distribution of new stratigraphic, lithological, environmental, and economic data. Interactive applications built upon Macrostrat are designed for educational and research purposes. +
+
-
-
- Citation -
-
- In presentations: Acknowledge Macrostrat by name. You may also include any of the Macrostrat logos accessible on this webpage. - \ - \ - In publications: Acknowledge Macrostrat as the source of any information or data. In publications, you may cite our most recent infrastructure paper, Peters et al. (2018). In addition, you should also include citations to the original references associated with the data set that was used. These references are accessible from the API. If you would like your paper listed in the official publications, please contact us and we will provide a citation and link. -
-
+
+
+ License +
+
+ All data are provided under a Creative Commons Attribution 4.0 International license (CC-BY-4.0). +
+
-
-
- Collaboration -
-
- Our small team has worked hard to compile, format, and make data available via Macrostrat. We strongly encourage and welcome active collaborations, both scientific and geoinformatic. All data are provided freely on under a CC-BY-4.0 license. -
-
+
+
+ Citation +
+
+ In presentations: Acknowledge Macrostrat by name. You may also include any of the Macrostrat logos accessible on this webpage. + \ + \ + In publications: Acknowledge Macrostrat as the source of any information or data. In publications, you may cite our most recent infrastructure paper, Peters et al. (2018). In addition, you should also include citations to the original references associated with the data set that was used. These references are accessible from the API. If you would like your paper listed in the official publications, please contact us and we will provide a citation and link. +
+
-
-
- Funding -
-
- Major Macrostrat data infrastructure development was supported by the US National Science Foundation (EAR-1150082, ICER-1440312), with ongoing support for data acquisition supported by NSF EAR-1948843 and ICER-1928323. Continuous and ongoing support has also been provided by the UW-Madison Department of Geoscience. If you use Macrostrat and like what we do, please consider helping out with a donation. Every contribute helps us to maintain infrastructure and keep improving. -
-
+
+
+ Collaboration +
+
+ Our small team has worked hard to compile, format, and make data available via Macrostrat. We strongly encourage and welcome active collaborations, both scientific and geoinformatic. All data are provided freely on under a CC-BY-4.0 license.
-
+
+
+ Funding +
+
+ Major Macrostrat data infrastructure development was supported by the US National Science Foundation (EAR-1150082, ICER-1440312), with ongoing support for data acquisition supported by NSF EAR-1948843 and ICER-1928323. Continuous and ongoing support has also been provided by the UW-Madison Department of Geoscience. If you use Macrostrat and like what we do, please consider helping out with a donation. Every contribute helps us to maintain infrastructure and keep improving. +
+
+
+
+ +[//]: # "Built With Macrostrat"
-

Built with Macrostrat

+

Built with Macrostrat

@@ -239,6 +241,9 @@ import "./main.styl";
+
+ + [//]: # "API"
@@ -258,8 +263,9 @@ import "./main.styl";
+
- [//]: # "About" + [//]: # "People"
@@ -402,25 +408,11 @@ import "./main.styl";
[//]: # "Donate" -