fix(render): remove cloud setup hero
This commit is contained in:
1 parent
85b166df0e
commit
60608dff91
2 files changed
+5
-25
No files matched your search
@@ -218,29 +218,7 @@ export function CloudEnvironmentsSettings() {
|
||||
<SettingsSection
|
||||
{...searchableSetting("cloud-environments")}
|
||||
icon={<RenderLogo className="size-5" />}
|
||||
>
|
||||
<div className="mx-3 overflow-hidden rounded-2xl border border-border/70 bg-gradient-to-br from-muted/45 via-background to-background px-5 py-5 sm:mx-4 sm:px-6">
|
||||
<div className="flex items-start gap-4">
|
||||
<div className="flex size-11 shrink-0 items-center justify-center rounded-xl bg-foreground text-background shadow-sm">
|
||||
<RenderLogo className="size-6" />
|
||||
</div>
|
||||
<div className="min-w-0 space-y-1">
|
||||
<h3 className="text-base font-semibold tracking-[-0.02em]">Powered by Render</h3>
|
||||
<p className="max-w-xl text-sm leading-relaxed text-muted-foreground">
|
||||
Deploy a temporary T3 Code machine, paste its URL, and start an agent.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-2 pt-2 text-[11px] font-medium text-muted-foreground">
|
||||
<span className="rounded-full border border-border/70 bg-background/70 px-2 py-1">
|
||||
Free demo
|
||||
</span>
|
||||
<span className="rounded-full border border-border/70 bg-background/70 px-2 py-1">
|
||||
No logs required
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</SettingsSection>
|
||||
/>
|
||||
|
||||
<SettingsSection title="1. Deploy to Render">
|
||||
<div className="px-3 sm:px-4">
|
||||
|
||||
@@ -104,7 +104,7 @@ export function SettingsSection({
|
||||
title: string;
|
||||
icon?: ReactNode;
|
||||
headerAction?: ReactNode;
|
||||
children: ReactNode;
|
||||
children?: ReactNode;
|
||||
}) {
|
||||
const targetRef = useSettingsSearchTarget<HTMLElement>(sectionProps.id);
|
||||
|
||||
@@ -122,7 +122,9 @@ export function SettingsSection({
|
||||
</h2>
|
||||
<div className="flex min-h-7 min-w-7 items-center justify-end">{headerAction}</div>
|
||||
</div>
|
||||
<div className="relative space-y-1 overflow-visible text-foreground">{children}</div>
|
||||
{children !== undefined && children !== null ? (
|
||||
<div className="relative space-y-1 overflow-visible text-foreground">{children}</div>
|
||||
) : null}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user