-
Notifications
You must be signed in to change notification settings - Fork 88
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
1 parent
6846024
commit 93e25a0
Showing
27 changed files
with
303 additions
and
53 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,46 +1,5 @@ | ||
.App { | ||
text-align: center; | ||
font-family: "Jost", serif; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #261D45; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: #fff; | ||
} | ||
|
||
.App-header h2 { | ||
color: cornflowerblue; | ||
text-shadow: 0 0 #dc1aa3; | ||
} | ||
|
||
.App-header h2, | ||
.App-header h4 { | ||
font-weight: 200; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.logo-container { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.logo-container span { | ||
margin-left: 10px; | ||
justify-content: space-between; | ||
background: #F6F6F6; | ||
} |
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,9 @@ | ||
function Activities() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default Activities |
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,11 @@ | ||
import FilesCard from "../FilesCard/FilesCard"; | ||
|
||
function Files() { | ||
return ( | ||
<div> | ||
<FilesCard/> | ||
</div> | ||
) | ||
} | ||
|
||
export default Files; |
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,9 @@ | ||
function FilesCard() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default FilesCard |
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,11 @@ | ||
import FolderCard from "../FolderCard/FolderCard"; | ||
|
||
function Folder() { | ||
return ( | ||
<div> | ||
<FolderCard/> | ||
</div> | ||
) | ||
} | ||
|
||
export default Folder |
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,9 @@ | ||
function FolderCard() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default FolderCard; |
20 changes: 20 additions & 0 deletions
20
frontend/src/components/InitFontawesome/InitFontawesome.js
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,20 @@ | ||
import { library } from '@fortawesome/fontawesome-svg-core'; | ||
import { faShoppingCart, faChevronDown, faPhone, faFileAlt, faEnvelopeOpen, faChevronLeft, faChevronRight} from '@fortawesome/free-solid-svg-icons'; | ||
import { faFacebook, faWhatsapp, faLinkedin, faTwitter } from '@fortawesome/free-brands-svg-icons' ; | ||
|
||
function initFontAwesome(){ | ||
library.add(faShoppingCart, | ||
faChevronDown, | ||
faPhone, | ||
faFileAlt, | ||
faEnvelopeOpen, | ||
faFacebook, | ||
faWhatsapp, | ||
faChevronRight, | ||
faChevronLeft, | ||
faLinkedin, | ||
faTwitter, | ||
); | ||
} | ||
|
||
export default initFontAwesome; |
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,9 @@ | ||
function RecentlyViewed() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default RecentlyViewed |
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,9 @@ | ||
function SearchBar() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default SearchBar; |
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,106 @@ | ||
import {useState} from 'react'; | ||
import './sidebar.css'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import {faChevronDown, faChevronRight, faPlusCircle} from '@fortawesome/free-solid-svg-icons' | ||
function Sidebar() { | ||
const [showFiles, setshowFiles] = useState(false); | ||
const [showChannels, setshowChannels] = useState(false); | ||
const [showDMs, setshowDMs] = useState(false); | ||
const [lounge, setlounge] = useState(false) | ||
const handleShowFiles = () => { | ||
setshowFiles(!showFiles); | ||
} | ||
|
||
const handleShowChannels = () => { | ||
setshowChannels(!showChannels); | ||
} | ||
|
||
const handleShowDMs = () => { | ||
setshowDMs(!showDMs); | ||
} | ||
|
||
const handleLounge =() => { | ||
setlounge(!lounge); | ||
} | ||
|
||
return ( | ||
<div className="bg-white w-72 p-5 main"> | ||
<div className= "flex items-center flex-wrap"> | ||
<img className="h-6 w-6 object-cover" src="/zurichat-logo.svg"/> | ||
<h1 className="m-1 text-lg uppercase tracking-wider font-semibold lato">Zuri</h1> | ||
</div> | ||
<div> | ||
<ul> | ||
<li className="text-base font-normal flex items-center"> <img src="/Icons/Insight.png" alt="icon" /> Insight</li> | ||
<li className="text-base font-normal flex items-center"><img src="/Icons/Group1.png" alt="icon" />Threads</li> | ||
<li className="text-base font-normal flex items-center"><img src="/Icons/message.png" alt="icon" /> All DMs</li> | ||
<li className="text-base font-normal flex items-center"><img src="/Icons/Group.png" alt="icon" />Draft</li> | ||
<li className="text-base font-normal flex items-center justify-between" onClick={handleShowFiles}> <div className="flex"><img src="/Icons/Insight.png" alt="icon" /> Files</div> <FontAwesomeIcon className= "icon" icon={showFiles ? faChevronDown : faChevronRight} /></li> | ||
{ | ||
showFiles && | ||
<ul> | ||
<li className="text-base mx-5 font-normal flex items-center"><img src="/Icons/Vector.png" alt="icon" />All Files</li> | ||
<li className="text-base mx-5 font-normal flex items-center"><img src="/Icons/default.png" alt="icon" />Shared</li> | ||
<li className="text-base mx-5 font-normal flex items-center"><img src="/Icons/Star.png" alt="icon" />Favourites</li> | ||
<li className="text-base mx-5 font-normal flex items-center"><img src="/Icons/Bin.png" alt="icon" />Trash</li> | ||
<li className="text-base mx-5 font-normal flex items-center"><img src="/Icons/Question.png" alt="icon" />Help</li> | ||
</ul> | ||
} | ||
<li className="text-base font-normal flex items-center"> <img src="/Icons/Integrate.png" alt="icon" />Integrate</li> | ||
<li className="text-base font-normal" onClick={handleLounge}><FontAwesomeIcon className= "icon" icon={lounge ? faChevronDown : faChevronRight} /> Lounge</li> | ||
{ | ||
lounge && | ||
<ul> | ||
<li className="text-base mx-5 font-normal">Lounge 1</li> | ||
<li className="text-base mx-5 font-normal">Lounge 2</li> | ||
<li className="text-base mx-5 font-normal">Lounge 3</li> | ||
<li className="text-base mx-5 font-normal">Lounge 4</li> | ||
</ul> | ||
} | ||
<li className="text-base flex justify-between" onClick ={handleShowChannels}> <div className="flex"><FontAwesomeIcon className= "icon" icon={showChannels ? faChevronDown : faChevronRight} /> <p className="mx-1">Channels</p></div> <button><FontAwesomeIcon className="icon" icon={faPlusCircle} /></button></li> | ||
{ | ||
showChannels && | ||
<ul> | ||
<li className="text-base mx-5 font-bold"># annonucement</li> | ||
<li className="text-base mx-5 font-bold"># Games</li> | ||
<li className="text-base mx-5 font-bold"># Designers</li> | ||
<li className="text-base mx-5 font-bold"># Developers</li> | ||
</ul> | ||
} | ||
|
||
<li className="text-base flex justify-between" onClick ={handleShowDMs}> <div className="flex"><FontAwesomeIcon className="icon" icon={showDMs ? faChevronDown : faChevronRight} /> <p className="mx-1">Direct Messages</p></div> <button><FontAwesomeIcon className="icon" icon={faPlusCircle} /></button></li> | ||
{ | ||
showDMs && | ||
<ul> | ||
<li className="text-base mx-5 flex items-center m-1"> | ||
<div className="h-10 w-10 pic-image relative"> | ||
<img className="object-cover" src="" alt="" /> | ||
<span className="h-2 w-2 bg-white absolute right"></span> | ||
</div> | ||
<p className="mx-1 font-normal">John Doe</p> | ||
</li> | ||
|
||
<li className="text-base mx-5 flex items-center m-1"> | ||
<div className="h-10 w-10 pic-image relative"> | ||
<img className="object-cover" src="" alt="" /> | ||
<span className="h-2 w-2 bg-white absolute right"></span> | ||
</div> | ||
<p className="mx-1 font-normal">John Doe</p> | ||
</li> | ||
<li className="text-base mx-5 flex items-center m-1"> | ||
<div className="h-10 w-10 pic-image relative"> | ||
<img className="object-cover" src="" alt="" /> | ||
<span className="h-2 w-2 bg-white absolute right"></span> | ||
</div> | ||
<p className="mx-1 font-normal">John Doe</p> | ||
</li> | ||
|
||
</ul> | ||
} | ||
</ul> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Sidebar |
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,33 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap'); | ||
|
||
.main { | ||
min-height: 100vh; | ||
white-space: nowrap; | ||
} | ||
|
||
.lato { | ||
font-family: 'Lato', sans-serif; | ||
} | ||
|
||
li { | ||
font-family: 'Lato', sans-serif; | ||
color: #999999; | ||
cursor: pointer; | ||
} | ||
|
||
li img { | ||
margin-right: 2%; | ||
} | ||
|
||
.pic-image { | ||
border-radius: 50%; | ||
background: #ACFFE6; | ||
} | ||
|
||
.right { | ||
top: 5%; | ||
right: 5%; | ||
background: #18D24C; | ||
border-radius: 50%; | ||
} | ||
|
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,9 @@ | ||
function TotalSpace() { | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default TotalSpace; |
Oops, something went wrong.