Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b02ce09
some groups
lazarusA Feb 8, 2026
8aba485
table
lazarusA Feb 8, 2026
9fa64e4
vara
lazarusA Feb 8, 2026
7b03776
errg
lazarusA Feb 8, 2026
6eb9bf7
display
lazarusA Feb 8, 2026
27adb26
null
lazarusA Feb 8, 2026
a2c50d5
debug
lazarusA Feb 9, 2026
2690ef0
more vara
lazarusA Feb 9, 2026
877cf41
decode
lazarusA Feb 9, 2026
9075202
check deflate
lazarusA Feb 9, 2026
3937d34
cleanup groups
lazarusA Feb 12, 2026
efec208
more cleanup
lazarusA Feb 12, 2026
644f891
sync docs
lazarusA Feb 12, 2026
085bb4c
fix text decoder
lazarusA Feb 12, 2026
622fa00
rename
lazarusA Feb 12, 2026
d21b093
align with official API
lazarusA Feb 12, 2026
29f017e
support all supported data types
lazarusA Feb 13, 2026
60a1586
DataTree
lazarusA Feb 13, 2026
2659a33
UI DataTree
lazarusA Feb 13, 2026
fb24d6a
pointers
lazarusA Feb 13, 2026
5c64926
var badge
lazarusA Feb 13, 2026
d950984
search
lazarusA Feb 13, 2026
6f37b5c
moves
lazarusA Feb 14, 2026
23931f4
do less
lazarusA Feb 14, 2026
d4a945b
mobile
lazarusA Feb 14, 2026
8a9db95
drop
lazarusA Feb 14, 2026
0cfe47d
o one
lazarusA Feb 14, 2026
3085e2f
y spaces
lazarusA Feb 14, 2026
a7f7b94
rrr
lazarusA Feb 14, 2026
4a81c56
c
lazarusA Feb 14, 2026
6a346c7
chevron
lazarusA Feb 14, 2026
9571177
slices
lazarusA Feb 14, 2026
fc3d90b
fix spinner
lazarusA Feb 14, 2026
23b63ce
nav
lazarusA Feb 14, 2026
a2aea1a
useCallback
lazarusA Feb 14, 2026
7fe652e
rm symbols flag
lazarusA Feb 14, 2026
b44863a
validate
lazarusA Feb 14, 2026
c5b3bda
refactor getVariableArray
lazarusA Feb 14, 2026
c2721d8
fix break
lazarusA Feb 14, 2026
96bd2ab
more types
lazarusA Feb 14, 2026
59b30a2
build again
lazarusA Feb 15, 2026
6698f22
up ems
lazarusA Feb 15, 2026
348d687
bump to v0.2.0
lazarusA Feb 15, 2026
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
40 changes: 32 additions & 8 deletions docs/next-js/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import Image from "next/image";
import LocalNetCDFMeta from "@/components/loading/LocalNetCDFMeta";
import GithubButton from "@/components/loading/GitHubButton";
import TopNav from "@/components/loading/TopNav";

export default function Home() {
return (
<div className="flex min-h-screen items-center justify-center bg-zinc-50 font-sans dark:bg-black">
<main className="flex min-h-screen w-full max-w-8xl flex-col items-center justify-center py-16 px-8 bg-white dark:bg-black">
{/* Images side by side with + */}
<div className="flex min-h-screen flex-col bg-zinc-50 font-sans dark:bg-black">
<TopNav />
<main className="flex flex-1 w-full max-w-8xl flex-col items-center justify-center py-24 px-8 bg-white dark:bg-black mx-auto">
{/* Images side by side */}
<div className="flex items-center gap-4 mb-8">
<Image
src="./logo.svg"
Expand All @@ -19,11 +21,33 @@ export default function Home() {
</span>
</div>
<LocalNetCDFMeta />

<div className="fixed top-4 right-16 z-50 flex items-center gap-2">
<GithubButton />
</div>
</main>
<footer className="py-6 text-center text-sm bg-[color:var(--card)] text-[color:var(--muted-foreground)] dark:bg-[color:var(--card)] dark:text-[color:var(--muted-foreground)]">
<p>
Released under the{" "}
<a
href="https://github.com/EarthyScience/netcdf4-wasm?tab=MIT-1-ov-file#readme"
target="_blank"
rel="noopener noreferrer"
className="text-[color:var(--accent-foreground)] hover:text-[#644FF0] transition-colors"
>
MIT License
</a>
.
</p>
<p>
Copyright © {new Date().getFullYear()}{" "}
<a
href="https://lazarusa.github.io/"
target="_blank"
rel="noopener noreferrer"
className="text-[color:var(--accent-foreground)] hover:text-[#644FF0] transition-colors"
>
Lazaro Alonso
</a>
</p>
</footer>

</div>
);
}
54 changes: 30 additions & 24 deletions docs/next-js/components/loading/BrowzarrCTA.tsx
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
import React from 'react';
import Link from 'next/link';
import { Button } from '@/components/ui/button';
import React from "react";
import Link from "next/link";
import { Button } from "@/components/ui/button";
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from "@/components/ui/tooltip";

interface BrowzarrCTAProps {
message?: string;
buttonText?: string;
className?: string;
}

export default function BrowzarrCTA({
export default function BrowzarrCTA({
message = "Reading is just the beginning. Explore your data!",
buttonText = "Try browzarr.io",
className = ""
}: BrowzarrCTAProps) {
return (
<div className={`flex flex-col items-center gap-3 p-4 ${className}`}>
<p className="text-center text-sm text-gray-600 dark:text-gray-400">
{message}
</p>
<Link
aria-label="browzarr.io"
href="https://browzarr.io/"
target="_blank"
rel="noopener noreferrer"
>
<Button
size="sm"
className="bg-gradient-to-tr from-pink-500 to-yellow-500 text-white shadow-lg hover:shadow-xl transition-shadow cursor-pointer"
>
{buttonText}
</Button>
</Link>
</div>
<Tooltip>
<TooltipTrigger asChild>
<Link
aria-label="browzarr.io"
href="https://browzarr.io/"
target="_blank"
rel="noopener noreferrer"
>
<Button
size="sm"
className="bg-gradient-to-tr from-pink-500 to-yellow-500 text-white shadow-lg hover:shadow-xl transition-shadow hover:scale-95 transition-transform duration-100 ease-out cursor-pointer"
>
{buttonText}
</Button>
</Link>
</TooltipTrigger>

<TooltipContent className="max-w-xs" align="end">
{message}
</TooltipContent>
</Tooltip>
);
}
13 changes: 11 additions & 2 deletions docs/next-js/components/loading/GitHubButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,17 @@ export default function GithubButton() {
<Tooltip delayDuration={500}>
<TooltipTrigger asChild>
<Link href="https://github.com/EarthyScience/netcdf4-wasm" aria-label="github" target="_blank" rel="noopener noreferrer">
<Button variant="ghost" size="icon" className="cursor-pointer hover:scale-95 transition-transform duration-100 ease-out">
<FaGithub className="size-6"/> Give us a Star
<Button
variant="ghost"
className="
hover:scale-95 transition-transform duration-100 ease-out
hover:bg-transparent active:bg-transparent
focus:bg-transparent focus-visible:ring-0
cursor-pointer
"
>
<FaGithub className="size-6" />
Give us a Star
</Button>
</Link>
</TooltipTrigger>
Expand Down
Loading