diff --git a/app/scripts/page.tsx b/app/scripts/page.tsx
index 6685923..45fa5de 100644
--- a/app/scripts/page.tsx
+++ b/app/scripts/page.tsx
@@ -30,7 +30,7 @@ export default function Page() {
if (diffInMinutes < 30) {
setLinks(JSON.parse(cachedLinks));
- setCacheExpiryTime(new Date(Number(cacheTime) + 30 * 60 * 1000));
+ setCacheExpiryTime(new Date(Number(cacheTime) + 1440 * 60 * 1000));
setIsLoading(false);
return;
}
diff --git a/components/CacheControls.tsx b/components/CacheControls.tsx
index b9cf6fe..410ca50 100644
--- a/components/CacheControls.tsx
+++ b/components/CacheControls.tsx
@@ -25,7 +25,8 @@ const CacheControls: React.FC = ({
{cacheExpiryTime && (
- Cache will expire automatically at{" "}
+ Cache will expire automatically on{" "}
+ {cacheExpiryTime.toLocaleDateString()} at{" "}
{cacheExpiryTime.toLocaleTimeString()}
)}
@@ -36,31 +37,31 @@ const CacheControls: React.FC = ({
)}
-
- {isCacheEnabled ? (
- <>
-
-
- >
- ) : (
-
- )}
-
+
+ {isCacheEnabled ? (
+ <>
+
+
+ >
+ ) : (
+
+ )}
+
);
};
diff --git a/components/Navbar.tsx b/components/Navbar.tsx
index 0ea3218..05ef4b1 100644
--- a/components/Navbar.tsx
+++ b/components/Navbar.tsx
@@ -113,13 +113,15 @@ function Navbar() {
}`}
>
-
+
- Proxmox VE Helper-Scripts
+
+ Proxmox VE Helper-Scripts
+
diff --git a/components/Script.tsx b/components/Script.tsx
index 70782c7..5c854d7 100644
--- a/components/Script.tsx
+++ b/components/Script.tsx
@@ -132,7 +132,7 @@ function ScriptItem({
return (
-
-
+
+
)}
-
+
{item.website && (
+
-
+
Description
@@ -321,19 +322,19 @@ function ScriptItem({
{descriptionCodeBlock(item.description)}
{item.alert1 && (
-
-
+
+
{descriptionCodeBlock(item.alert1)}
{item.alert2 && (
-
+
{descriptionCodeBlock(item.alert2)}
)}
{item.alert3 && (
-
+
{descriptionCodeBlock(item.alert3)}
@@ -342,7 +343,7 @@ function ScriptItem({
)}
-
+
How to {item.item_type ? "install" : "use"}
diff --git a/components/ui/button.tsx b/components/ui/button.tsx
index b51f13b..ee0ba1d 100644
--- a/components/ui/button.tsx
+++ b/components/ui/button.tsx
@@ -24,6 +24,7 @@ const buttonVariants = cva(
sm: "h-9 rounded-md px-3",
lg: "h-11 rounded-md px-8",
icon: "h-10 w-10",
+ null: "py-1 px-3 rouded-xs"
},
},
defaultVariants: {