Skip to content

Commit 9aba2e6

Browse files
authored
🔖 - Version 1.2.1 (#25)
2 parents 81a6249 + 8cc0854 commit 9aba2e6

File tree

7 files changed

+28
-26
lines changed

7 files changed

+28
-26
lines changed

‎posts/blog/resources_developers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Mis 5 Sitios Favoritos para Aprender Programación
33
date: 2023-12-12
44
description: Mis 5 Sitios Favoritos para Aprender Programación
5-
thumbnailUrl: /blog/developer.png
6-
author: '@claudio_coder'
5+
thumbnailUrl: /blog/developer.jpg
6+
author: claudio_coder
77
---
88

99
![](/blog/apps.png 'Image generated by OpenAI DALL-E')

‎public/blog/developer.jpg

586 KB
Loading

‎public/blog/developer.png

-3 MB
Binary file not shown.

‎src/app/[slug]/page.tsx

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,32 @@ const BlogPage = async ({ params }: Props) => {
4040

4141
return (
4242
<div className='flex flex-col my-8 sm:px-[5%]'>
43-
<div className='sm:pl-[5%] sm:pr-[15%] mb-4 sm:mb-8'>
44-
<h1 className='text-2xl sm:text-4xl font-black'>{post.title}</h1>
45-
<time
46-
dateTime={post.date}
47-
className='my-2 block text-sm w-full text-gray-600 text-left'
48-
>
49-
{format(parseISO(post.date), 'MMMM dd, yyyy')}
50-
</time>
51-
<p className='text-gray-500 italic text-sm'>{post.author}</p>
52-
53-
<div className='my-2'>
54-
<a
55-
href='https://twitter.com/share?ref_src=twsrc%5Etfw'
56-
className='twitter-share-button'
57-
data-show-count='false'
43+
<div className='mx-4'>
44+
<div className='sm:pl-[5%] sm:pr-[15%] mb-4 sm:mb-8'>
45+
<h1 className='text-2xl sm:text-4xl font-black'>{post.title}</h1>
46+
<time
47+
dateTime={post.date}
48+
className='my-2 block text-sm w-full text-gray-600 text-left'
5849
>
59-
<span>Compartir en X</span>
60-
</a>
50+
{format(parseISO(post.date), 'MMMM dd, yyyy')}
51+
</time>
52+
<p className='text-gray-500 italic text-sm'>{post.author}</p>
53+
54+
<div className='my-2'>
55+
<a
56+
href='https://twitter.com/share?ref_src=twsrc%5Etfw'
57+
className='twitter-share-button'
58+
data-show-count='false'
59+
>
60+
<span>Compartir en X</span>
61+
</a>
62+
</div>
63+
</div>
64+
<div className='sm:pl-[5%] sm:pr-[15%] h-[70vh] mb-4'>
65+
<Mdx code={post.body.code} />
6166
</div>
6267
</div>
63-
<div className='sm:pl-[5%] sm:pr-[15%] h-[70vh] mb-4 overflow-auto'>
64-
<Mdx code={post.body.code} />
65-
</div>
66-
<div className='pt-6 pl-[5%]'>
68+
<div className='border-t-2 border-solid py-5 px-4 fixed bg-white w-full bottom-0'>
6769
<Footer />
6870
</div>
6971
<SocialMediaScripts />

‎src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function RootLayout({
1616
return (
1717
<html lang='es'>
1818
<body className={_roboto.className}>
19-
<div className='p-5 sm:pl-5 h-screen'>
19+
<div className='my-4 sm:p-5 sm:pl-5 h-screen'>
2020
<div className='flex flex-col sm:flex-row column w-full'>
2121
<div className='w-full sm:w-1/5 flex justify-center mb-8'>
2222
<ProfileContainer />

‎src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Home() {
1818

1919
return (
2020
<>
21-
<div className='sm:m-8'>
21+
<div className='sm:m-8 mx-4'>
2222
<h1 className='mb-6 sm:mb-8 text-3xl font-black'>Blog</h1>
2323
<div className='flex flex-wrap gap-5'>
2424
{posts.map((post, idx) => (

‎src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Link from 'next/link'
22

33
export default function Footer() {
44
return (
5-
<div className='p-2 border-l-4 text-gray-500'>
5+
<div>
66
<Link
77
href='/'
88
className='font-bold underline underline-offset-4 text-gray-500'

0 commit comments

Comments
 (0)