There was an error while loading. Please reload this page.
1 parent ca59341 commit 4cc745eCopy full SHA for 4cc745e
1 file changed
src/components/ui/header/Header.astro
@@ -12,6 +12,9 @@ import { icons } from "@/utils/icons";
12
13
const { t, localizeHref } = Astro.locals;
14
15
+const isCoolifyPreview = import.meta.env.COOLIFY_PREVIEW;
16
+const sourceCommit = import.meta.env.SOURCE_COMMIT;
17
+
18
const navItems = navigationItems.map((item) => {
19
const label = t(`common:header.nav.${item.translationKey}`);
20
@@ -34,6 +37,10 @@ const navItems = navigationItems.map((item) => {
34
37
};
35
38
});
36
39
---
40
+{isCoolifyPreview && sourceCommit && (
41
+ <p style="padding: 4px;">
42
+ commit {sourceCommit}
43
+ </p>)}
44
45
<header class="header">
46
<div class="header-inner">
0 commit comments