-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
p9001
committed
Feb 10, 2023
1 parent
1e95649
commit 49870a5
Showing
9 changed files
with
91 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import {VscSmiley} from 'react-icons/vsc'; | ||
import { MdAttachFile } from "react-icons/md"; | ||
import { BsMic } from "react-icons/bs"; | ||
|
||
|
||
|
||
function Footer() { | ||
|
||
return ( | ||
<footer className='w-2/3 h-14 float-left border-x mt-10 items-center justify-between bg-green-600'> | ||
|
||
|
||
<div className= 'flex items-center justify-between bg-[#f0eeee] h-14 p-2 ' > | ||
|
||
<div className='flex justify-between items-center mx-2'> | ||
<VscSmiley className='m-5 text-[#978f8f] text-3xl'/> | ||
<MdAttachFile className='m-5 text-[#978f8f] text-4xl'/> | ||
</div> | ||
<input type="text" placeholder='Type a Message' className='w-4/5 p-2 rounded-md focus:border-none' /> | ||
<BsMic className='m-5 text-[#978f8f] text-4xl'/> | ||
|
||
</div> | ||
</footer> | ||
) | ||
} | ||
export default Footer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {Fragment} from 'react' | ||
import Footer from './Footer' | ||
import BodyHeader from './utils/BodyHeader' | ||
|
||
export default function MainChat() { | ||
return ( | ||
<Fragment> | ||
<BodyHeader/> | ||
<Footer/> | ||
</Fragment> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import Image from 'next/image' | ||
import {Fragment, useState} from 'react' | ||
import {VscEllipsis,VscDeviceCameraVideo} from 'react-icons/vsc'; | ||
import { AiOutlineSearch} from "react-icons/ai"; | ||
import { IoCallOutline } from "react-icons/io5"; | ||
import { RxDividerVertical } from "react-icons/rx"; | ||
|
||
|
||
|
||
function BodyHeader() { | ||
|
||
return ( | ||
<Fragment> | ||
<section className='w-2/3 h-14 float-left border-x mt-10 items-center justify-between bg-green-600'> | ||
|
||
<div className='fixed z-10 w-2/3'> | ||
<div className= 'flex items-center justify-between bg-[#f0eeee] h-14 p-2 '> | ||
<Image src='/Passport.jpg' alt='profile pic' height={50} width={50} className='rounded-full'/> | ||
|
||
<div className='hidden md:flex justify-between items-center mx-2'> | ||
<VscDeviceCameraVideo className='m-5 text-[#978f8f] text-3xl'/> | ||
<IoCallOutline className='m-5 text-[#978f8f] text-3xl'/> | ||
<RxDividerVertical className='m-5 text-[#978f8f] text-4xl'/> | ||
<AiOutlineSearch className='m-5 text-[#978f8f] text-3xl'/> | ||
<VscEllipsis className='m-5 text-[#978f8f] text-3xl'/> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
</Fragment> | ||
) | ||
} | ||
export default BodyHeader |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import {Fragment}from 'react' | ||
import Header from '../components/Header' | ||
import MainChat from '../components/MainChat' | ||
import Sidebar from '../components/Sidebar' | ||
import Main from '../components/utils/Main' | ||
|
||
export default function App() { | ||
return ( | ||
<Fragment> | ||
<Header/> | ||
<Sidebar/> | ||
<Main/> | ||
<MainChat/> | ||
</Fragment> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters