From b300dabb05b6335ecfce7ec69c1f5036937cc39b Mon Sep 17 00:00:00 2001 From: Junior Garcia Date: Thu, 28 Aug 2025 11:12:29 -0300 Subject: [PATCH] chore: new logo --- .../docs/components/code-demo/code-demo.tsx | 5 +-- apps/docs/components/heroui-logo.tsx | 42 ++++--------------- .../marketing/custom-themes/custom-themes.tsx | 5 +-- .../marketing/hero/floating-components.tsx | 4 +- apps/docs/components/navbar.tsx | 5 +-- apps/docs/content/docs/guide/introduction.mdx | 11 ----- apps/docs/public/robots.txt | 4 +- 7 files changed, 17 insertions(+), 59 deletions(-) diff --git a/apps/docs/components/docs/components/code-demo/code-demo.tsx b/apps/docs/components/docs/components/code-demo/code-demo.tsx index 5f2b45657..2644f0732 100644 --- a/apps/docs/components/docs/components/code-demo/code-demo.tsx +++ b/apps/docs/components/docs/components/code-demo/code-demo.tsx @@ -15,7 +15,6 @@ import {useCodeDemo} from "./use-code-demo"; import WindowResizer from "./window-resizer"; import {parseDependencies} from "./parse-dependencies"; -import {SmallLogo} from "@/components/heroui-logo"; import {openInChat} from "@/actions/open-in-chat"; const DynamicReactLiveDemo = dynamic( @@ -273,9 +272,7 @@ export const CodeDemo: React.FC = ({ size="sm" variant="simple" /> - ) : ( - - )} + ) : null} )} diff --git a/apps/docs/components/heroui-logo.tsx b/apps/docs/components/heroui-logo.tsx index 4f779729a..c2dc52818 100644 --- a/apps/docs/components/heroui-logo.tsx +++ b/apps/docs/components/heroui-logo.tsx @@ -71,58 +71,32 @@ export const SmallLogo: React.FC = ({ ); -export const LargeLogo: React.FC = ({auto, className, ...props}) => ( +export const Logo: React.FC = ({className, ...props}) => ( - ); - -export const HeroUILogo: React.FC = ({auto, small, outlined, ...props}) => { - if (outlined) { - return ; - } - - if (auto) { - return ( -
- - -
- ); - } - - if (small) { - return ; - } - - return ; -}; diff --git a/apps/docs/components/marketing/custom-themes/custom-themes.tsx b/apps/docs/components/marketing/custom-themes/custom-themes.tsx index f61c2651a..e6decade3 100644 --- a/apps/docs/components/marketing/custom-themes/custom-themes.tsx +++ b/apps/docs/components/marketing/custom-themes/custom-themes.tsx @@ -9,7 +9,7 @@ import {shopCartStyles} from "./styles"; import {title, subtitle, titleWrapper, sectionWrapper} from "@/components/primitives"; import {PaletteIcon, MagicIcon, GamingConsoleIcon, StarIcon} from "@/components/icons"; -import {HeroUILogo, CodeWindow} from "@/components"; +import {SmallLogoOutlined, CodeWindow} from "@/components"; import landingContent from "@/content/landing"; import {useIsMobile} from "@/hooks/use-media-query"; @@ -22,8 +22,7 @@ const themesTabs = (isMobile: boolean) => [

), icon: () => ( - diff --git a/apps/docs/components/marketing/hero/floating-components.tsx b/apps/docs/components/marketing/hero/floating-components.tsx index 69de4953b..309985a25 100644 --- a/apps/docs/components/marketing/hero/floating-components.tsx +++ b/apps/docs/components/marketing/hero/floating-components.tsx @@ -19,7 +19,7 @@ import {FloatingTabs} from "./floating-tabs"; import {UserTwitterCard} from "@/components/demos/user-twitter-card"; import {useIsMounted} from "@/hooks/use-is-mounted"; import {useMediaQuery} from "@/hooks/use-media-query"; -import {HeroUILogo} from "@/components/heroui-logo"; +import {SmallLogo} from "@/components/heroui-logo"; export const FloatingComponents: React.FC<{}> = () => { const {theme, setTheme} = useTheme(); @@ -86,7 +86,7 @@ export const FloatingComponents: React.FC<{}> = () => { shadow="lg" > - + diff --git a/apps/docs/components/navbar.tsx b/apps/docs/components/navbar.tsx index 98d728ce4..a5b47431d 100644 --- a/apps/docs/components/navbar.tsx +++ b/apps/docs/components/navbar.tsx @@ -33,7 +33,7 @@ import {FbRoadmapLink} from "./featurebase/fb-roadmap-link"; import {currentVersion} from "@/utils/version"; import {siteConfig} from "@/config/site"; -import {LargeLogo, SmallLogo, ThemeSwitch} from "@/components"; +import {Logo, ThemeSwitch} from "@/components"; import {GithubIcon, SearchLinearIcon} from "@/components/icons"; import {useIsMounted} from "@/hooks/use-is-mounted"; import {DocsSidebar} from "@/components/docs/sidebar"; @@ -182,8 +182,7 @@ export const Navbar: FC = ({children, routes, mobileRoutes = [], sl href="/" onClick={() => handlePressNavbarItem("Home", "/")} > - - + {versionChip} - - - ## What is HeroUI? HeroUI is a UI library for React that helps you build beautiful and accessible user interfaces. Created on top of diff --git a/apps/docs/public/robots.txt b/apps/docs/public/robots.txt index 3702f9c4b..fccb5d01c 100644 --- a/apps/docs/public/robots.txt +++ b/apps/docs/public/robots.txt @@ -3,7 +3,7 @@ User-agent: * Allow: / # Host -Host: https://heroui.com +Host: https://www.heroui.com # Sitemaps -Sitemap: https://heroui.com/sitemap.xml +Sitemap: https://www.heroui.com/sitemap.xml