mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-30 18:12:27 +00:00
Match the layout convention used elsewhere in the Hanzo / Liquidity stack
(pkgs/* for libraries, apps/* for consumer apps, templates/* for starters).
Layout changes:
pkgs/ ← code/{compiler,core,packages,ui,ui-admin}/
apps/ ← code/{admin-base,admin-tasks,demos,gui.hanzo.ai,
kitchen-sink*,sandbox,tests}/
templates/ ← code/starters/* (flattened — no more starters/ subdir)
Updated:
- package.json workspaces glob.
- All scripts/* path references (postinstall, format, repair, release,
sync-gui-versions, ci-serve, check-references, etc).
- ../../tasks/scripts/sync-admin-ui.sh — DEFAULT_SRC now points at
../gui/apps/admin-tasks (and scrubbed Tamagui mentions in comments).
- ~/work/hanzo/HANZO_BINARY.md doctrine doc.
- ~/work/hanzo/ui/pkg/ui/BASES.md framework-bases doc.
- gui CLAUDE.md, CONTRIBUTING.md.
- Memory entries.
Side-effect fix: ui-admin/src/primitives/index.ts now re-exports
PageShell from ../shell/PageShell. Several IAM identity pages
(GroupEdit, OrgEdit, GroupTree, UserEdit, RoleEdit) imported PageShell
from ./primitives — pre-existing barrel mismatch the test suite missed
because the smoke tests don't full-render. The rename surfaced it via
production build; back-compat re-export keeps both barrels working.
Verification:
- bun install: clean.
- ui-admin tests: 127/127 green.
- admin-tasks vite build: 721 KB JS / 213 KB gzip + 10 KB CSS, clean.
18 lines
2.1 KiB
TypeScript
18 lines
2.1 KiB
TypeScript
export const DiscordIcon = ({ plain, ...props }: any) => (
|
|
<svg
|
|
width="34"
|
|
height="34"
|
|
viewBox="0 0 30 31"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M20.3899 23.9519C21.1526 24.8925 22.0678 25.9858 22.0678 25.9858C27.391 25.8172 29.5878 22.5222 29.8042 22.1977C29.8162 22.1797 29.8221 22.1709 29.8221 22.1722C29.8221 14.062 26.1611 7.47729 26.1611 7.47729C22.5255 4.75695 19.0424 4.83322 19.0424 4.83322L18.6865 5.24C23.0085 6.53661 25.017 8.44339 25.017 8.44339C22.3729 7.01966 19.7797 6.3078 17.3645 6.02814C15.5339 5.82475 13.7797 5.8756 12.2289 6.07899C12.0957 6.07899 11.9819 6.09836 11.8537 6.1202C11.835 6.12337 11.816 6.1266 11.7967 6.12983C10.9068 6.23153 8.74581 6.53661 6.02547 7.73153C5.08479 8.13831 4.52547 8.44339 4.52547 8.44339C4.52547 8.44339 6.61022 6.43492 11.1865 5.13831L10.9323 4.83322C10.9323 4.83322 7.47462 4.75695 3.81361 7.47729C3.81361 7.47729 0.152588 14.062 0.152588 22.1722C0.152588 22.1722 2.28818 25.8332 7.90683 26.0112C7.90683 26.0112 8.8475 24.8925 9.61022 23.9264C6.3814 22.9603 5.16106 20.9519 5.16106 20.9519C5.16106 20.9519 5.4153 21.1298 5.87293 21.3841C5.88864 21.3841 5.90435 21.3938 5.92607 21.4072C5.93949 21.4155 5.9552 21.4252 5.97462 21.4349C6.01276 21.4603 6.05089 21.4794 6.08903 21.4985C6.12717 21.5175 6.1653 21.5366 6.20344 21.562C6.83903 21.918 7.47462 22.1976 8.05937 22.4264C9.10174 22.8586 10.3475 23.24 11.7967 23.5197C13.7034 23.8756 15.9407 24.0027 18.3814 23.5451C19.5763 23.3163 20.7967 22.9858 22.0678 22.4519C22.9577 22.1214 23.9492 21.6383 24.9916 20.9519C24.9916 20.9519 23.7204 23.0112 20.3899 23.9519ZM16.9323 17.0112C16.9323 15.4603 18.0763 14.2146 19.5255 14.2146C20.9492 14.2146 22.1187 15.4603 22.1187 17.0112C22.1187 18.562 20.9746 19.8078 19.5255 19.8078C18.1017 19.8078 16.9323 18.562 16.9323 17.0112ZM7.65259 17.0112C7.65259 15.4603 8.79666 14.2146 10.2458 14.2146C11.695 14.2146 12.8645 15.4603 12.839 17.0112C12.839 18.562 11.695 19.8078 10.2458 19.8078C8.82208 19.8078 7.65259 18.562 7.65259 17.0112Z"
|
|
fill={plain ? 'var(--color)' : '#7289DA'}
|
|
/>
|
|
</svg>
|
|
)
|