11---
22import { SITE } from " ../config" ;
3+ import Icon from " ./icons/Icon.tsx" ;
34---
45
56<footer class =" border-t border-[#1a1a1a] bg-[#0a0a0a]" >
@@ -20,57 +21,23 @@ import { SITE } from "../config";
2021 class =" text-[#525252] hover:text-lime-400 transition-colors"
2122 aria-label =" Twitter"
2223 >
23- <svg
24- xmlns =" http://www.w3.org/2000/svg"
25- width =" 18"
26- height =" 18"
27- viewBox =" 0 0 24 24"
28- fill =" currentColor"
29- >
30- <path
31- d =" M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
32- ></path >
33- </svg >
24+ <Icon name =" Twitter" size ={ 18 } client:load />
3425 </a >
35- <!-- Instagram -->
26+ <!-- Email/Newsletter -->
3627 <a
3728 href =" #"
3829 class =" text-[#525252] hover:text-lime-400 transition-colors"
39- aria-label =" Instagram "
30+ aria-label =" Email "
4031 >
41- <svg
42- xmlns =" http://www.w3.org/2000/svg"
43- width =" 18"
44- height =" 18"
45- viewBox =" 0 0 24 24"
46- fill =" none"
47- stroke =" currentColor"
48- stroke-width =" 2"
49- stroke-linecap =" round"
50- stroke-linejoin =" round"
51- >
52- <rect x =" 2" y =" 2" width =" 20" height =" 20" rx =" 5" ry =" 5"
53- ></rect ><path d =" M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"
54- ></path ><line x1 =" 17.5" y1 =" 6.5" x2 =" 17.51" y2 =" 6.5" ></line >
55- </svg >
32+ <Icon name =" Mail" size ={ 18 } client:load />
5633 </a >
5734 <!-- GitHub -->
5835 <a
5936 href =" #"
6037 class =" text-[#525252] hover:text-lime-400 transition-colors"
6138 aria-label =" GitHub"
6239 >
63- <svg
64- xmlns =" http://www.w3.org/2000/svg"
65- width =" 18"
66- height =" 18"
67- viewBox =" 0 0 24 24"
68- fill =" currentColor"
69- >
70- <path
71- d =" M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
72- ></path >
73- </svg >
40+ <Icon name =" Github" size ={ 18 } client:load />
7441 </a >
7542 </div >
7643 </div >
@@ -134,22 +101,16 @@ import { SITE } from "../config";
134101 href =" /rss.xml"
135102 class =" text-sm text-[#737373] hover:text-lime-400 transition-colors flex items-center gap-2"
136103 >
137- <svg
138- xmlns =" http://www.w3.org/2000/svg"
139- width =" 14"
140- height =" 14"
141- viewBox =" 0 0 24 24"
142- fill =" none"
143- stroke =" currentColor"
144- stroke-width =" 2"
145- stroke-linecap =" round"
146- stroke-linejoin =" round"
147- ><path d =" M4 11a9 9 0 0 1 9 9" ></path ><path
148- d =" M4 4a16 16 0 0 1 16 16" ></path ><circle cx =" 5" cy =" 19" r =" 1"
149- ></circle ></svg
150- >
104+ <Icon name =" Rss" size ={ 18 } client:load />
151105 RSS Feed
152106 </a >
107+ <a
108+ href =" /stats"
109+ class =" text-sm text-[#737373] hover:text-lime-400 transition-colors flex items-center gap-2"
110+ >
111+ <Icon name =" BarChart2" size ={ 12 } client:load />
112+ Stats del blog
113+ </a >
153114 <p class =" text-xs text-[#2a2a2a]" >
154115 Hecho con Astro y demasiado café ☕
155116 </p >
0 commit comments