From 09bf85451e0c4362f9c3a0d76d4a3ad3101e4126 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Tue, 14 Nov 2023 22:32:53 -0700 Subject: [PATCH] docs(website): add star/download + news --- docs/vitepress/.vitepress/theme/MyLayout.vue | 12 ++++++++++++ docs/vitepress/examples/apps/community.md | 4 ++++ docs/vitepress/news.md | 4 ++++ docs/vitepress/package-lock.json | 18 +++++++++++++++++- docs/vitepress/package.json | 1 + 5 files changed, 38 insertions(+), 1 deletion(-) diff --git a/docs/vitepress/.vitepress/theme/MyLayout.vue b/docs/vitepress/.vitepress/theme/MyLayout.vue index 127cc433..c2267334 100644 --- a/docs/vitepress/.vitepress/theme/MyLayout.vue +++ b/docs/vitepress/.vitepress/theme/MyLayout.vue @@ -1,6 +1,7 @@ @@ -18,6 +19,16 @@ const { Layout } = DefaultTheme > + @@ -27,6 +38,7 @@ const { Layout } = DefaultTheme padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px; height: 300px; } + @media (min-width: 640px) { .hero-video { height: 400px; diff --git a/docs/vitepress/examples/apps/community.md b/docs/vitepress/examples/apps/community.md index 67de997a..54bdd52d 100644 --- a/docs/vitepress/examples/apps/community.md +++ b/docs/vitepress/examples/apps/community.md @@ -19,3 +19,7 @@ The key features are: - Extendable: Currently support .out (UppASD), Non-binary .ovf (Mumax3, OOMMF, Spirit), and .data (Vampire) output files and can easily extend to other magnetic simulation code. - Shareable: Take snapshoot, rendering a trajectory video, make a portable interactive HTML file with only one click! - Community support: Open-source (GPL V3) and free to use, based on Python, Pandas, Numpy, Scipy, Trame, and Pyvista. + +## AI/Medical application + + diff --git a/docs/vitepress/news.md b/docs/vitepress/news.md index ded62f9f..d45d724e 100644 --- a/docs/vitepress/news.md +++ b/docs/vitepress/news.md @@ -51,6 +51,10 @@ While documentation is an ongoing process. I'm excited of the new trame website [![Trame website](/assets/images/news/trame-website.jpg)](https://www.linkedin.com/posts/sebastienjourdain_trame-activity-7110432344230002688-NooO?utm_source=share&utm_medium=member_desktop) +## August 2023 + + + ## December 5, 2022 **Interactive Web-based 3D Visualization of large scientific datasets using Azure Batch** diff --git a/docs/vitepress/package-lock.json b/docs/vitepress/package-lock.json index 914219bf..0ddbca78 100644 --- a/docs/vitepress/package-lock.json +++ b/docs/vitepress/package-lock.json @@ -5,7 +5,8 @@ "packages": { "": { "devDependencies": { - "vitepress": "^1.0.0-rc.13" + "vitepress": "^1.0.0-rc.13", + "vue-github-button": "3.1.0" } }, "node_modules/@algolia/autocomplete-core": { @@ -1004,6 +1005,12 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, + "node_modules/github-buttons": { + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/github-buttons/-/github-buttons-2.27.0.tgz", + "integrity": "sha512-PmfRMI2Rttg/2jDfKBeSl621sEznrsKF019SuoLdoNlO7qRUZaOyEI5Li4uW+79pVqnDtKfIEVuHTIJ5lgy64w==", + "dev": true + }, "node_modules/jsonc-parser": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", @@ -1247,6 +1254,15 @@ "@vue/server-renderer": "3.3.4", "@vue/shared": "3.3.4" } + }, + "node_modules/vue-github-button": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vue-github-button/-/vue-github-button-3.1.0.tgz", + "integrity": "sha512-S69NFalucetUW4AjMkLlHY/fgTWu6LEGEtehMewXRNLnjODhDvJj4lwt0u0BSPXLTDB+PLk1tWlwx3pw+ItLgQ==", + "dev": true, + "dependencies": { + "github-buttons": "^2.22.0" + } } } } diff --git a/docs/vitepress/package.json b/docs/vitepress/package.json index 3782fd94..f2fbc020 100644 --- a/docs/vitepress/package.json +++ b/docs/vitepress/package.json @@ -1,5 +1,6 @@ { "devDependencies": { + "vue-github-button": "3.1.0", "vitepress": "^1.0.0-rc.13" }, "scripts": {