diff --git a/apps/frontend/src/pages/code.astro b/apps/frontend/src/pages/code.astro index 7dc2aaf..8fca7eb 100644 --- a/apps/frontend/src/pages/code.astro +++ b/apps/frontend/src/pages/code.astro @@ -117,9 +117,20 @@ const recentCommits = allCommits.slice(0, 20); --- -
-

Recent Commits

-

Latest commits from public repositories on our Gitea instance.

+
+
+

Codebase

+

+ Explore our collection of open-source projects, study our source code, and contribute to our independent game development tools. +

+ + Open Gitea + +
@@ -130,6 +141,25 @@ const recentCommits = allCommits.slice(0, 20); )} + {!error && publicRepos.length > 0 && ( +
+ {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'})}

+
+ ))} +
+ )} + +

Recent Commits

+ {!error && recentCommits.length === 0 && (

No recent commits found or accessible from public repositories.

)} @@ -159,25 +189,5 @@ const recentCommits = allCommits.slice(0, 20); ))} - - {!error && publicRepos.length > 0 && ( -
-

Public Repositories

-
- {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'})}

-
- ))} -
-
- )}
- \ No newline at end of file + diff --git a/apps/frontend/src/pages/news.astro b/apps/frontend/src/pages/news.astro index d18524a..674e7d2 100644 --- a/apps/frontend/src/pages/news.astro +++ b/apps/frontend/src/pages/news.astro @@ -109,12 +109,16 @@ function timeAgo(dateStr: string): string {

Wiki News

-

- The latest documentation, technical guides, and development logs from our - - Knowledge Base - . +

+ The latest documentation, technical guides, and development logs from our knowledge base.

+ + Knowledge Base +
@@ -150,10 +154,7 @@ function timeAgo(dateStr: string): string { target="_blank" class="group flex flex-col bg-white rounded-2xl border border-gray-200 p-6 shadow-sm hover:shadow-xl hover:border-indigo-300 transition-all duration-300 ease-out hover:-translate-y-1" > -
- - /{page.locale} - +
{isNew && (