Skip to content

Commit 1d86790

Browse files
committed
'xd'
1 parent 0d532c5 commit 1d86790

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

components/home/Aboutme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function AboutMe() {
6464
<div className="relative -mx-4 mt-10 lg:mt-0" aria-hidden="true">
6565
<Image
6666
className="relative mx-auto rounded-lg shadow-lg"
67-
src="/placeholder.svg?height=500&width=500"
67+
src="/static/images/logo.jpg"
6868
alt="Foto de perfil"
6969
width={500}
7070
height={500}

layouts/PostLayout.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Image from '@/components/Image'
99
import Tag from '@/components/Tag'
1010
import siteMetadata from '@/data/siteMetadata'
1111
import ScrollTopAndComment from '@/components/ScrollTopAndComment'
12+
import { Threads, Github } from '../components/social-icons/icons'
1213

1314
const editUrl = (path) => `${siteMetadata.siteRepo}/blob/main/data/${path}`
1415
const discussUrl = (path) =>
@@ -97,11 +98,18 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
9798
<div className="divide-y divide-gray-200 dark:divide-gray-700 xl:col-span-3 xl:row-span-2 xl:pb-0">
9899
<div className="prose max-w-none pb-8 pt-10 dark:prose-invert">{children}</div>
99100
<div className="pb-6 pt-6 text-sm text-gray-700 dark:text-gray-300">
100-
<Link href={discussUrl(path)} rel="nofollow">
101-
Discuss on Twitter
101+
<Link href={editUrl(filePath)}>
102+
<button className="flex cursor-pointer items-center gap-2 rounded-lg bg-black px-4 py-2 text-sm font-medium text-zinc-200 transition-all duration-200 ease-in hover:bg-[#111]">
103+
<svg
104+
viewBox="0 0 24 24"
105+
xmlns="http://www.w3.org/2000/svg"
106+
className="w-6 fill-zinc-200"
107+
>
108+
<path d="M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.6,5,2.5,9.3,6.9,10.7v-2.3c0,0-0.4,0.1-0.9,0.1c-1.4,0-2-1.2-2.1-1.9 c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1c0.4,0,0.7-0.1,0.9-0.2 c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6c0,0,1.4,0,2.8,1.3 C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4c0.7,0.8,1.2,1.8,1.2,3 c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v3.3c4.1-1.3,7-5.1,7-9.5C22,6.1,16.9,1.4,10.9,2.1z"></path>
109+
</svg>
110+
Ver En Github
111+
</button>
102112
</Link>
103-
{` • `}
104-
<Link href={editUrl(filePath)}>View on GitHub</Link>
105113
</div>
106114
{siteMetadata.comments && (
107115
<div
@@ -131,7 +139,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
131139
{prev && prev.path && (
132140
<div>
133141
<h2 className="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">
134-
Previous Article
142+
Anterior Articulo
135143
</h2>
136144
<div className="text-red-500 hover:text-red-600 dark:hover:text-red-400">
137145
<Link href={`/${prev.path}`}>{prev.title}</Link>
@@ -141,7 +149,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
141149
{next && next.path && (
142150
<div>
143151
<h2 className="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">
144-
Next Article
152+
Siguiente Articulo
145153
</h2>
146154
<div className="text-red-500 hover:text-red-600 dark:hover:text-red-400">
147155
<Link href={`/${next.path}`}>{next.title}</Link>
@@ -157,7 +165,7 @@ export default function PostLayout({ content, authorDetails, next, prev, childre
157165
className="text-red-500 hover:text-red-600 dark:hover:text-red-400"
158166
aria-label="Back to the blog"
159167
>
160-
&larr; Back to the blog
168+
&larr; Volver al Blog
161169
</Link>
162170
</div>
163171
</footer>

0 commit comments

Comments
 (0)