summaryrefslogtreecommitdiff
path: root/src/components/signature/Signature.astro
diff options
context:
space:
mode:
authorJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-08-05 18:50:37 +0100
committerJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-08-05 18:50:37 +0100
commit0af094770c4ebabc56ff761a8bd215bc397c0f7e (patch)
treea9ad669c8b84b4d13897732ed93ccfcbbeb2cb25 /src/components/signature/Signature.astro
parent84eef3f848c4efa18985a776021a58720744523a (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.astro44
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>