diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-08-05 18:50:37 +0100 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-08-05 18:50:37 +0100 |
commit | 0af094770c4ebabc56ff761a8bd215bc397c0f7e (patch) | |
tree | a9ad669c8b84b4d13897732ed93ccfcbbeb2cb25 /src/components/signature/Signature.astro | |
parent | 84eef3f848c4efa18985a776021a58720744523a (diff) |
refactor: reading page review
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/components/signature/Signature.astro')
-rw-r--r-- | src/components/signature/Signature.astro | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/components/signature/Signature.astro b/src/components/signature/Signature.astro deleted file mode 100644 index 57e9902..0000000 --- a/src/components/signature/Signature.astro +++ /dev/null @@ -1,44 +0,0 @@ ---- -import type { Verification } from "@lib/pgp/verify"; -import Summary from "./Summary.astro"; -import Downloads from "./Downloads.astro"; -import Commit from "./Commit.astro"; - -interface Props { - verification: Verification; - lang: string; -} - -const { verification, lang } = Astro.props; -const commit = await verification.commit; ---- - -<aside id="signatures"> - <p><strong>Verificação da assinatura digital</strong></p> - <Summary {...verification} /> - <Downloads {lang} /> - {commit && <Commit {commit} {lang} />} -</aside> - -<style is:global> - #signatures > section > p:first-child { - font-weight: bolder; - } -</style> -<style> - #signatures { - margin-inline: 1.5rem; - margin-block-end: 1.5rem; - box-shadow: 0 0 calc(1em) #e7e7e7; - border-radius: calc(1rem / 3); - padding: 1rem; - } - - #signatures > p:first-child { - font-size: larger; - - & > strong { - font-weight: bolder; - } - } -</style> |