Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/www/app/components/home/faux-chat-shell-animated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export function FauxChatShellAnimated() {
transformOrigin: `${originX}% ${originY}%`,
}}
>
<FauxChatShellNoLightOverlay live />
<FauxChatShellNoLightOverlay />

{/* Lighting overlay - fades in from 0 to full opacity */}
<motion.div
Expand Down
28 changes: 2 additions & 26 deletions apps/www/app/components/home/home-hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export function HomeHero() {
const preloadGallery = () => {
void router.prefetch("/docs/gallery");
};
const preloadBuilder = () => {
void router.prefetch("/builder");
};

return (
<div className="flex flex-col gap-7">
Expand Down Expand Up @@ -66,7 +63,6 @@ export function HomeHero() {
Built on Tailwind, Radix, and shadcn/ui. Open Source.
</motion.p>
<motion.div
className="flex flex-wrap items-center gap-3"
initial={{ opacity: 0, y: 20, scale: 0.98 }}
animate={{ opacity: 1, y: 0, scale: 1 }}
transition={{ ...smoothSpring, delay: 0.5 }}
Expand All @@ -82,28 +78,8 @@ export function HomeHero() {
onFocus={preloadGallery}
onClick={() => analytics.cta.clicked("see_components", "home_hero")}
>
View Component Gallery
</Link>
</Button>
<Button
asChild
variant="outline"
className="group border-2 font-medium tracking-wide"
size="homeCTA"
>
<Link
href="/builder"
onMouseEnter={preloadBuilder}
onFocus={preloadBuilder}
onClick={() =>
analytics.cta.clicked("create_tool_ui", "home_hero")
}
>
Create your own Tool UI
<ArrowRight
className="size-5 transition-transform group-hover:translate-x-0.5"
aria-hidden
/>
See the Components
<ArrowRight className="size-5 shrink-0 transition-transform group-hover:translate-x-1" />
</Link>
</Button>
</motion.div>
Expand Down
4 changes: 1 addition & 3 deletions apps/www/app/components/layout/page-shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export default function ContentLayout({
/>
</div>
) : null}
<div className="flex min-h-0 min-w-0 w-full flex-1 overflow-hidden">
{children}
</div>
<div className="flex min-h-0 min-w-0 w-full flex-1">{children}</div>
</div>
);
}
5 changes: 1 addition & 4 deletions apps/www/app/docs/_components/component-preview-shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,7 @@ export function ComponentPreviewShell({
<div className="relative flex min-h-0 min-w-0 flex-1 flex-col">
{/* Install commands - above the gray preview, in main column only */}
<div className="shrink-0 border-b px-4 py-3 sm:px-6 lg:px-6">
<InstallCommandBlock
componentId={componentId}
variant="block"
/>
<InstallCommandBlock componentId={componentId} variant="block" />
</div>

{/* Mobile toolbar */}
Expand Down
Loading