From a2f4aea11bf4b365f30bf8c85113183063e6bbf4 Mon Sep 17 00:00:00 2001 From: Leticia Dias Date: Thu, 21 Aug 2025 20:58:17 -0300 Subject: [PATCH 1/3] chore(components): removed links from mockKnowledgers --- .../cardknowledger/mockKnowledgers.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) 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: "" }, ], }, ]; From dec030dc5ef964da1ef43d1bc60f24000c16c421 Mon Sep 17 00:00:00 2001 From: Leticia Dias Date: Thu, 21 Aug 2025 20:59:31 -0300 Subject: [PATCH 2/3] chore(sections): removed semibold font removed from founders description --- src/sections/SectionFounders.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.

From 3ce41c8f5d18e52551a8b129134fef2f0f6c00b3 Mon Sep 17 00:00:00 2001 From: Leticia Dias Date: Tue, 26 Aug 2025 14:24:15 -0300 Subject: [PATCH 3/3] feat(posts): added estimated reading time on article card --- src/components/posts/post/Post.tsx | 1 + src/components/posts/postlist/PostList.tsx | 28 +++++++++++++++------- 2 files changed, 20 insertions(+), 9 deletions(-) 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 +

+
+
))}