summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <lizhunt@amazon.com>2025-01-17 12:03:39 -0800
committerElizabeth Hunt <lizhunt@amazon.com>2025-01-17 12:05:21 -0800
commit582870c12d9e1ec5b84882bee4db8dcd56b261a7 (patch)
tree42748ca1edc38571ecd11b849c5e72581aa68344
parent2a08e687f6f33ac2e1526da04dfd982e11b50d36 (diff)
downloadpenguin-new-tab-582870c12d9e1ec5b84882bee4db8dcd56b261a7.tar.gz
penguin-new-tab-582870c12d9e1ec5b84882bee4db8dcd56b261a7.zip
update quicklinks and ticksHEADmain
-rw-r--r--app/components/QuickLinks.tsx11
-rw-r--r--app/components/WhoisChart.tsx4
-rw-r--r--app/page.tsx2
3 files changed, 14 insertions, 3 deletions
diff --git a/app/components/QuickLinks.tsx b/app/components/QuickLinks.tsx
index 8a853cf..ad5a5ae 100644
--- a/app/components/QuickLinks.tsx
+++ b/app/components/QuickLinks.tsx
@@ -5,6 +5,7 @@ import {
Mail,
Fish,
ChartArea,
+ House,
} from "lucide-react";
export default function QuickLinks() {
@@ -12,11 +13,21 @@ export default function QuickLinks() {
{ name: "Google", url: "https://www.google.com", icon: Search },
{ name: "Gitea", url: "https://git.simponic.xyz", icon: GitPullRequest },
{
+ name: "Scurvy",
+ url: "https://scurvy.internal.simponic.xyz",
+ icon: Skull,
+ },
+ {
name: "Mail",
url: "https://roundcube.internal.simponic.xyz",
icon: Mail,
},
{
+ name: "Home",
+ url: "https://home.lucina.cloud",
+ icon: House,
+ },
+ {
name: "Jellyfin",
url: "https://jellyfin.internal.simponic.xyz",
icon: Fish,
diff --git a/app/components/WhoisChart.tsx b/app/components/WhoisChart.tsx
index a373e98..74bde6d 100644
--- a/app/components/WhoisChart.tsx
+++ b/app/components/WhoisChart.tsx
@@ -72,14 +72,14 @@ export default function UpdateChart() {
dataKey="time"
type="number"
domain={["dataMin", "dataMax"]}
- tickFormatter={(tick) => new Date(tick).toLocaleTimeString()}
+ tickFormatter={(tick) => ((d) => `${d.toLocaleDateString()} ${d.getHours().toString().padStart(2, '0')}:${d.getMinutes().toString().padStart(2, '0')}`)(new Date(tick))}
stroke="rgba(var(--foreground), 0.6)"
/>
<YAxis
stroke="rgba(var(--foreground), 0.6)"
tickFormatter={(tick) => (tick === 0 ? "" : `${tick} hrs`)}
/>
- {uniqueNames.map((uniqueName, index) => (
+ {uniqueNames.map((uniqueName, _index) => (
<Line
key={uniqueName}
type="linear"
diff --git a/app/page.tsx b/app/page.tsx
index 8584df0..acc0d51 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -49,7 +49,7 @@ export default function Home() {
<div className="max-w-4xl mx-auto">
<header className="glass p-6 flex justify-between items-center mb-8">
<h1 className="text-4xl font-bold text-gray-800 dark:text-gray-100">
- 🐧 Penguin New Tab
+ 🐧 Penguinsssss
</h1>
<button
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}