Skip to content

Instantly share code, notes, and snippets.

View jbouder's full-sized avatar

Johnny Bouder jbouder

View GitHub Profile
@jbouder
jbouder / nebari-branding.txt
Last active July 24, 2026 17:40
Nebari Branding
# Nebari Branding
Per-deployment branding. All Helm snippets are ArgoCD `Application` patches — merge the
`spec.source.helm.values` block into the app manifest under `apps/apps/<app>.yaml`.
Images can be absolute `http(s)` URLs, root-relative paths, or base64 `data:` URIs
(`data:image/png;base64,...`). The pack frontends sanitize these: `javascript:`,
`data:text/html`, and non-base64 `data:` URIs are rejected.
## Keycloak
// some-component.tsx
import React, { useEffect, useState } from 'react'(
import useDocumentApi from '../../hooks/useDocumentApi';
import useAuth from '../../hooks/useAuth';
export const SomeComponent = (): React.ReactElement => {
const { loading, documents } = useDocumentApi();
const { isSignedIn } = useAuth();
const [data, setData] = useState<TableData[]>();
// some-component.tsx
import React, { useEffect, useState } from 'react'(
import useDocumentApi from '../../hooks/useDocumentApi';
import useAuth from '../../hooks/useAuth';
export const SomeComponent = (): React.ReactElement => {
const { getDocuments, loading, documents } = useDocumentApi();
const { isSignedIn } = useAuth();
const [data, setData] = useState<TableData[]>();