From 79fd506d30eef3d113f4a8e3ab9ebd9004f1e8cc Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Sat, 28 Jun 2025 18:14:22 -0300 Subject: feat: index page 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/Commit.astro | 49 --------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 src/components/Commit.astro (limited to 'src/components/Commit.astro') diff --git a/src/components/Commit.astro b/src/components/Commit.astro deleted file mode 100644 index 3ee284a..0000000 --- a/src/components/Commit.astro +++ /dev/null @@ -1,49 +0,0 @@ ---- -import type { Commit } from "@lib/git/types"; -import { gitDir } from "@lib/git"; - -type Props = Commit; - -const { hash, files, author, signature } = Astro.props; - -const git = await gitDir; ---- -

Git commit info:

-
-
Hash
-
{hash}
-
Files
- {files.map((file) =>
{file.pathname.replace(git, "")}
)} -
Author
-
{author.name} <{author.email}>
- { - signature && ( -
Commit Signature
-
-
-
Type
-
{signature.type}
-
Signer
-
{signature.signerName}
-
Key fingerprint
-
{signature.keyFingerPrint}
-
-
- ) - } -
- - -- cgit v1.2.3