mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 12:37:42 +00:00
Merge pull request #170 from snowball-tools/eric/airf-28-dashboard-hide-database-from-project-tab
fix: remove database tabs & overviews
This commit is contained in:
commit
4774074b67
@ -18,7 +18,6 @@ import {
|
||||
GithubStrokeIcon,
|
||||
GlobeIcon,
|
||||
LinkIcon,
|
||||
StorageIcon,
|
||||
} from 'components/shared/CustomIcon';
|
||||
import { Tag } from 'components/shared/Tag';
|
||||
import { Activity } from 'components/projects/project/overview/Activity';
|
||||
@ -171,20 +170,6 @@ const OverviewTabPanel = () => {
|
||||
</div>
|
||||
</OverviewInfo>
|
||||
|
||||
{/* DATABASE */}
|
||||
<OverviewInfo label="Database" icon={<StorageIcon />}>
|
||||
<div className="flex gap-2 items-center">
|
||||
<Link to="#">
|
||||
<span className="group text-controls-primary hover:border-controls-primary transition-colors border-b border-b-transparent flex gap-2 items-center text-sm tracking-tight">
|
||||
{/* // TODO: add db name
|
||||
dbname
|
||||
*/}
|
||||
<LinkIcon className="group-hover:rotate-45 transition-transform" />
|
||||
</span>
|
||||
</Link>
|
||||
</div>
|
||||
</OverviewInfo>
|
||||
|
||||
{/* DEPLOYMENT */}
|
||||
<OverviewInfo label="Deployment URL" icon={<CursorBoxIcon />}>
|
||||
<div className="flex gap-2 items-center">
|
||||
|
@ -9,16 +9,6 @@ import { EnvironmentVariablesTabPanel } from './settings/EnvironmentVariables';
|
||||
import MembersTabPanel from './settings/Members';
|
||||
import Domains from './settings/Domains';
|
||||
|
||||
const Database = () => (
|
||||
<div>
|
||||
Content of database tab
|
||||
<p className="block">
|
||||
It is a long established fact that a reader will be distracted by the
|
||||
readable content of a page when looking at its layout.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
const Integrations = () => (
|
||||
<div>
|
||||
Content of integrations tab
|
||||
@ -60,10 +50,6 @@ export const projectTabRoutes = [
|
||||
path: 'deployments',
|
||||
element: <DeploymentsTabPanel />,
|
||||
},
|
||||
{
|
||||
path: 'database',
|
||||
element: <Database />,
|
||||
},
|
||||
{
|
||||
path: 'integrations',
|
||||
element: <Integrations />,
|
||||
|
Loading…
Reference in New Issue
Block a user