Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added link to kunal #15

Merged
merged 1 commit into from
Jul 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src/components/CreatorsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ export const CreatorsList = () => {
<img
alt="team"
className="w-16 h-16 bg-gray-100 object-cover object-center flex-shrink-0 rounded-full mr-4"
src="https://dummyimage.com/80x80"
src={creator.links.imageUrl}
/>{" "}
<div className="flex-grow">
{" "}
<h2 className="text-white title-font font-medium">
<a
className="text-white title-font font-medium cursor-pointer "
href="https://www.linkedin.com/in/kunal-kushwaha/?originalSubdomain=uk"
>
{" "}
{creator.name}
</h2>{" "}
<p className="text-gray-600">UI Designer</p>{" "}
</a>{" "}
<p className="text-gray-600">Content Creator</p>{" "}
</div>{" "}
</div>
</div>
Expand All @@ -48,6 +51,7 @@ CreatorsList.propTypes = {
PropTypes.shape({
name: PropTypes.string.isRequired,
links: PropTypes.shape({
imageUrl: PropTypes.string.isRequired,
website: PropTypes.string.isRequired,
youtube: PropTypes.string.isRequired,
twitter: PropTypes.string.isRequired,
Expand Down
4 changes: 3 additions & 1 deletion src/lists/Creators.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export const listOfCreators = [
{
name: "Person 1",
name: "Kunal Kushwaha",
links: {
imageUrl: "https://media.licdn.com/dms/image/D4E03AQGFyRdX1GK4zw/profile-displayphoto-shrink_800_800/0/1684859340759?e=1696464000&v=beta&t=sK0QfJ50lW9zX5EDDDt6V-8xybRPt1RH1QXsIq76snE",
website: "https://www.example.com/person1",
youtube: "https://www.youtube.com/person1",
twitter: "https://twitter.com/person1",
Expand All @@ -11,6 +12,7 @@ export const listOfCreators = [
{
name: "Person 2",
links: {
imageUrl:"",
website: "https://www.example.com/person2",
youtube: "https://www.youtube.com/person2",
twitter: "https://twitter.com/person2",
Expand Down