Add live clock to top bar
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m59s

This commit is contained in:
openhands committed 2026-07-23 18:32:45 +02:00
1 parent b9c09f58d3
commit eb603b50a9
4 files changed
+39

No files matched your search

+3
View File
@@ -12,6 +12,7 @@ import { siteSettings } from "@/lib/services/site-settings";
import { ThemeSwitcher } from "@/components/theme-switcher";
import { LanguageSwitcher } from "@/components/language-switcher";
import { Reveal } from "@/components/motion-reveal";
import { Clock } from "@/components/clock";
export default async function LoginPage() {
const t = await getTranslations("pages.login");
@@ -79,6 +80,8 @@ export default async function LoginPage() {
)}
<LanguageSwitcher />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<Clock />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<ThemeSwitcher />
</div>
</div>
+3
View File
@@ -15,6 +15,7 @@ import { ThemeSwitcher } from "@/components/theme-switcher";
import { LanguageSwitcher } from "@/components/language-switcher";
import { HomeLoginForm } from "@/components/auth/home-login-form";
import { Reveal } from "@/components/motion-reveal";
import { Clock } from "@/components/clock";
export const revalidate = 120;
@@ -105,6 +106,8 @@ export default async function Home() {
)}
<LanguageSwitcher />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<Clock />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<ThemeSwitcher />
</div>
</div>
+3
View File
@@ -12,6 +12,7 @@ import { siteSettings } from "@/lib/services/site-settings";
import { ThemeSwitcher } from "@/components/theme-switcher";
import { LanguageSwitcher } from "@/components/language-switcher";
import { Reveal } from "@/components/motion-reveal";
import { Clock } from "@/components/clock";
export default async function RegisterPage() {
const th = await getTranslations("header");
@@ -79,6 +80,8 @@ export default async function RegisterPage() {
)}
<LanguageSwitcher />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<Clock />
<div className="w-px h-5" style={{ background: "color-mix(in srgb, var(--color-text-muted) 12%, transparent)" }} />
<ThemeSwitcher />
</div>
</div>