diff --git a/src/components/cardknowledger/mockKnowledgers.ts b/src/components/cardknowledger/mockKnowledgers.ts index ae54bb0..38f5458 100644 --- a/src/components/cardknowledger/mockKnowledgers.ts +++ b/src/components/cardknowledger/mockKnowledgers.ts @@ -15,9 +15,9 @@ export const mockKnowledgers = [ image: knowledgerMonique, flag: "alagoas", social: [ - { icon: GithubLogo, url: "https://github.com/leticiadia" }, - { icon: InstagramLogo, url: "https://www.instagram.com/leohdas/" }, - { icon: LinkedinLogo, url: "https://www.linkedin.com/in/leohas/" }, + { icon: GithubLogo, url: "" }, + { icon: InstagramLogo, url: "" }, + { icon: LinkedinLogo, url: "" }, ], }, @@ -40,9 +40,9 @@ export const mockKnowledgers = [ image: knowledgerAlves, flag: "para", social: [ - { icon: GithubLogo, url: "https://github.com/leticiadia" }, - { icon: InstagramLogo, url: "https://www.instagram.com/leohdas/" }, - { icon: LinkedinLogo, url: "https://www.linkedin.com/in/leohas/" }, + { icon: GithubLogo, url: "" }, + { icon: InstagramLogo, url: "" }, + { icon: LinkedinLogo, url: "" }, ], }, @@ -52,9 +52,9 @@ export const mockKnowledgers = [ image: knowledgerJoao, flag: "alagoas", social: [ - { icon: GithubLogo, url: "https://github.com/leticiadia" }, - { icon: InstagramLogo, url: "https://www.instagram.com/leohdas/" }, - { icon: LinkedinLogo, url: "https://www.linkedin.com/in/leohas/" }, + { icon: GithubLogo, url: "" }, + { icon: InstagramLogo, url: "" }, + { icon: LinkedinLogo, url: "" }, ], }, @@ -64,8 +64,8 @@ export const mockKnowledgers = [ image: knowledgerDaniel, flag: "alagoas", social: [ - { icon: InstagramLogo, url: "https://www.instagram.com/leohdas/" }, - { icon: LinkedinLogo, url: "https://www.linkedin.com/in/leohas/" }, + { icon: InstagramLogo, url: "" }, + { icon: LinkedinLogo, url: "" }, ], }, ]; diff --git a/src/components/posts/post/Post.tsx b/src/components/posts/post/Post.tsx index d56f0f1..a8e4c56 100644 --- a/src/components/posts/post/Post.tsx +++ b/src/components/posts/post/Post.tsx @@ -21,6 +21,7 @@ interface PostProps { export function Post() { const [post, setPost] = useState(); + const authorInfo = mockAuthor.find( (author) => author.name === post?.author.name ); diff --git a/src/components/posts/postlist/PostList.tsx b/src/components/posts/postlist/PostList.tsx index 152d840..1240883 100644 --- a/src/components/posts/postlist/PostList.tsx +++ b/src/components/posts/postlist/PostList.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from "react"; -import { ArrowRight } from "@phosphor-icons/react"; +import { ArrowRight, Clock } from "@phosphor-icons/react"; import { Link } from "react-router-dom"; import { formatDateToLong } from "../../../utils/formatDate"; import { getPosts } from "../../../services/postsService"; @@ -14,6 +14,7 @@ export interface PostType { name: string; }; slug: string; + estimated_time: number; } export function PostList() { @@ -68,7 +69,7 @@ export function PostList() { >
-

+

{post.title}

@@ -85,13 +86,22 @@ export function PostList() {

- - Ler mais - - +
+ + Ler mais + + + +
+ +

+ {post.estimated_time}min +

+
+
))} diff --git a/src/sections/SectionFounders.tsx b/src/sections/SectionFounders.tsx index 0cad46e..82646fd 100644 --- a/src/sections/SectionFounders.tsx +++ b/src/sections/SectionFounders.tsx @@ -17,13 +17,13 @@ export function SectionFounders() {
-

+

Fala galera! Somos o Mikael e a Leticia, os criadores do blog TechKnowledge. Gostariamos de compartilhar com vocês um pouco da nossa jornada.

-

+

Vem conhecer um pouco sobre nós e como chegamos no universo da tecnologia.