mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
fix landing page after deploy to prod (#5586)
This commit is contained in:
parent
3ae7e7a1f1
commit
28d9ded82a
3 changed files with 12 additions and 3 deletions
|
|
@ -47,4 +47,7 @@
|
|||
.node {
|
||||
flex-direction: column;
|
||||
}
|
||||
.smHidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,11 @@ function Illustration(props: { className?: string }) {
|
|||
</Edge>
|
||||
<div>
|
||||
<Node
|
||||
title="Hive Gateway"
|
||||
title={
|
||||
<>
|
||||
<span className={styles.smHidden}>Hive</span> Gateway
|
||||
</>
|
||||
}
|
||||
description="Gateway"
|
||||
edges={[1, 4, 5]}
|
||||
highlightedEdge={highlightedEdge}
|
||||
|
|
@ -330,8 +334,8 @@ function EdgeLabel(props: EdgeLabelProps) {
|
|||
);
|
||||
}
|
||||
|
||||
interface NodeProps extends React.HTMLAttributes<HTMLElement> {
|
||||
title: string;
|
||||
interface NodeProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
||||
title: ReactNode;
|
||||
description?: ReactNode;
|
||||
edges: number[];
|
||||
highlightedEdge: number | null;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ export function Page(props: { children: ReactNode; className?: string }) {
|
|||
<>
|
||||
<div className={cn('flex h-full flex-col', props.className)}>{props.children}</div>
|
||||
{mounted && <CookiesConsent />}
|
||||
{/* position Crisp button below the cookies banner */}
|
||||
<style jsx>{' .crisp-client { z-index: 40 !important; '}</style>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue