diff --git a/observablehq.config.js b/observablehq.config.js index 3a9f0ed..5029e00 100644 --- a/observablehq.config.js +++ b/observablehq.config.js @@ -17,17 +17,17 @@ export default { // ], // Content to add to the head of the page, e.g. for a favicon: - head: '', + head: '', // The path to the source root. root: "src", // Some additional configuration options and their defaults: - // theme: "default", // try "light", "dark", "slate", etc. + theme: "cotton", // try "light", "dark", "slate", etc. // header: "", // what to show in the header (HTML) - // footer: "Built with Observable.", // what to show in the footer (HTML) - // sidebar: true, // whether to show the sidebar - // toc: true, // whether to show the table of contents + footer: 'A case study by Hubblo.', // what to show in the footer (HTML) + sidebar: false, // whether to show the sidebar + toc: true, // whether to show the table of contents // pager: true, // whether to show previous & next links in the footer // output: "dist", // path to the output root for build // search: true, // activate search diff --git a/src/data/prepare.py b/src/data/prepare.py index 5f92592..923e0b9 100644 --- a/src/data/prepare.py +++ b/src/data/prepare.py @@ -155,21 +155,3 @@ def main(): if __name__ == '__main__': main() - -#for src_file in ["storage_1.csv", "storage_2.csv"]: -# if exists(src_file): -# with open(src_file, "r") as fs_sto: -# for l in fs_sto.readlines(): -# if l.startswith("Service Type"): -# -# if "GWP" in l: -# cols = l.split(",") -# impact_criterias = cols[1:] -# else: -# if l.startswith("Tier") or l.startswith("Total"): -# cols = l.split(",") -# tier = cols[0] -# values = cols[1:] -# -# # use_case,tier_1,tier_2,tier_3,total -# # storage diff --git a/src/favicon_hubblo.png b/src/favicon_hubblo.png new file mode 100644 index 0000000..9daa9ea Binary files /dev/null and b/src/favicon_hubblo.png differ diff --git a/src/index.md b/src/index.md index c7620c8..8393877 100644 --- a/src/index.md +++ b/src/index.md @@ -19,7 +19,7 @@ toc: false font-size: 14vw; font-weight: 900; line-height: 1; - background: linear-gradient(30deg, var(--theme-foreground-focus), currentColor); + background: linear-gradient(30deg, var(--theme-foreground-muted), currentColor); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; @@ -37,7 +37,7 @@ toc: false @media (min-width: 640px) { .hero h1 { - font-size: 90px; + font-size: 70px; } } @@ -81,33 +81,3 @@ const fx = view(Inputs.select(["dc_location", "tier"], {value: "dc_location", la }))} - ---- - -## Next steps - -Here are some ideas of things you could try… - -
-
- Chart your own data using Plot and FileAttachment. Make it responsive using resize. -
-
- Create a new page by adding a Markdown file (whatever.md) to the src folder. -
-
- Add a drop-down menu using Inputs.select and use it to filter the data shown in a chart. -
-
- Write a data loader that queries a local database or API, generating a data snapshot on build. -
-
- Import a recommended library from npm, such as Leaflet, GraphViz, TeX, or DuckDB. -
-
- Ask for help, or share your work or ideas, on the Observable forum. -
-
- Visit Framework on GitHub and give us a star. Or file an issue if you’ve found a bug! -
-