cleaning up some of the rooms with a scroll

This commit is contained in:
Arjun Patel
2022-01-16 14:59:21 -08:00
parent 03ed5bd3d4
commit a22e2954ba
3 changed files with 8 additions and 29 deletions
+5 -26
View File
@@ -1,35 +1,14 @@
import React, { useState } from "react"; import React, { useState } from "react";
import { render } from "react-dom";
import { import { FaAngleDown, FaBell, FaClock, FaPlus, FaLink } from "react-icons/fa";
FaMicrophoneAlt, import { IoTimer } from "react-icons/io5";
FaHeadphonesAlt,
FaTh,
FaAngleDown,
FaPlusSquare,
FaBroom,
FaBell,
FaFilePdf,
FaCopy,
FaClock,
FaPlay,
FaPlus,
FaCheck,
FaCode,
FaLink,
FaExternalLinkAlt,
FaArchive,
FaAtlassian,
FaSearch,
} from "react-icons/fa";
import { IoPulseOutline, IoRemoveOutline, IoTimer } from "react-icons/io5";
import { BsThreeDots } from "react-icons/bs"; import { BsThreeDots } from "react-icons/bs";
import Image from "next/image"; import Image from "next/image";
export default function DashboardRoom() { export default function DashboardRoom() {
const [count, setCount] = useState(0);
return ( return (
<section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md"> <section className="p-5 flex flex-col bg-gray-100 bg-opacity-25 rounded-lg shadow-md">
{/* header */}
<span className="flex flex-row justify-end space-x-3 pb-5 items-center"> <span className="flex flex-row justify-end space-x-3 pb-5 items-center">
<span className="text-white mr-auto"> <span className="text-white mr-auto">
ROOMS ROOMS
@@ -72,7 +51,7 @@ export default function DashboardRoom() {
</span> </span>
{/* all rooms */} {/* all rooms */}
<span className="flex flex-row flex-wrap"> <span className="flex flex-row flex-wrap max-h-96 overflow-auto">
{/* spontaneous bugs room */} {/* spontaneous bugs room */}
<span className="flex flex-col bg-white bg-opacity-80 rounded-lg justify-between w-96 max-w-screen-sm m-2 overflow-clip"> <span className="flex flex-col bg-white bg-opacity-80 rounded-lg justify-between w-96 max-w-screen-sm m-2 overflow-clip">
{/* header */} {/* header */}
+1 -1
View File
@@ -1,6 +1,6 @@
export default function BackgroundLayout({ children }) { export default function BackgroundLayout({ children }) {
return ( return (
<div id="bg" className="text-white min-w-full min-w-screen"> <div id="bg" className="text-white min-w-full min-h-screen">
{children} {children}
</div> </div>
); );
+2 -2
View File
@@ -81,10 +81,10 @@ function TeamDashboard() {
console.log(teamDashboardContext); console.log(teamDashboardContext);
return ( return (
<div className="container mx-auto max-w-screen-xl py-10 px-10 flex flex-col space-y-5"> <div className="container mx-auto py-10 px-10 flex flex-col space-y-5">
<Header /> <Header />
<div className="flex flex-row items-baseline space-x-5 space-y-5 flex-wrap"> <div className="flex flex-row items-baseline space-x-5 space-y-5">
<TeamVoiceLine /> <TeamVoiceLine />
<Rooms /> <Rooms />