From 90b12584d193a1d69c4a1e49b58c3656cf10082c Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sat, 18 Apr 2026 15:46:51 +0000 Subject: [PATCH 1/2] feat: add orama logo --- .../site/components/Common/Partners/index.tsx | 7 ++++++- .../Common/Searchbox/Footer/index.module.css | 7 +++++++ .../Common/Searchbox/Footer/index.tsx | 13 ++---------- .../src/Icons/PartnerLogos/Orama/Logo.tsx | 21 +++++++++++++++++++ .../src/Icons/PartnerLogos/Orama/index.ts | 3 +++ .../src/Icons/PartnerLogos/index.ts | 2 ++ 6 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx create mode 100644 packages/ui-components/src/Icons/PartnerLogos/Orama/index.ts diff --git a/apps/site/components/Common/Partners/index.tsx b/apps/site/components/Common/Partners/index.tsx index 430ca83b6abb7..fb556771794e6 100644 --- a/apps/site/components/Common/Partners/index.tsx +++ b/apps/site/components/Common/Partners/index.tsx @@ -33,6 +33,11 @@ const getPartners = async ( const renderSmallPartner = (partner: Partner) => { const Logo = PartnerLogos[partner.id]; + const PartnerIcon = 'Favicon' in Logo ? Logo.Favicon : null; + + if (!PartnerIcon) { + return null; + } return ( { href={partner.href} data-tooltip={partner.name} > - + ); }; diff --git a/apps/site/components/Common/Searchbox/Footer/index.module.css b/apps/site/components/Common/Searchbox/Footer/index.module.css index 9f2342e65c412..82fc3f1352c68 100644 --- a/apps/site/components/Common/Searchbox/Footer/index.module.css +++ b/apps/site/components/Common/Searchbox/Footer/index.module.css @@ -59,3 +59,10 @@ justify-end lg:ml-8; } + +.oramaLogo { + @apply h-3 + w-auto + text-neutral-900 + dark:text-neutral-100; +} diff --git a/apps/site/components/Common/Searchbox/Footer/index.tsx b/apps/site/components/Common/Searchbox/Footer/index.tsx index abe61775ac964..2099deae2168d 100644 --- a/apps/site/components/Common/Searchbox/Footer/index.tsx +++ b/apps/site/components/Common/Searchbox/Footer/index.tsx @@ -5,17 +5,13 @@ import { ArrowDownIcon, ArrowUpIcon, } from '@heroicons/react/24/solid'; -import Image from 'next/image'; +import OramaLogo from '@node-core/ui-components/Icons/PartnerLogos/Orama/Logo'; import { useTranslations } from 'next-intl'; -import { useTheme } from 'next-themes'; import styles from './index.module.css'; export const Footer = () => { const t = useTranslations(); - const { resolvedTheme } = useTheme(); - - const oramaLogo = `https://website-assets.oramasearch.com/orama-when-${resolvedTheme}.svg`; return (
@@ -54,12 +50,7 @@ export const Footer = () => { className={styles.poweredByLink} > {t('components.search.poweredBy')} - {t('components.search.poweredBy')} +
diff --git a/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx b/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx new file mode 100644 index 0000000000000..27562e33e415e --- /dev/null +++ b/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx @@ -0,0 +1,21 @@ +import classNames from 'classnames'; + +import type { FC, SVGProps } from 'react'; + +const Orama: FC> = ({ className, ...props }) => ( + +); + +export default Orama; diff --git a/packages/ui-components/src/Icons/PartnerLogos/Orama/index.ts b/packages/ui-components/src/Icons/PartnerLogos/Orama/index.ts new file mode 100644 index 0000000000000..7970f7193b534 --- /dev/null +++ b/packages/ui-components/src/Icons/PartnerLogos/Orama/index.ts @@ -0,0 +1,3 @@ +import Logo from './Logo'; + +export { Logo }; diff --git a/packages/ui-components/src/Icons/PartnerLogos/index.ts b/packages/ui-components/src/Icons/PartnerLogos/index.ts index fd9ba073acc27..2b72f45d9304e 100644 --- a/packages/ui-components/src/Icons/PartnerLogos/index.ts +++ b/packages/ui-components/src/Icons/PartnerLogos/index.ts @@ -11,6 +11,7 @@ import * as MACSTADIUM from './MacStadium'; import * as MICROSOFT from './Microsoft'; import * as NODESOURCE from './NodeSource'; import * as OPENSSF from './OpenSSF'; +import * as ORAMA from './Orama'; import * as RACKSPACE from './Rackspace'; import * as SCALEWAY from './Scaleway'; import * as SENTRY from './Sentry'; @@ -31,6 +32,7 @@ export { MICROSOFT, NODESOURCE, OPENSSF, + ORAMA, RACKSPACE, SCALEWAY, SENTRY, From 8205d114c8cb28b3b3dff45aa01a76d6d73a9812 Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sat, 18 Apr 2026 15:58:59 +0000 Subject: [PATCH 2/2] fixup! --- .../src/Icons/PartnerLogos/Orama/Logo.tsx | 237 +++++++++++++++++- 1 file changed, 233 insertions(+), 4 deletions(-) diff --git a/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx b/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx index 27562e33e415e..0d4a9d8f0e0f5 100644 --- a/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx +++ b/packages/ui-components/src/Icons/PartnerLogos/Orama/Logo.tsx @@ -5,16 +5,245 @@ import type { FC, SVGProps } from 'react'; const Orama: FC> = ({ className, ...props }) => ( );