mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
frontend :Removing Heroku Banner from Connect database page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8389 GitOrigin-RevId: dfd709ef2dbb0f12f41f114022ed76b382fa7963
This commit is contained in:
parent
5ec4d6e91b
commit
bf5f5a0e30
@ -1,10 +0,0 @@
|
||||
import React from 'react';
|
||||
import { ComponentMeta, Story } from '@storybook/react';
|
||||
import { HerokuBanner } from './Banner';
|
||||
|
||||
export default {
|
||||
title: 'features/Neon Integration/Heroku Banner',
|
||||
component: HerokuBanner,
|
||||
} as ComponentMeta<typeof HerokuBanner>;
|
||||
|
||||
export const Base: Story = () => <HerokuBanner />;
|
@ -1,15 +0,0 @@
|
||||
import React from 'react';
|
||||
import { LearnMoreLink } from '../../../../../../../../new-components/LearnMoreLink';
|
||||
import { GrHeroku } from 'react-icons/gr';
|
||||
|
||||
export function HerokuBanner() {
|
||||
return (
|
||||
<div className="flex items-center">
|
||||
<GrHeroku size={15} className="mr-xs" color="#430098" />
|
||||
<div className="text-sm text-gray-700">
|
||||
Heroku free database integration support has been deprecated.{' '}
|
||||
<LearnMoreLink href="https://hasura.io/docs/latest/databases/connect-db/cloud-databases/heroku/" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
@ -12,7 +12,6 @@ import { mapDispatchToPropsEmpty } from '../../../../Common/utils/reactUtils';
|
||||
import Tabbed from '../TabbedDataSourceConnection';
|
||||
import { NotFoundError } from '../../../../Error/PageNotFound';
|
||||
import { getDataSources } from '../../../../../metadata/selector';
|
||||
import { HerokuBanner } from './Neon/components/HerokuBanner/Banner';
|
||||
import { Neon } from './Neon';
|
||||
|
||||
interface Props extends InjectedProps {}
|
||||
@ -34,7 +33,6 @@ const CreateDataSource: React.FC<Props> = ({ dispatch, allDataSources }) => {
|
||||
dispatch={dispatch}
|
||||
/>
|
||||
</div>
|
||||
<HerokuBanner />
|
||||
</div>
|
||||
</div>
|
||||
</Analytics>
|
||||
|
Loading…
Reference in New Issue
Block a user