diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cff37e6..6d829970 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: - main workflow_dispatch: + schedule: + - cron: '0 0 * * *' # Runs every night at 12 am UTC jobs: build: diff --git a/src/app/packages/page.tsx b/src/app/packages/page.tsx index 2b92c800..2e3ffd23 100644 --- a/src/app/packages/page.tsx +++ b/src/app/packages/page.tsx @@ -218,236 +218,271 @@ const Stats = () => { }, [startDate, endDate]); return ( -
-

Download Statistics

-
- {packages.map((package_list) => ( -
-
-
-

- {package_list.name.replaceAll("-", " ")} -

-
-
+
+
+

+ Download Statistics +

+

+ We are a dynamic group of individuals who are passionate about what we + do. +

+
+ {packages.map((package_list) => ( +
+
- +

+ {package_list.name.replaceAll("-", " ")} +

-
-
-
-
-
-
- expand_img -
-
- {package_list.total} -
-
-
-
-

Downloads

+
+
+
-
-
- - npm_img - +
+
+
+
+ expand_img +
+
+ {package_list.total} +
+
+
+
+

Downloads

+
+
-
- - npm_img - +
+
+ + npm_img + +
+
+ + npm_img + +
-
- ))} -
+ ))} +
- - - -
- + + + +
+ -
-
- - -
- -
- - {npmPackage.name.replaceAll("-", " ")} - -
-
-

- Select -

-
- -
- + + +
+ + {npmPackage.name.replaceAll("-", " ")} + +
+
+

+ Select +

+
+ +
+ + + +
-
-
- {selectedRange === true ? ( -
-
-
- - setStartDate(e.target.value)} - /> +
+ {selectedRange === true ? ( +
+
+
+ + setStartDate(e.target.value)} + /> +
+
+ + setEndDate(e.target.value)} + /> +
-
- - setEndDate(e.target.value)} - /> +
+
+
+
+ expand_img +
+
+ {count} +
+
+
+
+

+ Downloads +

+
+
+
+ ) : (
@@ -474,44 +509,17 @@ const Stats = () => {
-
- ) : ( -
-
-
-
- expand_img -
-
- {count} -
-
-
-
-

- Downloads -

-
-
-
-
- )} + )} +
-
- - + + +
-
-
-
-
+
+
+
+
); };