diff --git a/src/components/CreateBlueprintForm.tsx b/src/components/CreateBlueprintForm.tsx index 57fce664..3bb35f6f 100644 --- a/src/components/CreateBlueprintForm.tsx +++ b/src/components/CreateBlueprintForm.tsx @@ -69,13 +69,17 @@ export default function CreateBlueprintForm({ ), defaultValues: { name: "", - contents: `proxy-resources: - resource-nice-id-uno: - name: this is my resource - protocol: http - full-domain: never-gonna-give-you-up.example.com - host-header: example.com - tls-server-name: example.com + contents: `# Example blueprint +# proxy-resources: +# resource-nice-id-uno: +# name: this is my resource +# protocol: http +# full-domain: never-gonna-give-you-up.example.com +# targets: +# - site: lively-yosemite-toad +# hostname: localhost +# method: http +# port: 8000 ` } }); @@ -125,7 +129,7 @@ export default function CreateBlueprintForm({ - +
{children}
; } export function SettingsSection({ children }: { children: React.ReactNode }) { - return
{children}
; + return ( +
+ {children} +
+ ); } export function SettingsSectionHeader({ @@ -15,11 +21,15 @@ export function SettingsSectionHeader({ } export function SettingsSectionForm({ - children + children, + className }: { children: React.ReactNode; + className?: string; }) { - return
{children}
; + return ( +
{children}
+ ); } export function SettingsSectionTitle({ @@ -55,7 +65,11 @@ export function SettingsSectionFooter({ }: { children: React.ReactNode; }) { - return
{children}
; + return ( +
+ {children} +
+ ); } export function SettingsSectionGrid({