-
Notifications
You must be signed in to change notification settings - Fork 25
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
4a74ad7
commit 369966f
Showing
20 changed files
with
392 additions
and
121 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
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
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 React from "react"; | ||
import Filter from "../../icons/filter"; | ||
|
||
type CustomPostsProps = {}; | ||
|
||
const CustomPosts: React.FC<CustomPostsProps> = () => { | ||
return ( | ||
<div> | ||
<div className="p-4 bg-white shadow-fb rounded w-full mt-4 dark:bg-gray-800"> | ||
<div className="flex justify-between items-center"> | ||
<div className="text-xl font-bold text-fBlack">Posts</div> | ||
<button className="bg-fFill text-fBlack px-4 py-2.5 focus:outline-none rounded flex justify-center items-center"> | ||
<Filter /> <span className="ml-2">Posts</span> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
export default CustomPosts; |
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,49 @@ | ||
import React from "react"; | ||
import { faker } from "@faker-js/faker"; | ||
|
||
import SuitCase from "../../icons/suitCase"; | ||
import Hat from "../../icons/hat"; | ||
import HomeAlt from "../../icons/homeAlt"; | ||
import Pin from "../../icons/pin"; | ||
import RSS from "../../icons/rss"; | ||
|
||
type IntroProps = {}; | ||
|
||
const Intro: React.FC<IntroProps> = () => { | ||
return ( | ||
<div className="p-4 shadow rounded-lg bg-white w-80 dark:bg-gray-800"> | ||
<div className="text-xl font-bold text-fBlack">Intro</div> | ||
<div className="mt-4 flex items-center"> | ||
<SuitCase /> | ||
<span className="ml-2">{faker.company.bs()}</span> | ||
</div> | ||
<div className="mt-4 flex items-center"> | ||
<Hat /> | ||
<span className="ml-2">{faker.company.suffixes()}</span> | ||
</div> | ||
{/* <div className="mt-4 flex items-center"> | ||
<Hat /> | ||
<span className="ml-2">{faker.company.companySuffix()}</span> | ||
</div> */} | ||
<div className="mt-4 flex items-center"> | ||
<HomeAlt /> | ||
<span className="ml-2"> | ||
Lives in <b>{faker.address.city()}</b>{" "} | ||
</span> | ||
</div> | ||
<div className="mt-4 flex items-center"> | ||
<Pin /> | ||
<span className="ml-2"> | ||
From <b>{faker.address.country()}</b>{" "} | ||
</span> | ||
</div> | ||
<div className="mt-4 flex items-center"> | ||
<RSS /> | ||
<span className="ml-2"> | ||
Followed by <b>{faker.random.numeric()} people</b>{" "} | ||
</span> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
export default Intro; |
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,44 @@ | ||
import React from "react"; | ||
|
||
type PhotosProps = {}; | ||
|
||
const Photos: React.FC<PhotosProps> = () => { | ||
return ( | ||
<div className="w-full shadow-fb bg-white rounded p-4"> | ||
<div className="flex justify-between items-center"> | ||
<div className="text-xl font-bold text-fBlack">Photos</div> | ||
<button className="focus:outline-none text-fBlue"> | ||
See All Photos | ||
</button> | ||
</div> | ||
<div className="grid grid-cols-3 flex gap-1.5 mt-4"> | ||
<img | ||
src="https://picsum.photos/id/1018/3000" | ||
className="rounded-tl" | ||
alt="photo" | ||
/> | ||
<img src="https://picsum.photos/id/1018/3000" alt="photo" /> | ||
<img | ||
src="https://picsum.photos/id/1018/3000" | ||
className="rounded-tr" | ||
alt="photo" | ||
/> | ||
<img src="https://picsum.photos/id/1018/3000" alt="photo" /> | ||
<img src="https://picsum.photos/id/1018/3000" alt="photo" /> | ||
<img src="https://picsum.photos/id/1018/3000" alt="photo" /> | ||
<img | ||
src="https://picsum.photos/id/1018/3000" | ||
className="rounded-bl" | ||
alt="photo" | ||
/> | ||
<img src="https://picsum.photos/id/1018/3000" alt="photo" /> | ||
<img | ||
src="https://picsum.photos/id/1018/3000" | ||
className="rounded-br" | ||
alt="photo" | ||
/> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
export default Photos; |
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
Oops, something went wrong.