added placeholder for card and channel list

This commit is contained in:
Roland Osborne 2022-03-22 23:37:01 -07:00
parent 8e2a7c214d
commit 608efd22b8
6 changed files with 30 additions and 3 deletions

View File

@ -15,7 +15,7 @@ export const ProfileWrapper = styled.div`
width: 100%;
flex-direction: row;
align-items: center;
background-color: #ddeedd;
background-color: #dddddd;
height: 64px;
padding-right: 16px;
padding-left: 16px;
@ -44,8 +44,8 @@ export const ProfileWrapper = styled.div`
.logo {
width: 100%;
height: 100%;
width: 200px;
height: 200px;
width: 192px;
height: 192px;
border: 1px solid #dddddd;
border-radius: 8px;
align-items: center;

View File

@ -0,0 +1,6 @@
import React from 'react'
export function Cards() {
return <div>CARDS</div>
}

View File

@ -0,0 +1,6 @@
import React from 'react'
export function Channels() {
return <div>CHANNELS</div>
}

View File

@ -2,6 +2,11 @@ import { Avatar, Image } from 'antd';
import React from 'react'
import { ContactsWrapper } from './Contacts.styled';
import { useContacts } from './useContacts.hook';
import { Tabs } from 'antd';
import { Cards } from './Cards/Cards';
import { Channels } from './Channels/Channels';
const { TabPane } = Tabs;
export function Contacts() {
@ -9,6 +14,14 @@ export function Contacts() {
return (
<ContactsWrapper>
<Tabs defaultActiveKey="1">
<TabPane tab="Contacts" key="1">
<Cards />
</TabPane>
<TabPane tab="Conversations" key="2">
<Channels />
</TabPane>
</Tabs>
</ContactsWrapper>
)
}

View File

@ -2,6 +2,7 @@ import { Button } from 'antd';
import styled from 'styled-components';
export const ContactsWrapper = styled.div`
padding: 16px;
width: 100%;
flex-grow: 1;
background-color: #f6f5ed;

View File

@ -67,6 +67,7 @@ export const MenuWrapper = styled(Menu)`
export const IdentityDropdown = styled(Dropdown)`
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
align-items: center;