From 011c4266ccbf3ff66d92e223b2fafd291127c102 Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Fri, 4 Jul 2025 15:37:50 -0300 Subject: style: deno fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/components/signature/Authors.astro | 30 +++++++++++++----------------- src/components/signature/Commit.astro | 4 ++-- src/components/signature/Summary.astro | 2 +- 3 files changed, 16 insertions(+), 20 deletions(-) (limited to 'src/components/signature') diff --git a/src/components/signature/Authors.astro b/src/components/signature/Authors.astro index 71a3d62..4e52d4e 100644 --- a/src/components/signature/Authors.astro +++ b/src/components/signature/Authors.astro @@ -134,18 +134,16 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { > { primary?.name - ? info?.websites[0] ? ( + ? info?.websites[0] ? ( - ) : ( - {primary.name} - ) - : primary?.email - ? ( + ) : {primary.name} + : primary?.email + ? ( <><{primary?.email}> ) - : "" + : "" } { primary && ( @@ -181,10 +179,8 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { <>

Websites

) @@ -199,8 +195,8 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { <>{ key - ? "0x" + toPK(key).getKeyID().toHex() - : "0x" + keyID.toHex() + ? "0x" + toPK(key).getKeyID().toHex() + : "0x" + keyID.toHex() } { key && false && ( @@ -214,7 +210,7 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { } { key && - ( + ( @@ -229,9 +225,9 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { { commitSignerKey && - key?.getFingerprint().toUpperCase()?.endsWith( - commitSignerKey.toUpperCase(), - ) && "✅" + key?.getFingerprint().toUpperCase()?.endsWith( + commitSignerKey.toUpperCase(), + ) && "✅" } diff --git a/src/components/signature/Commit.astro b/src/components/signature/Commit.astro index a2138ab..328a8f9 100644 --- a/src/components/signature/Commit.astro +++ b/src/components/signature/Commit.astro @@ -29,7 +29,7 @@ const formatter = new Intl.DateTimeFormat([Astro.props.lang], { ? files.map((file) => (
{file.path.pathname.replace(dir.pathname, "")}
)) - :
Nenhum ficheiro modificado
+ :
Nenhum ficheiro modificado
}
Autor (
Assinatura do commit
diff --git a/src/components/signature/Summary.astro b/src/components/signature/Summary.astro index 6ab6bf5..f25c1d1 100644 --- a/src/components/signature/Summary.astro +++ b/src/components/signature/Summary.astro @@ -161,7 +161,7 @@ A assinatura digital é criptograficamente válida. O dono da chave púb { lvl && - ( + (