Skip to content

Commit 5b8fa07

Browse files
committed
Improve website metadata
1 parent 2976105 commit 5b8fa07

2 files changed

Lines changed: 113 additions & 31 deletions

File tree

src/app/head..js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default function Head() {
2+
return (
3+
<>
4+
<link rel="preconnect" href="https://www.youtube.com" />
5+
<link rel="dns-prefetch" href="https://www.youtube.com" />
6+
</>
7+
);
8+
}

src/app/layout.js

Lines changed: 105 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,60 +5,134 @@ import Footer from "@/components/Footer";
55

66
const inter = Inter({ subsets: ["latin"] });
77

8+
export const viewport = {
9+
width: "device-width",
10+
initialScale: 1,
11+
maximumScale: 5,
12+
themeColor: [
13+
{ media: "(prefers-color-scheme: light)", color: "#3775a9" },
14+
{ media: "(prefers-color-scheme: dark)", color: "#306998" },
15+
],
16+
colorScheme: "light dark",
17+
};
18+
819
export const metadata = {
920
title: "PyDay Chile 2025",
10-
description: "Evento anual gratuito para promover y fomentar el lenguaje de programación Python en Chile",
11-
keywords: ["Python", "Chile", "Programación", "PyDay", "Desarrollo web", "Data Science", "Comunidad"],
12-
authors: [{ name: "Comunidad Python Chile" }],
13-
robots: "index, follow",
14-
21+
description:
22+
"Evento anual gratuito para promover y fomentar el lenguaje de programación Python en Chile",
23+
keywords: [
24+
"Python",
25+
"Chile",
26+
"Programación",
27+
"PyDay",
28+
"Desarrollo web",
29+
"Data Science",
30+
"Comunidad",
31+
],
32+
authors: [{ name: "Comunidad Python Chile", url: "https://pyday.cl" }],
33+
creator: "Comunidad Python Chile",
34+
publisher: "Comunidad Python Chile",
35+
robots: {
36+
index: true,
37+
follow: true,
38+
nocache: true,
39+
googleBot: {
40+
index: true,
41+
follow: true,
42+
"max-image-preview": "large",
43+
"max-snippet": -1,
44+
"max-video-preview": -1,
45+
},
46+
},
47+
icons: {
48+
icon: [
49+
{ url: "/favicon.ico", sizes: "any" },
50+
{ url: "/icon.svg", type: "image/svg+xml" },
51+
{ url: "/favicon-16x16.png", type: "image/png", sizes: "16x16" },
52+
{ url: "/favicon-32x32.png", type: "image/png", sizes: "32x32" },
53+
{
54+
url: "/android-chrome-192x192.png",
55+
type: "image/png",
56+
sizes: "192x192",
57+
},
58+
{
59+
url: "/android-chrome-512x512.png",
60+
type: "image/png",
61+
sizes: "512x512",
62+
},
63+
],
64+
shortcut: "/shortcut-icon.png",
65+
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180" }],
66+
other: [
67+
{ rel: "mask-icon", url: "/safari-pinned-tab.svg", color: "#3775a9" },
68+
],
69+
},
70+
manifest: "/manifest.json",
71+
applicationName: "PyDay Chile",
72+
appleWebApp: {
73+
capable: true,
74+
title: "PyDay Chile 2025",
75+
statusBarStyle: "black-translucent",
76+
},
77+
category: "technology",
78+
metadataBase: new URL("https://pyday.cl"),
79+
alternates: {
80+
canonical: "/",
81+
languages: {
82+
"es-CL": "/es",
83+
"en-US": "/en",
84+
},
85+
},
1586
openGraph: {
87+
type: "website",
88+
locale: "es_CL",
89+
alternateLocale: ["en_US"],
1690
title: "PyDay Chile 2025",
17-
description: "¡El evento más importante de Python en Chile! Charlas, workshops y networking para todos los niveles",
18-
url: "https://pyday.cl",
91+
description:
92+
"¡El evento más importante de Python en Chile! Charlas, workshops y networking para todos los niveles",
1993
siteName: "PyDay Chile",
94+
url: "https://pyday.cl",
2095
images: [
2196
{
22-
url: "/images/banner-og.jpg",
97+
url: "/images/banner-og.jpg",
2398
width: 1200,
2499
height: 630,
25100
alt: "PyDay Chile 2025 Banner",
26101
},
102+
{
103+
url: "/images/logo-pyday.png",
104+
width: 800,
105+
height: 800,
106+
alt: "Logo PyDay Chile",
107+
},
27108
],
28-
locale: "es_CL",
29-
type: "website",
30109
},
31-
32110
twitter: {
33111
card: "summary_large_image",
34112
title: "PyDay Chile 2025",
35113
description: "Evento anual de Python más importante de Chile",
36-
images: ["/images/banner-twitter.jpg"],
114+
siteId: "@pythonchile",
115+
creator: "@pythonchile",
116+
creatorId: "@pythonchile",
117+
images: [
118+
{
119+
url: "/images/banner-twitter.jpg",
120+
alt: "PyDay Chile 2025",
121+
},
122+
],
123+
},
124+
verification: {
125+
google: "google-site-verification-code",
126+
yandex: "yandex-verification-code",
127+
other: {
128+
me: ["mailto:contacto@pyday.cl", "https://twitter.com/pythonchile"],
129+
},
37130
},
38131
};
39132

40133
export default function RootLayout({ children }) {
41134
return (
42135
<html lang="es">
43-
<head>
44-
{/* Favicon tradicional */}
45-
<link rel="icon" href="/favicon.ico" sizes="any" />
46-
47-
<link
48-
rel="icon"
49-
href="/android-chrome-512x512.png"
50-
type="image/png"
51-
sizes="512x512"
52-
/>
53-
54-
{/* Para iOS/Apple */}
55-
<link
56-
rel="apple-touch-icon"
57-
href="/apple-icon.png"
58-
type="image/png"
59-
sizes="180x180"
60-
/>
61-
</head>
62136
<body className={`${inter.className} min-h-screen flex flex-col`}>
63137
<div className="gradient-bg fixed inset-0 -z-10" />
64138
<Header />

0 commit comments

Comments
 (0)