feat: improve SEO/favicon setup

This commit is contained in:
Pablo de la Torre Jamardo 2025-09-21 09:17:14 +02:00
parent 6cd1f7d620
commit b5c8364b47
11 changed files with 59 additions and 19 deletions

View File

@ -1,23 +1,38 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<link href="/avatar-bot.png" rel="icon" type="image/png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="Portfolio de Pablo de la Torre" name="description"/>
<meta name="keywords" content="desarrollador, full stack, vue.js, react, node.js, portfolio, programador" />
<meta content="Pablo de la Torre" name="author"/>
<link href="/manifest.json" rel="manifest"/>
<meta content="#3b1070" name="theme-color"/>
<meta content="#3b1070" name="background-color"/>
<meta content="#3b1070" name="apple-mobile-web-app-status-bar-style">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta content="https://pablotj.com" property="og:url"/>
<meta content="Portfolio | Pablot TJ" property="og:title"/>
<meta content="Portfolio de Pablo de la Torre" property="og:description"/>
<title>Portfolio | Pablot TJ</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Portfolio | Pablo de la Torre Jamardo (Pablo TJ)</title>
<!-- SEO -->
<meta name="description" content="Portfolio personal de Pablo de la Torre Jamardo (Pablo TJ): proyectos, desarrollo software, programación y soluciones tecnológicas." />
<meta name="keywords" content="portfolio, Pablo TJ, Pablo de la Torre, desarrollador, programación, software, tecnología" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Pablo de la Torre Jamardo" />
<link rel="canonical" href="https://pablotj.com/" />
<!-- PWA / Mobile -->
<meta name="theme-color" content="#062342" />
<meta name="apple-mobile-web-app-title" content="Pablo TJ" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<!-- Favicon & App Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png" />
<link rel="manifest" href="/images/site.webmanifest" />
<link rel="shortcut icon" href="/images/favicon.ico" />
<!-- Open Graph (Facebook, LinkedIn, WhatsApp) -->
<meta property="og:title" content="Portfolio | Pablo de la Torre Jamardo (Pablo TJ)" />
<meta property="og:description" content="Explora el portfolio de Pablo TJ: proyectos de software, programación y desarrollo tecnológico." />
<meta property="og:image" content="https://pablotj.com/images/favicon.svg" />
<meta property="og:url" content="https://pablotj.com/" />
<meta property="og:type" content="website" />
</head>
<body>
<div id="app"></div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
public/images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 496 KiB

View File

@ -0,0 +1,21 @@
{
"name": "Pablo TJ",
"short_name": "Pablo TJ",
"icons": [
{
"src": "/favicon.ico/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/favicon.ico/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 KiB

View File

@ -3,17 +3,17 @@
"name": "Pablot TJ",
"icons": [
{
"src": "avatar-bot.png",
"src": "images/favicon-96x96.png",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "avatar-bot.png",
"src": "images/web-app-manifest-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "avatar-bot.png",
"src": "images/web-app-manifest-512x512.png",
"type": "image/png",
"sizes": "512x512"
}

3
public/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: