Create professional demos and 3D mockups in seconds, directly in your browser
feat: enhance UI components with new styles and layout adjustments
CristianOlivera17fd3d8c9e56f
diff --git a/app/components/ui/editor/ControlPanel.tsx b/app/components/ui/editor/ControlPanel.tsxindex 0430425..6cf6e8a 100644--- a/app/components/ui/editor/ControlPanel.tsx+++ b/app/components/ui/editor/ControlPanel.tsx@@ -138,7 +138,7 @@ export function ControlPanel({<Linkhref="/"onClick={() => { window.location.href = "/"; }}- className="flex items-center gap-2 group"+ className="flex items-center gap-2 group pl-2"aria-label="OpenVid home"><Image src="/svg/logo-openvid.svg" alt="" width={30} height={30} />diff --git a/app/components/ui/editor/ToolsSidebar.tsx b/app/components/ui/editor/ToolsSidebar.tsxindex 88d2b3e..08e34a5 100644--- a/app/components/ui/editor/ToolsSidebar.tsx+++ b/app/components/ui/editor/ToolsSidebar.tsx@@ -223,7 +223,7 @@ export function ToolsSidebar({<div ref={sidebarWrapperRef} className="relative shrink-0 bg-[#141417]" style={{ width: '90px' }} role="complementary" aria-label={t("tools.toolbar")}><div className="h-13 border-b border-white/10 w-full" /><aside- className="absolute top-1/2 left-12 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center gap-4 squircle-element border shadow-md shadow-white/20 border-white/10 z-40"+ className="absolute top-1/2 left-12 -translate-x-1/2 -translate-y-1/2 flex flex-col items-center justify-center gap-4 squircle-element-xl border shadow-md shadow-white/20 border-white/10 z-40"style={{height: sidebarHeight ? `${sidebarHeight}px` : 'calc(100% - 1rem)',maxHeight: sidebarHeight ? `${sidebarHeight}px` : '800px',diff --git a/app/globals.css b/app/globals.cssindex 7b00a9f..4fd7616 100644--- a/app/globals.css+++ b/app/globals.css@@ -252,6 +252,11 @@ button {border-radius: 20px;}+.squircle-element-xl {+ corner-shape: squircle;+ border-radius: 50px;+}+.hero-perspective-container {perspective: 1500px;}