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

Add uses page and share icons on blog posts #5

Merged
merged 2 commits into from
May 8, 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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Timothy Lin
Copyright (c) 2023 Lucas dos Santos Alves

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Footer() {
<div>{`© ${new Date().getFullYear()}`}</div>
<Link href="/">{siteMetadata.title}</Link>
</div>
<div className="mb-8 flex flex-col space-x-2 text-sm text-gray-500 dark:text-gray-400 md:flex-row">
{/* <div className="mb-8 flex flex-col space-x-2 text-sm text-gray-500 dark:text-gray-400 md:flex-row">
<Link
className="hover:text-primary-600 hover:underline dark:hover:text-primary-600"
href="/"
Expand All @@ -35,7 +35,7 @@ export default function Footer() {
>
about
</Link>
</div>
</div> */}
</div>
</footer>
)
Expand Down
2 changes: 1 addition & 1 deletion components/PageTitle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default function PageTitle({ children }) {
return (
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-white dark:text-white sm:text-4xl sm:leading-10 md:text-5xl md:leading-14">
<h1 className="text-gray:600 text-3xl font-extrabold leading-9 tracking-tight dark:text-white sm:text-4xl sm:leading-10 md:text-5xl md:leading-14">
{children}
</h1>
)
Expand Down
3 changes: 3 additions & 0 deletions components/icons/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions components/icons/clipboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions components/icons/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Calendar from './calendar.svg'
import Clipboard from './clipboard.svg'

// Icons taken from: https://heroicons.com/

const components = {
calendar: Calendar,
clipboard: Clipboard,
}

const AppIcons = ({ kind, size = 8 }) => {
const SocialSvg = components[kind]

return (
<a className="text-sm transition" target="_blank" rel="noopener noreferrer">
<span className="sr-only">{kind}</span>
<SocialSvg className={`text-gray-700 dark:text-gray-200 h-${size} w-${size}`} />
</a>
)
}

export default AppIcons
2 changes: 1 addition & 1 deletion components/social-icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const SocialIcon = ({ kind, href, size = 8 }) => {
>
<span className="sr-only">{kind}</span>
<SocialSvg
className={`fill-current text-gray-700 hover:text-blue-500 dark:text-gray-200 dark:hover:text-blue-400 h-${size} w-${size}`}
className={`fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-${size} w-${size}`}
/>
</a>
)
Expand Down
4 changes: 2 additions & 2 deletions data/authors/default.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Lucas dos Santos Alves
avatar: /static/images/profile.jpg
avatar: /static/images/profile-pic.png
occupation: Software Developer
email: [email protected]
twitter: https://twitter.com/lucasdsalves
Expand All @@ -14,7 +14,7 @@ I'm currently working as a <b>.NET Developer</b> at Cyrela, a Brazilian real est

I have a <b>Bachelor's in Information Systems</b> and an <b>MBA in Project Management</b>. I joined the development world in 2019. Before that, I had previous experiences in IT services/IT infrastructure, and IT project areas.

I love coffee, photography, and traveling.
I'm christian, love coffee, photography, and traveling.

Also, I'm a big fan of Santos FC and the Green Bay Packers.

Expand Down
12 changes: 0 additions & 12 deletions data/authors/sparrowhawk.md

This file was deleted.

114 changes: 114 additions & 0 deletions data/authors/uses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
---
name: Lucas dos Santos Alves
avatar: /static/images/profile-pic.png
occupation: Software Developer
email: [email protected]
twitter: https://twitter.com/lucasdsalves
linkedin: https://www.linkedin.com/in/lucasdossantosalves/
github: https://github.com/lucasdsalves
---

## Desk

<ul>
<li>
💻 Laptop Dell Vostro 5402
<ul>
<li>
Specs: 256GB SSD 16GB DDR4 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 1.69 GHz
</li>
</ul>
</li>
<li>
⌨️ Redragon Keyboard Kumara RGB K552
</li>
<li>
🖱️ Redragon Mouse Cobra RGB M711
</li>
</ul>

## Audio

<ul>
<li>
🎧 Sony MX-1000XM5
</li>
<li>
🎧 JBL Quantum 200
</li>
<li>
👂 Apple Airpods second gen
</li>
</ul>

## Coding

<ul>
<li>
🎨 Visual Studio Code
<ul>
<li>
[Dracula theme](https://draculatheme.com/)
</li>
<li>
[All extensions I use](https://howivscode.com/lucasdsalves)
</li>
</ul>
</li>
<li>
🧑‍🏭 Visual Studio Community
</li>
<li>
🐧 Windows Terminal with [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install)
<ul>
<li>
[Oh My Posh](https://ohmyposh.dev/) styling
</li>
</ul>
</li>
</ul>

## Watches

<ul>
<li>
📺 [All TV shows I've been watching (TV showtime app)](https://tvtime.com/r/2NPjB)
</li>
</ul>

## Reads

<ul>
<li>
📚 [All books I've been reading (Goodreads app)](https://www.goodreads.com/lucasdsalves)
</li>
</ul>

## Apps

<ul>
<li>
📖 [YouVersion Bible App](https://www.youversion.com/) - daily bible reading
</li>
<li>
🙌 [Glorify](https://glorify-app.com/) - reflection, devotionals and prayers
</li>
<li>
🔻 [Pocket](https://getpocket.com/) - where I save tabs and content to read later
</li>
<li>
🐘 [Evernote](https://evernote.com/) - notes and studies
</li>
<li>
🗒️ [Notepad++](https://notepad-plus-plus.org/) - my great old friend
</li>
<li>
🖊️ [Grammarly](https://app.grammarly.com/) - a must-have tool to help writing in English
</li>
<li>
🔐 [Authy](https://authy.com/) - awesome 2FA that works for multi devices with backup
</li>
<li>
🧠 [MindMeister](https://www.mindmeister.com/) - easy generate mental maps
</li>
</ul>
2 changes: 1 addition & 1 deletion data/blog/building-personal-website.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Building a personal website'
date: '2022-12-11'
tags: ['tech']
tags: ['#tech']
draft: false
summary: 'How I built my personal website'
---
Expand Down
2 changes: 1 addition & 1 deletion data/blog/from-it-services-to-software-development.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'From IT services to software development'
date: '2022-12-02'
tags: ['career']
tags: ['#career']
draft: false
summary: 'Sharing my personal journey to software development'
---
Expand Down
2 changes: 1 addition & 1 deletion data/blog/helllo-blog-word.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Hello, blog World :)
date: '2022-11-14'
tags: ['hello-world']
tags: ['#hello-world']
draft: false
summary: 'Hello, blog world'
---
Expand Down
3 changes: 2 additions & 1 deletion data/headerNavLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const headerNavLinks = [
{ href: '/blog', title: 'blog' },
// { href: '/tags', title: 'Tags' },
{ href: '/about', title: 'about' },
// { href: '/projects', title: 'uses' },
{ href: '/uses', title: 'uses' },
// { href: '/projects', title: 'projects' },
]

export default headerNavLinks
6 changes: 3 additions & 3 deletions data/siteMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ const siteMetadata = {
title: 'lucasdsalves | Lucas dos Santos Alves',
author: 'Lucas dos Santos Alves',
headerTitle: 'Lucas dos Santos Alves',
description: 'A blog created with Next.js and Tailwind.css',
description: 'Lucas dos Santos Alves website',
language: 'en-us',
theme: 'system', // system, dark or light
siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app',
siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog',
siteUrl: 'https://lucasdsalves.com',
siteRepo: 'https://github.com/lucasdsalves/lucasdsalves.com',
siteLogo: '/static/images/logo.png',
image: '/static/images/profile.png',
socialBanner: '/static/images/twitter-card.png',
Expand Down
2 changes: 1 addition & 1 deletion layouts/AuthorLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function AuthorLayout({ children, frontMatter }) {

return (
<>
<PageSEO title={`About - ${name}`} description={`About me - ${name}`} />
<PageSEO title={`About | ${name}`} description={`About me - ${name}`} />
<div className="pt-8">
<div className="mb-8 flex flex-col-reverse items-center justify-between sm:flex-row sm:items-center">
<div className="text-center sm:text-left">
Expand Down
Loading