diff --git a/LICENSE b/LICENSE index 215f501..4b79f92 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/components/Footer.js b/components/Footer.js index 8ac277b..aaf5aff 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -16,7 +16,7 @@ export default function Footer() {
{`© ${new Date().getFullYear()}`}
{siteMetadata.title} -
+ {/*
about -
+
*/} ) diff --git a/components/PageTitle.js b/components/PageTitle.js index 32d3302..bd2779f 100644 --- a/components/PageTitle.js +++ b/components/PageTitle.js @@ -1,6 +1,6 @@ export default function PageTitle({ children }) { return ( -

+

{children}

) diff --git a/components/icons/calendar.svg b/components/icons/calendar.svg new file mode 100644 index 0000000..cd677a5 --- /dev/null +++ b/components/icons/calendar.svg @@ -0,0 +1,3 @@ + + + diff --git a/components/icons/clipboard.svg b/components/icons/clipboard.svg new file mode 100644 index 0000000..313d7cd --- /dev/null +++ b/components/icons/clipboard.svg @@ -0,0 +1,3 @@ + + + diff --git a/components/icons/index.js b/components/icons/index.js new file mode 100644 index 0000000..6ac247f --- /dev/null +++ b/components/icons/index.js @@ -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 ( + + {kind} + + + ) +} + +export default AppIcons diff --git a/components/social-icons/index.js b/components/social-icons/index.js index 9f56170..4b0484b 100644 --- a/components/social-icons/index.js +++ b/components/social-icons/index.js @@ -31,7 +31,7 @@ const SocialIcon = ({ kind, href, size = 8 }) => { > {kind} ) diff --git a/data/authors/default.md b/data/authors/default.md index 8d759b3..9ce23f1 100644 --- a/data/authors/default.md +++ b/data/authors/default.md @@ -1,6 +1,6 @@ --- name: Lucas dos Santos Alves -avatar: /static/images/profile.jpg +avatar: /static/images/profile-pic.png occupation: Software Developer email: contact.lucasdsalves@gmail.com twitter: https://twitter.com/lucasdsalves @@ -14,7 +14,7 @@ I'm currently working as a .NET Developer at Cyrela, a Brazilian real est I have a Bachelor's in Information Systems and an MBA in Project Management. 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. diff --git a/data/authors/sparrowhawk.md b/data/authors/sparrowhawk.md deleted file mode 100644 index 5cef90b..0000000 --- a/data/authors/sparrowhawk.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: Sparrow Hawk -avatar: /static/images/sparrowhawk-avatar.jpg -occupation: Wizard of Earthsea -company: Earthsea -twitter: https://twitter.com/sparrowhawk -linkedin: https://www.linkedin.com/sparrowhawk ---- - -At birth, Ged was given the child-name Duny by his mother. He was born on the island of Gont, as a son of a bronzesmith. His mother died before he reached the age of one. As a small boy, Ged had overheard the village witch, his maternal aunt, using various words of power to call goats. Ged later used the words without an understanding of their meanings, to surprising effect. - -The witch knew that using words of power effectively without understanding them required innate power, so she endeavored to teach him what little she knew. After learning more from her, he was able to call animals to him. Particularly, he was seen in the company of wild sparrowhawks so often that his "use name" became Sparrowhawk. diff --git a/data/authors/uses.md b/data/authors/uses.md new file mode 100644 index 0000000..12b358e --- /dev/null +++ b/data/authors/uses.md @@ -0,0 +1,114 @@ +--- +name: Lucas dos Santos Alves +avatar: /static/images/profile-pic.png +occupation: Software Developer +email: contact.lucasdsalves@gmail.com +twitter: https://twitter.com/lucasdsalves +linkedin: https://www.linkedin.com/in/lucasdossantosalves/ +github: https://github.com/lucasdsalves +--- + +## Desk + + + +## Audio + + + +## Coding + + + +## Watches + + + +## Reads + + + +## Apps + + diff --git a/data/blog/building-personal-website.mdx b/data/blog/building-personal-website.mdx index af28378..4d9be70 100644 --- a/data/blog/building-personal-website.mdx +++ b/data/blog/building-personal-website.mdx @@ -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' --- diff --git a/data/blog/from-it-services-to-software-development.mdx b/data/blog/from-it-services-to-software-development.mdx index 8b25b2d..083b909 100644 --- a/data/blog/from-it-services-to-software-development.mdx +++ b/data/blog/from-it-services-to-software-development.mdx @@ -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' --- diff --git a/data/blog/helllo-blog-word.mdx b/data/blog/helllo-blog-word.mdx index 4be5a79..b4120de 100644 --- a/data/blog/helllo-blog-word.mdx +++ b/data/blog/helllo-blog-word.mdx @@ -1,7 +1,7 @@ --- title: Hello, blog World :) date: '2022-11-14' -tags: ['hello-world'] +tags: ['#hello-world'] draft: false summary: 'Hello, blog world' --- diff --git a/data/headerNavLinks.js b/data/headerNavLinks.js index 22388a0..6c837a1 100644 --- a/data/headerNavLinks.js +++ b/data/headerNavLinks.js @@ -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 diff --git a/data/siteMetadata.js b/data/siteMetadata.js index 3b7f292..1a999c3 100644 --- a/data/siteMetadata.js +++ b/data/siteMetadata.js @@ -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', diff --git a/layouts/AuthorLayout.js b/layouts/AuthorLayout.js index 02a54f6..6ebb0f1 100644 --- a/layouts/AuthorLayout.js +++ b/layouts/AuthorLayout.js @@ -7,7 +7,7 @@ export default function AuthorLayout({ children, frontMatter }) { return ( <> - +
diff --git a/layouts/PostLayout.js b/layouts/PostLayout.js index c5917b2..d5701bf 100644 --- a/layouts/PostLayout.js +++ b/layouts/PostLayout.js @@ -7,6 +7,25 @@ import Tag from '@/components/Tag' import siteMetadata from '@/data/siteMetadata' import Comments from '@/components/comments' import ScrollTopAndComment from '@/components/ScrollTopAndComment' +import SocialIcon from '@/components/social-icons' +import AppIcons from '@/components/icons' +import { + FacebookShareButton, + TwitterShareButton, + TelegramShareButton, + EmailShareButton, + LinkedinShareButton, + RedditShareButton, + WhatsappShareButton, + TwitterIcon, + FacebookIcon, + TelegramIcon, + PocketShareButton, + PocketIcon, + WhatsappIcon, + EmailIcon, + LinkedinIcon, +} from 'react-share' const editUrl = (fileName) => `${siteMetadata.siteRepo}/blob/master/data/blog/${fileName}` const discussUrl = (slug) => @@ -18,6 +37,7 @@ const postDateTemplate = { weekday: 'long', year: 'numeric', month: 'long', day: export default function PostLayout({ frontMatter, authorDetails, next, prev, children }) { const { slug, fileName, date, title, images, tags } = frontMatter + const postUrl = `${siteMetadata.siteUrl}/blog/${slug}` return ( @@ -29,26 +49,24 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi
-
+
-
-
-
Published on
-
- -
+
+
+
-
+ +
{title}
{authorDetails.map((author) => ( - + {' '} - {author.name} + ✏️ {author.name} ))}
@@ -60,6 +78,51 @@ export default function PostLayout({ frontMatter, authorDetails, next, prev, chi >
{children}
+
+
Share this post
+
+ + + + + + + + + + + + + + + + + + + + + + +
+