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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<div align="center">

<a href="https://zeroauth.dev">
<img src="public/favicon.svg" width="80" alt="ZeroAuth" />
<picture>
<source media="(prefers-color-scheme: dark)" srcset="public/zeroauth-mark-dark.svg">
<img src="public/zeroauth-mark.svg" width="96" alt="ZeroAuth" />
</picture>
Comment thread
pulkitpareek18 marked this conversation as resolved.
</a>

<h1>ZeroAuth</h1>
Expand Down
101 changes: 101 additions & 0 deletions dashboard/public/zeroauth-mark-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions dashboard/public/zeroauth-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions dashboard/src/components/layout/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
return <EnvContext.Provider value={value}>{children}</EnvContext.Provider>;
}

export function useEnvironment(): EnvCtx {

Check warning on line 38 in dashboard/src/components/layout/AppShell.tsx

View workflow job for this annotation

GitHub Actions / validate

Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
const ctx = useContext(EnvContext);
if (!ctx) throw new Error('useEnvironment must be used inside <EnvironmentProvider>');
return ctx;
Expand Down Expand Up @@ -92,11 +92,7 @@
)}
>
<div className="flex h-14 items-center gap-2 border-b border-[var(--color-border-subtle)] px-4">
<div className="grid size-7 place-items-center rounded-md bg-gradient-to-br from-[var(--color-brand)] to-[var(--color-brand-dark)] text-white">
<svg viewBox="0 0 24 24" width={16} height={16} fill="none">
<path d="M7.25 7.75H16.75L7.25 16.25H16.75" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
</svg>
</div>
<img src="/zeroauth-mark-dark.svg" alt="" aria-hidden="true" className="size-7" />
<div>
<div className="text-sm font-semibold leading-none">ZeroAuth</div>
<div className="mt-0.5 text-[10px] text-[var(--color-text-dim)]">Developer console</div>
Expand Down
Loading
Loading