Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy main docs → gh-pages/docs

on:
push:
branches: [main]
workflow_dispatch:

permissions: write-all

concurrency:
group: pages
cancel-in-progress: false

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"

- name: Install dependencies
working-directory: docs
run: npm install

- name: Build docs site
working-directory: docs
env:
NUXT_APP_BASE_URL: "/docs/"
run: npm run build

- name: Deploying docs 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.output/public
target-folder: docs
clean: false
25 changes: 24 additions & 1 deletion docs/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,27 @@

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-lg { width: 32px; height: 32px; }

.star-halo-wrapper {
display: inline-block;
animation: star-wiggle 1.8s ease-in-out infinite;
}

@keyframes star-wiggle {
0% {
transform: rotate(0deg) scale(1);
}
25% {
transform: rotate(-4deg) scale(1.1);
}
50% {
transform: rotate(4deg) scale(1.1);
}
75% {
transform: rotate(-2deg) scale(1.05);
}
100% {
transform: rotate(0deg) scale(1);
}
}
8 changes: 4 additions & 4 deletions docs/content/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
seo:
title: Browzarr
title: browzarr.io
description: A powerful, browser-native framework for visualizing, exploring, and analyzing Zarr data stores.
---

Expand All @@ -9,9 +9,9 @@ seo:
Browzarr

#description
A powerful, browser-native framework for visualizing, exploring, and analyzing Zarr data stores.
A powerful, browser-native framework for exploring and analyzing Zarr and NetCDF datasets.

Load multi-dimensional datasets directly in the browser, interactively slice and inspect chunks, and gain insights without any backend or server setup.
Load multi-dimensional datasets in the browser, slice and inspect data interactively, and gain insights without any backend or server setup.

#links
:::u-button
Expand All @@ -32,7 +32,7 @@ Landing
to: https://github.com/EarthyScience/Browzarr
variant: outline
---
Star on GitHub
Give us a Star :icon{name="i-ph-star-fill" class="icon-md star-halo-wrapper" style="color: #f59e0b"}
:::

:::u-button
Expand Down
2 changes: 1 addition & 1 deletion docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineNuxtConfig({
css: ['~/assets/css/main.css'],

site: {
name: 'browzarr.io'
name: 'docs'
},

// Disable server-only modules
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"dependencies": {
"@nuxt/content": "^3.9.0",
"@nuxt/eslint": "^1.12.1",
"@nuxt/hints": "^1.0.0-alpha.3",
"@nuxt/hints": "1.0.0-alpha.5",
"@nuxt/image": "^2.0.0",
"@nuxt/scripts": "^0.13.1",
"@nuxt/test-utils": "^3.21.0",
"@nuxt/ui": "^4.2.1",
"@nuxt/ui": "4.3.0",
"@unhead/vue": "^2.0.19",
"better-sqlite3": "^12.2.0",
"docus": "latest",
"eslint": "^9.39.2",
"nuxt": "^4.1.2",
"nuxt": "4.2.2",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3"
}
Expand Down
Loading