+
{page.title}
{page.render ? (
) : (
-
+
{page.description || "No preview available for this post."}
)}
@@ -232,6 +231,70 @@ function timeAgo(dateStr: string): string {
+
+
\ No newline at end of file
diff --git a/apps/frontend/src/pages/code.astro b/apps/frontend/src/pages/code.astro
index a5ea0b2..f338ddb 100644
--- a/apps/frontend/src/pages/code.astro
+++ b/apps/frontend/src/pages/code.astro
@@ -135,7 +135,7 @@ const recentCommits = allCommits.slice(0, 20);
{error && (
-
+
Error!
{error}
@@ -145,43 +145,43 @@ const recentCommits = allCommits.slice(0, 20);
{publicRepos.map((repo) => (
-
-
+
+
{repo.owner.login}/{repo.name}
- {repo.description && {repo.description}
}
- {repo.language && Language: {repo.language}
}
- Updated: {new Date(repo.updated_at).toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric'})}
+ {repo.description && {repo.description}
}
+ {repo.language && Language: {repo.language}
}
+ Updated: {new Date(repo.updated_at).toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric'})}
))}
)}
- Recent Commits
+ Recent Commits
{!error && recentCommits.length === 0 && (
- No recent commits found or accessible from public repositories.
+ No recent commits found or accessible from public repositories.
)}
-
+
{recentCommits.map((commit) => (
-
-
+
+
🚀
-
-
-
+
+
+
{commit.repo.owner} / {commit.repo.name}
: {commit.message.split('\n')[0]}
-
+
Authored by {commit.author.name} on {new Date(commit.date).toLocaleDateString('en-US', {
year: 'numeric', month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit'
})}
-
+
{commit.sha.substring(0, 7)}
@@ -191,3 +191,55 @@ const recentCommits = allCommits.slice(0, 20);
+
+
diff --git a/apps/frontend/src/pages/contact.astro b/apps/frontend/src/pages/contact.astro
index 92fb1b8..e65c1b6 100644
--- a/apps/frontend/src/pages/contact.astro
+++ b/apps/frontend/src/pages/contact.astro
@@ -14,7 +14,7 @@ const DISCORD_INVITE_LINK = import.meta.env.DISCORD_INVITE_LINK || "https://disc
-
+
+
{repo.owner.login}/{repo.name}
- {repo.description && {repo.description}
}
- {repo.language && Language: {repo.language}
}
- Updated: {new Date(repo.updated_at).toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric'})}
+ {repo.description && {repo.description}
}
+ {repo.language && Language: {repo.language}
}
+ Updated: {new Date(repo.updated_at).toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric'})}
Recent Commits
+Recent Commits
{!error && recentCommits.length === 0 && ( -No recent commits found or accessible from public repositories.
+No recent commits found or accessible from public repositories.
)} -
-
+
+
{commit.repo.owner} / {commit.repo.name}
: {commit.message.split('\n')[0]}
+
Authored by {commit.author.name} on {new Date(commit.date).toLocaleDateString('en-US', {
year: 'numeric', month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit'
})}
-
+
{commit.sha.substring(0, 7)}