Skip to content

Commit

Permalink
docs(website): add star/download + news
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Nov 15, 2023
1 parent e533873 commit 09bf854
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/vitepress/.vitepress/theme/MyLayout.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--.vitepress/theme/MyLayout.vue-->
<script setup>
import DefaultTheme from 'vitepress/theme'
import GithubButton from 'vue-github-button'
const { Layout } = DefaultTheme
</script>
Expand All @@ -18,6 +19,16 @@ const { Layout } = DefaultTheme
>
</iframe>
</template>
<template #nav-bar-content-after>
<github-button
style="margin: 5px 1rem 0 1rem;"
href="https://github.com/kitware/trame"
data-icon="octicon-star"
data-show-count="false"
aria-label="Star kitware/trame on GitHub"
/>
<img src="https://img.shields.io/pypi/dm/trame" />
</template>
</Layout>
</template>

Expand All @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions docs/vitepress/examples/apps/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<iframe src="https://www.linkedin.com/embed/feed/update/urn:li:ugcPost:7093253518769201153" height="997" width="504" frameborder="0" allowfullscreen="" title="Embedded post"></iframe>
4 changes: 4 additions & 0 deletions docs/vitepress/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<iframe src="https://www.linkedin.com/embed/feed/update/urn:li:ugcPost:7093253518769201153" height="997" width="504" frameborder="0" allowfullscreen="" title="Embedded post"></iframe>

## December 5, 2022

**Interactive Web-based 3D Visualization of large scientific datasets using Azure Batch**
Expand Down
18 changes: 17 additions & 1 deletion docs/vitepress/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/vitepress/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"devDependencies": {
"vue-github-button": "3.1.0",
"vitepress": "^1.0.0-rc.13"
},
"scripts": {
Expand Down

0 comments on commit 09bf854

Please sign in to comment.