Skip to content
Open
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
5 changes: 2 additions & 3 deletions packages/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ COPY --from=builder /app/package.json ./package.json

USER nextjs

ARG PORT

ENV PORT=$PORT
# Static API Server Port
ENV PORT=8080

EXPOSE ${PORT}

Expand Down
20 changes: 0 additions & 20 deletions packages/app/src/AppNav.components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,6 @@ import InstallInstructionModal from './InstallInstructionsModal';

import styles from '../styles/AppNav.module.scss';

export const AppNavCloudBanner = () => {
return (
<div className="my-3 bg-hdx-dark rounded p-2 text-center">
<span className="text-slate-300 fs-8">Ready to use HyperDX Cloud?</span>
<div className="mt-2 mb-2">
<Link href="https://www.hyperdx.io/register" passHref legacyBehavior>
<Button
variant="light"
size="xs"
component="a"
className="hover-color-white"
>
Get Started for Free
</Button>
</Link>
</div>
</div>
);
};

type AppNavUserMenuProps = {
isCollapsed?: boolean;
userName?: string;
Expand Down
7 changes: 0 additions & 7 deletions packages/app/src/AppNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { version } from '../package.json';

import api from './api';
import {
AppNavCloudBanner,
AppNavHelpMenu,
AppNavUserMenu,
} from './AppNav.components';
Expand Down Expand Up @@ -1005,12 +1004,6 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
</div>
{!isCollapsed && (
<>
<div
style={{ width: navWidth, paddingBottom: 80 }}
className="px-3 mb-2 mt-4"
>
<AppNavCloudBanner />
</div>
</>
)}
</ScrollArea>
Expand Down
11 changes: 0 additions & 11 deletions packages/app/src/Spotlights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,17 +133,6 @@ const useSpotlightActions = () => {
router.push('https://www.hyperdx.io/docs');
},
},
{
id: 'cloud',
group: 'Menu',
leftSection: <Logo />,
label: 'HyperDX Cloud',
description: 'Ready to use HyperDX Cloud? Get started for free.',
keywords: ['account', 'profile'],
onClick: () => {
router.push('https://hyperdx.io/register');
},
},
);

return logViewActions;
Expand Down