diff --git a/packages/viewer/package.json b/packages/viewer/package.json index 4fcda5bb..3d44afa8 100644 --- a/packages/viewer/package.json +++ b/packages/viewer/package.json @@ -32,6 +32,7 @@ "hast-to-hyperscript": "^10.0.3", "hyperscript": "^2.0.2", "jquery": "^3.7.1", + "markdown-it": "^14.2.0", "rehype-katex": "^6.0.3", "remark-rehype": "^10.1.0", "unified": "^10.1.2", @@ -46,6 +47,7 @@ "@types/debug": "^4.1.12", "@types/hyperscript": "0.0.7", "@types/katex": "^0.16.7", + "@types/markdown-it": "^14.1.2", "@types/page": "^1.11.9", "@types/unist": "^2.0.10", "cypress": "^14.3.2", diff --git a/packages/viewer/src/components/Footer.svelte b/packages/viewer/src/components/Footer.svelte index 63f84523..d6eeaf41 100644 --- a/packages/viewer/src/components/Footer.svelte +++ b/packages/viewer/src/components/Footer.svelte @@ -1,20 +1,24 @@ + + diff --git a/packages/viewer/src/components/Home.svelte b/packages/viewer/src/components/Home.svelte index 74560233..ee4e75f7 100644 --- a/packages/viewer/src/components/Home.svelte +++ b/packages/viewer/src/components/Home.svelte @@ -1,126 +1,48 @@
-

π-Base

-

a community database of topological counterexamples

-
-

- ➜ Search spaces by name/description: - compactifications -

-

- ➜ Search spaces by properties: - non-metric continua -

-

- ➜ Find counterexamples: - connected spaces need not be path connected -

+

π-Base: {categoryConfig.subject}

+

{categoryConfig.slogan}

+
+ {#each categoryConfig.calloutFeatures as feature} +

+ ➜ {@html md.renderInline(feature)} +

+ {/each}
-
-

- Topology is a dense forest of counterexamples. A usable map of the forest - is a fine thing. -

-
- Paraphrased from Mary Ellen Rudin's review of - Counterexamples in Topology -
-

- - Dedicated to the memory of our friend and mentor Gary Gruenhage - (1947-2023). - -

-
-
-

Contributing

-

- π-Base's data and software are open-sourced on GitHub. We rely on - volunteers like yourself - to contribute new spaces, properties, and theorems. -

-

About Us

-

- The π-Base was founded in 2014 by its lead maintainer - James Dabbs. π-Base's lead - mathematical editor and contributing research software engineer - Steven Clontz - joined the project in 2017. -

-

Community

-

- The π-Base is part of the - code4math - community. Join the conversation on either the - code4math Zulip - or the - - π-Base GitHub Discussion board. -

-

- More databases may be discovered at the - Index of Mathematical DataBases. -

-

Special Acknowledgements

-

- Many people have contributed to this project, but a few individuals and - organizations deserve particular recognition: -

- + {#if categoryConfig.acknowledgement} +
+

+ {categoryConfig.acknowledgement.quote} +

+
+ {categoryConfig.acknowledgement.footer} +
+

+ + {categoryConfig.acknowledgement.dedication} + +

+
+
+ {/if} + {@html md.render(categoryConfig.homeContent)}
+ + diff --git a/packages/viewer/src/components/Nav.svelte b/packages/viewer/src/components/Nav.svelte index 7ab55cba..627c336d 100644 --- a/packages/viewer/src/components/Nav.svelte +++ b/packages/viewer/src/components/Nav.svelte @@ -1,7 +1,7 @@
Cite as: - The pi-Base Community. - {title}. + The π-Base Community. + {categoryConfig.citeTitle}. Available at: {$page.url} (Accessed: {new Date().toISOString().split('T')[0]}). diff --git a/packages/viewer/src/components/Shared/References.svelte b/packages/viewer/src/components/Shared/References.svelte index 91318f16..da01cd96 100644 --- a/packages/viewer/src/components/Shared/References.svelte +++ b/packages/viewer/src/components/Shared/References.svelte @@ -1,7 +1,7 @@ @@ -14,7 +14,7 @@ {:else}
  • No references available. If appropriate, please consider contributingcontributing a reference.
  • {/each} diff --git a/packages/viewer/src/components/Theorems/Converse.svelte b/packages/viewer/src/components/Theorems/Converse.svelte index 8f346d39..1ec33aa2 100644 --- a/packages/viewer/src/components/Theorems/Converse.svelte +++ b/packages/viewer/src/components/Theorems/Converse.svelte @@ -1,6 +1,6 @@