fix text hierarhcy

This commit is contained in:
Ishaan Jaff 2024-07-09 16:04:03 -07:00
parent b04c4da12e
commit e966d9fd0f
2 changed files with 11 additions and 10 deletions

View file

@ -15,7 +15,7 @@ import {
message, message,
} from "antd"; } from "antd";
import { CopyToClipboard } from "react-copy-to-clipboard"; import { CopyToClipboard } from "react-copy-to-clipboard";
import { Select, SelectItem } from "@tremor/react"; import { Select, SelectItem, Subtitle } from "@tremor/react";
import { import {
Table, Table,
TableBody, TableBody,
@ -598,16 +598,17 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
</div> </div>
</Col> </Col>
</Grid> </Grid>
<Grid> <Grid >
<Card> <Card>
<Title level={4}> Security Settings</Title> <Title level={4}> Security Settings</Title>
<Title level={4}>Add SSO</Title> <div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '1rem' }}>
<Button onClick={() => setIsAddSSOModalVisible(true)}>Add SSO</Button> <div>
<Button onClick={() => setIsAddSSOModalVisible(true)}>Add SSO</Button>
</div>
<Title level={4}>Allowed IP Addresses</Title> <div>
<Button onClick={handleShowAllowedIPs}>Manage Allowed IPs</Button> <Button onClick={handleShowAllowedIPs}>Allowed IPs</Button>
</div>
</div>
</Card> </Card>
<div className="flex justify-start mb-4"> <div className="flex justify-start mb-4">

View file

@ -98,7 +98,7 @@ const Sidebar: React.FC<SidebarProps> = ({
) : null} ) : null}
{userRole == "Admin" ? ( {userRole == "Admin" ? (
<Menu.Item key="12" onClick={() => setPage("admin-panel")}> <Menu.Item key="12" onClick={() => setPage("admin-panel")}>
<Text>Admin</Text> <Text>Admin Settings</Text>
</Menu.Item> </Menu.Item>
) : null} ) : null}
<Menu.Item key="13" onClick={() => setPage("api_ref")}> <Menu.Item key="13" onClick={() => setPage("api_ref")}>