nice taking out the white border...coming along really well together
This commit is contained in:
@@ -42,7 +42,7 @@ export default function LineRow({
|
|||||||
<Avatar.Group
|
<Avatar.Group
|
||||||
maxCount={2}
|
maxCount={2}
|
||||||
maxPopoverTrigger="click"
|
maxPopoverTrigger="click"
|
||||||
size="default"
|
size="small"
|
||||||
maxStyle={{
|
maxStyle={{
|
||||||
color: "#f56a00",
|
color: "#f56a00",
|
||||||
backgroundColor: "#fde3cf",
|
backgroundColor: "#fde3cf",
|
||||||
@@ -52,7 +52,7 @@ export default function LineRow({
|
|||||||
className="shadow-lg"
|
className="shadow-lg"
|
||||||
>
|
>
|
||||||
{lineDetails.profilePicsLiveBroadcasters.map((avatarSrc) => (
|
{lineDetails.profilePicsLiveBroadcasters.map((avatarSrc) => (
|
||||||
<Avatar src={avatarSrc} shape="square" size={"default"} />
|
<Avatar src={avatarSrc} shape="square" size={"small"} />
|
||||||
))}
|
))}
|
||||||
</Avatar.Group>
|
</Avatar.Group>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import React, { useState } from "react";
|
|||||||
import { useCallback, useEffect, useMemo } from "react";
|
import { useCallback, useEffect, useMemo } from "react";
|
||||||
|
|
||||||
import LineDetailsTerminal from "../lineDetailsTerminal";
|
import LineDetailsTerminal from "../lineDetailsTerminal";
|
||||||
|
import NirvanaHeader from "../../components/header/index";
|
||||||
import NirvanaTerminal from "../terminal";
|
import NirvanaTerminal from "../terminal";
|
||||||
import Overlay from "../overlay";
|
import Overlay from "../overlay";
|
||||||
|
|
||||||
@@ -257,15 +258,19 @@ export default function NirvanaRouter() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-screen w-screen flex flex-row">
|
<div className="flex flex-col h-screen w-screen">
|
||||||
<NirvanaTerminal
|
<NirvanaHeader />
|
||||||
handleSelectLine={handleSelectLine}
|
|
||||||
allLines={testLines}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{selectedLine && <LineDetailsTerminal selectedLine={selectedLine} />}
|
<div className="flex flex-row">
|
||||||
|
<NirvanaTerminal
|
||||||
|
handleSelectLine={handleSelectLine}
|
||||||
|
allLines={testLines}
|
||||||
|
/>
|
||||||
|
|
||||||
{/* <Overlay /> */}
|
{selectedLine && <LineDetailsTerminal selectedLine={selectedLine} />}
|
||||||
|
|
||||||
|
{/* <Overlay /> */}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,9 @@
|
|||||||
import { AddSharp, SearchSharp } from "@mui/icons-material";
|
import { FaPlus } from "react-icons/fa";
|
||||||
import { Button, Fab, InputAdornment, TextField } from "@mui/material";
|
import { FiActivity } from "react-icons/fi";
|
||||||
import { FaPlus, FaSearch } from "react-icons/fa";
|
|
||||||
import { FiActivity, FiCloudDrizzle } from "react-icons/fi";
|
|
||||||
import { useMemo, useRef, useState } from "react";
|
|
||||||
|
|
||||||
import { Avatar } from "antd";
|
|
||||||
import { ILineDetails } from "../router";
|
import { ILineDetails } from "../router";
|
||||||
import IconButton from "../../components/Button/IconButton/index";
|
import IconButton from "../../components/Button/IconButton/index";
|
||||||
import LineRow from "../../components/lines/lineRow.tsx/index";
|
import LineRow from "../../components/lines/lineRow.tsx/index";
|
||||||
import NirvanaHeader from "../../components/header";
|
import { useMemo } from "react";
|
||||||
import { User } from "@nirvana/core/models";
|
|
||||||
|
|
||||||
export default function NirvanaTerminal({
|
export default function NirvanaTerminal({
|
||||||
handleSelectLine,
|
handleSelectLine,
|
||||||
@@ -30,8 +24,6 @@ export default function NirvanaTerminal({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col flex-1">
|
<div className="flex flex-col flex-1">
|
||||||
<NirvanaHeader />
|
|
||||||
|
|
||||||
{/* tuned in lines block */}
|
{/* tuned in lines block */}
|
||||||
<div className="bg-gray-100 flex flex-col">
|
<div className="bg-gray-100 flex flex-col">
|
||||||
{/* tuned in header + general controls */}
|
{/* tuned in header + general controls */}
|
||||||
|
|||||||
@@ -21,3 +21,7 @@ button {
|
|||||||
.titlebar-button {
|
.titlebar-button {
|
||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-avatar-group .ant-avatar {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user