Skip to content

Commit 99645d9

Browse files
feat: robots.txt
1 parent 7326027 commit 99645d9

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

app/[locale]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export function generateMetadata({ params }: LayoutParams): Metadata {
4141
alternates,
4242
robots: { index: true, follow: true },
4343
icons: {
44-
icon: "../favicon.ico",
45-
shortcut: "../favicon.ico",
44+
icon: "/favicon.ico",
45+
shortcut: "/favicon.ico",
4646
// apple: "/apple-touch-icon.png",
4747
// other: [{ rel: "mask-icon", url: "/mask-icon.svg" }],
4848
},

public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://joaogabrielsilva.com.br/sitemap.xml

public/sitemap.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url><loc>https://joaogabrielsilva.com.br/pt</loc></url>
4+
<url><loc>https://joaogabrielsilva.com.br/pt/about</loc></url>
5+
<url><loc>https://joaogabrielsilva.com.br/pt/certifications</loc></url>
6+
<url><loc>https://joaogabrielsilva.com.br/pt/contact</loc></url>
7+
<url><loc>https://joaogabrielsilva.com.br/pt/projects</loc></url>
8+
<url><loc>https://joaogabrielsilva.com.br/en</loc></url>
9+
<url><loc>https://joaogabrielsilva.com.br/en/about</loc></url>
10+
<url><loc>https://joaogabrielsilva.com.br/en/certifications</loc></url>
11+
<url><loc>https://joaogabrielsilva.com.br/en/contact</loc></url>
12+
<url><loc>https://joaogabrielsilva.com.br/en/projects</loc></url>
13+
<url><loc>https://joaogabrielsilva.com.br/es</loc></url>
14+
<url><loc>https://joaogabrielsilva.com.br/es/about</loc></url>
15+
<url><loc>https://joaogabrielsilva.com.br/es/certifications</loc></url>
16+
<url><loc>https://joaogabrielsilva.com.br/es/contact</loc></url>
17+
<url><loc>https://joaogabrielsilva.com.br/es/projects</loc></url>
18+
<url><loc>https://joaogabrielsilva.com.br/fr</loc></url>
19+
<url><loc>https://joaogabrielsilva.com.br/fr/about</loc></url>
20+
<url><loc>https://joaogabrielsilva.com.br/fr/certifications</loc></url>
21+
<url><loc>https://joaogabrielsilva.com.br/fr/contact</loc></url>
22+
<url><loc>https://joaogabrielsilva.com.br/fr/projects</loc></url>
23+
<url><loc>https://joaogabrielsilva.com.br/de</loc></url>
24+
<url><loc>https://joaogabrielsilva.com.br/de/about</loc></url>
25+
<url><loc>https://joaogabrielsilva.com.br/de/certifications</loc></url>
26+
<url><loc>https://joaogabrielsilva.com.br/de/contact</loc></url>
27+
<url><loc>https://joaogabrielsilva.com.br/de/projects</loc></url>
28+
</urlset>

0 commit comments

Comments
 (0)