diff --git a/src/app/about/sections/about-me.tsx b/src/app/about/sections/about-me.tsx index 6c09b353..4b9ff4cf 100644 --- a/src/app/about/sections/about-me.tsx +++ b/src/app/about/sections/about-me.tsx @@ -28,7 +28,7 @@ export function AboutMe() { target="_blank" href="/assets/cv-mateus-felipe.pdf" > - Download CV + Download CV diff --git a/src/app/about/sections/contact.tsx b/src/app/about/sections/contact.tsx index a085dd65..a07d8e05 100644 --- a/src/app/about/sections/contact.tsx +++ b/src/app/about/sections/contact.tsx @@ -16,49 +16,49 @@ export function Contact() {
- + Email
- + Github
- + Linkedin
- + Stack Overflow
- + Codepen
- + Reddit
- + Twitter
- + Instagram
@@ -82,7 +82,7 @@ export function Contact() { rel="external" > Send e-mail - +
@@ -93,7 +93,7 @@ export function Contact() { rel="external" > Open profile - +
@@ -104,7 +104,7 @@ export function Contact() { rel="external" > Open profile - +
@@ -115,7 +115,7 @@ export function Contact() { rel="external" > Open summary - +
@@ -126,7 +126,7 @@ export function Contact() { rel="external" > View pens - +
@@ -137,7 +137,7 @@ export function Contact() { rel="external" > See comments - +
@@ -148,7 +148,7 @@ export function Contact() { rel="external" > See tweets - +
@@ -159,7 +159,7 @@ export function Contact() { rel="external" > Open profile - +
diff --git a/src/app/about/sections/knowledge/accordion.tsx b/src/app/about/sections/knowledge/accordion.tsx index 51ebcb24..67862f9e 100644 --- a/src/app/about/sections/knowledge/accordion.tsx +++ b/src/app/about/sections/knowledge/accordion.tsx @@ -39,6 +39,7 @@ export const AccordionTrigger = React.forwardRef( > {children} diff --git a/src/app/about/sections/knowledge/index.tsx b/src/app/about/sections/knowledge/index.tsx index 475f34ed..5ca9817c 100644 --- a/src/app/about/sections/knowledge/index.tsx +++ b/src/app/about/sections/knowledge/index.tsx @@ -23,7 +23,7 @@ export function Knowledge() { - + Skill captions diff --git a/src/app/about/sections/statistics/cards/github-followers.tsx b/src/app/about/sections/statistics/cards/github-followers.tsx index 466cc02d..535d632b 100644 --- a/src/app/about/sections/statistics/cards/github-followers.tsx +++ b/src/app/about/sections/statistics/cards/github-followers.tsx @@ -17,7 +17,7 @@ export async function GithubFollowers() { <> } + icon={} content={
diff --git a/src/app/about/sections/statistics/cards/github-stars.tsx b/src/app/about/sections/statistics/cards/github-stars.tsx index e84f10e3..892f02c9 100644 --- a/src/app/about/sections/statistics/cards/github-stars.tsx +++ b/src/app/about/sections/statistics/cards/github-stars.tsx @@ -12,7 +12,7 @@ export async function GithubStars() { return ( } + icon={} content={String(stars)} /> ) diff --git a/src/app/about/sections/statistics/cards/last-track.tsx b/src/app/about/sections/statistics/cards/last-track.tsx index 49861cb3..e822a976 100644 --- a/src/app/about/sections/statistics/cards/last-track.tsx +++ b/src/app/about/sections/statistics/cards/last-track.tsx @@ -13,7 +13,7 @@ export async function LastTrack() { return ( } + icon={} content={ } + icon={} content={playcount} /> ) diff --git a/src/app/about/sections/statistics/cards/top-artist.tsx b/src/app/about/sections/statistics/cards/top-artist.tsx index 21e33de6..1ee54a5f 100644 --- a/src/app/about/sections/statistics/cards/top-artist.tsx +++ b/src/app/about/sections/statistics/cards/top-artist.tsx @@ -10,7 +10,7 @@ export async function TopArtist() { return ( } + icon={} content={ See more - +
diff --git a/src/app/about/statistics/components/github-dashboard/cards/commits.tsx b/src/app/about/statistics/components/github-dashboard/cards/commits.tsx index a22c07f3..260a2718 100644 --- a/src/app/about/statistics/components/github-dashboard/cards/commits.tsx +++ b/src/app/about/statistics/components/github-dashboard/cards/commits.tsx @@ -8,7 +8,7 @@ export async function Commits() {
Commits - +
{total_count}
diff --git a/src/app/about/statistics/components/github-dashboard/cards/followers.tsx b/src/app/about/statistics/components/github-dashboard/cards/followers.tsx index aa9468d6..50a8e6ef 100644 --- a/src/app/about/statistics/components/github-dashboard/cards/followers.tsx +++ b/src/app/about/statistics/components/github-dashboard/cards/followers.tsx @@ -17,7 +17,7 @@ export async function Followers() {
Followers - +
diff --git a/src/app/about/statistics/components/github-dashboard/cards/graph.tsx b/src/app/about/statistics/components/github-dashboard/cards/graph.tsx index c3031e4c..cf0a59ec 100644 --- a/src/app/about/statistics/components/github-dashboard/cards/graph.tsx +++ b/src/app/about/statistics/components/github-dashboard/cards/graph.tsx @@ -7,7 +7,7 @@ export function Graph() {
Contribution Graph - +
Languages - +
{languagesLength}
diff --git a/src/app/about/statistics/components/github-dashboard/cards/repos.tsx b/src/app/about/statistics/components/github-dashboard/cards/repos.tsx index 3b67db43..9def8bdc 100644 --- a/src/app/about/statistics/components/github-dashboard/cards/repos.tsx +++ b/src/app/about/statistics/components/github-dashboard/cards/repos.tsx @@ -8,7 +8,7 @@ export async function Repos() {
Repositories - +
{public_repos}
diff --git a/src/app/about/statistics/components/github-dashboard/cards/stars.tsx b/src/app/about/statistics/components/github-dashboard/cards/stars.tsx index 1793a113..1737cdb7 100644 --- a/src/app/about/statistics/components/github-dashboard/cards/stars.tsx +++ b/src/app/about/statistics/components/github-dashboard/cards/stars.tsx @@ -11,7 +11,7 @@ export async function Stars() {
Stars - +
{stars}
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/commits.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/commits.tsx index 33876cac..392da771 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/commits.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/commits.tsx @@ -4,7 +4,7 @@ export const CommitsSkeleton = () => (
Repositories - +
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/follower.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/follower.tsx index c1ddceab..acb99cd3 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/follower.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/follower.tsx @@ -5,7 +5,7 @@ export const FollowersSkeleton = () => {
Followers - +
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/graph.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/graph.tsx index ea353566..2907a8fa 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/graph.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/graph.tsx @@ -7,7 +7,7 @@ export function GraphSkeleton() {
Contribution Graph - +
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/languages.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/languages.tsx index d81d16a3..6980ebbd 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/languages.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/languages.tsx @@ -4,7 +4,7 @@ export const LanguagesSkeleton = () => (
Languages - +
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/repos.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/repos.tsx index 1c8f5ec6..499d23fc 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/repos.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/repos.tsx @@ -4,7 +4,7 @@ export const ReposSkeleton = () => (
Repositories - +
diff --git a/src/app/about/statistics/components/github-dashboard/skeleton/stars.tsx b/src/app/about/statistics/components/github-dashboard/skeleton/stars.tsx index f76e3b65..e43789fe 100644 --- a/src/app/about/statistics/components/github-dashboard/skeleton/stars.tsx +++ b/src/app/about/statistics/components/github-dashboard/skeleton/stars.tsx @@ -4,7 +4,7 @@ export const StarsSkeleton = () => (
Stars - +
diff --git a/src/app/about/statistics/components/spotify-dashboard/cards/last-track.tsx b/src/app/about/statistics/components/spotify-dashboard/cards/last-track.tsx index c9e61544..81d0170f 100644 --- a/src/app/about/statistics/components/spotify-dashboard/cards/last-track.tsx +++ b/src/app/about/statistics/components/spotify-dashboard/cards/last-track.tsx @@ -1,5 +1,4 @@ import Image from 'next/image' - import { MusicNotes } from '@phosphor-icons/react/dist/ssr' import { placeholder } from '@/shared/lib/placeholder' @@ -15,7 +14,7 @@ export async function LastTrack() {
Last Played - + Top Artists - + From last 6 months diff --git a/src/app/about/statistics/components/spotify-dashboard/cards/top-tracks.tsx b/src/app/about/statistics/components/spotify-dashboard/cards/top-tracks.tsx index 9d7b1fd3..a9b790c9 100644 --- a/src/app/about/statistics/components/spotify-dashboard/cards/top-tracks.tsx +++ b/src/app/about/statistics/components/spotify-dashboard/cards/top-tracks.tsx @@ -32,7 +32,7 @@ export async function TopTracks() {
Top Tracks - + From last 6 months diff --git a/src/app/about/statistics/components/spotify-dashboard/skeleton/last-track-skeleton.tsx b/src/app/about/statistics/components/spotify-dashboard/skeleton/last-track-skeleton.tsx index 1949c85f..c0468aae 100644 --- a/src/app/about/statistics/components/spotify-dashboard/skeleton/last-track-skeleton.tsx +++ b/src/app/about/statistics/components/spotify-dashboard/skeleton/last-track-skeleton.tsx @@ -6,7 +6,7 @@ export function LastTrackSkeleton() {
Last Played - +
diff --git a/src/app/about/statistics/components/spotify-dashboard/skeleton/top-artists.skeleton.tsx b/src/app/about/statistics/components/spotify-dashboard/skeleton/top-artists.skeleton.tsx index 7138109e..5d84c372 100644 --- a/src/app/about/statistics/components/spotify-dashboard/skeleton/top-artists.skeleton.tsx +++ b/src/app/about/statistics/components/spotify-dashboard/skeleton/top-artists.skeleton.tsx @@ -6,7 +6,7 @@ export function TopArtistsSkeleton() {
Top Artists - + From last 3 months diff --git a/src/app/about/statistics/components/spotify-dashboard/skeleton/top-tracks-skeleton.tsx b/src/app/about/statistics/components/spotify-dashboard/skeleton/top-tracks-skeleton.tsx index 5908f8ac..37f63f6b 100644 --- a/src/app/about/statistics/components/spotify-dashboard/skeleton/top-tracks-skeleton.tsx +++ b/src/app/about/statistics/components/spotify-dashboard/skeleton/top-tracks-skeleton.tsx @@ -6,7 +6,7 @@ export function TopTracksSkeleton() {
Top Tracks - + From last 3 months diff --git a/src/app/about/statistics/components/writing-dashboard/cards/most-used-category.tsx b/src/app/about/statistics/components/writing-dashboard/cards/most-used-category.tsx index c3508fdc..99a47e33 100644 --- a/src/app/about/statistics/components/writing-dashboard/cards/most-used-category.tsx +++ b/src/app/about/statistics/components/writing-dashboard/cards/most-used-category.tsx @@ -16,7 +16,7 @@ type RowProps = { const Row = ({ Icon, quantity, title }: RowProps) => (
- + {title}
{quantity} @@ -55,7 +55,7 @@ export async function MostUsedCategories() {
Most Used Categories - +
{categories.map(category => ( diff --git a/src/app/about/statistics/components/writing-dashboard/cards/posts.tsx b/src/app/about/statistics/components/writing-dashboard/cards/posts.tsx index 16a1235c..c18f3164 100644 --- a/src/app/about/statistics/components/writing-dashboard/cards/posts.tsx +++ b/src/app/about/statistics/components/writing-dashboard/cards/posts.tsx @@ -6,7 +6,7 @@ export async function Posts() {
Posts -
+
{allPosts.length}
diff --git a/src/app/about/statistics/components/writing-dashboard/cards/tag-cloud.tsx b/src/app/about/statistics/components/writing-dashboard/cards/tag-cloud.tsx index a0d1c6cb..0d10a952 100644 --- a/src/app/about/statistics/components/writing-dashboard/cards/tag-cloud.tsx +++ b/src/app/about/statistics/components/writing-dashboard/cards/tag-cloud.tsx @@ -34,7 +34,7 @@ export async function TagCloud() {
Most Used Tags - +
{tags.map(tag => ( diff --git a/src/app/about/statistics/components/writing-dashboard/cards/tils.tsx b/src/app/about/statistics/components/writing-dashboard/cards/tils.tsx index 2d244c44..540d7cc2 100644 --- a/src/app/about/statistics/components/writing-dashboard/cards/tils.tsx +++ b/src/app/about/statistics/components/writing-dashboard/cards/tils.tsx @@ -6,7 +6,7 @@ export async function TILs() {
TILs - +
{allTILs.length}
diff --git a/src/app/about/statistics/page.tsx b/src/app/about/statistics/page.tsx index 3c365831..44a260e0 100644 --- a/src/app/about/statistics/page.tsx +++ b/src/app/about/statistics/page.tsx @@ -29,21 +29,21 @@ export default function Page() {

Writing

- +

Github

- +

Spotify

- +
diff --git a/src/app/blog/author/[author]/page.tsx b/src/app/blog/author/[author]/page.tsx index 20c056d9..9a7ef053 100644 --- a/src/app/blog/author/[author]/page.tsx +++ b/src/app/blog/author/[author]/page.tsx @@ -36,7 +36,7 @@ export default function Page({ params }: Props) {
- + {author.email}
About me - +
diff --git a/src/app/blog/categories/[category]/page.tsx b/src/app/blog/categories/[category]/page.tsx index e5fca0d8..21498e2f 100644 --- a/src/app/blog/categories/[category]/page.tsx +++ b/src/app/blog/categories/[category]/page.tsx @@ -33,7 +33,7 @@ export default function Page({ params }: Props) { return (

- + {getNormalCategoryString(category)}

diff --git a/src/app/blog/categories/page.tsx b/src/app/blog/categories/page.tsx index 5295a8fc..5dd95775 100644 --- a/src/app/blog/categories/page.tsx +++ b/src/app/blog/categories/page.tsx @@ -46,7 +46,7 @@ export default function Page() { >
- + {categoryData.category} diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 99522117..9a94cc9f 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -34,7 +34,7 @@ const TopLink = ({ Icon, title, ...rest }: TopLinkProps) => ( {...rest} className="inline-flex items-center gap-1 rounded-lg p-2 leading-none text-neutral-700 transition-colors hover:bg-neutral-200/50 hover:text-neutral-900 dark:text-neutral-300 hover:dark:bg-neutral-900 dark:hover:text-neutral-100" > - + {title} ) diff --git a/src/app/blog/post/[slug]/page.tsx b/src/app/blog/post/[slug]/page.tsx index 30e5c120..5fdbb19d 100644 --- a/src/app/blog/post/[slug]/page.tsx +++ b/src/app/blog/post/[slug]/page.tsx @@ -103,7 +103,7 @@ export default function Page({ params }: Props) {
- + {post.lastUpdate && ( @@ -117,7 +117,7 @@ export default function Page({ params }: Props) {
- + - + {Math.ceil(post.reading_time.minutes)} min read
diff --git a/src/app/blog/tag/[tag]/page.tsx b/src/app/blog/tag/[tag]/page.tsx index b8a971a3..2bca2cfe 100644 --- a/src/app/blog/tag/[tag]/page.tsx +++ b/src/app/blog/tag/[tag]/page.tsx @@ -31,7 +31,7 @@ export default function Page({ params }: Props) {

{getNormalTagString(tag)} - +

diff --git a/src/app/components/footer.tsx b/src/app/components/footer.tsx index 264c6b04..3cd78f61 100644 --- a/src/app/components/footer.tsx +++ b/src/app/components/footer.tsx @@ -11,7 +11,7 @@ const Link = ({ children, ...props }: ComponentProps<'a'>) => ( ) -const ArrowIcon = () => +const ArrowIcon = () => export function Footer() { return ( diff --git a/src/app/components/header/mobile-menu/index.tsx b/src/app/components/header/mobile-menu/index.tsx index ca38a5ba..4ed38214 100644 --- a/src/app/components/header/mobile-menu/index.tsx +++ b/src/app/components/header/mobile-menu/index.tsx @@ -44,7 +44,7 @@ export function MobileMenu() { onClick={() => setIsDialogOpen(false)} className="menu-item" > - + {title} ) @@ -55,10 +55,10 @@ export function MobileMenu() { return ( - + {title} - + ) @@ -77,7 +77,7 @@ export function MobileMenu() { }} className="menu-item" > - + Search @@ -89,7 +89,7 @@ export function MobileMenu() { @@ -101,7 +101,7 @@ export function MobileMenu() { className="absolute left-2 top-2 rounded-full p-2 backdrop-blur-lg active:bg-red-300/20 active:text-red-500 active:dark:bg-red-300/10 active:dark:text-red-400" >
diff --git a/src/app/components/header/mobile-menu/toggle-theme.tsx b/src/app/components/header/mobile-menu/toggle-theme.tsx index 0201524c..66c02f85 100644 --- a/src/app/components/header/mobile-menu/toggle-theme.tsx +++ b/src/app/components/header/mobile-menu/toggle-theme.tsx @@ -12,21 +12,30 @@ export function ToggleTheme() { data-theme-light={currTheme === 'light'} className="p-4 data-[theme-light='true']:bg-neutral-300" > - +
diff --git a/src/app/components/header/search.tsx b/src/app/components/header/search.tsx index 1cf2ee5a..466655c6 100644 --- a/src/app/components/header/search.tsx +++ b/src/app/components/header/search.tsx @@ -12,7 +12,7 @@ export function Search() { className="flex flex-1 cursor-text items-center gap-5 rounded-xl bg-neutral-200/20 p-2 text-sm leading-none backdrop-blur-3xl dark:bg-neutral-800/20" > - + Search... diff --git a/src/app/components/header/toggle-theme.tsx b/src/app/components/header/toggle-theme.tsx index 698e1f7a..3618128f 100644 --- a/src/app/components/header/toggle-theme.tsx +++ b/src/app/components/header/toggle-theme.tsx @@ -26,19 +26,28 @@ export function ToggleTheme() { > {theme === 'light' && ( <> - + Light )} {theme === 'dark' && ( <> - + Dark )} {theme === 'system' && ( <> - + System )} @@ -48,7 +57,7 @@ export function ToggleTheme() { return (
- + Click to start - + ) } diff --git a/src/app/sitemap/page.tsx b/src/app/sitemap/page.tsx index a753315d..c7f860d7 100644 --- a/src/app/sitemap/page.tsx +++ b/src/app/sitemap/page.tsx @@ -13,7 +13,7 @@ export default function Page() { className="inline-flex items-end text-xl leading-none text-blue-500 hover:text-blue-900" > Sitemap XML - + {allRoutes.map(url => ( ( - + API Error ) diff --git a/src/shared/components/kbar/index.tsx b/src/shared/components/kbar/index.tsx index dec86381..8e493d7a 100644 --- a/src/shared/components/kbar/index.tsx +++ b/src/shared/components/kbar/index.tsx @@ -51,7 +51,7 @@ const ResultItem = forwardRef<
{action.name} {action.id.startsWith('out') && ( - + )}
{action.subtitle && ( diff --git a/src/shared/components/kbar/provider.tsx b/src/shared/components/kbar/provider.tsx index d284a69a..d269d237 100644 --- a/src/shared/components/kbar/provider.tsx +++ b/src/shared/components/kbar/provider.tsx @@ -47,7 +47,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Home', shortcut: ['n', 'h'], keywords: 'homepage main', - icon: , + icon: , perform: () => push('/') }, { @@ -55,7 +55,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'About', shortcut: ['n', 'a'], keywords: 'about me user information info', - icon: , + icon: , perform: () => push('/about') }, { @@ -63,7 +63,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Statistics', shortcut: ['n', 's'], keywords: 'statistics github spotify data', - icon: , + icon: , perform: () => push('/about/statistics') } ] @@ -74,7 +74,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { subtitle: project.description, keywords: [...project.tags, project.core_techs].toString(), section: 'Projects', - icon: , + icon: , parent: 'search-projects', get perform() { if (project.website) return () => window.open(project.website, '_blank') @@ -91,7 +91,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['p'], section: 'Projects', keywords: 'works projects tools apps', - icon: , + icon: , perform: () => push('/projects') }, { @@ -100,7 +100,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['p', 's'], section: 'Projects', keywords: 'works projects tools apps', - icon: + icon: }, ...projectsAsActions ] @@ -110,7 +110,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { .map(category => ({ id: slug(category), name: category, - icon: , + icon: , parent: 'categories', section: 'Blog', perform: () => push(`/blog/categories/${slug(category)}`) @@ -120,23 +120,24 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { .map(tag => ({ id: slug(tag), name: tag, - icon: , + icon: , parent: 'tags', section: 'Blog', perform: () => push(`/blog/tag/${slug(tag)}`) })) const getIconByStatus = (status: 'published' | 'draft' | 'planned') => { - if (status === 'published') return
- if (status === 'draft') return - if (status === 'planned') return + if (status === 'published') return
+ if (status === 'draft') return + if (status === 'planned') + return } const postsAsAction: Action[] = getSortedPosts( allPosts.filter(post => post.status !== 'planned') ).map(({ id, title, status, test, tags, description }) => ({ id, name: title, - icon: test ? : getIconByStatus(status), + icon: test ? : getIconByStatus(status), keywords: tags .split(',') .map(tag => tag.trim()) @@ -150,7 +151,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { const tilsAsAction: Action[] = allTILs.map(til => ({ id: slug(til.title), name: til.title, - icon: , + icon: , keywords: til.tags .map(tag => tag.trim()) .toString() @@ -168,7 +169,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['b'], section: 'Blog', keywords: 'posts writing', - icon: , + icon: , perform: () => push('/blog') }, { @@ -177,7 +178,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['b', 'i'], section: 'Blog', keywords: 'writing learning progress skills', - icon: , + icon: , perform: () => push('/blog/til') }, { @@ -186,7 +187,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['b', 'c'], section: 'Blog', keywords: 'posts writing', - icon: + icon: }, ...categoriesAsAction, { @@ -195,7 +196,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { shortcut: ['b', 't'], section: 'Blog', keywords: 'posts writing', - icon: + icon: }, ...tagsAsAction, { @@ -203,7 +204,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Rss', section: 'Blog', keywords: 'feed rss atom', - icon: , + icon: , perform: () => push('/blog/feed') }, { @@ -212,7 +213,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { section: 'Blog', keywords: 'search posts write writing blog', shortcut: ['b', 's'], - icon: + icon: }, ...postsAsAction, ...tilsAsAction @@ -224,7 +225,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'My Manjaro Dotfiles', section: 'Personal Links', keywords: 'linux config setup', - icon: , + icon: , perform: () => window.open('https://github.com/mateusfg7/dotfiles', '_blank') }, @@ -233,7 +234,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'My Bookshelf', section: 'Personal Links', keywords: 'books library', - icon: , + icon: , perform: () => window.open( 'https://www.skoob.com.br/estante/livros/todos/8289961', @@ -247,7 +248,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Source code', section: 'Website', keywords: 'repo source github código fonte', - icon: , + icon: , perform: () => window.open('https://github.com/mateusfg7/mateusf.com', '_blank') }, @@ -256,7 +257,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'License', section: 'Website', keywords: 'mit gpl', - icon: , + icon: , perform: () => window.open( 'https://github.com/mateusfg7/mateusf.com/blob/main/LICENSE', @@ -268,7 +269,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Analytics', section: 'Website', keywords: 'stats graph traffic', - icon: , + icon: , perform: () => window.open( 'https://analytics.umami.is/share/IV950FFonuZg4Rbn/mateusf.com', @@ -280,7 +281,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { name: 'Sitemap', section: 'Website', keywords: 'map links crawler', - icon: , + icon: , perform: () => push('/sitemap') } ] @@ -289,7 +290,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { { id: 'set-theme', name: 'Change theme', - icon: , + icon: , keywords: 'theme dark light', shortcut: ['c', 't'], section: 'Configurations' @@ -297,7 +298,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { { id: 'system-theme', name: 'System colors', - icon: , + icon: , parent: 'set-theme', keywords: 'theme dark light', perform: () => setTheme('system') @@ -305,7 +306,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { { id: 'dark-theme', name: 'Dark mode', - icon: , + icon: , parent: 'set-theme', keywords: 'theme dark light', perform: () => setTheme('dark') @@ -313,7 +314,7 @@ export function CustomKBarProvider({ children }: { children: ReactNode }) { { id: 'light-theme', name: 'Light mode', - icon: , + icon: , parent: 'set-theme', keywords: 'theme dark light', perform: () => setTheme('light') diff --git a/src/shared/components/post-list/post-badges.tsx b/src/shared/components/post-list/post-badges.tsx index b8865a6b..05019a01 100644 --- a/src/shared/components/post-list/post-badges.tsx +++ b/src/shared/components/post-list/post-badges.tsx @@ -8,18 +8,18 @@ import { export const DraftBadge = () => (
- Draft + Draft
) export const PlannedBadge = () => (
- Planned + Planned
) export const TestBadge = () => (
- Test + Test
) diff --git a/src/shared/components/post-list/post-link.tsx b/src/shared/components/post-list/post-link.tsx index 60648e76..0838f767 100644 --- a/src/shared/components/post-list/post-link.tsx +++ b/src/shared/components/post-list/post-link.tsx @@ -19,10 +19,11 @@ interface Props { } const TitleIcon = ({ category }: { category: string }) => { - if (category === 'How To') return - if (category === 'Article') return - if (category === 'Notes') return - if (category === 'List') return + if (category === 'How To') return + if (category === 'Article') + return + if (category === 'Notes') return + if (category === 'List') return return <> } @@ -53,7 +54,7 @@ export function PostLink({ post, hideYear = false }: Props) { {showDate && ( - + - + {Math.ceil(post.reading_time.minutes)} min read )}