diff --git a/src/components/builder-tabel.astro b/src/components/builder-tabel.astro deleted file mode 100755 index 2c63d3f..0000000 --- a/src/components/builder-tabel.astro +++ /dev/null @@ -1,199 +0,0 @@ ---- -import {builderData} from "src/javascript/builderData" -const itemsPerPage = 40; -const totalPages = Math.ceil(builderData.length / itemsPerPage); ---- - - -
- - - - - - - - - - - - - - {builderData.map((row, index) => ( - - - - - - - - - - ))} - -
Package NameRepositoryStatus i686Status x86_64Status ARMv6hStatus ARMv7hStatus AArch64
{row.PackageName}
- -
- - - - diff --git a/src/components/package-tabel.astro b/src/components/package-tabel.astro deleted file mode 100755 index 4621136..0000000 --- a/src/components/package-tabel.astro +++ /dev/null @@ -1,186 +0,0 @@ ---- -import {packagesdata} from "src/javascript/packagesData" - -const itemsPerPage = 40; -const totalPages = Math.ceil(packagesdata.length / itemsPerPage); ---- - -
- - - - - - - - - - - - { - packagesdata.map((row, index) => ( - - - - - - - - )) - } - -
PackageVersionCategoryDescriptionRepository
{row.package}{row.version}{row.category}{row.description}{row.repository}
- -
- - - - diff --git a/src/components/package-table.astro b/src/components/package-table.astro index daf7641..c125fd5 100755 --- a/src/components/package-table.astro +++ b/src/components/package-table.astro @@ -7,6 +7,7 @@ type Package = { documentId: string; package_name: string; version: string; + category: string; description: string; repository: string; createdAt: string; @@ -57,20 +58,20 @@ let totalPackages = apiResponse.meta.pagination.total; > Description + Category + RepositoryDescription Repository - Category - @@ -83,15 +84,15 @@ let totalPackages = apiResponse.meta.pagination.total; {p.version} + + {p.category} + {p.description} {p.repository} - - Automation - )) } @@ -146,15 +147,15 @@ let totalPackages = apiResponse.meta.pagination.total; ${p.version} + + ${p.category} + ${p.description} ${p.repository} - - Automation - `; dataRows.appendChild(tr); });