update quicklinks and ticks
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2a08e687f6
commit
582870c12d
@ -5,17 +5,28 @@ import {
|
|||||||
Mail,
|
Mail,
|
||||||
Fish,
|
Fish,
|
||||||
ChartArea,
|
ChartArea,
|
||||||
|
House,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
||||||
export default function QuickLinks() {
|
export default function QuickLinks() {
|
||||||
const links = [
|
const links = [
|
||||||
{ name: "Google", url: "https://www.google.com", icon: Search },
|
{ name: "Google", url: "https://www.google.com", icon: Search },
|
||||||
{ name: "Gitea", url: "https://git.simponic.xyz", icon: GitPullRequest },
|
{ name: "Gitea", url: "https://git.simponic.xyz", icon: GitPullRequest },
|
||||||
|
{
|
||||||
|
name: "Scurvy",
|
||||||
|
url: "https://scurvy.internal.simponic.xyz",
|
||||||
|
icon: Skull,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Mail",
|
name: "Mail",
|
||||||
url: "https://roundcube.internal.simponic.xyz",
|
url: "https://roundcube.internal.simponic.xyz",
|
||||||
icon: Mail,
|
icon: Mail,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Home",
|
||||||
|
url: "https://home.lucina.cloud",
|
||||||
|
icon: House,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Jellyfin",
|
name: "Jellyfin",
|
||||||
url: "https://jellyfin.internal.simponic.xyz",
|
url: "https://jellyfin.internal.simponic.xyz",
|
||||||
|
@ -72,14 +72,14 @@ export default function UpdateChart() {
|
|||||||
dataKey="time"
|
dataKey="time"
|
||||||
type="number"
|
type="number"
|
||||||
domain={["dataMin", "dataMax"]}
|
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)"
|
stroke="rgba(var(--foreground), 0.6)"
|
||||||
/>
|
/>
|
||||||
<YAxis
|
<YAxis
|
||||||
stroke="rgba(var(--foreground), 0.6)"
|
stroke="rgba(var(--foreground), 0.6)"
|
||||||
tickFormatter={(tick) => (tick === 0 ? "" : `${tick} hrs`)}
|
tickFormatter={(tick) => (tick === 0 ? "" : `${tick} hrs`)}
|
||||||
/>
|
/>
|
||||||
{uniqueNames.map((uniqueName, index) => (
|
{uniqueNames.map((uniqueName, _index) => (
|
||||||
<Line
|
<Line
|
||||||
key={uniqueName}
|
key={uniqueName}
|
||||||
type="linear"
|
type="linear"
|
||||||
|
@ -49,7 +49,7 @@ export default function Home() {
|
|||||||
<div className="max-w-4xl mx-auto">
|
<div className="max-w-4xl mx-auto">
|
||||||
<header className="glass p-6 flex justify-between items-center mb-8">
|
<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">
|
<h1 className="text-4xl font-bold text-gray-800 dark:text-gray-100">
|
||||||
🐧 Penguin New Tab
|
🐧 Penguinsssss
|
||||||
</h1>
|
</h1>
|
||||||
<button
|
<button
|
||||||
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
|
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
|
||||||
|
Loading…
Reference in New Issue
Block a user