From d8323c653b988acd903f0d16d631ab7dddb36c62 Mon Sep 17 00:00:00 2001
From: Lucas Rayan
Date: Sun, 1 Nov 2026 07:53:39 -0300
Subject: [PATCH] chore: point the repository links to Gitea and swap the
GitHub icon
Co-Authored-By: Claude Sonnet 5.5
---
app/sobre/page.jsx | 21 +++++++--------------
components/Footer.jsx | 7 +++----
components/GiteaMark.jsx | 8 ++++++++
lib/seo.js | 2 +-
4 files changed, 19 insertions(+), 19 deletions(-)
create mode 100644 components/GiteaMark.jsx
diff --git a/app/sobre/page.jsx b/app/sobre/page.jsx
index 52ce760..4426c37 100644
--- a/app/sobre/page.jsx
+++ b/app/sobre/page.jsx
@@ -1,19 +1,12 @@
-import { paginaMeta, jsonLd } from "@/lib/seo";
+import { paginaMeta, jsonLd, SITE } from "@/lib/seo";
import Header from "@/components/Header";
import Footer from "@/components/Footer";
import PageHero from "@/components/PageHero";
import Image from "next/image";
+import GiteaMark from "@/components/GiteaMark";
import { ArrowUpRight, Code, Globe, GitCompare, Info, Languages } from "lucide-react";
-const GITHUB = "https://github.com/lucasrguerra/ESPDocs";
-
-function GithubMark({ className }) {
- return (
-
- );
-}
+const REPOSITORIO = SITE.repositorio;
export const metadata = paginaMeta({
@@ -28,7 +21,7 @@ export default function Sobre() {
{ icon: Languages, title: "Em português", desc: "Dados técnicos organizados e apresentados em português do Brasil." },
{ icon: GitCompare, title: "Comparações visuais", desc: "Tabelas e diagramas para escolher a série certa sem abrir dez datasheets." },
{ icon: Globe, title: "Acesso centralizado", desc: "Links diretos para a documentação oficial, repositórios e exemplos." },
- { icon: Code, title: "Código aberto", desc: "Contribuições são bem-vindas no GitHub." },
+ { icon: Code, title: "Código aberto", desc: "Contribuições são bem-vindas no Gitea." },
];
return (
@@ -60,8 +53,8 @@ export default function Sobre() {
title="Sobre o ESPDocs"
lede="Uma plataforma não oficial, em português, que organiza as informações técnicas do ESP32 e leva você à documentação oficial da Espressif. Feita para a comunidade de hardware livre."
>
-
-
+
+
Ver o repositório
@@ -108,7 +101,7 @@ export default function Sobre() {
{[
- "Faça o fork do repositório no GitHub.",
+ "Faça o fork do repositório no Gitea.",
"Implemente as melhorias e confira as referências técnicas oficiais.",
"Abra um Pull Request descrevendo os ajustes feitos.",
].map((passo, i) => (
diff --git a/components/Footer.jsx b/components/Footer.jsx
index 6cdde6f..00d7125 100644
--- a/components/Footer.jsx
+++ b/components/Footer.jsx
@@ -1,5 +1,6 @@
import Link from "next/link";
import Logo from "@/components/Logo";
+import GiteaMark from "@/components/GiteaMark";
import { ArrowUpRight } from "lucide-react";
import { SITE } from "@/lib/seo";
@@ -123,12 +124,10 @@ export default function Footer() {
href={SITE.repositorio}
target="_blank"
rel="noopener noreferrer"
- aria-label="GitHub do projeto (abre em nova aba)"
+ aria-label="Gitea do projeto (abre em nova aba)"
className="grid h-11 w-11 place-items-center rounded-full border border-line text-ink transition-colors hover:border-line-strong hover:bg-surface"
>
-
+
+
+
+ );
+}
diff --git a/lib/seo.js b/lib/seo.js
index 9f776ef..40159a6 100644
--- a/lib/seo.js
+++ b/lib/seo.js
@@ -13,7 +13,7 @@ export const SITE = {
autorUrl: "https://lucasrguerra.dev.br",
autorLinkedin: "https://linkedin.com/in/lucasrguerra",
autorEmail: "contato@lucasrguerra.dev.br",
- repositorio: "https://github.com/lucasrguerra/ESPDocs",
+ repositorio: "https://git.lucasrguerra.dev.br/lucasrguerra/ESPDocs",
blog: "https://cienciaembarcada.com.br",
livroTitulo: "Microcontroladores ESP32",
livroSubtitulo: "Conectividade, Eficiência e Desempenho",