mirror of
https://github.com/hanzoai/gui.git
synced 2026-11-03 00:13:54 +00:00
Both old names are owned by a different npm account (artemis-prime), so publishing them returns 403 — which is how this surfaced: the 8.0.0 run shipped @hanzogui/logo and @hanzogui/demos depending on [email protected], a version that cannot be published and therefore does not exist. Those two were uninstallable. @hanzo/gui and @hanzogui/* are ours, so the framework now carries the name it is imported by everywhere downstream, and the loader moves under the scope we control. The rewrite is limited to package references. `DEBUG?.startsWith('hanzogui')` is a log-namespace filter and join(dir, 'hanzogui') is a path — rewriting either would change behaviour, so both are untouched. Co-authored-by: Hanzo Dev <[email protected]>
56 lines
1.4 KiB
TypeScript
56 lines
1.4 KiB
TypeScript
import { ExternalLink } from '@hanzogui/lucide-icons-2'
|
|
import { Anchor, H2, Paragraph, XStack, YStack } from '@hanzo/gui'
|
|
import { ToastControl } from 'components/CurrentToast'
|
|
|
|
export default function TabOneScreen() {
|
|
return (
|
|
<YStack flex={1} items="center" gap="$8" px="$10" pt="$5" bg="$background">
|
|
<H2>Gui + Expo</H2>
|
|
|
|
<ToastControl />
|
|
|
|
<XStack
|
|
items="center"
|
|
justify="center"
|
|
flexWrap="wrap"
|
|
gap="$1.5"
|
|
position="absolute"
|
|
b="$8"
|
|
>
|
|
<Paragraph fontSize="$5">Add</Paragraph>
|
|
|
|
<Paragraph fontSize="$5" px="$2" py="$1" color="$blue10" bg="$blue5">
|
|
hanzogui.config.ts
|
|
</Paragraph>
|
|
|
|
<Paragraph fontSize="$5">to root and follow the</Paragraph>
|
|
|
|
<XStack
|
|
items="center"
|
|
gap="$1.5"
|
|
px="$2"
|
|
py="$1"
|
|
rounded="$3"
|
|
bg="$green5"
|
|
hoverStyle={{ bg: '$green6' }}
|
|
pressStyle={{ bg: '$green4' }}
|
|
>
|
|
<Anchor
|
|
href="https://hanzogui.dev/docs/core/configuration"
|
|
textDecorationLine="none"
|
|
color="$green10"
|
|
fontSize="$5"
|
|
>
|
|
Configuration guide
|
|
</Anchor>
|
|
<ExternalLink size="$1" color="$green10" />
|
|
</XStack>
|
|
|
|
<Paragraph fontSize="$5" text="center">
|
|
to configure your themes and tokens.
|
|
</Paragraph>
|
|
</XStack>
|
|
</YStack>
|
|
)
|
|
}
|